joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14013048
Capabilities:
Encode data using xor

Disassembly:
push 0x30
mov eax, 0x1404c041
call fcn.1401edd8
mov ebx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edx
mov edi, ebx
mov dword [ebp - 0x28], edx
xor eax, eax
xor ecx, ecx
inc ecx
mov esi, edx
mov dword [ebp - 4], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
xor eax, eax
mov dword [ebp - 0x3c], ecx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x1d]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 0x1d], dl
call fcn.1401d7a2
lea eax, [ebp - 0x1c]
push eax
push esi
lea ecx, [ebp + 0xc]
call fcn.1401c5f6
push ecx
mov ecx, esp
push eax
call fcn.14010697
call fcn.140136d9
mov edx, dword [ebp - 0x1c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x24], eax
je 0x1401311d
push dword [ebp - 0x38]
and dword [ebp - 0x30], esi
lea eax, [ecx - 4]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.1400fc9b
push dword [ebp - 0x38]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.1401031c
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.14010769
call fcn.14012cc7
mov edx, dword [ebp - 0x1c]
add esp, 0xc
add eax, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
xor edi, edi
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
je 0x14013150
mov al, byte [edx + edi]
mov ecx, ebx
xor al, byte [esi + str.GYINBOHBUBAUELSHCAIQGWROVEPCWO]
mov byte [ebp - 0x1d], al
lea eax, [ebp - 0x1d]
push eax
call fcn.1401d7a2
mov edx, dword [ebp - 0x1c]
inc esi
xor eax, eax
cmp esi, 0x1e
cmovge esi, eax
inc edi
cmp edi, dword [ebp - 0x24]
jb 0x14013127
lea eax, [ebp - 0x1d]
mov byte [ebp - 0x1d], 0
push eax
mov ecx, ebx
call fcn.1401d7a2
lea ecx, [ebp - 0x34]
call fcn.1401c43e
lea ecx, [ebp - 0x1c]
call fcn.1401c43e
lea ecx, [ebp + 0xc]
call fcn.1401c43e
mov eax, ebx
call fcn.1401ed82
ret
Function at 0x1401317f
Capabilities:
Encode data using xor

Disassembly:
push 0x30
mov eax, 0x1404c097
call fcn.1401edd8
mov ebx, dword [ebp + 8]
xor edx, edx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edx
mov edi, ebx
mov dword [ebp - 0x24], edx
xor eax, eax
xor ecx, ecx
inc ecx
mov esi, edx
mov dword [ebp - 4], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 8], edx
xor eax, eax
mov dword [ebp - 0x3c], ecx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x1d]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 0x1d], dl
call fcn.1401d7a2
lea eax, [ebp - 0x1c]
push eax
push esi
lea ecx, [ebp + 0xc]
call fcn.1401c5f6
push ecx
mov ecx, esp
push eax
call fcn.14010697
call fcn.140136d9
mov edx, dword [ebp - 0x1c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x18]
mov eax, ecx
sub eax, edx
mov dword [ebp - 0x28], eax
je 0x14013254
push dword [ebp - 0x38]
and dword [ebp - 0x30], esi
lea eax, [ecx - 4]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.1400fc9b
push dword [ebp - 0x38]
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.1401031c
lea eax, [ebp - 0x34]
mov ecx, esp
push eax
call fcn.14010769
call fcn.14012cc7
mov edx, dword [ebp - 0x1c]
add esp, 0xc
add eax, 4
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
xor edi, edi
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
je 0x1401328c
mov al, byte [edx + edi]
mov ecx, ebx
xor al, byte [esi + str.GYINBOHBUBAUELSHCAIQGWROVEPCWO]
cbw
movzx eax, ax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.1401d89b
mov edx, dword [ebp - 0x1c]
inc esi
xor eax, eax
cmp esi, 0x1e
cmovge esi, eax
inc edi
cmp edi, dword [ebp - 0x28]
jb 0x1401325e
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
mov ecx, ebx
call fcn.1401d89b
lea ecx, [ebp - 0x34]
call fcn.1401c43e
lea ecx, [ebp - 0x1c]
call fcn.1401c43e
lea ecx, [ebp + 0xc]
call fcn.1401c43e
mov eax, ebx
call fcn.1401ed82
ret
Function at 0x14013628
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0xc
mov eax, 0x1404c6bf
call fcn.1401edd8
mov dword [ebp - 0x18], ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x14]
mov esi, dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
xor edx, edx
push edx
push edx
push ecx
push edx
push 1
push dword [eax - 0xc]
mov dword [ebp - 4], edx
push eax
call esi
test eax, eax
je 0x14013692
push dword [ebp - 0x14]
call fcn.1401e7f5
push dword [ebp - 0x14]
mov ebx, eax
push 0
push ebx
call fcn.140216f0
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
add esp, 0x10
push 0
push 0
push eax
push ebx
push 1
push dword [ecx - 0xc]
push ecx
call esi
test eax, eax
jne 0x140136a3
push ebx
call fcn.1401e7fe
pop ecx
mov ecx, edi
call fcn.14013373
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x140136c4
mov ecx, dword [ebp - 0x18]
push edi
push dword [ebp - 0x14]
push ebx
call fcn.14013767
mov esi, eax
test esi, esi
je 0x140136bd
mov ecx, edi
call fcn.14013373
push ebx
call fcn.1401e7fe
pop ecx
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.140172a0
mov eax, esi
call fcn.1401ed82
ret 8

Function at 0x140136d9
Capabilities:
Decode data using base64 via winapi

Disassembly:
push 0xc
mov eax, 0x1404c6bf
call fcn.1401edd8
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x18], esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax - 0xc], ebx
je 0x14013754
push ebx
push ebx
lea ecx, [ebp - 0x14]
push ecx
push ebx
push 1
push dword [eax - 0xc]
push eax
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x14013716
mov eax, dword [esi]
mov dword [esi + 4], eax
jmp 0x1401374c
push dword [ebp - 0x14]
mov ecx, esi
call fcn.1401d8f2
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push ebx
push ebx
mov esi, dword [edi - 0xc]
push eax
push ebx
call fcn.1401c5f6
push eax
push 1
push esi
push edi
call dword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
jne 0x14013754
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov dword [ecx + 4], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.140172a0
mov eax, ebx
call fcn.1401ed82
ret
Function at 0x14013767
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 0x114
mov eax, 0x1404c0c7
call fcn.1401edd8
mov ebx, ecx
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], eax
lea eax, [edi + 1]
mov dword [ebp - 0x14], edi
push eax
call fcn.1401e7f5
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
push 0
push eax
call fcn.140216f0
push edi
push esi
push dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
push esi
call fcn.1401ddbd
add esp, 0x20
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x14]
push eax
push esi
push 0
push 1
push 0
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
jne 0x140137e1
push esi
call fcn.1401e7fe
pop ecx
mov ecx, dword [ebp - 0x18]
call fcn.14013373
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14013847
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x120]
push 0xfde9
push esi
mov byte [esi + eax], 0
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x120], eax
call fcn.140157fc
push dword [ebp - 0x120]
and dword [ebp - 4], 0
call fcn.14019058
pop ecx
mov ecx, dword [ebp - 0x18]
push eax
push dword [ebp - 0x120]
call fcn.14018f8f
lea eax, [ebp - 0x11c]
cmp dword [ebp - 0x120], eax
je 0x1401383e
push dword [ebp - 0x120]
call fcn.14028403
pop ecx
push esi
call fcn.1401e7fe
pop ecx
xor eax, eax
call fcn.1401ed82
ret 0xc
Function at 0x140159c4
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x1c02572c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push 0xf0000040
push 0x18
xor ebx, ebx
mov esi, ecx
push ebx
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x140159f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14015afd
push edi
mov edi, 0x94
push edi
call fcn.1401e7f5
push edi
push ebx
push eax
mov dword [esi + 0x10], eax
call fcn.140216f0
mov eax, dword [esi + 0x10]
push 0x80
push 0x18002b68
push edi
mov dword [eax], 0x206
mov dword [eax + 4], 0xa400
mov eax, dword [esi + 0x10]
mov dword [eax + 8], 0x31415352
mov dword [eax + 0xc], 0x400
mov dword [eax + 0x10], 0x10001
mov eax, dword [esi + 0x10]
add eax, 0x14
push eax
call fcn.1401ddbd
add esp, 0x20
lea eax, [esi + 4]
push eax
push ebx
push ebx
push edi
push dword [esi + 0x10]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x14015ae0
lea edi, [esi + 8]
push edi
push 0x800001
push 0x6602
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_CryptGenKey]
test eax, eax
je 0x14015ae0
lea ebx, [esi + 0xc]
push ebx
push 0
push 0
push dword [esi + 4]
call dword [sym.imp.ADVAPI32.dll_CryptDuplicateKey]
test eax, eax
je 0x14015ae0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 1
push dword [ebx]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptExportKey]
test eax, eax
je 0x14015ae0
push dword [ebp - 8]
call fcn.1401e7f5
push dword [ebp - 8]
mov dword [esi + 0x14], eax
push 0
push eax
call fcn.140216f0
add esp, 0x10
lea eax, [ebp - 8]
push eax
push dword [esi + 0x14]
push 0
push 1
push dword [ebx]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_CryptExportKey]
test eax, eax
jne 0x14015ae8
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14015afc
mov eax, dword [esi + 0x14]
add eax, 0xc
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 8]
add eax, 0xfffffff4
mov dword [esi + 0x1c], eax
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1401e6b7
mov esp, ebp
pop ebp
ret
Function at 0x140175c4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0x64
mov eax, 0x1404c4e5
call fcn.1401edd8
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x60], ebx
call fcn.140139fe
push eax
lea ecx, [ebp - 0x60]
call fcn.1401055e
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x5c], 0x73526d4b
mov dword [ebp - 0x58], 0x6d4d5150
mov dword [ebp - 0x54], 0x77635463
mov dword [ebp - 0x50], 0x396b6a44
mov dword [ebp - 0x4c], 0x69776e44
mov dword [ebp - 0x48], 0x7073434c
mov dword [ebp - 0x44], 0x68517765
mov dword [ebp - 0x40], 0x45514459
mov dword [ebp - 0x3c], 0x36347750
mov dword [ebp - 0x38], 0x364e7764
mov dword [ebp - 0x34], 0x52734164
mov dword [ebp - 0x30], 0x66556a48
mov dword [ebp - 0x2c], 0x6767544b
mov dword [ebp - 0x28], 0x55556947
mov dword [ebp - 0x24], 0x2b495364
mov dword [ebp - 0x20], 0x5238414d
mov dword [ebp - 0x1c], 0x41417741
mov word [ebp - 0x18], 0x4341
mov byte [ebp - 0x16], 0x30
call dword [eax + 4]
push dword [eax]
lea eax, [ebp - 0x15]
mov byte [ebp - 4], 1
push ebx
sub esp, 0xc
mov ecx, esp
push dword [ebp - 0x64]
mov dword [ecx], ebx
push eax
lea eax, [ebp - 0x5c]
mov dword [ecx + 4], ebx
push eax
mov dword [ecx + 8], ebx
call fcn.1400fdb1
lea eax, [ebp - 0x70]
push eax
call fcn.1401317f
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1401c63f
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.14013501
add esp, 0xc
lea ecx, [ebp - 0x70]
call fcn.1401c4c1
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], bl
lea ecx, [ecx - 0x10]
call fcn.140172a0
mov dword [ebp - 0x14], ebx
call fcn.140139fe
push eax
lea ecx, [ebp - 0x14]
call fcn.1401055e
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
push ecx
mov esi, esp
mov dword [ebp - 0x64], esi
mov edi, dword [ebp - 0x60]
add edi, 0xfffffff0
push edi
call fcn.14012e0f
pop ecx
add eax, 0x10
push ebx
mov dword [esi], eax
call fcn.140177b1
mov ecx, dword [ebp - 0x14]
add esp, 0xc
mov esi, eax
lea ecx, [ecx - 0x10]
call fcn.140172a0
mov ecx, edi
call fcn.140172a0
mov eax, esi
call fcn.1401ed82
ret
Function at 0x14019ffe
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push 0x9c
mov eax, 0x1404c774
call fcn.1401edd8
mov ebx, ecx
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], eax
push 0xfde9
push dword [ebp + 8]
xor edi, edi
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0xa8]
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0xa8], eax
call fcn.140158c1
push dword [ebp - 0xa8]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.14010649
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 3
cmp dword [ebp - 0xa8], eax
je 0x1401a072
push dword [ebp - 0xa8]
call fcn.14028403
pop ecx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax - 0xc]
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push edi
push edi
push 1
push edi
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
je 0x1401a0f9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
add eax, dword [ebx + 0x1c]
push eax
mov dword [ecx], eax
call fcn.1401e7f5
mov ecx, dword [ebp - 0x20]
mov dword [esi], eax
push dword [ecx]
push edi
push eax
call fcn.140216f0
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x1c]
push dword [esi]
call fcn.1401ddbd
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebx + 0x1c]
mov ecx, dword [eax - 0xc]
add esi, dword [edx]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
push esi
call fcn.1401ddbd
add esp, 0x30
lea eax, [ebp - 0x18]
push dword [ebp - 0x14]
push eax
push esi
push edi
push 1
push edi
push dword [ebx + 8]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x1401a101
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.140172a0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.140172a0
mov eax, edi
call fcn.1401ed82
ret 0xc
Function at 0x1401b170
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xb0
mov eax, 0x1404c8ba
call fcn.1401edd8
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0xac], eax
xor eax, eax
mov dword [ebp - 0xa8], 0x6a596a4b
push eax
push eax
sub esp, 0xc
mov dword [ebp - 0xa4], 0x66635849
mov ecx, esp
mov dword [ebp - 0xa0], 0x416f5848
mov dword [ebp - 0x9c], 0x4459684e
mov dword [ebp - 0x98], 0x79737a64
push dword [ebp - 0xb0]
mov dword [ebp - 0x94], 0x7867794c
mov dword [ebp - 0x90], 0x71315248
mov dword [ebp - 0x8c], 0x58455747
mov dword [ebp - 0x88], 0x42456962
mov dword [ebp - 0x84], 0x63514742
mov dword [ebp - 0x80], 0x7255544d
mov dword [ebp - 0x7c], 0x2f524148
mov dword [ebp - 0x78], 0x7a456866
mov dword [ebp - 0x74], 0x694e4842
mov dword [ebp - 0x70], 0x6a305244
mov dword [ebp - 0x6c], 0x77564365
mov dword [ebp - 0x68], 0x5734774d
mov dword [ebp - 0x64], 0x626f4343
mov dword [ebp - 0x60], 0x4b386a41
mov dword [ebp - 0x5c], 0x46554748
mov dword [ebp - 0x58], 0x5430774c
mov dword [ebp - 0x54], 0x33634149
mov dword [ebp - 0x50], 0x64496e65
mov dword [ebp - 0x4c], 0x6b5a6a4e
mov dword [ebp - 0x48], 0x42737a4e
mov dword [ebp - 0x44], 0x56454347
mov dword [ebp - 0x40], 0x504d5465
mov dword [ebp - 0x3c], 0x44516d48
mov dword [ebp - 0x38], 0x43494347
mov dword [ebp - 0x34], 0x3839434c
mov dword [ebp - 0x30], 0x644d5244
mov dword [ebp - 0x2c], 0x346f4444
mov dword [ebp - 0x28], 0x55516e49
mov dword [ebp - 0x24], 0x41414141
mov word [ebp - 0x20], 0x7758
mov dword [ebp - 4], eax
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
lea eax, [ebp - 0x1e]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.1400fdb1
lea eax, [ebp - 0xbc]
push eax
call fcn.1401317f
add esp, 0x10
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.1401c63f
push eax
lea ecx, [ebp + 0x14]
call fcn.140133df
cmp eax, 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xbc]
setne bl
call fcn.1401c4c1
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esi]
call dword [eax + 4]
push 0
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.1401c5f6
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x1c]
test bl, bl
push 0x18
pop esi
push 0
pop edx
push ecx
mov ecx, dword [ebp - 0xac]
cmovne edx, esi
push eax
add ecx, edx
push ecx
call fcn.14023390
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.1401c43e
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff0
call fcn.140172a0
mov al, 1
call fcn.1401ed82
ret
Function at 0x1401dfdb
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
mov eax, dword [0x1c02572c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [eax]
mov dword [ebp - 0x24], eax
call fcn.1401df9e
push esi
call fcn.1401e303
mov esi, eax
push edi
mov dword [ebp - 0x14], esi
call fcn.1401e303
push 0x58
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x7c]
push ebx
push eax
call fcn.140216f0
lea eax, [ebp - 0x7c]
push eax
push 5
push esi
call fcn.1401de88
mov edi, eax
add esp, 0x20
cmp edi, 5
jb 0x1401e179
push edi
push esi
call fcn.1401e3e7
push dword [ebp - 0x70]
push dword [ebp - 0x74]
push dword [ebp - 0x78]
push dword [ebp - 0x7c]
push esi
call fcn.1401e573
mov ebx, eax
add esp, 0x1c
test ebx, ebx
je 0x1401e174
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [ebp - 0xc], 0
lea ecx, [ebp - 0xc]
and dword [ebp - 8], 0
push ecx
push 0x40
push edi
push esi
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1401e159
lea eax, [ebp - 8]
push eax
push 0x40
push 0x6c
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1401e13c
xor edx, edx
lea ecx, [ebx + 0x2c]
test edi, edi
je 0x1401e0c2
sub esi, ecx
mov al, byte [esi + ecx]
mov byte [ecx], al
mov byte [ebx + edx + 0x4c], al
inc edx
inc ecx
cmp edx, edi
jb 0x1401e0ad
mov esi, dword [ebp - 0x14]
lea ecx, [ebx + 0x2c]
lea eax, [edi + esi]
push eax
lea eax, [ecx + edi]
push eax
call fcn.1401df55
mov edx, dword [ebp - 0x18]
mov eax, edx
pop ecx
pop ecx
mov ecx, esi
sub eax, esi
sub ecx, edx
cmp edx, esi
push edx
cmovb eax, ecx
cmp eax, 0x7fff0000
jbe 0x1401e108
lea esi, [ebx + 0xc]
push esi
call fcn.1401df55
pop ecx
pop ecx
sub eax, ebx
sub eax, 0xc
push eax
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push esi
mov esi, dword [ebp - 0x14]
push esi
call fcn.1401df55
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
mov dword [ebx + 8], eax
lea eax, [ebx + 0x2c]
push edi
push eax
push dword [ebp - 0x10]
mov dword [ebx + 4], edi
mov dword [ebx], esi
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x6c
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push edi
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0xc]
push edi
push esi
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
cmp dword [ebx], 0
je 0x1401e168
mov ecx, dword [ebp - 0x24]
lea eax, [ebx + 0x2c]
mov dword [ecx], eax
jmp 0x1401e174
push 1
push ebx
call fcn.1401e67a
pop ecx
pop ecx
xor ebx, ebx
call fcn.1401e285
push 0x1c027988
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
xor eax, eax
test ebx, ebx
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.1401e6b7
mov esp, ebp
pop ebp
ret
Function at 0x1401e19c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1c02572c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0xc], ebx
xor edi, edi
call fcn.1401df9e
xor esi, esi
mov eax, dword [esi*4 + 0x1c0279a0]
test eax, eax
je 0x1401e1d4
add eax, 0x2c
cmp eax, dword [ebx]
je 0x1401e279
inc esi
cmp esi, 0x40
jb 0x1401e1be
xor esi, esi
test esi, esi
je 0x1401e25b
push dword [esi + 4]
push dword [esi]
call fcn.1401e3e7
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
and dword [ebp - 8], edi
mov ebx, eax
lea eax, [ebp - 8]
push eax
push 0x40
push dword [esi + 4]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x1401e256
mov edx, dword [esi]
xor ecx, ecx
cmp dword [esi + 4], ecx
jbe 0x1401e223
mov al, byte [esi + ecx + 0x4c]
mov byte [ecx + edx], al
inc ecx
cmp ecx, dword [esi + 4]
jb 0x1401e216
push dword [esi + 4]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [esi + 4]
push dword [esi]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov ecx, dword [ebp - 0xc]
xor edi, edi
mov eax, dword [esi]
inc edi
push 0
push esi
mov dword [ecx], eax
call fcn.1401e67a
pop ecx
pop ecx
call fcn.1401e285
push 0x1c027988
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1401e6b7
mov esp, ebp
pop ebp
ret
mov esi, dword [esi*4 + 0x1c0279a0]
jmp 0x1401e1dc

Function at 0x1401e285
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 0xf
mov dword [ebp - 4], eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor esi, esi
cmp dword [0x1c027aa8], esi
jbe 0x1401e2d7
mov eax, dword [0x1c027aa4]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [0x1c027aa4]
push dword [eax + esi*4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [0x1c027aa8]
jb 0x1401e2b2
push dword [0x1c027aa4]
call fcn.14028403
and dword [0x1c027aa4], 0
and dword [0x1c027aa8], 0
pop ecx
push dword [ebp - 4]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
mov esp, ebp
pop ebp
ret