joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44267c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x477b9c]
cmp byte [eax + 0xc], 0
je 0x4427e9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4427e2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x478b98], 0
jne 0x4426d0
push 0x4427f0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4427f8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478b98], eax
cmp dword [0x476b8c], 0
jne 0x4427cb
push 0x442808
call sub.kernel32.dll_LoadLibraryA
mov dword [0x476b8c], eax
cmp dword [0x476b8c], 0
je 0x4427cb
push 0x442814
mov eax, dword [0x476b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478b9c], eax
push 0x442824
mov eax, dword [0x476b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478ba0], eax
push 0x442838
mov eax, dword [0x476b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478ba4], eax
push 0x442850
mov eax, dword [0x476b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478ba8], eax
push 0x442868
mov eax, dword [0x476b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478bac], eax
push 0x44287c
mov eax, dword [0x476b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478bb0], eax
push 0x442894
mov eax, dword [0x476b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478bb4], eax
push 0x4428ac
mov eax, dword [0x476b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478bb8], eax
push 0x4428c8
mov eax, dword [0x476b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478bbc], eax
push 0x4428d4
mov eax, dword [0x476b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x478bc0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4427e9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x446674
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0040463c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4466c3
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004048ac
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44ddd8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44de28]
test si, 4
je 0x44ddec
or bl, 1
test si, 8
je 0x44ddf6
or bl, 4
test si, 1
je 0x44de00
or bl, 8
test si, 2
je 0x44de0a
or bl, 0x10
test si, 0x10
je 0x44de14
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44de23
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44de2c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44de64]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44de45
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44de54
or bl, 4
test esi, 0x20000000
je 0x44de5f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45450c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45451e
add esp, 0xfffffff0
call fcn.00403b8c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041eb98
mov eax, dword [0x47762c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4548b0
mov eax, dword [0x47763c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4548bc
mov eax, ebx
call fcn.004548c8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415a30]
call fcn.00403838
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415a30]
call fcn.00403838
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415a30]
call fcn.00403838
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415a30]
call fcn.00403838
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415a30]
call fcn.00403838
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, 0x450ce4
push eax
push 0
push 0
mov eax, dword [0x477870]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4205ec]
call fcn.00421d60
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x4205ec]
call fcn.00421d60
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x4205ec]
call fcn.00421d60
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00454ce8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454bc4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454bc4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x454bc4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45465b
call fcn.00403be4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4549a8
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 0x454b53
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x454b34
mov dl, 1
mov eax, dword [0x416094]
call fcn.00403838
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0040463c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x454b23
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.004429dc
test al, al
je 0x454b16
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, 0x454b64
lea eax, [ebp - 0x254]
call fcn.00409994
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x454b16
xor eax, eax
push ebp
push 0x454b0f
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 0x454b9c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x454af8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048ac
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 0x454af8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004048ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x454b16
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x454a19
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041a6a0
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 0x454b5a
lea eax, [ebp - 0x260]
call fcn.0040463c
ret

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

Disassembly:
push ecx
mov eax, dword [0x478be4]
cmp byte [eax + 0xa5], 0
jne 0x4554f9
cmp dword [0x478bfc], 0
jne 0x4554ba
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x455444
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x478bfc], eax
cmp dword [0x478bf8], 0
jne 0x4554d5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x478bf8], eax
cmp dword [0x478c00], 0
jne 0x4554f9
push esp
push 0
push 0
push 0x4553e8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x478c00], eax
pop edx
ret
Function at 0x4555f0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x455607
add esp, 0xfffffff0
call fcn.00403b8c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041eb98
mov eax, dword [0x47784c]
cmp word [eax + 2], 0
jne 0x45562f
mov eax, dword [0x47784c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00456d58
mov eax, dword [0x477984]
cmp word [eax + 2], 0
jne 0x455649
mov eax, dword [0x477984]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00456f50
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415a30]
call fcn.00403838
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415a30]
call fcn.00403838
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 [0x4210cc]
call fcn.00428444
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4557d0
mov eax, dword [0x4776c8]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00428814
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4574f0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4776c8]
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.0040d228
test eax, eax
je 0x45573e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409388
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d250
test eax, eax
je 0x455752
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.004048ac
mov eax, dword [0x4774cc]
cmp byte [eax], 0
jne 0x455786
mov eax, ebx
call fcn.004558f8
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.004576cc
mov eax, ebx
call fcn.00458090
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4557c6
call fcn.00403be4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455b78
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x478be4]
cmp dword [eax + 0x30], 0
je 0x455c22
cmp dword [ebx + 0x94], 0
jne 0x455c1c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x455b08
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x455c1c
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 0x455be2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x455c1c
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.0041810c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x455bf1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x456784
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 0x4567b9
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.0040472c
jmp 0x4567c6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404690
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4578a8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4578e9
mov eax, esi
call fcn.0043e09c
test al, al
je 0x4578e9
mov eax, dword [ebx + 0x84]
call fcn.0043ddc4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4578e9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043ddc4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x4585a8
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 [0x41522c]
call fcn.00405088
xor eax, eax
push ebp
push 0x4586ec
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x476dc0], 0
jne 0x4585fb
mov ecx, dword [0x4774f8]
mov dl, 1
mov eax, dword [0x407a98]
call fcn.0040c458
call fcn.00403ff4
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004030f8
mov eax, ebx
call fcn.00404ed4
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4586fc
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.00406120
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404ee4
test eax, eax
jle 0x458693
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 0x45868c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004048c4
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004048ac
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408914
test eax, eax
jne 0x45868c
mov ebx, 0x15
jmp 0x458698
mov ebx, 0x10
jmp 0x458698
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 [0x476dc0]
call fcn.00458500
mov eax, dword [ebp - 8]
call fcn.00458500
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406138
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4586f3
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404660
lea eax, [ebp - 0x10]
mov edx, dword [0x41522c]
call fcn.00405158
ret
Function at 0x470094
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x47009c
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x47028e
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4702a4
mov eax, esi
call fcn.0046c954
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404690
lea ecx, [ebp - 0x10]
mov edx, 0x4702b8
mov eax, esi
call fcn.0046c954
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404690
lea ecx, [ebp - 0x14]
mov edx, 0x4702d0
mov eax, esi
call fcn.0046c954
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404690
lea ecx, [ebp - 0x18]
mov edx, 0x4702ec
mov eax, esi
call fcn.0046c954
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404690
lea ecx, [ebp - 0x1c]
mov edx, 0x470308
mov eax, esi
call fcn.0046c954
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404690
lea ecx, [ebp - 0x24]
mov edx, 0x470320
mov eax, esi
call fcn.0046c954
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408984
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408c64
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x470338
mov eax, esi
call fcn.0046c954
mov eax, dword [ebp - 0x28]
call fcn.00460d64
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x470348
mov eax, esi
call fcn.0046c954
mov eax, dword [ebp - 0x2c]
call fcn.00460d64
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x470360
mov eax, esi
call fcn.0046c954
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408c64
inc eax
je 0x470231
lea ecx, [ebp - 0x34]
mov edx, 0x470360
mov eax, esi
call fcn.0046c954
mov eax, dword [ebp - 0x34]
call fcn.00408c28
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a2e4
fstp qword [ebp - 0x3c]
wait
call fcn.0040a648
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x47024c
lea ecx, [ebp - 0x40]
mov edx, 0x470360
mov eax, esi
call fcn.0046c954
mov eax, dword [ebp - 0x40]
call fcn.00460d64
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x470370
mov eax, esi
call fcn.0046c954
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404690
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470295
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404660
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404660
ret
Function at 0x474d04
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404aec
mov eax, dword [ebp - 8]
call fcn.00404aec
xor eax, eax
push ebp
push 0x474d92
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x474d6b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404afc
push eax
mov eax, dword [ebp - 4]
call fcn.00404afc
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x474d77
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x474d99
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404660
ret
Function at 0x100182e1
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10018311
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1001830f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x1001835c
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1001833f
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x1001835c
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x18]
call fcn.10018a43
mov dword [eax], 0x1928
jmp 0x10018334
mov esp, ebp
pop ebp
ret

Function at 0x1001847f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, byte [ebp + 8]
test eax, eax
je 0x100184b3
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100184b1
push 0x714
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x100184cc
mov byte [ebp - 2], 0
movzx eax, byte [ebp - 2]
test eax, eax
je 0x100184cc
push 0x478
push 0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
mov esp, ebp
pop ebp
ret
Function at 0x1001e4bc
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001e57e
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
push 0
mov ecx, dword [ebp - 0x30]
call fcn.10018a43
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax]
mov eax, dword [ebp - 4]
cmp dword [eax], ecx
jge 0x1001e551
mov dword [ebp - 0x14], 1
jmp 0x1001e555
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x14], eax
jle 0x1001e568
mov dword [ebp - 8], 1
jmp 0x1001e56c
and dword [ebp - 8], 0
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
jmp 0x1001e59e
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x1001e59e
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esp, ebp
pop ebp
ret

Function at 0x10020b72
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x10020bb2
mov eax, dword [ebp + 0x10]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x10020bb0
push 0x714
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x10020bc9
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret