joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434654
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x434670
cmp dword [esi + 4], 0
je 0x43469d
test byte [ebx + 0x55], 1
jne 0x43468f
mov eax, ebx
call fcn.00433318
test eax, eax
jne 0x43468f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4347ad
mov edx, esi
mov eax, ebx
call fcn.00434174
jmp 0x4347ad
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4347a6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00436424
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00431024
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00434654
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00436424
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4347ad
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43ac4c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45c318]
cmp byte [eax + 0xc], 0
je 0x43adb9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43adb2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x45dbbc], 0
jne 0x43aca0
push 0x43adc0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43adc8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dbbc], eax
cmp dword [0x45b9d0], 0
jne 0x43ad9b
push 0x43add8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45b9d0], eax
cmp dword [0x45b9d0], 0
je 0x43ad9b
push 0x43ade4
mov eax, dword [0x45b9d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dbc0], eax
push 0x43adf4
mov eax, dword [0x45b9d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dbc4], eax
push 0x43ae08
mov eax, dword [0x45b9d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dbc8], eax
push 0x43ae20
mov eax, dword [0x45b9d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dbcc], eax
push 0x43ae38
mov eax, dword [0x45b9d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dbd0], eax
push 0x43ae4c
mov eax, dword [0x45b9d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dbd4], eax
push 0x43ae64
mov eax, dword [0x45b9d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dbd8], eax
push 0x43ae7c
mov eax, dword [0x45b9d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dbdc], eax
push 0x43ae98
mov eax, dword [0x45b9d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dbe0], eax
push 0x43aea4
mov eax, dword [0x45b9d0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x45dbe4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43adb9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43e9cc
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.00404468
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43ea1b
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.004046d0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44685c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4468ac]
test si, 4
je 0x446870
or bl, 1
test si, 8
je 0x44687a
or bl, 4
test si, 1
je 0x446884
or bl, 8
test si, 2
je 0x44688e
or bl, 0x10
test si, 0x10
je 0x446898
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4468a7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4468b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4468e8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4468c9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4468d8
or bl, 4
test esi, 0x20000000
je 0x4468e3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44ceec
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44cefe
add esp, 0xfffffff0
call fcn.00403a60
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c590
mov eax, dword [0x45c004]
mov dword [eax + 4], ebx
mov dword [eax], 0x44d290
mov eax, dword [0x45c010]
mov dword [eax + 4], ebx
mov dword [eax], 0x44d29c
mov eax, ebx
call fcn.0044d2a8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411e74]
call fcn.004036cc
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411e74]
call fcn.004036cc
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411e74]
call fcn.004036cc
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411e74]
call fcn.004036cc
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411e74]
call fcn.004036cc
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, 0x449770
push eax
push 0
push 0
mov eax, dword [0x45c140]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41df48]
call fcn.0041f61c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41df48]
call fcn.0041f61c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41df48]
call fcn.0041f61c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044d6c8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d5a4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d5a4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44d5a4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44d03b
call fcn.00403ab8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44d388
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 0x44d533
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44d514
mov dl, 1
mov eax, dword [0x41241c]
call fcn.004036cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404468
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44d503
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.0043afac
test al, al
je 0x44d4f6
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, 0x44d544
lea eax, [ebp - 0x254]
call fcn.0040943c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44d4f6
xor eax, eax
push ebp
push 0x44d4ef
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 0x44d57c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44d4d8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046d0
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 0x44d4d8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004046d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44d4f6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44d3f9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00416af8
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 0x44d53a
lea eax, [ebp - 0x260]
call fcn.00404468
ret

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

Disassembly:
push ecx
mov eax, dword [0x45dc00]
cmp byte [eax + 0xa5], 0
jne 0x44ded9
cmp dword [0x45dc18], 0
jne 0x44de9a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44de24
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x45dc18], eax
cmp dword [0x45dc14], 0
jne 0x44deb5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x45dc14], eax
cmp dword [0x45dc1c], 0
jne 0x44ded9
push esp
push 0
push 0
push 0x44ddc8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x45dc1c], eax
pop edx
ret
Function at 0x44dfd0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44dfe7
add esp, 0xfffffff0
call fcn.00403a60
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041c590
mov eax, dword [0x45c12c]
cmp word [eax + 2], 0
jne 0x44e00f
mov eax, dword [0x45c12c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044f604
mov eax, dword [0x45c1c4]
cmp word [eax + 2], 0
jne 0x44e029
mov eax, dword [0x45c1c4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0044f7fc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411e74]
call fcn.004036cc
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411e74]
call fcn.004036cc
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 [0x41e9c8]
call fcn.00425cd0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x44e1b0
mov eax, dword [0x45c05c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004260a0
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44fd7c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45c05c]
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.0040b05c
test eax, eax
je 0x44e11e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408d84
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040b084
test eax, eax
je 0x44e132
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.004046d0
mov eax, dword [0x45bf5c]
cmp byte [eax], 0
jne 0x44e166
mov eax, ebx
call fcn.0044e2d8
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.0044ff58
mov eax, ebx
call fcn.00450898
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44e1a6
call fcn.00403ab8
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44e54c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x45dc00]
cmp dword [eax + 0x30], 0
je 0x44e5f6
cmp dword [ebx + 0x94], 0
jne 0x44e5f0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44e4dc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x44e5f0
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 0x44e5b6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44e5f0
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.00414654
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44e5c5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x44f0d4
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 0x44f109
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.00404558
jmp 0x44f116
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004044bc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x450134
Capabilities:
Hide graphical window

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

Function at 0x45149c
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.00404918
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4514f4
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x45c324]
mov dl, 1
mov eax, dword [0x451054]
call fcn.0040a628
call fcn.00403ec8
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0045115c
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 0x456170
Capabilities:
Hash data with md5

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x58
call fcn.00402ff4
mov dword [ebx], 0x67452301
mov dword [ebx + 4], 0xefcdab89
mov dword [ebx + 8], 0x98badcfe
mov dword [ebx + 0xc], 0x10325476
pop ebx
ret
Function at 0x457ecc
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 8
add esp, 0xfffff004
push eax
dec eax
jne 0x457ed5
mov eax, dword [ebp - 4]
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
xor eax, eax
push ebp
push 0x45805c
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0x458070
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x458052
xor eax, eax
push ebp
push 0x45804b
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
mov eax, edi
call fcn.00404918
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 4], eax
xor ecx, ecx
mov dl, 1
mov eax, dword [0x412788]
call fcn.004173d0
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0x8000
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x8018]
push eax
push 0x16
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_HttpQueryInfoA
test bl, bl
je 0x457f91
lea edx, [ebp - 0x8018]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
cmp dword [ebp - 4], 0
je 0x458034
xor eax, eax
push ebp
push 0x45802d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x45800f
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x457fca
lea edx, [ebp - 0x8018]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x8018]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.wininet.dll_InternetReadFile
test eax, eax
je 0x457fec
cmp dword [ebp - 0xc], 0
ja 0x457fb9
mov eax, esi
mov edx, dword [ebp - 0x14]
mov edx, dword [edx + 4]
call fcn.004044bc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458016
mov eax, dword [ebp - 0x14]
call fcn.004036fc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458052
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x458066
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45852c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4585bf
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x100]
push eax
push 0xff
call sub.kernel32.dll_GetTempPathA
mov edx, ebx
lea eax, [ebp - 0x100]
call fcn.00408f40
call fcn.00402a64
push dword [ebx]
mov eax, 0xf4240
call fcn.00403014
lea edx, [ebp - 0x104]
call fcn.0040880c
push dword [ebp - 0x104]
push 0x4585d4
mov eax, ebx
mov edx, 3
call fcn.004047e0
mov eax, dword [ebx]
call fcn.00408aa0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4585c6
lea eax, [ebp - 0x104]
call fcn.00404468
ret
Function at 0x458dfc
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404908
mov eax, dword [ebp - 8]
call fcn.00404908
xor eax, eax
push ebp
push 0x458e8a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x458e63
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00404918
push eax
mov eax, dword [ebp - 4]
call fcn.00404918
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 0x458e6f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458e91
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040448c
ret

Function at 0x459194
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda4
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404908
xor eax, eax
push ebp
push 0x459240
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x205]
mov edx, dword [ebp - 4]
call fcn.00408de0
lea eax, [ebp - 0x24c]
xor ecx, ecx
mov edx, 0x44
call fcn.00402ff4
mov dword [ebp - 0x24c], 0x44
mov dword [ebp - 0x220], 1
test bl, bl
je 0x4591f9
mov eax, 1
jmp 0x4591fb
xor eax, eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0x24c]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
lea eax, [ebp - 0x205]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459247
lea eax, [ebp - 4]
call fcn.00404468
ret
Function at 0x4599c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404908
xor eax, eax
push ebp
push 0x459ae2
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.00404500
push 0xa
mov eax, dword [ebp - 0xc]
call fcn.00404918
push eax
mov eax, dword [0x45d718]
push eax
call sub.kernel32.dll_FindResourceA
mov ebx, eax
test ebx, ebx
je 0x459abc
push ebx
mov eax, dword [0x45d718]
push eax
call sub.kernel32.dll_SizeofResource
mov edi, eax
push ebx
mov eax, dword [0x45d718]
push eax
call sub.kernel32.dll_LoadResource
mov ebx, eax
xor edx, edx
push ebp
push 0x459aa4
push dword fs:[edx]
mov dword fs:[edx], esp
test ebx, ebx
je 0x459a9a
push edi
push 0
call sub.kernel32.dll_GlobalAlloc
mov esi, eax
push esi
call sub.kernel32.dll_GlobalLock
mov ecx, edi
mov edx, ebx
call fcn.00407274
lea eax, [ebp - 0x10]
call fcn.004061a4
push eax
push 0
push esi
call sub.ole32.dll_CreateStreamOnHGlobal
push 0
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x450af0]
call fcn.00450cac
mov dword [ebp - 8], eax
push esi
call sub.kernel32.dll_GlobalUnlock
lea eax, [ebp - 0x10]
call fcn.004061a4
push ebx
call sub.kernel32.dll_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x459abc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459ae9
lea eax, [ebp - 0x10]
call fcn.004061a4
lea eax, [ebp - 0xc]
call fcn.00404468
lea eax, [ebp - 4]
call fcn.00404468
ret

Function at 0x45a620
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
mov edx, dword [0x45dd58]
mov eax, 0x45a664
call fcn.00404a5c
test eax, eax
jle 0x45a65a
push 1
push 0
push 0
mov eax, dword [0x45dd58]
call fcn.00404918
push eax
push 0x45a66c
mov eax, ebx
call fcn.00436424
push eax
call sub.shell32.dll_ShellExecuteA
pop ebx
ret