joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4118f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0xffffffff
jne 0x411911
push str._tcpsrv_has_been_stopped_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4119cf
push 0x427980
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 8]
mov dword [eax], 0xffffffff
push 0x427990
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x20]
test edx, edx
jne 0x411951
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41193c
push 0x4279a0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0
mov eax, 1
test eax, eax
je 0x4119c1
mov ecx, dword [ebp - 8]
add ecx, 0x40
call fcn.0041da50
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 8]
add ecx, 0x40
call fcn.0041da70
cmp dword [ebp - 4], 0
jbe 0x4119a9
push 0x4279b0
call dword [sym.imp.MSVCR71.dll_printf]
add esp, 4
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4119bf
cmp dword [ebp - 4], 0
jne 0x4119b1
jmp 0x4119c1
push 0x4279dc
call dword [sym.imp.MSVCR71.dll_printf]
add esp, 4
jmp 0x411963
push str.CTCPSrv::Stop___finished_n
call dword [sym.imp.MSVCR71.dll_printf]
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x41ed80
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x42fc60]
mov dword [ebp - 8], eax
mov word [ebp - 0x120], 0
xor eax, eax
mov dword [ebp - 0x11e], eax
mov word [ebp - 0x11a], ax
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
push 0x104
lea ecx, [ebp - 0x110]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x110]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je 0x41eed0
mov dword [ebp - 0x12c], 0
mov edx, dword [ebp - 0x118]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x128], eax
mov ecx, dword [ebp - 0x128]
push ecx
mov edx, dword [ebp - 0x118]
push edx
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x110]
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
lea edx, [ebp - 0x12c]
push edx
lea eax, [ebp - 0x114]
push eax
push 0x428744
mov ecx, dword [ebp - 0x128]
push ecx
call sub.VERSION.dll_VerQueryValueA
mov edx, dword [ebp - 0x114]
mov eax, dword [edx + 0x10]
shr eax, 0x10
mov word [ebp - 0x120], ax
mov ecx, dword [ebp - 0x114]
mov edx, dword [ecx + 0x10]
and edx, 0xffff
mov word [ebp - 0x11e], dx
mov eax, dword [ebp - 0x114]
mov ecx, dword [eax + 0x14]
shr ecx, 0x10
mov word [ebp - 0x11c], cx
mov edx, dword [ebp - 0x114]
mov eax, dword [edx + 0x14]
and eax, 0xffff
mov word [ebp - 0x11a], ax
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x120]
mov edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 8]
call fcn.00423fdd
mov esp, ebp
pop ebp
ret
Function at 0x41f130
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push str.PerfStatsStartStat
push reloc.WS2_32.dll_getsockname
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41f15f
mov eax, dword [0x42f8f0]
jmp 0x41f246
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 4]
push eax
push 0
push str.KERNELCPUUsage
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push str.PerfStatsStatData
push reloc.WS2_32.dll_getsockname
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41f1b6
mov eax, dword [0x42f8f0]
jmp 0x41f246
mov dword [ebp - 0x10], 4
lea ecx, [ebp - 0x10]
push ecx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 4]
push eax
push 0
push str.KERNELCPUUsage
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0xc]
mov dword [0x42f8f0], edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 8]
push ecx
push 0xf003f
push 0
push str.PerfStatsStopStat
push reloc.WS2_32.dll_getsockname
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x41f213
mov eax, dword [0x42f8f0]
jmp 0x41f246
mov dword [ebp - 0x10], 4
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push str.KERNELCPUUsage
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x42f8f0]
mov esp, ebp
pop ebp
ret

Function at 0x4221a0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 8], 1
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x18]
test edx, edx
jne 0x4221c6
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4221b1
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0xffffffff
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], 0
push str.CTimer::StopTimer_quits
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x422520
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0xffffffff
jne 0x422542
push str._udpsrv_has_been_stopped_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x4225f9
push str.closesocket_1_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x14]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, dword [ebp - 8]
mov dword [eax + 0x14], 0xffffffff
push str.pthread_join_1_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0xc]
test edx, edx
jne 0x422584
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42256f
push str.pthread_join_2_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0
mov eax, 1
test eax, eax
je 0x4225ee
mov ecx, dword [ebp - 8]
add ecx, 0x38
call fcn.0041da50
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x34]
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 8]
add ecx, 0x38
call fcn.0041da70
cmp dword [ebp - 4], 0
jbe 0x4225d9
push str.There_are_still_running_impMsgHandler..._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4225ec
cmp dword [ebp - 4], 0
jne 0x4225e1
jmp 0x4225ee
push str.unwanted_m_nThreadsCount_0__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x422596
push str.CUDPSrv::Stop___finished_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esp, ebp
pop ebp
ret
Function at 0x422600
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x42fc60]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp + 0x10], 0
je 0x422700
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0x190000
mov dword [ebp - 0x24], 4
mov eax, dword [ebp - 0x24]
push eax
lea ecx, [ebp - 8]
push ecx
push 0x1002
push 0xffff
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov word [ebp - 0x20], 2
cmp dword [ebp + 8], 0
je 0x422676
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x1c], eax
jmp 0x422681
push 0
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [ebp - 0x1c], eax
mov cx, word [ebp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x1e], ax
push 0x10
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.WS2_32.dll_bind]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4226bc
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
mov dword [ebp - 4], 0xffffffff
jmp 0x422700
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x30], 0
push 0
push 0
lea edx, [ebp - 0x28]
push edx
push 0
push 0
push 4
lea eax, [ebp - 0x30]
push eax
push 0x9800000c
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_WSAIoctl]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 0x10]
mov dword [edx + 0x18], eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0xc]
mov dword [ecx + 0x14], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
call fcn.00423fdd
mov esp, ebp
pop ebp
ret 0xc
Function at 0x422820
Capabilities:
Print debug messages
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x42fc60]
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0x81c], ecx
mov word [ebp - 0x14], 2
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x10], eax
mov cx, word [ebp + 0xc]
push ecx
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x12], ax
mov ecx, dword [ebp - 0x81c]
add ecx, 0x10
call fcn.0041da50
push 0x10
lea edx, [ebp - 0x14]
push edx
push 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x81c]
mov eax, dword [edx + 0x14]
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x81c]
add ecx, 0x10
call fcn.0041da70
cmp dword [ebp - 0x18], 0xffffffff
jne 0x4228f8
mov byte [ebp - 0x818], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x817]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
mov ecx, dword [ebp - 0x81c]
mov edx, dword [ecx + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
movzx ecx, word [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.sendto_failed_IP:_s__port:_d__msg:_s__sock:_d__err_d_n
lea eax, [ebp - 0x818]
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x1c
lea ecx, [ebp - 0x818]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor eax, eax
cmp dword [ebp - 0x18], 0
setge al
dec eax
mov ecx, dword [ebp - 4]
call fcn.00423fdd
pop edi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x423070
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42584e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x284c
call fcn.00424000
mov eax, dword [0x42fc60]
mov dword [ebp - 0x48], eax
push edi
mov dword [ebp - 0x2854], ecx
mov dword [ebp - 0x24], 0xffffffff
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x1c]
call fcn.00407900
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 0x20]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0x2854]
add ecx, 0x3c
call fcn.004200a0
mov eax, dword [ebp + 0x28]
xor edx, edx
div dword [ebp + 0x24]
cmp eax, 1
ja 0x4230f6
mov dword [ebp - 0x2858], 2
jmp 0x423104
mov eax, dword [ebp + 0x28]
xor edx, edx
div dword [ebp + 0x24]
mov dword [ebp - 0x2858], eax
mov eax, dword [ebp - 0x2858]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov ax, word [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x2854]
call fcn.00422820
mov dword [ebp - 0x28], 0
jmp 0x42313b
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp + 0x24]
jae 0x423228
cmp dword [ebp + 0x28], 1
jle 0x423185
mov dword [ebp - 0x44], 0
jmp 0x42315f
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x44]
cmp edx, dword [ebp - 0x10]
jge 0x423185
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov dx, word [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2854]
call fcn.00422820
jmp 0x423156
push 1
lea ecx, [ebp - 0x1c]
call fcn.00407a20
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x42319a
jmp 0x4231dd
mov byte [ebp - 0x284c], 0
mov ecx, 0x9ff
xor eax, eax
lea edi, [ebp - 0x284b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x20]
push edx
push str.wait_for_response__d_too_long:__s_n
lea eax, [ebp - 0x284c]
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x10
lea ecx, [ebp - 0x284c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 0x3c], 0
xor edx, edx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], edx
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x2854]
add ecx, 0x3c
call fcn.004202c0
test eax, eax
jl 0x423223
cmp dword [ebp - 0x2c], 0
jbe 0x423223
mov dword [ebp - 0x24], 0
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp - 0x2c]
mov dword [edx], eax
jmp 0x423228
jmp 0x423132
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x2854]
add ecx, 0x3c
call fcn.00420110
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0x2850], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00407940
mov eax, dword [ebp - 0x2850]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x48]
call fcn.00423fdd
pop edi
mov esp, ebp
pop ebp
ret 0x24
Function at 0x424281
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x28
push 0x428b80
call fcn.00424494
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x4242bc
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4242bc
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x4242d4
cmp eax, 0x20b
je 0x4242c1
mov dword [ebp - 0x1c], edi
jmp 0x4242e8
cmp dword [ecx + 0x84], 0xe
jbe 0x4242bc
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x4242e2
cmp dword [ecx + 0x74], 0xe
jbe 0x4242bc
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x42fe20], 0xffffffff
or dword [0x42fe24], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x42fe18]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x42fe14]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x42fe1c], eax
call fcn.00424504
call fcn.004245a4
cmp dword [0x42fc88], edi
jne 0x424348
push fcn.004245a4
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.00424592
push 0x42c030
push 0x42c02c
call sub.MSVCR71.dll__initterm
push 0x424548
call fcn.004240bc
mov eax, dword [0x42fe10]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x42fe0c]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x34], eax
cmp eax, edi
jge 0x42439c
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x42c028
push section..data
call sub.MSVCR71.dll__initterm
call dword [sym.imp.MSVCR71.dll___p___initenv]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.0041dad0
add esp, 0x14
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x4243d8
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x42440d
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.004244cf
ret
Function at 0x430140
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49e3fb
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.00490fe7
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x4301c2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048e8cd
mov eax, dword [eax]
push 0x4bc224
push eax
call fcn.00480994
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00491272
test bl, bl
je 0x4301c2
push 0x4bc224
lea ecx, [esp + 0xc]
call fcn.0049164e
push 0x4bfd7c
lea ecx, [esp + 0xc]
call fcn.0049164e
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 0x4301fe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00491272
jmp 0x4302c9
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 0x430282
lea edx, [esp + 0x7c]
push 0x4bfd78
push edx
call fcn.00480994
add esp, 8
test eax, eax
je 0x430282
lea eax, [esp + 0x7c]
push 0x4bfd74
push eax
call fcn.00480994
add esp, 8
test eax, eax
je 0x430282
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 0x430212
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.00491272
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 0x430ac0
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 0x430b22
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
Function at 0x430b30
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49e47b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4c7474]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x430c68
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x430b96
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00491272
xor eax, eax
jmp 0x430cdf
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004913fb
push esi
lea ecx, [esp + 0xc]
call fcn.0049168a
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x430cbd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push SysReAllocString
call fcn.00430ac0
test eax, eax
jne 0x430cbd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocString
mov ecx, edi
call fcn.00430ac0
test eax, eax
jne 0x430cbd
lea eax, [esp + 0x14]
push 0x4bfd90
push eax
call fcn.00481b40
mov esi, eax
add esp, 8
test esi, esi
jne 0x430c9c
lea ecx, [esp + 0x14]
push 0x4bfd8c
push ecx
call fcn.00481ac0
mov esi, eax
add esp, 8
test esi, esi
jne 0x430c9c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x430c9f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.004913ab
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x430bae
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00491272
xor eax, eax
jmp 0x430cdf
mov byte [esi], 0
push 0x4bfd88
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00491272
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4
Function at 0x441260
Capabilities:
Log keystrokes via polling

Disassembly:
mov eax, dword [esp + 4]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
mov cl, byte [eax + 8]
and ecx, 0xff
mov esi, ecx
cmp si, 0x60
jb 0x4412ce
cmp si, 0x69
ja 0x4412ce
add esi, 0xffd0
cmp si, 0x11
je 0x44129e
push 0x11
call edi
test ax, ax
jge 0x44129e
or esi, 0x2000
cmp si, 0x10
je 0x4412b3
push 0x10
call edi
test ax, ax
jge 0x4412b3
or esi, 0x4000
cmp si, 0x12
je 0x4412c8
push 0x12
call edi
test ax, ax
jge 0x4412c8
or esi, 0x8000
mov ax, si
pop edi
pop esi
ret
cmp si, 0x6d
jne 0x4412db
mov esi, 0xbd
jmp 0x44128f
cmp si, 0x6e
jne 0x4412e8
mov esi, 0xbe
jmp 0x44128f
cmp si, 0x6f
jne 0x441289
mov esi, 0xbf
jmp 0x44128f

Function at 0x442a90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4d8c30]
xor edx, edx
cmp eax, edx
jne 0x442ab6
xor eax, eax
mov byte [eax + 0x4d8b30], al
inc eax
cmp eax, 0x100
jl 0x442a9e
mov dword [0x4d8c30], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4d8b30
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x442b47
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x442b1a
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x442ae8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x442bc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x442c13
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x442bfa
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret