joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436a00
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 0x436a1c
cmp dword [esi + 4], 0
je 0x436a49
test byte [ebx + 0x55], 1
jne 0x436a3b
mov eax, ebx
call fcn.004355a0
test eax, eax
jne 0x436a3b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x436b59
mov edx, esi
mov eax, ebx
call fcn.00436524
jmp 0x436b59
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 0x436b52
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00438870
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.0043323c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00436a00
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.00438870
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436b59
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 0x43d22c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4561bc]
cmp byte [eax + 0xc], 0
je 0x43d399
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43d392
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x457b6c], 0
jne 0x43d280
push 0x43d3a0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43d3a8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b6c], eax
cmp dword [0x455b84], 0
jne 0x43d37b
push 0x43d3b8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x455b84], eax
cmp dword [0x455b84], 0
je 0x43d37b
push 0x43d3c4
mov eax, dword [0x455b84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b70], eax
push 0x43d3d4
mov eax, dword [0x455b84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b74], eax
push 0x43d3e8
mov eax, dword [0x455b84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b78], eax
push 0x43d400
mov eax, dword [0x455b84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b7c], eax
push 0x43d418
mov eax, dword [0x455b84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b80], eax
push 0x43d42c
mov eax, dword [0x455b84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b84], eax
push 0x43d444
mov eax, dword [0x455b84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b88], eax
push 0x43d45c
mov eax, dword [0x455b84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b8c], eax
push 0x43d478
mov eax, dword [0x455b84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b90], eax
push 0x43d484
mov eax, dword [0x455b84]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b94], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d399
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x441224
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.00403fb0
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x441273
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.00404220
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4489b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x448a00]
test si, 4
je 0x4489c4
or bl, 1
test si, 8
je 0x4489ce
or bl, 4
test si, 1
je 0x4489d8
or bl, 8
test si, 2
je 0x4489e2
or bl, 0x10
test si, 0x10
je 0x4489ec
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4489fb
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x448a04
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x448a3c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448a1d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x448a2c
or bl, 4
test esi, 0x20000000
je 0x448a37
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44f0e4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44f0f6
add esp, 0xfffffff0
call fcn.00403584
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004196d0
mov eax, dword [0x455e84]
mov dword [eax + 4], ebx
mov dword [eax], 0x44f488
mov eax, dword [0x455e90]
mov dword [eax + 4], ebx
mov dword [eax], 0x44f494
mov eax, ebx
call fcn.0044f4a0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4119c8]
call fcn.00403248
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4119c8]
call fcn.00403248
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4119c8]
call fcn.00403248
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4119c8]
call fcn.00403248
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4119c8]
call fcn.00403248
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, 0x44b8bc
push eax
push 0
push 0
mov eax, dword [0x455fd8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41b10c]
call fcn.0041c550
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41b10c]
call fcn.0041c550
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41b10c]
call fcn.0041c550
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044f8c0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f79c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f79c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44f79c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44f233
call fcn.004035dc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44f580
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 0x44f72b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44f70c
mov dl, 1
mov eax, dword [0x411de4]
call fcn.00403248
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403fb0
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44f6fb
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.0043d58c
test al, al
je 0x44f6ee
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, 0x44f73c
lea eax, [ebp - 0x254]
call fcn.00408d90
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44f6ee
xor eax, eax
push ebp
push 0x44f6e7
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 0x44f774
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44f6d0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404220
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 0x44f6d0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404220
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f6ee
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44f5f1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004158c0
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 0x44f732
lea eax, [ebp - 0x260]
call fcn.00403fb0
ret

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

Disassembly:
push ecx
mov eax, dword [0x457bb8]
cmp byte [eax + 0xa5], 0
jne 0x4500d1
cmp dword [0x457bd0], 0
jne 0x450092
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45001c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x457bd0], eax
cmp dword [0x457bcc], 0
jne 0x4500ad
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x457bcc], eax
cmp dword [0x457bd4], 0
jne 0x4500d1
push esp
push 0
push 0
push 0x44ffc0
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x457bd4], eax
pop edx
ret
Function at 0x4501c8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4501df
add esp, 0xfffffff0
call fcn.00403584
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004196d0
mov eax, dword [0x455fc4]
cmp word [eax + 2], 0
jne 0x450207
mov eax, dword [0x455fc4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00451948
mov eax, dword [0x45606c]
cmp word [eax + 2], 0
jne 0x450221
mov eax, dword [0x45606c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00451b40
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4119c8]
call fcn.00403248
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4119c8]
call fcn.00403248
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 [0x41b8bc]
call fcn.00421540
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4503a8
mov eax, dword [0x455ee4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00421910
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4520e0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x455ee4]
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.0040c438
test eax, eax
je 0x450316
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408784
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c460
test eax, eax
je 0x45032a
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.00404220
mov eax, dword [0x455de8]
cmp byte [eax], 0
jne 0x45035e
mov eax, ebx
call fcn.004504d0
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.004522bc
mov eax, ebx
call fcn.00452c80
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45039e
call fcn.004035dc
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450750
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x457bb8]
cmp dword [eax + 0x30], 0
je 0x4507fa
cmp dword [ebx + 0x94], 0
jne 0x4507f4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4506e0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4507f4
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 0x4507ba
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4507f4
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.00413d30
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4507c9
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45135c
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 0x451391
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.004040a0
jmp 0x45139e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404004
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x452498
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4524d9
mov eax, esi
call fcn.00438b74
test al, al
je 0x4524d9
mov eax, dword [ebx + 0x84]
call fcn.00438870
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4524d9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00438870
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x452e70
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x114], ecx
mov esi, edx
mov ebx, eax
lea edi, [ebp - 4]
xor eax, eax
push ebp
push 0x452f6b
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x452ec4
push 0x105
lea eax, [ebp - 0x10d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_2
mov ecx, eax
lea edx, [ebp - 0x10d]
mov eax, esi
call fcn.004040a0
jmp 0x452f52
call sub.kernel32.dll_GetCommandLineA_1
mov dword [edi], eax
mov eax, dword [edi]
call fcn.00452df8
mov dword [edi], eax
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov eax, dword [edi]
call fcn.00452e20
mov dword [edi], eax
test ebx, ebx
je 0x452ef2
dec ebx
test ebx, ebx
jl 0x452ef2
mov eax, dword [edi]
cmp eax, dword [ebp - 8]
jne 0x452ecb
push esi
lea eax, [ebp - 0x114]
mov edx, dword [ebp - 8]
call fcn.004041a8
mov eax, dword [ebp - 0x114]
mov ecx, dword [edi]
sub ecx, dword [ebp - 8]
mov edx, 1
call fcn.004044ec
mov eax, dword [esi]
call fcn.0040428c
cmp eax, 2
jl 0x452f52
mov eax, dword [esi]
cmp byte [eax], 0x22
jne 0x452f52
mov eax, dword [esi]
call fcn.0040428c
mov edx, dword [esi]
cmp byte [edx + eax - 1], 0x22
jne 0x452f52
push esi
mov eax, dword [esi]
call fcn.0040428c
mov ecx, eax
sub ecx, 2
mov eax, dword [esi]
mov edx, 2
call fcn.004044ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452f72
lea eax, [ebp - 0x114]
call fcn.00403fb0
ret

Function at 0x452fb0
Capabilities:
Get file attributes

Disassembly:
call fcn.00452dc8
push eax
call sub.kernel32.dll_GetFileAttributesA_1
inc eax
je 0x452fc4
dec eax
and al, 0x10
sete al
ret

Function at 0x4530e8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebp, edx
mov edi, eax
mov eax, dword [edi]
call fcn.0040428c
mov esi, eax
test esi, esi
jle 0x45311a
mov ebx, 1
mov eax, edi
call fcn.004044e4
mov edx, dword [edi]
movzx edx, byte [edx + ebx - 1]
xor edx, ebp
mov byte [eax + ebx - 1], dl
inc ebx
dec esi
jne 0x453102
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4536f8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040447c
xor eax, eax
push ebp
push 0x453857
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00452fb0
test al, al
jne 0x453742
mov eax, edi
call fcn.00403fb0
jmp 0x453834
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040448c
push eax
call sub.version.dll_GetFileVersionInfoSizeA_1
mov ebx, eax
test ebx, ebx
jne 0x453766
mov eax, edi
call fcn.00403fb0
jmp 0x453834
mov eax, ebx
call fcn.004026cc
mov esi, eax
push esi
push ebx
push 0
mov eax, dword [ebp - 4]
call fcn.0040448c
push eax
call sub.version.dll_GetFileVersionInfoA_1
test eax, eax
jne 0x453791
mov eax, edi
call fcn.00403fb0
jmp 0x453834
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x453868
push esi
call sub.version.dll_VerQueryValueA_1
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 8]
shr edx, 0x10
mov word [ebp - 0x12], dx
mov dx, word [eax + 8]
and dx, 0xffff
mov word [ebp - 0x14], dx
mov edx, dword [eax + 0xc]
shr edx, 0x10
mov word [ebp - 0x16], dx
mov ax, word [eax + 0xc]
and ax, 0xffff
mov word [ebp - 0x18], ax
mov edx, ebx
mov eax, esi
call fcn.004026ec
lea edx, [ebp - 0x1c]
movzx eax, word [ebp - 0x12]
call fcn.004533d0
push dword [ebp - 0x1c]
push 0x453874
lea edx, [ebp - 0x20]
movzx eax, word [ebp - 0x14]
call fcn.004533d0
push dword [ebp - 0x20]
push 0x453874
lea edx, [ebp - 0x24]
movzx eax, word [ebp - 0x16]
call fcn.004533d0
push dword [ebp - 0x24]
push 0x453874
lea edx, [ebp - 0x28]
movzx eax, word [ebp - 0x18]
call fcn.004533d0
push dword [ebp - 0x28]
mov eax, edi
mov edx, 7
call fcn.0040434c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45385e
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.00403fd4
lea eax, [ebp - 4]
call fcn.00403fb0
ret

Function at 0x453878
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040447c
mov eax, dword [ebp - 8]
call fcn.0040447c
xor eax, eax
push ebp
push 0x4538f1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x4538d6
push esi
push 0x453900
mov eax, dword [ebp - 8]
call fcn.0040448c
push eax
mov eax, dword [ebp - 4]
call fcn.0040448c
push eax
push 0x453904
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
seta bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4538f8
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403fd4
ret
Function at 0x453bac
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x453d07
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00403fb0
test esi, esi
je 0x453ce9
mov eax, dword [0x456050]
mov eax, dword [eax]
call fcn.0045169c
lea eax, [ebp - 0x10]
mov edx, 0x400
call fcn.00404618
imul eax, dword [ebp - 4], 0x3e8
mov dword [ebp - 4], eax
push 4
lea eax, [ebp - 4]
push eax
push 2
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetSetOptionA
mov eax, dword [0x456050]
mov eax, dword [eax]
call fcn.0045169c
push 0
push 0
push 0
push 0
push 0x453d14
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
mov eax, dword [0x456050]
mov eax, dword [eax]
call fcn.0045169c
xor eax, eax
push ebp
push 0x453ce2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x453cc2
push 0
push 0x80000000
push 0
push 0
mov eax, esi
call fcn.0040448c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x453cc2
lea eax, [ebp - 0x14]
push eax
push 0x400
lea eax, [ebp - 0x10]
call fcn.004044e4
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetReadFile
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov eax, dword [ebp - 0x10]
call fcn.004044ec
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00404294
mov eax, dword [0x456050]
mov eax, dword [eax]
call fcn.0045169c
cmp dword [ebp - 0x14], 0
jne 0x453c7a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453ce9
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
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
push 0x453d0e
lea eax, [ebp - 0x18]
call fcn.00403fb0
lea eax, [ebp - 0x10]
call fcn.00403fb0
ret
Function at 0x402230
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4786be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov eax, dword [esi + 0x34]
mov ecx, dword [eax]
lea edi, [esi + 0x30]
push eax
push ecx
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov dword [esp + 0x28], 2
call fcn.00401cc0
mov ecx, dword [edi + 4]
push ecx
call fcn.0044a4d6
xor ebx, ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov eax, dword [esi + 0x24]
add esp, 4
cmp eax, ebx
je 0x402293
push eax
call fcn.0044a4d6
add esp, 4
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x4022ac
push eax
call fcn.0044a4d6
add esp, 4
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4022c5
push eax
call fcn.0044a4d6
add esp, 4
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x4022e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4786ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
lea edi, [esi + 0x30]
mov ecx, edi
mov byte [esp + 0x18], 2
call fcn.00428eb0
mov ecx, dword [esp + 0x10]
mov dword [edi + 4], eax
mov byte [eax + 0x15], 1
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
mov dword [edi + 8], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret