joyce8/EMBER2024-capa huggingface dataset:
Function at 0x459a18
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x459a2f
add esp, 0xfffffff0
call fcn.00403950
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00423800
mov eax, dword [0x4a29a4]
cmp word [eax + 2], 0
jne 0x459a57
mov eax, dword [0x4a29a4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b180
mov eax, dword [0x4a2aa4]
cmp word [eax + 2], 0
jne 0x459a71
mov eax, dword [0x4a2aa4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045b378
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41ab0c]
call fcn.00403614
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41ab0c]
call fcn.00403614
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x4259f4]
call fcn.0042b63c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x459bf8
mov eax, dword [0x4a2858]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042ba0c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45b918
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a2858]
mov eax, dword [eax]
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.0040d8d8
test eax, eax
je 0x459b66
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409520
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d900
test eax, eax
je 0x459b7a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404750
mov eax, dword [0x4a26c0]
cmp byte [eax], 0
jne 0x459bae
mov eax, ebx
call fcn.00459d20
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045baf4
mov eax, ebx
call fcn.0045c4b8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x459bee
call fcn.004039a8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459fa0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a3bb8]
cmp dword [eax + 0x30], 0
je 0x45a04a
cmp dword [ebx + 0x94], 0
jne 0x45a044
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x459f30
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45a044
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45a00a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45a044
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041d13c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45a019
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45abac
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45abe1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004045d0
jmp 0x45abee
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404534
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45bcd0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45bd11
mov eax, esi
call fcn.00442534
test al, al
je 0x45bd11
mov eax, dword [ebx + 0x84]
call fcn.00442230
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45bd11
push 0
mov eax, dword [ebx + 0x84]
call fcn.00442230
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45d334
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x45d3bd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4a3be0
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x45d3a7
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040c328
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x45d3d4
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x4a2b34]
mov dl, 1
mov eax, dword [0x45c698]
call fcn.0040cc4c
call fcn.00403e7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d3c4
lea eax, [ebp - 0x1c]
call fcn.004044e0
ret
Function at 0x45da88
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0045d9ac
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403840
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x45daec
call fcn.0045d27c
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x45dade
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403840
pop esi
pop ebx
ret

Function at 0x45db10
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.004049a0
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00402fec
test ebx, ebx
je 0x45db5b
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret

Function at 0x45dc38
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x45dc69
mov ecx, dword [0x4a2c6c]
mov dl, 1
mov eax, dword [0x45c698]
call fcn.0040cc10
call fcn.00403e7c
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x45dc96
mov ecx, dword [0x4a2998]
mov dl, 1
mov eax, dword [0x45c698]
call fcn.0040cc10
call fcn.00403e7c
xor eax, eax
push ebp
push 0x45dd17
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.00403840
cmp byte [ebp + 8], 0
je 0x45dcf1
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0045dba0
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045da08
jmp 0x45dd0d
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0045d568
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45dd34
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x45df18
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0045d830
xor eax, eax
push ebp
push 0x45e089
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x45e073
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x45df63
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x45df6d
call fcn.00403f28
jmp 0x45e090
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041f56c
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x45e068
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x45e01b
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x45e008
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403840
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.0045ded0
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x45e09c]
cmp dl, byte [eax + 0x28]
je 0x45e06f
call fcn.0040cb34
jmp 0x45e06f
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041f58c
jmp 0x45e06f
cmp ecx, ebx
jge 0x45e037
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041f58c
jmp 0x45df6d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0041f56c
cmp edx, dword [esp + 4]
jne 0x45e057
cmp eax, dword [esp]
pop edx
pop eax
jne 0x45df6d
push ebp
call fcn.0045ded0
pop ecx
jmp 0x45e06f
push ebp
call fcn.0045ded0
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e090
mov eax, dword [ebp - 4]
call fcn.0045d83c
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e0a0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45e1c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045d830
xor eax, eax
push ebp
push 0x45e1a5
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x45e0f0
call fcn.00403f28
jmp 0x45e1ac
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x45e18f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x45e18f
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403840
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x45e18f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c328
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x45e1dc
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4a2b34]
mov dl, 1
mov eax, dword [0x45c698]
call fcn.0040cc4c
call fcn.00403e7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e1ac
mov eax, dword [ebp - 4]
call fcn.0045d83c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e1c9
lea eax, [ebp - 0x28]
call fcn.004044e0
ret
Function at 0x45e228
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45e372
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0045d830
xor eax, eax
push ebp
push 0x45e355
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x45e28d
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x45e28d
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x45e33f
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x45e2a0
call fcn.00403f28
jmp 0x45e35c
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x45e33f
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x45e33f
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403840
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x45e33f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040c328
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x45e38c
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x4a2b34]
mov dl, 1
mov eax, dword [0x45c698]
call fcn.0040cc4c
call fcn.00403e7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e35c
mov eax, dword [ebp - 4]
call fcn.0045d83c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e379
lea eax, [ebp - 0x28]
call fcn.004044e0
ret

Function at 0x47bf24
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x47bf49
cmp dword [esp + 4], 5
jb 0x47bf49
mov al, 1
jmp 0x47bf4b
xor eax, eax
add esp, 0x94
ret
Function at 0x49c910
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x49c919
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404990
xor eax, eax
push ebp
push 0x49cb1b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x49cb34
call fcn.00404ae4
add eax, 4
push eax
mov eax, dword [ebp - 4]
call fcn.004047a0
mov ecx, eax
mov eax, dword [ebp - 4]
pop edx
call fcn.00404a00
mov edx, dword [ebp - 8]
mov eax, 0x49cb44
call fcn.00404ae4
push eax
mov eax, dword [ebp - 8]
call fcn.004047a0
mov ecx, eax
lea eax, [ebp - 8]
pop edx
call fcn.00404a40
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 4]
mov eax, 0x49cb50
call fcn.00404ae4
add eax, 5
push eax
mov eax, dword [ebp - 4]
call fcn.004047a0
mov ecx, eax
mov eax, dword [ebp - 4]
pop edx
call fcn.00404a00
mov edx, dword [ebp - 0xc]
mov eax, 0x49cb44
call fcn.00404ae4
push eax
mov eax, dword [ebp - 0xc]
call fcn.004047a0
mov ecx, eax
lea eax, [ebp - 0xc]
pop edx
call fcn.00404a40
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.00408aec
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x49cb60
call fcn.004047ec
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebx + esi*4 + 0x40]
call fcn.0048bf40
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebx + esi*4 + 0x40]
call fcn.00477d0c
mov eax, dword [ebx + esi*4 + 0x40]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.0046e31c
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebx + esi*4 + 0x40]
mov eax, dword [eax + 0x30]
mov edx, 1
call fcn.0046e31c
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov eax, dword [ebx + esi*4 + 0x40]
call fcn.00477d18
mov eax, dword [ebp - 0x14]
mov edx, 0x49cb94
call fcn.004048ec
jne 0x49cb00
push 0x49cba4
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 0x10]
call fcn.00408aec
push dword [ebp - 0x24]
push 0x49cbc8
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.00408aec
push dword [ebp - 0x28]
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.00404860
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebx + esi*4 + 0x40]
call fcn.0048bf40
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebx + esi*4 + 0x40]
call fcn.0048be68
mov eax, dword [ebx + esi*4 + 0x40]
call fcn.0048bf40
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [0x50584c]
mov eax, dword [eax + 0x2f8]
mov eax, dword [eax + 0x90]
mov edx, edi
call fcn.0045e93c
push eax
push 0x49cbe0
push dword [ebp - 0xc]
push 0x49cbfc
push dword [ebp - 0x10]
push 0x49cc0c
push 0x49cc18
lea eax, [ebp - 0x2c]
mov edx, 6
call fcn.00404860
mov edx, dword [ebp - 0x2c]
pop eax
call fcn.0045deb4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49cb22
lea eax, [ebp - 0x2c]
mov edx, 0xb
call fcn.00404504
ret
Function at 0x404cf0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
lea eax, [ebp - 8]
push eax
mov ecx, dword [0x4a0cf0]
or ecx, 8
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x404def
push 0x105
lea ecx, [ebp - 0x218]
push ecx
push 0
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
jne 0x404d79
cmp dword [ebp + 0x10], 0
je 0x404d5a
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x404df2
push 0
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00404cf0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x404d77
jmp 0x404d79
jmp 0x404d24
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.004010fa
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x404db5
push 0
mov ecx, dword [0x4a0cf0]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [ebp - 0x21c]
mov dword [ebp - 4], eax
jmp 0x404def
cmp dword [0x4a0cf0], 0
jne 0x404ddc
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x404ddc
mov dword [ebp - 0x220], 0
jmp 0x404de6
mov dword [ebp - 0x220], 1
mov eax, dword [ebp - 0x220]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4070b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, 0xffff
mov word [ebp - 0xc], ax
push 0x503000
call fcn.0040104b
mov word [ebp - 4], ax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov ecx, dword [0x4a0c24]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
test edx, edx
je 0x407142
mov ecx, dword [0x4a0bd0]
mov edx, dword [ebp - 8]
imul edx, dword [ecx + 0x64]
add edx, dword [0x4a0c20]
mov dword [ebp - 0x10], edx
movzx eax, word [ebp - 4]
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx]
xor eax, edx
movzx ecx, word [ebp - 0xc]
and eax, ecx
jne 0x407140
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 2]
mov dword [0x4971f4], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 6]
mov dword [0x4a0ce8], edx
mov eax, dword [ebp - 0x10]
add eax, 0xa
mov dword [ebp - 0x14], eax
jmp 0x407142
jmp 0x4070e4
cmp dword [ebp - 0x14], 0
jne 0x40716a
movzx ecx, word [ebp - 0xc]
cmp ecx, 0xffff
jne 0x40715f
mov edx, 0x3ff
mov word [ebp - 0xc], dx
jmp 0x407165
xor eax, eax
mov word [ebp - 0xc], ax
jmp 0x4070db
mov ecx, dword [ebp - 0x14]
mov dword [0x497200], ecx
mov edx, dword [ebp - 0x10]
movzx eax, word [edx]
push eax
push 0x503000
call fcn.00401046
push 0xfffffffffffffffe
push 0x497220
call fcn.0040103c
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [0x457c68]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [0x4a0c08]
mov dword [ebp - 0x20], eax
mov ecx, dword [0x4a0c0c]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
sub eax, 1
mov dword [ebp - 0x1c], eax
test edx, edx
je 0x4071ed
mov ecx, dword [ebp - 0x20]
cmp dword [ecx], 0
je 0x4071df
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x20]
add ecx, 0x18
push ecx
call fcn.0040103c
mov edx, dword [ebp - 0x20]
add edx, 0x4018
mov dword [ebp - 0x20], edx
jmp 0x4071b5
mov esp, ebp
pop ebp
ret
Function at 0x401000
Capabilities:
Query service status

Disassembly:
sub esp, 0x1c
xor eax, eax
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
lea eax, [esp + 8]
push eax
xor esi, esi
push ebx
mov dword [esp + 0x10], esi
call ebp
mov eax, dword [esp + 0xc]
cmp eax, edi
je 0x40108a
jmp 0x401040
cmp dword [esp + 0x28], eax
jne 0x4010a5
cmp esi, 5
ja 0x4010a5
mov eax, 0xaaaaaaab
mul dword [esp + 0x20]
shr edx, 1
cmp edx, 0x3e8
jae 0x401065
mov edx, 0x3e8
jmp 0x401072
cmp edx, 0x2710
jbe 0x401072
mov edx, 0x2710
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 8]
push ecx
push ebx
inc esi
call ebp
mov eax, dword [esp + 0xc]
cmp eax, edi
jne 0x401040
cmp edi, 4
jne 0x40109a
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
pop esi
mov eax, 1
pop ebp
add esp, 0x1c
ret
pop esi
xor eax, eax
pop ebp
add esp, 0x1c
ret