joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45d7c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x6c4e70]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45d920
sub esp, 0x1c
mov eax, dword [esp + 0x20]
test byte [eax], al
lea ecx, [eax + 0x18]
mov dword [esp + 0x18], ecx
nop
mov dword [esp], ecx
call fcn.00409b90
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + 0x1c]
test cl, cl
jne 0x45d909
mov byte [eax + 0x1c], 1
inc dword [eax + 0x24]
inc dword [eax + 0x60]
mov dword [esp], eax
call fcn.00430080
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0x72
mov byte [esp + 8], 0
call fcn.00430760
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], 0x77
mov byte [esp + 8], 0
call fcn.00430760
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], edx
test ecx, ecx
je 0x45d890
lea ecx, [eax + 0x28]
mov dword [esp], ecx
call fcn.00450f40
mov eax, dword [0x6c4f80]
test eax, eax
jne 0x45d877
mov eax, dword [esp + 0x20]
jmp 0x45d885
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
call fcn.00460ef0
mov dword [edi], ecx
mov dword [eax + 0x3c], 0
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x45d8c7
lea ecx, [eax + 0x64]
mov dword [esp], ecx
call fcn.00450f40
mov eax, dword [0x6c4f80]
test eax, eax
jne 0x45d8b2
mov eax, dword [esp + 0x20]
jmp 0x45d8c0
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x78]
call fcn.00460ef0
mov dword [edi], ecx
mov dword [eax + 0x78], 0
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00409d90
mov eax, dword [esp + 0x14]
test eax, eax
je 0x45d8ed
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00430540
mov eax, dword [esp + 0x10]
test eax, eax
je 0x45d905
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00430540
add esp, 0x1c
ret
lea eax, [0x58fd91]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.00435bb0
nop
call fcn.0045faf0
jmp fcn.0045d7c0
Function at 0x460da0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x6c50a0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x45f52b
je 0x45f57e
cmp ebx, 0x20
jbe 0x45f584
cmp ebx, 0x40
jbe 0x45f5ca
jmp 0x45f66b
test ebx, ebx
je 0x45f574
add eax, 0x10
test ax, 0xff0
je 0x45f560
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x5c1460]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x5c1560]
jmp 0x45f548
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x45f548
pxor xmm1, xmmword [0x6c50b0]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x6c50b0]
pxor xmm2, xmmword [0x6c50c0]
pxor xmm3, xmmword [0x6c50d0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x6c50b0]
pxor xmm2, xmmword [0x6c50c0]
pxor xmm3, xmmword [0x6c50d0]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x45f6ca
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x6c4d47], 0
je 0x460dba
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x45f4f0
jmp fcn.004085e0
Function at 0x460dc0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword [0x6c4e70]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40348c
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004085e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.0045faf0
jmp 0x403450
cmp byte [0x6c4d47], 0
je 0x460ddb
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x45f4f0
jmp 0x403450

Function at 0x461c80
Capabilities:
Allocate thread local storage

