joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458218
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45822a
add esp, 0xfffffff0
call fcn.00403f04
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c668
mov eax, dword [0x47e828]
mov dword [eax + 4], ebx
mov dword [eax], 0x4585bc
mov eax, dword [0x47e834]
mov dword [eax + 4], ebx
mov dword [eax], 0x4585c8
mov eax, ebx
call fcn.004585d4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4126b0]
call fcn.00403b70
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4126b0]
call fcn.00403b70
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4126b0]
call fcn.00403b70
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4126b0]
call fcn.00403b70
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4126b0]
call fcn.00403b70
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x454a9c
push eax
push 0
push 0
mov eax, dword [0x47e978]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41fd98]
call fcn.0042146c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41fd98]
call fcn.0042146c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41fd98]
call fcn.0042146c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004589f4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4588d0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4588d0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4588d0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458367
call fcn.00403f5c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4586b4
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45885f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x458840
mov dl, 1
mov eax, dword [0x412ba0]
call fcn.00403b70
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040490c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45882f
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0044c2c8
test al, al
je 0x458822
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x458870
lea eax, [ebp - 0x254]
call fcn.00409db4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x458822
xor eax, eax
push ebp
push 0x45881b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x4588a8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x458804
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b74
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x458804
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404b74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458822
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x458725
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00416d00
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458866
lea eax, [ebp - 0x260]
call fcn.0040490c
ret

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

Disassembly:
push ecx
mov eax, dword [0x47fc30]
cmp byte [eax + 0xa5], 0
jne 0x459205
cmp dword [0x47fc48], 0
jne 0x4591c6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x459150
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47fc48], eax
cmp dword [0x47fc44], 0
jne 0x4591e1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x47fc44], eax
cmp dword [0x47fc4c], 0
jne 0x459205
push esp
push 0
push 0
push 0x4590f4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x47fc4c], eax
pop edx
ret
Function at 0x4592fc
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x459313
add esp, 0xfffffff0
call fcn.00403f04
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c668
mov eax, dword [0x47e968]
cmp word [eax + 2], 0
jne 0x45933b
mov eax, dword [0x47e968]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045a9c0
mov eax, dword [0x47ea08]
cmp word [eax + 2], 0
jne 0x459355
mov eax, dword [0x47ea08]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045abb8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4126b0]
call fcn.00403b70
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4126b0]
call fcn.00403b70
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], 0x80000018
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 [0x420818]
call fcn.004285a4
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4594dc
mov eax, dword [0x47e88c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00428974
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45b128
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x47e88c]
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.0040b88c
test eax, eax
je 0x45944a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409710
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040b8b4
test eax, eax
je 0x45945e
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.00404b74
mov eax, dword [0x47e770]
cmp byte [eax], 0
jne 0x459492
mov eax, ebx
call fcn.00459604
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.0045b304
mov eax, ebx
call fcn.0045bc44
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4594d2
call fcn.00403f5c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x459878
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47fc30]
cmp dword [eax + 0x30], 0
je 0x459922
cmp dword [ebx + 0x94], 0
jne 0x45991c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x459808
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45991c
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 0x4598e2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45991c
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.00414d50
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4598f1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45a400
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 0x45a435
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.004049fc
jmp 0x45a442
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404960
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45b4e0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45b521
mov eax, esi
call fcn.00447a00
test al, al
je 0x45b521
mov eax, dword [ebx + 0x84]
call fcn.004476fc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45b521
push 0
mov eax, dword [ebx + 0x84]
call fcn.004476fc
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45ebb8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x45ebe6
mov eax, ebx
call fcn.0045f670
cmp dword [ebx + 0x3c], 0
je 0x45ebdf
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x45ec57
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x45ec49
cmp dword [ebx + 8], 0
je 0x45ec08
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x45ec1a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45ec49
cmp dword [ebx + 8], 0
je 0x45ebfb
cmp eax, 3
je 0x45ec2d
dec eax
jne 0x45ebfb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45ebfb
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x45ebfb
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x45ec75
cmp dword [ebx + 0x10], 0xcc
je 0x45ec75
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045ec80
pop ebx
ret
Function at 0x472344
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.004720ec
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00404dbc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4723a2
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x47e980]
mov dl, 1
mov eax, dword [0x471fa4]
call fcn.0040ad9c
call fcn.0040436c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x473c94
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 0x473d1d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x47fcc4
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x473d07
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.0040a450
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, 0x473d34
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x47ea70]
mov dl, 1
mov eax, dword [0x473548]
call fcn.0040ad9c
call fcn.0040436c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473d24
lea eax, [ebp - 0x1c]
call fcn.0040490c
ret

Function at 0x4743c4
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.004742e8
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.00403d9c
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x474428
call fcn.00473bdc
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x47441a
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.00403d9c
pop esi
pop ebx
ret

Function at 0x47444c
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.00404dbc
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.004031dc
test ebx, ebx
je 0x474497
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 0x474574
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 0x4745a5
mov ecx, dword [0x47e9b0]
mov dl, 1
mov eax, dword [0x473548]
call fcn.0040ad60
call fcn.0040436c
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 0x4745d2
mov ecx, dword [0x47e960]
mov dl, 1
mov eax, dword [0x473548]
call fcn.0040ad60
call fcn.0040436c
xor eax, eax
push ebp
push 0x47464e
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.00403d9c
cmp byte [ebp + 8], 0
je 0x47462a
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.004744dc
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 eax, dword [ebp - 4]
call fcn.004743c4
jmp 0x474644
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.00473ec8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47466b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x474830
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.00474184
xor eax, eax
push ebp
push 0x4749a2
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 0x47498c
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x47487b
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x474885
call fcn.00404418
jmp 0x4749a9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00416db0
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 + 8]
mov ebx, eax
test ebx, ebx
jle 0x474981
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 0x474933
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x474920
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.00403d9c
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.004747e8
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4749b4]
cmp dl, byte [eax + 0x28]
je 0x474988
call fcn.0040ac48
jmp 0x474988
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00416dd0
jmp 0x474988
cmp ecx, ebx
jge 0x47494f
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.00416dd0
jmp 0x474885
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00416db0
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00416de4
cmp edx, dword [esp + 4]
jne 0x474970
cmp eax, dword [esp]
pop edx
pop eax
jne 0x474885
push ebp
call fcn.004747e8
pop ecx
jmp 0x474988
push ebp
call fcn.004747e8
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4749a9
mov eax, dword [ebp - 4]
call fcn.00474190
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x477148
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4772b9
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x477294
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x111], 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0x105
lea eax, [ebp - 0x111]
push eax
lea eax, [ebp - 0x118]
mov edx, ebx
call fcn.00404aec
lea eax, [ebp - 0x118]
mov edx, 0x4772d0
call fcn.00404bcc
mov eax, dword [ebp - 0x118]
call fcn.00404dbc
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x477206
lea eax, [ebp - 0x111]
call fcn.004096d4
mov ecx, eax
lea edx, [ebp - 0x111]
mov eax, esi
call fcn.004049fc
jmp 0x47720d
mov eax, esi
call fcn.0040490c
cmp bl, 0x61
jae 0x47722e
lea edx, [ebp - 0x11c]
mov eax, dword [esi]
call fcn.0040b760
mov edx, dword [ebp - 0x11c]
mov eax, esi
call fcn.00404960
jmp 0x477248
lea edx, [ebp - 0x120]
mov eax, dword [esi]
call fcn.0040b6d4
mov edx, dword [ebp - 0x120]
mov eax, esi
call fcn.00404960
lea eax, [ebp - 0x124]
push eax
mov eax, dword [esi]
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x128], 0xb
lea edx, [ebp - 0x12c]
xor ecx, ecx
mov eax, 0x4772dc
call fcn.00409e34
mov edx, dword [ebp - 0x124]
mov eax, esi
call fcn.00404960
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47729b
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret

Function at 0x47ab24
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404dac
mov eax, dword [ebp - 8]
call fcn.00404dac
xor eax, eax
push ebp
push 0x47abe6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x47abfc
push dword [ebp - 8]
push 0x47ac34
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c84
mov ecx, 0x20106
mov dl, 1
mov eax, dword [0x47206c]
call fcn.00472160
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x47abc4
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0x10]
call fcn.004721f8
push ebx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
call fcn.00472444
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47abcb
mov eax, dword [ebp - 0x10]
call fcn.00403ba0
ret
Function at 0x47ac38
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404dac
xor eax, eax
push ebp
push 0x47ad04
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.004031dc
mov dword [ebp - 0x4c], 0x44
test bl, bl
jne 0x47ac9d
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0x8000000
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404dbc
push eax
push 0
call sub.kernel32.dll_CreateProcessA
jmp 0x47acc1
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404dbc
push eax
push 0
call sub.kernel32.dll_CreateProcessA
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
push 0xffffffffffffffff
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle_1
mov ebx, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47ad0b
lea eax, [ebp - 4]
call fcn.0040490c
ret

Function at 0x47b428
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x47b431
xchg dword [ebp - 4], ecx
push ebx
push esi
mov esi, edx
xor edx, edx
push ebp
push 0x47b4ab
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 4]
push edx
push ecx
push 0
push eax
push 0
push 0
call sub.kernel32.dll_CreateThread
mov ebx, eax
lea eax, [ebp - 0x14]
mov edx, ebx
mov cl, 4
call fcn.00405858
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
call fcn.00410ebc
lea edx, [ebp - 0x24]
pop eax
call fcn.004058b8
je 0x47b48a
push esi
push ebx
call sub.kernel32.dll_SetThreadPriority
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b4b2
lea eax, [ebp - 0x24]
mov edx, dword [0x4010a0]
mov ecx, 2
call fcn.00405418
ret

Function at 0x47b564
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp], ecx
mov edi, eax
mov esi, edx
mov ebx, dword [esp]
test ebx, ebx
jle 0x47b59b
mov al, byte [esi]
xor al, 0xff
mov byte [esp + 4], al
push 0
lea edx, [esp + 8]
mov eax, edi
mov ecx, 1
call fcn.00403018
call fcn.00402894
inc esi
dec ebx
jne 0x47b578
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret