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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x495eb4]
cmp byte [eax + 0xc], 0
je 0x44990d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x449906
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x496bc8], 0
jne 0x4497f4
push 0x449914
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44991c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x496bc8], eax
cmp dword [0x494b44], 0
jne 0x4498ef
push 0x44992c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x494b44], eax
cmp dword [0x494b44], 0
je 0x4498ef
push 0x449938
mov eax, dword [0x494b44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x496bcc], eax
push 0x449948
mov eax, dword [0x494b44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x496bd0], eax
push 0x44995c
mov eax, dword [0x494b44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x496bd4], eax
push 0x449974
mov eax, dword [0x494b44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x496bd8], eax
push 0x44998c
mov eax, dword [0x494b44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x496bdc], eax
push 0x4499a0
mov eax, dword [0x494b44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x496be0], eax
push 0x4499b8
mov eax, dword [0x494b44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x496be4], eax
push 0x4499d0
mov eax, dword [0x494b44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x496be8], eax
push 0x4499ec
mov eax, dword [0x494b44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x496bec], eax
push 0x4499f8
mov eax, dword [0x494b44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x496bf0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44990d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44d72c
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.00404838
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44d77b
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.00404aa0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x455664
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4556b4]
test si, 4
je 0x455678
or bl, 1
test si, 8
je 0x455682
or bl, 4
test si, 1
je 0x45568c
or bl, 8
test si, 2
je 0x455696
or bl, 0x10
test si, 0x10
je 0x4556a0
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4556af
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4556b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4556f0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4556d1
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4556e0
or bl, 4
test esi, 0x20000000
je 0x4556eb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45bcf4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45bd06
add esp, 0xfffffff0
call fcn.00403dac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f2d0
mov eax, dword [0x495af0]
mov dword [eax + 4], ebx
mov dword [eax], 0x45c098
mov eax, dword [0x495afc]
mov dword [eax + 4], ebx
mov dword [eax], 0x45c0a4
mov eax, ebx
call fcn.0045c0b0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x414784]
call fcn.00403a18
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x414784]
call fcn.00403a18
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x414784]
call fcn.00403a18
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x414784]
call fcn.00403a18
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x414784]
call fcn.00403a18
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, 0x458578
push eax
push 0
push 0
mov eax, dword [0x495c74]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x420d30]
call fcn.004224a4
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x420d30]
call fcn.004224a4
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x420d30]
call fcn.004224a4
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045c4d0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45c3ac
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45c3ac
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45c3ac
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45be43
call fcn.00403e04
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45c190
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 0x45c33b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45c31c
mov dl, 1
mov eax, dword [0x414de8]
call fcn.00403a18
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404838
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45c30b
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.00449b00
test al, al
je 0x45c2fe
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, 0x45c34c
lea eax, [ebp - 0x254]
call fcn.00409bec
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45c2fe
xor eax, eax
push ebp
push 0x45c2f7
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 0x45c384
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45c2e0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404aa0
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 0x45c2e0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404aa0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c2fe
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45c201
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00419394
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 0x45c342
lea eax, [ebp - 0x260]
call fcn.00404838
ret

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

Disassembly:
push ecx
mov eax, dword [0x496c0c]
cmp byte [eax + 0xa5], 0
jne 0x45cce1
cmp dword [0x496c24], 0
jne 0x45cca2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45cc2c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x496c24], eax
cmp dword [0x496c20], 0
jne 0x45ccbd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x496c20], eax
cmp dword [0x496c28], 0
jne 0x45cce1
push esp
push 0
push 0
push 0x45cbd0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x496c28], eax
pop edx
ret
Function at 0x45cdd8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45cdef
add esp, 0xfffffff0
call fcn.00403dac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f2d0
mov eax, dword [0x495c5c]
cmp word [eax + 2], 0
jne 0x45ce17
mov eax, dword [0x495c5c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e4b4
mov eax, dword [0x495d18]
cmp word [eax + 2], 0
jne 0x45ce31
mov eax, dword [0x495d18]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045e6ac
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x414784]
call fcn.00403a18
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x414784]
call fcn.00403a18
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 [0x421850]
call fcn.00429538
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45cfb8
mov eax, dword [0x495b60]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429908
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45ec2c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x495b60]
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.0040d688
test eax, eax
je 0x45cf26
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409534
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d6b0
test eax, eax
je 0x45cf3a
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.00404aa0
mov eax, dword [0x4959f4]
cmp byte [eax], 0
jne 0x45cf6e
mov eax, ebx
call fcn.0045d0e0
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.0045ee08
mov eax, ebx
call fcn.0045f748
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45cfae
call fcn.00403e04
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d354
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x496c0c]
cmp dword [eax + 0x30], 0
je 0x45d3fe
cmp dword [ebx + 0x94], 0
jne 0x45d3f8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45d2e4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45d3f8
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 0x45d3be
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45d3f8
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.00417010
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45d3cd
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45dedc
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 0x45df11
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.00404928
jmp 0x45df1e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0040488c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45efe4
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45f025
mov eax, esi
call fcn.004451f4
test al, al
je 0x45f025
mov eax, dword [ebx + 0x84]
call fcn.00444ef0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45f025
push 0
mov eax, dword [ebx + 0x84]
call fcn.00444ef0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x460ea0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404ce8
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x460ef8
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x495ec0]
mov dl, 1
mov eax, dword [0x460a58]
call fcn.0040ca3c
call fcn.00404214
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00460b60
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4754ec
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x47551a
mov eax, ebx
call fcn.00475fa4
cmp dword [ebx + 0x3c], 0
je 0x475513
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x47558b
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x47557d
cmp dword [ebx + 8], 0
je 0x47553c
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 0x47554e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47557d
cmp dword [ebx + 8], 0
je 0x47552f
cmp eax, 3
je 0x475561
dec eax
jne 0x47552f
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 0x47552f
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x47552f
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x4755a9
cmp dword [ebx + 0x10], 0xcc
je 0x4755a9
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.004755b4
pop ebx
ret

Function at 0x485954
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 [0x413e08]
call fcn.0040521c
xor eax, eax
push ebp
push 0x485a98
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x495888], 0
jne 0x4859a7
mov ecx, dword [0x495a04]
mov dl, 1
mov eax, dword [0x407d24]
call fcn.0040ca00
call fcn.00404214
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004030d8
mov eax, ebx
call fcn.0040508c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x485aa8
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.00406598
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.0040509c
test eax, eax
jle 0x485a3f
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 0x485a38
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404ab8
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404aa0
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408bd0
test eax, eax
jne 0x485a38
mov ebx, 0x15
jmp 0x485a44
mov ebx, 0x10
jmp 0x485a44
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 [0x495888]
call fcn.004858ac
mov eax, dword [ebp - 8]
call fcn.004858ac
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004065b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485a9f
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.0040485c
lea eax, [ebp - 0x10]
mov edx, dword [0x413e08]
call fcn.004052ec
ret
Function at 0x48ef80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
xor ecx, ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404cd8
mov eax, dword [ebp - 8]
call fcn.00404cd8
xor eax, eax
push ebp
push 0x48f0c2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x110]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x114]
lea edx, [ebp - 0x110]
mov ecx, pe_nt_image_headers32
call fcn.00404aa0
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x10]
call fcn.00408c40
lea eax, [ebp - 0x118]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404af0
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404d48
mov eax, dword [ebp - 0x118]
mov edx, 0x48f0d8
call fcn.00404c34
je 0x48f03a
lea eax, [ebp - 0x10]
mov edx, 0x48f0d8
call fcn.00404af8
push dword [ebp - 0x10]
push 0x48f0e4
mov eax, 0x186a1
call fcn.004030f8
lea edx, [ebp - 0x11c]
call fcn.00408e5c
push dword [ebp - 0x11c]
push 0x48f0f0
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00404bb0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0048f38c
test al, al
je 0x48f08d
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0048f624
mov ebx, eax
jmp 0x48f08f
xor ebx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0040924c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f0c9
lea eax, [ebp - 0x11c]
mov edx, 3
call fcn.0040485c
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040485c
ret
Function at 0x48f0f8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
xor ecx, ecx
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404cd8
mov eax, dword [ebp - 8]
call fcn.00404cd8
xor eax, eax
push ebp
push 0x48f23a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x110]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x114]
lea edx, [ebp - 0x110]
mov ecx, pe_nt_image_headers32
call fcn.00404aa0
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x10]
call fcn.00408c40
lea eax, [ebp - 0x118]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404af0
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404d48
mov eax, dword [ebp - 0x118]
mov edx, 0x48f250
call fcn.00404c34
je 0x48f1b2
lea eax, [ebp - 0x10]
mov edx, 0x48f250
call fcn.00404af8
push dword [ebp - 0x10]
push 0x48f25c
mov eax, 0x186a1
call fcn.004030f8
lea edx, [ebp - 0x11c]
call fcn.00408e5c
push dword [ebp - 0x11c]
push 0x48f268
lea eax, [ebp - 0xc]
mov edx, 4
call fcn.00404bb0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0048f770
test al, al
je 0x48f205
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
call fcn.0048f92c
mov ebx, eax
jmp 0x48f207
xor ebx, ebx
mov eax, dword [ebp - 0xc]
call fcn.0040924c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f241
lea eax, [ebp - 0x11c]
mov edx, 3
call fcn.0040485c
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040485c
ret

Function at 0x48f328
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], 0xffffffff
mov edx, 0x40
call fcn.00408fac
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48f37c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x48f366
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetFileSize_1
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48f383
mov eax, dword [ebp - 8]
call fcn.004090c4
ret
Function at 0x48fc30
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
xor eax, eax
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x114], eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x48fd68
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x108]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x108]
mov ecx, pe_nt_image_headers32
call fcn.00404aa0
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 4]
call fcn.00408c40
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 4]
call fcn.00404af0
mov edx, eax
mov ecx, 1
mov eax, dword [ebp - 4]
call fcn.00404d48
mov eax, dword [ebp - 0x110]
mov edx, 0x48fd80
call fcn.00404c34
je 0x48fcda
lea eax, [ebp - 4]
mov edx, 0x48fd80
call fcn.00404af8
push dword [ebp - 4]
push 0x48fd8c
mov eax, 0x186a1
call fcn.004030f8
lea edx, [ebp - 0x114]
call fcn.00408e5c
push dword [ebp - 0x114]
push 0x48fd98
lea eax, [ebp - 8]
mov edx, 4
call fcn.00404bb0
lea edx, [ebp - 0x118]
mov eax, 0x48fda8
call fcn.0040942c
mov eax, dword [ebp - 0x118]
mov edx, dword [ebp - 8]
call fcn.0048ef80
mov ebx, eax
mov eax, dword [ebp - 8]
call fcn.00404ce8
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48fd6f
lea eax, [ebp - 0x118]
mov edx, 4
call fcn.0040485c
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040485c
ret

Function at 0x490cd0
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404cd8
mov eax, dword [ebp - 8]
call fcn.00404cd8
xor eax, eax
push ebp
push 0x490d4a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x495a6c]
mov eax, dword [eax]
test eax, eax
je 0x490d09
sub eax, 0xfffffff8
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404ce8
push eax
mov eax, dword [ebp - 4]
call fcn.00404ce8
push eax
push 0
call sub.URLMON.DLL_URLDownloadToFileA
test eax, eax
jne 0x490d2d
mov bl, 1
jmp 0x490d2f
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490d51
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040485c
ret
Function at 0x492aa8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc9c
push ebx
xor ecx, ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404cd8
xor eax, eax
push ebp
push 0x492b92
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x20d]
mov edx, dword [ebp - 4]
call fcn.00409590
lea edx, [ebp - 8]
xor eax, eax
call fcn.00402964
lea eax, [ebp - 0x30d]
mov edx, dword [ebp - 8]
call fcn.00409590
lea eax, [ebp - 0x354]
xor ecx, ecx
mov edx, 0x44
call fcn.004030d8
mov dword [ebp - 0x354], 0x44
mov dword [ebp - 0x328], 1
mov word [ebp - 0x324], bx
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x354]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x20d]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x492b56
or ebx, 0xffffffff
jmp 0x492b77
push 0xffffffffffffffff
mov eax, dword [ebp - 0x364]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x364]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov ebx, dword [ebp - 0xc]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492b99
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040485c
ret