Disassembly:
mov ebp, esp
mov eax, dword [sym.imp.kernel32.dll_TlsAlloc]
call eax
mov esp, ebp
mov ecx, eax
cmp ecx, 0x40
jb 0x461c9a
mov ecx, 0x14
jmp 0x461ca3
shl ecx, 2
add ecx, 0xe10
mov dword [0x6c4e70], ecx
ret
Function at 0x49b390
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x6c4e70]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49b51b
sub esp, 0x50
lea edi, [esp + 0x64]
xor eax, eax
call fcn.004610eb
mov ecx, dword [esp + 0x58]
cmp ecx, 0x19
je 0x49b3bf
xor edx, edx
jmp 0x49b3ea
mov eax, dword [esp + 0x54]
mov dword [esp], eax
lea ecx, [0x58c365]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x19
call fcn.00403360
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x58]
mov edx, eax
xor eax, eax
test dl, dl
je 0x49b3f5
mov edx, 1
jmp 0x49b429
cmp ecx, 0x23
je 0x49b3fe
xor edx, edx
jmp 0x49b429
mov eax, dword [esp + 0x54]
mov dword [esp], eax
lea ecx, [0x58fa61]
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x23
call fcn.00403360
movzx eax, byte [esp + 0xc]
mov ecx, dword [esp + 0x58]
mov edx, eax
xor eax, eax
test dl, dl
je 0x49b483
lea edi, [esp + 0x3c]
call fcn.004610eb
mov ecx, dword [0x69a41c]
lea edx, [0x5c0500]
mov dword [esp], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x60]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.004a6c10
movzx ecx, byte [esp + 0x24]
mov byte [esp + 0x37], cl
lea edi, [esp + 0x3c]
lea esi, [esp + 0x10]
call fcn.004615ce
movzx ecx, byte [esp + 0x37]
test cl, cl
jne 0x49b4fa
xor eax, eax
mov ecx, dword [esp + 0x58]
lea edi, [esp + 0x3c]
call fcn.004610eb
mov ecx, dword [0x69a418]
mov edx, dword [0x69a41c]
mov ebx, dword [esp + 0x54]
mov dword [esp], ebx
mov ebx, dword [esp + 0x58]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x60]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
call fcn.0049b6d0
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x30]
lea edi, [esp + 0x3c]
lea esi, [esp + 0x18]
call fcn.004615ce
lea edi, [esp + 0x64]
lea esi, [esp + 0x3c]
call fcn.004615ce
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], edx
add esp, 0x50
ret
lea edi, [esp + 0x64]
lea esi, [esp + 0x3c]
call fcn.004615ce
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x50
ret
call fcn.0045faf0
jmp fcn.0049b390
Function at 0x4a4fc0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x6c4e70]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4a51aa
sub esp, 0x48
mov eax, dword [esp + 0x50]
movzx ecx, word [eax + 0xa]
mov edx, dword [0x69a418]
movzx ebx, word [eax + 0xc]
movzx ebp, word [eax + 8]
movzx esi, word [eax + 2]
mov edi, dword [esp + 0x4c]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], 1
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], edx
call fcn.004a1890
lea edi, [esp + 0x34]
lea esi, [esp + 0x20]
call fcn.004615ce
lea edi, [esp]
lea esi, [esp + 0x34]
call fcn.004615ce
call fcn.004a0020
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 0x15180
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x93a80
call fcn.0045af10
mov eax, dword [esp + 0x50]
movzx ecx, word [eax + 4]
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, 0xc22e4507
mov ebp, edx
imul edx
lea eax, [ebp + edx]
sar eax, 0x10
sar ebp, 0x1f
sub eax, ebp
sub ecx, eax
test ecx, ecx
jge 0x4a5097
add ecx, 7
movzx edx, word [ebx + 6]
lea ebp, [edx - 1]
cmp ebp, 4
jge 0x4a50b1
lea ebx, [edx + edx*2]
lea edx, [edx + ebx*2]
lea ecx, [ecx + edx - 6]
mov edx, ecx
jmp 0x4a5128
movzx eax, word [ebx + 2]
cmp eax, 2
jne 0x4a50fe
mov edx, dword [esp + 0x4c]
test edx, 3
jne 0x4a50fa
mov ebx, edx
sar edx, 0x1f
mov ebp, eax
mov eax, 0x51eb851f
mov esi, edx
imul ebx
mov edi, edx
sar edx, 5
sub edx, esi
imul edx, edx, 0x64
cmp ebx, edx
jne 0x4a50f3
sar edi, 7
sub edi, esi
imul edx, edi, 0x190
cmp ebx, edx
jne 0x4a5100
mov ebx, 0x1d
jmp 0x4a511e
mov ebp, eax
jmp 0x4a5100
mov ebp, eax
cmp ebp, 0xd
jae 0x4a519d
lea eax, [ebp - 1]
lea edx, [0x68afe0]
mov ebx, dword [edx + ebp*4]
cmp eax, 0xd
jae 0x4a5193
sub ebx, dword [edx + ebp*4 - 4]
lea edx, [ecx + 0x1d]
cmp ebx, edx
jge 0x4a5128
lea edx, [ecx + 0x16]
mov ecx, dword [esp + 0x38]
test ecx, 0x80000000
je 0x4a515a
mov ebx, dword [esp + 0x34]
shl ecx, 1
mov ebp, ebx
shl ebx, 1
shr ebp, 0x1f
or ebp, ecx
mov ecx, ebp
shl ebp, 1
shr ecx, 0x1f
shr ebx, 0x1f
or ebp, ebx
add ebp, 0xd7b17f80
adc ecx, 0xd
jmp 0x4a5162
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea eax, [edx - 1]
mov edx, eax
sar edx, 0x1f
mov ebx, 0x15180
mov esi, edx
mul ebx
imul ebx, esi, 0x15180
add edx, ebx
add eax, ebp
adc edx, ecx
add eax, 0x886e0900
adc edx, 0xfffffff1
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], eax
add esp, 0x48
ret
mov ecx, 0xd
call fcn.00460f60
mov eax, ebp
mov ecx, 0xd
call fcn.00460f60
nop
call fcn.0045faf0
jmp fcn.004a4fc0
Function at 0x4dc350
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x6c4e70]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4dc5c5
add esp, 0xffffff80
mov eax, dword [esp + 0x9c]
test eax, eax
je 0x4dc388
test eax, 0x200
jne 0x4dc388
lea ecx, [0x5c13b8]
mov edx, dword [esp + 0x94]
jmp 0x4dc3b9
mov ecx, dword [esp + 0x94]
mov dword [esp], ecx
mov edx, dword [esp + 0x98]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.0048a890
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov ecx, eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
lea ebx, [0x4dca70]
mov dword [esp + 0x44], ebx
lea ebx, [esp + 0x28]
mov dword [esp + 0x48], ebx
lea ebx, [esp + 0x2c]
mov dword [esp + 0x4c], ebx
lea ebx, [esp + 0x38]
mov dword [esp + 0x50], ebx
lea ebx, [esp + 0x44]
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x28]
mov ebp, dword [ebx]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov esi, dword [esp + 0x94]
mov dword [esp + 8], esi
mov edi, dword [esp + 0x98]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov edx, ebx
call ebp
lea edi, [esp + 0x54]
xor eax, eax
call fcn.004610e5
lea eax, [0x4dc5d0]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x68], eax
movzx eax, byte [esp + 0xa0]
mov byte [esp + 0x6c], al
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x70], ecx
mov ebx, dword [esp + 0x88]
mov dword [esp + 0x74], ebx
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x78], ebx
mov ebx, dword [esp + 0x90]
mov dword [esp + 0x7c], ebx
test al, al
je 0x4dc53a
mov dword [esp], ecx
lea eax, [0x5bfcc0]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.004de020
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
lea edx, [esp + 0x54]
call eax
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x34]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
lea edx, [esp + 0x54]
call eax
movzx eax, byte [esp + 0xa0]
test al, al
je 0x4dc5c1
mov eax, dword [esp + 0x84]
mov dword [esp], eax
lea eax, [0x5bfcc4]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
call fcn.004de020
sub esp, 0xffffff80
ret
call fcn.0045faf0
jmp fcn.004dc350
Function at 0x4ef520
Capabilities:
Hash data using murmur3

Disassembly:
mov ecx, dword [0x6c4e70]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ef5be
sub esp, 0xc
mov eax, dword [esp + 0x18]
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx + 0x18]
mov edx, dword [esp + 0x14]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, 1
rol eax, 0xd
lea eax, [eax + eax*4 - 0x19ab949c]
mov ecx, dword [esp + 8]
xor ecx, eax
rol ecx, 0xd
lea eax, [ecx + ecx*4 - 0x19ab949c]
mov ecx, eax
xor eax, 8
shr eax, 0x10
xor eax, ecx
xor eax, 8
imul eax, eax, 0x85ebca6b
mov ecx, eax
shr eax, 0xd
xor eax, ecx
imul eax, eax, 0xc2b2ae35
mov ecx, eax
shr eax, 0x10
xor ecx, eax
nop
mov dword [esp + 0x1c], ecx
add esp, 0xc
ret
call fcn.0045faf0
jmp fcn.004ef520
Function at 0x401470
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x1004
call fcn.00403460
mov al, byte [0x406050]
test al, al
je 0x40154b
push edi
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 9]
mov byte [esp + 8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [esp + 0x1014]
pop edi
test al, al
je 0x4014de
mov eax, dword [esp + 0x1008]
mov ecx, dword [esp + 0x100c]
push eax
push ecx
lea edx, [esp + 0xc]
push str._AsScrPro__Notify___s_____s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add esp, 0x1004
ret
push esi
mov esi, dword [esp + 0x1018]
test esi, esi
jne 0x4014f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 0
lea ecx, [esp + 8]
push 0
push ecx
push 0x400
push esi
push 0
push 0x1300
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, dword [esp + 4]
mov eax, dword [esp + 0x100c]
mov ecx, dword [esp + 0x1010]
push edx
push esi
push eax
push ecx
lea edx, [esp + 0x18]
push str._AsScrPro___s_____s:_errcode:_u____s
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop esi
add esp, 0x1004
ret
Function at 0x402830
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x158
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x59]
mov byte [esp + 0x58], 0
lea edx, [esp + 0x58]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x160]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x164]
push eax
push ecx
push str._s__s
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x24]
add esp, 0x10
rep stosd dword es:[edi], eax
mov dword [esp + 4], eax
lea ecx, [esp + 4]
mov dword [esp + 8], eax
lea edx, [esp + 0x14]
mov dword [esp + 0xc], eax
push ecx
push edx
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x2c], eax
push eax
lea eax, [esp + 0x78]
mov dword [esp + 0x34], 0x44
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
pop edi
test eax, eax
push 0
jne 0x4028d3
push 0
lea ecx, [esp + 0x5c]
push str.CreateProcess_failed___CreateNormalProcess
push ecx
call fcn.00401470
add esp, 0x10
add esp, 0x158
ret
push 1
lea edx, [esp + 0x5c]
push str.CreateProcess_done___CreateNormalProcess
push edx
call fcn.00401470
add esp, 0x10
add esp, 0x158
ret
Function at 0x402b90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x403738
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 2
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 0x30]
mov bl, 3
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::operator
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find
cmp eax, 0xffffffff
jne 0x402c03
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0xc]
push edx
mov eax, dword [ecx + 8]
push eax
jmp 0x402d26
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x402d2b
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find
mov esi, eax
cmp esi, 0xffffffff
je 0x402d09
test esi, esi
jne 0x402c6d
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
mov eax, dword [edx - 8]
mov ecx, dword [ecx - 8]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 4
call sub.MFC42.DLL_CString::operator
mov byte [esp + 0x24], bl
lea ecx, [esp + 0x2c]
jmp 0x402cf3
push esi
lea eax, [esp + 0x18]
push 0
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 5
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], bl
call fcn.004033b4
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [edi + 8]
lea ecx, [esp + 0xc]
push ecx
push eax
mov ecx, edi
call sub.MFC42.DLL_CStringArray::SetAtGrow
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0xc]
mov ecx, dword [ecx - 8]
mov eax, dword [edx - 8]
add ecx, esi
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Mid
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 6
call sub.MFC42.DLL_CString::operator
mov byte [esp + 0x24], bl
lea ecx, [esp + 0x18]
call fcn.004033b4
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
test ecx, ecx
jg 0x402c16
jmp 0x402d2b
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::TrimRight
mov eax, dword [edi + 8]
lea ecx, [esp + 0xc]
push ecx
push eax
mov ecx, edi
call sub.MFC42.DLL_CStringArray::SetAtGrow
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 2
call fcn.004033b4
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call fcn.004033b4
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call fcn.004033b4
lea ecx, [esp + 0x34]
mov dword [esp + 0x24], 0xffffffff
call fcn.004033b4
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x401720
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42392a
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x455494]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x2c], esi
call fcn.00404097
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x4017e0
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], vtable.std::exception.0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], str.bad_locale_name
xorps xmm0, xmm0
mov byte [ebp - 0x14], 1
push eax
movq qword [ebp - 0x20], xmm0
call fcn.004085d7
add esp, 8
mov dword [ebp - 0x24], vtable.std::runtime_error.0
lea eax, [ebp - 0x24]
push 0x432cfc
push eax
call fcn.00408659
push edi
push esi
call fcn.0040479d
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040657a
mov esp, ebp
pop ebp
ret 4
Function at 0x4021c0
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x455494]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
xor ebx, ebx
mov dword [ebp - 0x148], eax
cmp eax, 0xffffffff
je 0x40230a
push esi
push edi
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x13c], 0x128
push ecx
push eax
call sub.KERNEL32.dll_Process32First
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
nop dword [eax]
push dword [ebp - 0x134]
push 0
push 0x410
call edi
mov dword [ebp - 0x144], eax
test eax, eax
je 0x4022ee
push dword [ebp - 0x134]
xor esi, esi
push esi
push 0x410
mov dword [ebp - 0x140], esi
call edi
mov edi, eax
test edi, edi
je 0x4022a2
lea eax, [ebp - 0x14]
push eax
push esi
push esi
push edi
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x40229b
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x40229b
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x402295
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
push esi
push edi
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x40228e
mov eax, dword [esi]
mov dword [ebp - 0x140], eax
mov dword [0x45b178], eax
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov esi, dword [ebp - 0x140]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x435008]
lea ecx, [ebp - 0x10]
push ecx
push 8
lea ecx, [ebp - 0xc]
add eax, esi
push ecx
push eax
push dword [ebp - 0x144]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x4022e8
cmp dword [ebp - 0x10], 8
jne 0x4022e8
lea ecx, [ebp - 0xc]
mov eax, dword [ecx]
cmp eax, dword [0x43500c]
jne 0x4022e8
mov eax, dword [ecx + 4]
cmp eax, dword [0x435010]
jne 0x4022e8
mov ebx, dword [ebp - 0x134]
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea eax, [ebp - 0x13c]
push eax
push dword [ebp - 0x148]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x402210
pop edi
pop esi
mov ecx, dword [ebp - 4]
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0040657a
mov esp, ebp
pop ebp
ret

Function at 0x402320
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x455494]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0x424434
call dword [sym.imp.USER32.dll_FindWindowA]
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 8]
call fcn.00402370
add esp, 4
test al, al
je 0x40235f
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040657a
mov esp, ebp
pop ebp
ret