joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453b2c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x453b64]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453b45
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x453b54
or bl, 4
test esi, 0x20000000
je 0x453b5f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45a228
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45a23a
add esp, 0xfffffff0
call fcn.00403bd0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041fd34
mov eax, dword [0x4a8d44]
mov dword [eax + 4], ebx
mov dword [eax], 0x45a5cc
mov eax, dword [0x4a8d54]
mov dword [eax + 4], ebx
mov dword [eax], 0x45a5d8
mov eax, ebx
call fcn.0045a5e4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41702c]
call fcn.00403868
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41702c]
call fcn.00403868
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41702c]
call fcn.00403868
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41702c]
call fcn.00403868
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41702c]
call fcn.00403868
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, 0x4569fc
push eax
push 0
push 0
mov eax, dword [0x4a9028]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42180c]
call fcn.00422f6c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42180c]
call fcn.00422f6c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42180c]
call fcn.00422f6c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045aa34
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45a8fc
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45a8fc
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45a8fc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45a377
call fcn.00403c28
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45a6e0
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 0x45a88b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45a86c
mov dl, 1
mov eax, dword [0x4175d4]
call fcn.00403868
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004046c8
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45a85b
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.0044852c
test al, al
je 0x45a84e
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, 0x45a89c
lea eax, [ebp - 0x254]
call fcn.0040a288
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45a84e
xor eax, eax
push ebp
push 0x45a847
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 0x45a8d4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45a830
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404938
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 0x45a830
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404938
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a84e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45a751
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041b954
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 0x45a892
lea eax, [ebp - 0x260]
call fcn.004046c8
ret

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

Disassembly:
push ecx
mov eax, dword [0x4aab54]
cmp byte [eax + 0xa5], 0
jne 0x45b245
cmp dword [0x4aab6c], 0
jne 0x45b206
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45b190
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4aab6c], eax
cmp dword [0x4aab68], 0
jne 0x45b221
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4aab68], eax
cmp dword [0x4aab70], 0
jne 0x45b245
push esp
push 0
push 0
push 0x45b134
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4aab70], eax
pop edx
ret
Function at 0x45b8d8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4aab54]
cmp dword [eax + 0x30], 0
je 0x45b982
cmp dword [ebx + 0x94], 0
jne 0x45b97c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45b868
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45b97c
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 0x45b942
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45b97c
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.00419590
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45b951
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45c4e0
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 0x45c515
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.004047b8
jmp 0x45c522
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040471c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45d6dc
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45d71d
mov eax, esi
call fcn.00443ac4
test al, al
je 0x45d71d
mov eax, dword [ebx + 0x84]
call fcn.004437c0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45d71d
push 0
mov eax, dword [ebx + 0x84]
call fcn.004437c0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x465030
Capabilities:
Link many functions at runtime

Disassembly:
mov byte [0x4a70c0], 0
mov eax, dword [0x4a9438]
cmp dword [eax], 2
jne 0x465209
mov eax, dword [0x4a8e1c]
cmp dword [eax], 5
jl 0x465209
call fcn.00462160
test al, al
jne 0x465061
call fcn.0046216c
call fcn.00462158
mov dword [0x4a70c8], eax
push 0x46520c
mov eax, dword [0x4a70c8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a708c], eax
cmp dword [0x4a708c], 0
jne 0x4650bc
mov edx, 0x8000
mov eax, 0x465220
call fcn.0040f080
mov dword [0x4a70c4], eax
mov eax, dword [0x4a70c4]
mov dword [0x4a70c8], eax
push 0x46520c
mov eax, dword [0x4a70c8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a708c], eax
cmp dword [0x4a708c], 0
je 0x465204
push 0x46522c
mov eax, dword [0x4a70c8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7090], eax
cmp dword [0x4a7090], 0
je 0x465204
push 0x465238
mov eax, dword [0x4a70c8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7094], eax
cmp dword [0x4a7094], 0
je 0x465204
mov byte [0x4a70c0], 1
push 0x465248
mov eax, dword [0x4a70c8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a7098], eax
push 0x465254
mov eax, dword [0x4a70c8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a709c], eax
push 0x465260
mov eax, dword [0x4a70c8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a70a0], eax
push 0x465270
mov eax, dword [0x4a70c8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a70a4], eax
push 0x465280
mov eax, dword [0x4a70c8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a70a8], eax
mov edx, 0x8000
mov eax, 0x465298
call fcn.0040f080
mov dword [0x4a70cc], eax
cmp dword [0x4a70cc], 0
je 0x465209
push 0x4652a8
mov eax, dword [0x4a70cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a70ac], eax
push 0x4652c4
mov eax, dword [0x4a70cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a70b0], eax
push 0x4652e4
mov eax, dword [0x4a70cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a70b4], eax
push 0x465300
mov eax, dword [0x4a70cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a70b8], eax
push 0x465318
mov eax, dword [0x4a70cc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4a70bc], eax
ret
call fcn.00464fb0
ret
Function at 0x487e24
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x488084
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x487e87
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.004878ec
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040dd40
cmp al, 1
jne 0x487e87
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00487c04
test al, al
je 0x488013
cmp dword [ebp - 8], 0
jge 0x487ea5
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.004878ec
mov eax, dword [ebp - 0x210]
call fcn.00404988
cmp ebx, eax
jge 0x487eef
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.004878ec
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4a9420]
and eax, 0xff
bt dword [edx], eax
jae 0x487eef
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x487f03
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00487e00
cmp ebx, dword [ebp - 8]
je 0x488005
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x487f2f
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403aa0
and eax, 0x7f
movzx eax, word [eax*2 + 0x4a8994]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x487ff2
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403aa0
and eax, 0x7f
movzx eax, word [eax*2 + 0x4a8994]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.004437c0
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.00403aa0
and eax, 0x7f
movzx eax, word [eax*2 + 0x4a8994]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.004437c0
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487ff9
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x488066
cmp dword [ebp - 8], 0
jge 0x48801e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.004878ec
mov eax, dword [ebp - 0x218]
call fcn.00404988
cmp eax, dword [ebp - 8]
jg 0x488058
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.004878ec
mov eax, dword [ebp - 0x21c]
call fcn.00404988
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00487e00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48808b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.004046ec
ret
Function at 0x493568
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4165dc]
call fcn.004051c8
xor eax, eax
push ebp
push 0x4936ac
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a89cc], 0
jne 0x4935bb
mov ecx, dword [0x4a8ba0]
mov dl, 1
mov eax, dword [0x407f04]
call fcn.0040d3f8
call fcn.00404038
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004031a4
mov eax, ebx
call fcn.00404fcc
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4936bc
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004064dc
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404fdc
test eax, eax
jle 0x493653
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x49364c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404950
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404938
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408e6c
test eax, eax
jne 0x49364c
mov ebx, 0x15
jmp 0x493658
mov ebx, 0x10
jmp 0x493658
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x4a89cc]
call fcn.004933e0
mov eax, dword [ebp - 8]
call fcn.004933e0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004064f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4936b3
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004046ec
lea eax, [ebp - 0x10]
mov edx, dword [0x4165dc]
call fcn.00405298
ret
Function at 0x4a3350
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x4a3359
mov eax, dword [ebp - 4]
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x2018], ebx
mov dword [ebp - 0x201c], ebx
mov dword [ebp - 0x14], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4a356b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4178c4]
call fcn.00403868
mov ebx, eax
push 0
push 0
push 0
push 0
push 0x4a357c
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
push 0
push 0x84880000
push 0xb
push 0x4a35f0
mov eax, edi
call fcn.00404b88
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0xc], eax
mov eax, esi
call fcn.004046c8
lea eax, [ebp - 0x2014]
xor ecx, ecx
mov edx, 0x2000
call fcn.004031a4
jmp 0x4a3488
cmp dword [ebp - 0x10], 0
je 0x4a34a9
lea edx, [ebp - 0x2014]
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x10]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x2024], eax
mov dword [ebp - 0x2020], edx
fild qword [ebp - 0x2024]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea edx, [ebp - 0x201c]
mov eax, 0x4a3604
call fcn.0040b168
mov ecx, dword [ebp - 0x201c]
lea eax, [ebp - 0x2018]
mov edx, 0x4a3614
call fcn.004049d4
mov eax, dword [ebp - 0x2018]
push eax
mov eax, dword [0x4aadf4]
mov eax, dword [eax + 0x300]
mov eax, dword [eax + 0x208]
mov edx, 4
call fcn.00485bb0
pop edx
call fcn.00485b0c
mov eax, dword [0x4a9148]
mov eax, dword [eax]
call fcn.0045c820
lea eax, [ebp - 0x10]
push eax
push 0x2000
lea eax, [ebp - 0x2014]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
jne 0x4a33f5
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
cmp dword [ebp - 4], 0
jne 0x4a350f
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov edx, eax
mov eax, esi
call fcn.00404d14
push 0
push 0
mov eax, ebx
call fcn.0041ba30
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
push eax
mov eax, esi
call fcn.00404be0
mov edx, eax
mov eax, ebx
pop ecx
mov edi, dword [eax]
call dword [edi + 0xc]
lea edx, [ebp - 0x14]
mov eax, dword [esi]
call fcn.004069bc
cmp dword [ebp - 0x14], 0
je 0x4a353e
mov eax, esi
mov edx, dword [ebp - 0x14]
call fcn.0040471c
jmp 0x4a353e
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, esi
call fcn.00409118
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x4a3532
cmp eax, 0x3e7
jbe 0x4a353e
jmp 0x4a3534
jle 0x4a353e
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0041c10c
mov eax, ebx
call fcn.00403898
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a3572
lea eax, [ebp - 0x201c]
mov edx, 2
call fcn.004046ec
lea eax, [ebp - 0x14]
call fcn.004046c8
ret
Function at 0x80b4a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x80b4c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x80b4c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x80b4b8
mov eax, 1
add ebx, ebx
jne 0x80b4db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x80b4d0
jne 0x80b4ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x80b4d0
xor ecx, ecx
sub eax, 3
jb 0x80b500
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x80b572
mov ebp, eax
add ebx, ebx
jne 0x80b50b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x80b518
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x80b53c
inc ecx
add ebx, ebx
jne 0x80b528
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x80b51d
jne 0x80b539
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x80b51d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x80b55c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x80b54d
jmp 0x80b4be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x80b55c
add edi, ecx
jmp 0x80b4be
pop esi
mov edi, esi
mov ecx, 0x147
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x80b57a
cmp byte [edi], 1
jne 0x80b57a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x80b57f
lea edi, [esi + 0x9000]
mov eax, dword [edi]
or eax, eax
je 0x80b5f7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xb514]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xb58c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x80b5ac
mov ecx, edi
jns 0x80b5db
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xb590]
or eax, eax
je 0x80b5f1
mov dword [ebx], eax
add ebx, 4
jmp 0x80b5c9
call dword [esi + 0xb594]
popal
jmp 0x802d68

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x25651752
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x708b08b8
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40ace5
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
cmp dword [ebp + 8], 0
je 0x40ad5d
push 0x104
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push eax
call sub.MSVCRT.dll_wcsncpy
xor eax, eax
mov word [ebp - 4], ax
lea eax, [ebp - 0x20c]
push eax
call sub.MSVCRT.dll_wcslen
lea ecx, [ebp - 0x20c]
add esp, 0x10
lea eax, [ecx + eax*2]
jmp 0x40ad3e
movzx ecx, word [eax - 2]
cmp ecx, 0x20
je 0x40ad3b
cmp ecx, 0x5c
je 0x40ad3b
cmp ecx, 0x2f
jne 0x40ad48
add eax, 0xfffffffe
lea ecx, [ebp - 0x20c]
cmp eax, ecx
ja 0x40ad28
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x40ad5f
xor eax, eax
mov esp, ebp
pop ebp
ret 4

Function at 0x40b060
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0xc]
mov dword [esp + 4], 0
cmp dword [esi + 0x14], 0
jne 0x40b09c
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esi + 8]
sub eax, dword [esi + 0xc]
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov eax, dword [esp + 4]
pop esi
pop ecx
ret 4
xor eax, eax
pop esi
pop ecx
ret 4

Function at 0x40b931
Capabilities:
Hash data using sha1

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

Function at 0x40ce90
Capabilities:
Hash data with md5

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

Function at 0x40d908
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push edi
push dword [0x418678]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x40d969
push esi
push dword [0x418674]
push 8
push dword [0x418068]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
push edi
push dword [0x418678]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov esi, dword [0x418670]
jmp 0x40d959
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x40d957
mov eax, dword [esi + 8]
add eax, edi
push eax
call ecx
pop ecx
mov esi, dword [esi]
test esi, esi
jne 0x40d947
push edi
push 0x40d8a6
call fcn.00412402
pop esi
mov eax, dword [esp + 8]
add eax, edi
pop edi
ret 4