joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a07c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x427648
cmp dword [edi], 0
jne 0x41a0f8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x427644]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4264f0
mov ecx, 2
call fcn.004026f4
mov edx, 0x41a054
lea eax, [esi + 5]
call fcn.0041a074
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041a074
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41a0cd
mov dword [0x427644], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41a1fc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x41a24c]
test si, 4
je 0x41a210
or bl, 1
test si, 8
je 0x41a21a
or bl, 4
test si, 1
je 0x41a224
or bl, 8
test si, 2
je 0x41a22e
or bl, 0x10
test si, 0x10
je 0x41a238
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x41a247
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x41a250
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x41a288]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x41a269
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x41a278
or bl, 4
test esi, 0x20000000
je 0x41a283
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x41dd48
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x427620]
cmp byte [eax + 0x7f], 0
jne 0x41dd9b
cmp dword [0x42764c], 0
jne 0x41dd77
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, 0x41dd04
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x42764c], eax
cmp dword [0x427650], 0
jne 0x41dd9b
push esp
push 0
push 0
push 0x41dcb4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x427650], eax
pop edx
ret

Function at 0x41dda0
Capabilities:
Terminate thread

Disassembly:
cmp dword [0x42764c], 0
je 0x41ddb4
mov eax, dword [0x42764c]
push eax
call sub.user32.dll_UnhookWindowsHookEx
xor eax, eax
mov dword [0x42764c], eax
cmp dword [0x427650], 0
je 0x41ddd1
push 0
mov eax, dword [0x427650]
push eax
call sub.kernel32.dll_TerminateThread
xor eax, eax
mov dword [0x427650], eax
ret
Function at 0x41de70
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x41de87
add esp, 0xfffffff0
call fcn.00402c8c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0040d28c
mov dl, 1
mov eax, 0x4079cc
call fcn.00402a8c
mov dword [ebx + 0x70], eax
mov dl, 1
mov eax, 0x4079cc
call fcn.00402a8c
mov dword [ebx + 0x80], eax
xor eax, eax
mov dword [ebx + 0x40], eax
xor eax, eax
mov dword [ebx + 0x60], eax
mov dword [ebx + 0x3c], 0x80000018
mov dword [ebx + 0x54], 0x1f4
mov dword [ebx + 0x58], 0x32
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x64], 0
mov byte [ebx + 0x7d], 1
mov dl, 1
mov eax, 0x4166fc
call fcn.00418718
mov esi, eax
mov dword [ebx + 0x78], esi
push 0x41dfc8
mov eax, dword [0x427014]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00418aa4
mov eax, dword [ebx + 0x78]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x41f248
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x427014]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.004058d0
test eax, eax
je 0x41df64
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004057c8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004058b0
test eax, eax
je 0x41df78
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x6c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.0040349c
cmp byte [0x427030], 0
jne 0x41dfa8
mov eax, ebx
call fcn.0041e058
mov byte [ebx + 0x39], 1
mov byte [ebx + 0x3a], 1
cmp byte [ebp - 1], 0
je 0x41dfc0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41ea60
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x7e], 0
je 0x41ea92
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x20]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403420
jmp 0x41ea9c
mov eax, esi
mov edx, dword [ebx + 0x6c]
call fcn.004033d4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x41f420
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x60]
test esi, esi
je 0x41f458
mov eax, esi
call fcn.0041528c
test al, al
je 0x41f458
mov eax, dword [ebx + 0x60]
call fcn.004150f4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x41f458
push 0
mov eax, dword [ebx + 0x60]
call fcn.004150f4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x42188c
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push esi
push edi
push ebp
mov edi, edx
mov ebx, eax
cmp dword [ebx + 0x2b4], 0xffffffff
je 0x421910
mov eax, dword [ebx + 0x2c4]
call fcn.00405908
mov esi, eax
cmp dword [ebx + 0x2bc], 0
jne 0x4218ba
mov eax, ebx
call fcn.00423204
push 2
mov eax, dword [ebx + 0x2c4]
push eax
push esi
mov eax, dword [ebx + 0x2b4]
push eax
call sub.wsock32.dll_recv
mov ebp, eax
cmp dword [ebx + 0x2bc], 0
jne 0x4218e2
mov eax, ebx
call fcn.00423230
test ebp, ebp
jge 0x4218fe
call sub.wsock32.dll_WSAGetLastError
push eax
mov ecx, 0x421924
mov edx, dword [ebx + 0x2b4]
mov eax, ebx
call fcn.00422558
mov eax, edi
mov edx, esi
call fcn.0040346c
mov eax, esi
call fcn.00405954
jmp 0x421917
mov eax, edi
call fcn.00403340
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x421934
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebx
add esp, 0xffffffec
mov ebx, ecx
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
push edx
call sub.wsock32.dll_getsockname
mov ax, word [esp + 6]
push eax
call sub.wsock32.dll_ntohs
movzx eax, ax
mov edx, ebx
call fcn.00405578
add esp, 0x14
pop ebx
ret

Function at 0x421968
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebx
push esi
add esp, 0xffffffec
mov esi, ecx
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
push edx
call sub.wsock32.dll_getsockname
push dword [esp + 8]
call sub.wsock32.dll_inet_ntoa
mov ebx, eax
mov edx, esi
mov eax, ebx
call fcn.004058f4
add esp, 0x14
pop esi
pop ebx
ret
Function at 0x422138
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4222e9
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x2ac], 0
jne 0x42217a
push 1
mov ecx, 0x4222f8
mov edx, 0x422308
mov eax, dword [0x427620]
call fcn.0041eef0
jmp 0x4222d3
mov word [ebx + 0x108], 2
xor eax, eax
mov dword [ebx + 0x10c], eax
mov esi, 0x42231c
lea eax, [ebp - 0x20]
mov edx, dword [ebx + 0x2ac]
call fcn.00405850
push esi
lea eax, [ebp - 0x20]
push eax
call sub.wsock32.dll_getservbyname
mov edi, eax
mov dword [ebx + 0xfc], edi
test edi, edi
jne 0x4221d6
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x20]
call fcn.004058f4
mov eax, dword [ebp - 0x24]
call fcn.004055a8
push eax
call sub.wsock32.dll_htons
mov word [ebx + 0x10a], ax
jmp 0x4221e1
mov ax, word [edi + 8]
mov word [ebx + 0x10a], ax
push esi
call sub.wsock32.dll_getprotobyname
mov edi, eax
mov dword [ebx + 0x104], edi
movsx eax, word [edi + 8]
push eax
push 1
push 2
call sub.wsock32.dll_socket
mov esi, eax
mov dword [ebx + 0x2b8], esi
test esi, esi
jge 0x42221e
call sub.wsock32.dll_WSAGetLastError
push eax
mov ecx, 0x422328
or edx, 0xffffffff
mov eax, ebx
call fcn.00422558
push 0x10
lea eax, [ebx + 0x108]
push eax
mov eax, dword [ebx + 0x2b8]
push eax
call sub.wsock32.dll_bind
test eax, eax
je 0x42224f
call sub.wsock32.dll_WSAGetLastError
push eax
mov ecx, 0x422338
mov edx, dword [ebx + 0x2b8]
mov eax, ebx
call fcn.00422558
push 5
mov eax, dword [ebx + 0x2b8]
push eax
call sub.wsock32.dll_listen
test eax, eax
je 0x422279
call sub.wsock32.dll_WSAGetLastError
push eax
mov ecx, 0x422348
mov edx, dword [ebx + 0x2b8]
mov eax, ebx
call fcn.00422558
cmp dword [ebx + 0x2bc], 1
jne 0x4222bb
push 0x2b
push 0x400
mov eax, ebx
call fcn.004150f4
push eax
mov eax, dword [ebx + 0x2b8]
push eax
call sub.wsock32.dll_WSAAsyncSelect
test eax, eax
je 0x4222d3
call sub.wsock32.dll_WSAGetLastError
push eax
mov ecx, 0x422358
mov edx, dword [ebx + 0x2b8]
mov eax, ebx
call fcn.00422558
jmp 0x4222d3
lea eax, [ebx + 0x2bc]
push eax
push 0x8004667e
mov eax, dword [ebx + 0x2b8]
push eax
call sub.wsock32.dll_ioctlsocket
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4222f0
lea eax, [ebp - 0x24]
call fcn.00403340
ret
Function at 0x42248c
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
cmp dword [ebx + 0x2bc], 1
jne 0x4224b7
push 0
push 0x400
mov eax, ebx
call fcn.004150f4
push eax
mov eax, dword [ebx + 0x2b4]
push eax
call sub.wsock32.dll_WSAAsyncSelect
call sub.wsock32.dll_WSAIsBlocking
test eax, eax
je 0x4224c5
call sub.wsock32.dll_WSACancelBlockingCall
push 2
mov eax, dword [ebx + 0x2b4]
push eax
call sub.wsock32.dll_shutdown
mov word [ebp - 4], 1
mov word [ebp - 2], 0
push 4
lea eax, [ebp - 4]
push eax
push 0x80
push 0xffff
mov eax, dword [ebx + 0x2b4]
push eax
call sub.wsock32.dll_setsockopt
mov eax, dword [ebx + 0x2b4]
push eax
call sub.wsock32.dll_closesocket
test eax, eax
je 0x422523
call sub.wsock32.dll_WSAGetLastError
push eax
mov ecx, 0x42253c
mov edx, dword [ebx + 0x2b4]
mov eax, ebx
call fcn.00422558
mov dword [ebx + 0x2b4], 0xffffffff
pop ebx
pop ecx
pop ebp
ret
Function at 0x424e24
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403668
mov eax, dword [ebp - 8]
call fcn.00403668
xor eax, eax
push ebp
push 0x424f5d
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x424e76
mov eax, dword [ebp - 4]
call fcn.004034b4
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x424e76
lea eax, [ebp - 4]
mov edx, 0x424f78
call fcn.004034bc
lea eax, [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00403500
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.00402924
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x24], 0x41
mov word [ebp - 0x20], 1
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00403678
push eax
push 0
call sub.kernel32.dll_CreateProcessA
mov ebx, eax
neg ebx
sbb ebx, ebx
neg ebx
test bl, bl
je 0x424f35
push 0xffffffffffffffff
mov eax, dword [ebp - 0x60]
push eax
call sub.user32.dll_WaitForInputIdle
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_GetExitCodeProcess
neg eax
sbb eax, eax
neg eax
jmp 0x424f14
mov eax, dword [0x427620]
call fcn.0041ec60
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_GetExitCodeProcess
neg eax
sbb eax, eax
neg eax
test al, al
je 0x424f21
cmp dword [ebp - 0xc], 0x103
je 0x424ef7
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [ebp - 0x60]
push eax
call sub.kernel32.dll_CloseHandle_1
jmp 0x424f42
xor eax, eax
mov dword [ebp - 0xc], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x424f64
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403360
ret
Function at 0x424f7c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4250d1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x427660]
mov eax, dword [eax + 0x1bc]
mov eax, dword [eax + 0x114]
mov edx, 0x4250e8
mov ecx, dword [eax]
call dword [ecx + 0x2c]
xor ebx, ebx
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x10]
mov esi, eax
dec esi
test esi, esi
jl 0x42509b
inc esi
mov dword [ebp - 8], 0
mov edx, 0x425108
lea eax, [ebp - 0xc]
call fcn.004033d4
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.004034bc
mov edx, dword [ebp - 0xc]
mov eax, dword [0x427660]
mov eax, dword [eax + 0x1bc]
mov eax, dword [eax + 0x114]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, 0x425120
lea eax, [ebp - 0xc]
call fcn.004033d4
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.00405578
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.004034bc
lea eax, [ebp - 0xc]
mov edx, 0x42512c
call fcn.004034bc
mov edx, dword [ebp - 0xc]
xor eax, eax
call fcn.00424e24
mov edx, 0x425120
lea eax, [ebp - 0xc]
call fcn.004033d4
lea edx, [ebp - 0x10]
mov eax, ebx
call fcn.00405578
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.004034bc
lea eax, [ebp - 0xc]
mov edx, 0x425144
call fcn.004034bc
mov eax, dword [ebp - 0xc]
call fcn.00403678
push eax
call sub.kernel32.dll_DeleteFileA
call sub.kernel32.dll_GetLastError_1
inc ebx
inc dword [ebp - 8]
dec esi
jne 0x424fd6
mov eax, dword [0x427660]
mov eax, dword [eax + 0x1bc]
mov eax, dword [eax + 0x114]
mov edx, 0x425154
mov ecx, dword [eax]
call dword [ecx + 0x2c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4250d8
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00403360
ret
Function at 0x40b163
Capabilities:
Write file on windows

Disassembly:
push 0x14
mov eax, 0x43dd62
call fcn.0041b3be
mov esi, edx
mov eax, ecx
sub esp, 0x18
mov ecx, esp
push eax
call fcn.00402900
lea ecx, [ebp - 0x1c]
call fcn.0040ada8
add esp, 0x18
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
jne 0x40b1b3
push 3
call fcn.0040a18c
mov esi, 0xff
push esi
call fcn.0040a1ec
push esi
call fcn.0040a24c
jmp 0x40b263
cmp dword [esi + 0x14], 8
jb 0x40b1bd
mov eax, dword [esi]
jmp 0x40b1bf
mov eax, esi
push 0x44dc80
push eax
call fcn.004253da
pop ecx
pop ecx
mov ebx, eax
call dword [0x440080]
push eax
call fcn.0040a1ec
test ebx, ebx
jne 0x40b20d
push 1
call fcn.0040a18c
push 0xff
call fcn.0040a24c
cmp dword [esi + 0x14], 8
jb 0x40b1f7
mov esi, dword [esi]
push esi
push 0x44dc88
push dword [0x4585c4]
call fcn.00408bec
add esp, 0xc
jmp 0x40b263
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
push ebx
push eax
push 1
push dword [ebp - 0x1c]
call fcn.00425235
add esp, 0x10
mov esi, eax
call dword [0x440080]
push eax
call fcn.0040a24c
push ebx
call fcn.00420b1a
pop ecx
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x1c]
cmp esi, ecx
je 0x40b26a
push 2
call fcn.0040a18c
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
push eax
push esi
push 0x44dcb8
push dword [0x4585c4]
call fcn.00408bec
add esp, 0x10
mov edi, 0x80004005
jmp 0x40b270
push edi
call fcn.0040a18c
lea ecx, [ebp - 0x1c]
call fcn.0040f542
mov eax, edi
call fcn.0041b387
ret

Function at 0x4101ae
Capabilities:
Write file on windows

Disassembly:
push 0x24
mov eax, 0x43e565
call fcn.0041b3f2
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4102ae
cmp byte [ebx + 0x3d], 0
je 0x4102ae
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
sete al
test al, al
je 0x4101e8
xor al, al
jmp 0x4102b0
xor eax, eax
mov dword [ebp - 0x18], 0xf
push eax
push 8
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x2c], al
call fcn.0040fdcf
and dword [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
lea eax, [ebp - 0x30]
mov ecx, dword [ebx + 0x38]
lea edi, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x1c]
lea esi, [ebp - 0x2c]
cmovae edi, edx
cmovae esi, edx
mov edx, dword [ecx]
add eax, edi
push eax
push esi
lea eax, [ebx + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x410246
sub eax, 1
je 0x41024a
dec eax
sub eax, 1
je 0x41029c
xor bl, bl
jmp 0x41029e
mov byte [ebx + 0x3d], 0
mov ecx, dword [ebp - 0x18]
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x2c]
cmp ecx, 0x10
mov esi, dword [ebp - 0x30]
cmovae eax, edx
sub esi, eax
je 0x410282
push dword [ebx + 0x4c]
cmp ecx, 0x10
lea eax, [ebp - 0x2c]
push esi
cmovae eax, edx
push 1
push eax
call fcn.00425235
add esp, 0x10
cmp esi, eax
jne 0x410242
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x2c]
cmp byte [ebx + 0x3d], 0
je 0x41029c
test esi, esi
jne 0x41020c
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.0040ff2c
jmp 0x410206
mov bl, 1
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.0040fcd5
mov al, bl
jmp 0x4102b0
mov al, 1
call fcn.0041b39c
ret
Function at 0x413e79
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x41401c
mov edx, 0x10000000
cmp eax, 0x7c
je 0x41401c
cmp eax, 0x29
jne 0x413eb2
cmp dword [esi + 0x10], 0
jne 0x41401c
test dword [esi + 0x50], edx
je 0x414022
cmp eax, 0x2e
jne 0x413ecd
push 5
lea ecx, [esi + 0x24]
call fcn.00414100
mov ecx, esi
call fcn.00413e56
jmp 0x414006
cmp eax, 0x5c
jne 0x413f28
mov ecx, esi
call fcn.00413e56
mov eax, dword [esi + 0x50]
and eax, 0x80
je 0x413eff
cmp byte [esi + 0x48], 0x62
jne 0x413eff
push 4
lea ecx, [esi + 0x24]
call fcn.00414100
mov ecx, esi
call fcn.00413e56
jmp 0x41400d
test eax, eax
je 0x413f1c
cmp byte [esi + 0x48], 0x42
jne 0x413f1c
push 4
lea ecx, [esi + 0x24]
call fcn.00414100
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x413ef3
mov ecx, esi
call fcn.00414c11
jmp 0x414006
cmp eax, 0x5b
jne 0x413f88
mov ecx, esi
call fcn.00413e56
lea ecx, [esi + 0x24]
call fcn.004159e3
cmp dword [esi + 0x4c], 0x5e
jne 0x413f50
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.00413e56
test dword [esi + 0x50], 0x20000000
je 0x413f70
cmp dword [esi + 0x4c], 0x5d
jne 0x413f70
push 0x5d
lea ecx, [esi + 0x24]
call fcn.00415a2f
mov ecx, esi
call fcn.00413e56
mov ecx, esi
call fcn.004157d6
cmp dword [esi + 0x4c], 0x5d
je 0x413ec1
push 4
jmp 0x414024
cmp eax, 0x28
jne 0x413fac
mov ecx, esi
call fcn.00413e56
mov ecx, esi
call fcn.00414cf4
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x414022
mov ecx, esi
call fcn.00413e56
jmp 0x414002
cmp eax, 0x5e
jne 0x413fb8
push 2
jmp 0x413eeb
cmp eax, 0x24
jne 0x413fc4
push 3
jmp 0x413eeb
cmp eax, 0x2a
je 0x414018
cmp eax, 0x2b
je 0x414018
cmp eax, 0x3f
je 0x414018
cmp eax, 0x7b
je 0x414018
cmp eax, 0x7d
jne 0x413fe2
test dword [esi + 0x50], edx
je 0x414014
cmp eax, 0x5d
jne 0x413fec
test dword [esi + 0x50], edx
je 0x413f81
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.00414eaa
mov ecx, esi
call fcn.00413e56
mov bl, 1
test bl, bl
je 0x41400d
mov ecx, esi
call fcn.00414de6
mov cl, 1
jmp 0x413e80
push 6
jmp 0x414024
push 0xa
jmp 0x414024
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.00419482
int3

Function at 0x417fb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
test eax, eax
jne 0x417fc1
xor al, al
jmp 0x41802a
mov ecx, 0x5a4d
push esi
cmp word [eax], cx
jne 0x418027
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x418027
mov edx, dword [ecx + eax + 0x98]
xor ecx, ecx
lea esi, [edx + eax]
test edx, edx
jne 0x417fea
mov esi, ecx
test esi, esi
je 0x418027
lea eax, [esi + 8]
test eax, eax
je 0x418027
cmp byte [eax], 0x30
lea edx, [eax + 1]
jne 0x418019
mov al, byte [edx]
cmp al, 0x82
jne 0x418019
movzx ecx, byte [edx + 1]
movzx eax, byte [edx + 2]
shl ecx, 8
add ecx, 0x13
add ecx, eax
and ecx, 0xffffff8
test ecx, ecx
je 0x418027
mov dword [edi + 0x14], ecx
mov al, 1
mov dword [edi + 0x18], esi
jmp 0x418029
xor al, al
pop esi
pop edi
pop ebp
ret 4
Function at 0x430a8c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043090b

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x40893b
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop eax
sub esp, 4
mov dword [esp], 0xd00df421
pop edi
mov edi, 0x2fdcbff2
call fcn.00408970
sub esi, 0xf69961ef
xor dword [ebx], eax
push edi
pop edi
sub esi, esi
inc ebx
cmp ebx, ecx
jne fcn.0040893b
add edi, 0x28ab6371
or esi, esi
ret
Function at 0x41bbb0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4d19ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004c582b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x41bc32
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004c324e
mov eax, dword [eax]
push 0x6c7d10
push eax
call fcn.004b3f14
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004c5ab6
test bl, bl
je 0x41bc32
push 0x6c7d10
lea ecx, [esp + 0xc]
call fcn.004c5e46
push 0x6c7d1c
lea ecx, [esp + 0xc]
call fcn.004c5e46
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41bc6e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004c5ab6
jmp 0x41bd39
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x41bcf2
lea edx, [esp + 0x7c]
push 0x6c7d18
push edx
call fcn.004b3f14
add esp, 8
test eax, eax
je 0x41bcf2
lea eax, [esp + 0x7c]
push 0x6c7d14
push eax
call fcn.004b3f14
add esp, 8
test eax, eax
je 0x41bcf2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x41bc82
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004c5ab6
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x41c540
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x41c5a2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc