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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x432535
je 0x43258f
sub eax, 7
je 0x432556
dec eax
je 0x432580
sub eax, 0x17
je 0x432634
jmp 0x432672
add eax, 0xffffff00
sub eax, 9
jb 0x432620
add eax, 0xffffff09
sub eax, 0xb
jb 0x4325e8
jmp 0x432672
mov eax, ebx
call fcn.00444884
mov edi, eax
test edi, edi
je 0x4326d2
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x4326db
jmp 0x4326d2
test byte [ebx + 0x44], 0x20
jne 0x4326db
jmp 0x4326d2
mov edx, esi
mov eax, ebx
call fcn.0042fb04
cmp dword [esi + 0xc], 0xffffffff
jne 0x4326db
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00407d94
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0042e638
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.004323dc
test eax, eax
je 0x4326db
mov dword [esi + 0xc], 1
jmp 0x4326db
mov edx, esi
mov eax, ebx
call fcn.00432470
test al, al
je 0x4326d2
cmp dword [esi + 0xc], 0
jne 0x4326db
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.00434b6c
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x4326db
mov eax, ebx
call fcn.0042f1a0
test al, al
jne 0x4326db
jmp 0x4326d2
mov eax, ebx
call fcn.00434b6c
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x4326d2
cmp dword [0x4a57dc], 0
je 0x4326d2
mov eax, dword [0x4a57dc]
cmp ebx, dword [eax + 0x24]
jne 0x4326d2
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x4a57dc]
call fcn.0042fa38
jmp 0x4326d2
mov eax, dword [0x4a874c]
cmp byte [eax + 0x20], 0
je 0x4326d2
mov eax, dword [0x4a874c]
cmp dword [eax + 0x1c], 0
je 0x4326d2
mov eax, dword [esi]
mov edx, dword [0x4a874c]
cmp eax, dword [edx + 0x1c]
jne 0x4326d2
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.004447c8
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb7
call fcn.00403148
jmp 0x4326db
mov edx, esi
mov eax, ebx
call fcn.0042fb04
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432b9c
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 + 0x1e8], 0
je 0x432bb8
cmp dword [esi + 4], 0
je 0x432be5
test byte [ebx + 0x45], 1
jne 0x432bd7
mov eax, ebx
call fcn.00431ad4
test eax, eax
jne 0x432bd7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x432cf5
mov edx, esi
mov eax, ebx
call fcn.00432814
jmp 0x432cf5
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
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 0x432cee
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00434b6c
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.0042fa38
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00432b9c
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 + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
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.00434b6c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x432cf5
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 0x43ca58
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.00403cd4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43caa7
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.00403f04
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4445a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4a87e4
cmp dword [edi], 0
jne 0x44461c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4a87e0]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4a5970
mov ecx, 2
call fcn.00402928
mov edx, 0x444578
lea eax, [esi + 5]
call fcn.00444598
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00444598
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4445f1
mov dword [0x4a87e0], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x444738
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x444788]
test si, 4
je 0x44474c
or bl, 1
test si, 8
je 0x444756
or bl, 4
test si, 1
je 0x444760
or bl, 8
test si, 2
je 0x44476a
or bl, 0x10
test si, 0x10
je 0x444774
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x444783
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44478c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4447c4]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4447a5
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4447b4
or bl, 4
test esi, 0x20000000
je 0x4447bf
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44afcc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44afde
add esp, 0xfffffff0
call fcn.004032ac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041905c
mov eax, ebx
call fcn.0044b330
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x30], eax
mov dl, 1
mov eax, dword [0x410120]
call fcn.00402f3c
mov dword [ebx + 0x40], eax
mov dl, 1
mov eax, dword [0x410120]
call fcn.00402f3c
mov dword [ebx + 0x44], eax
mov dl, 1
mov eax, dword [0x410120]
call fcn.00402f3c
mov dword [ebx + 0x48], eax
mov dl, 1
mov eax, dword [0x410120]
call fcn.00402f3c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x410120]
call fcn.00402f3c
mov dword [ebx + 0x70], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x34], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x4c]
push eax
mov eax, 0x4474e4
push eax
push 0
push 0
mov eax, dword [0x4a73c8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41a564]
call fcn.0041ba9c
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x41a564]
call fcn.0041ba9c
mov dword [ebx + 0x7c], eax
mov dl, 1
mov eax, dword [0x41a564]
call fcn.0041ba9c
mov dword [ebx + 0x74], eax
mov eax, ebx
call fcn.0044b7a0
mov eax, dword [ebx + 0x78]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44b674
mov eax, dword [ebx + 0x7c]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44b674
mov eax, dword [ebx + 0x74]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44b674
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44b0ed
call fcn.00403304
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44b458
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 0x44b603
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x44b5e4
mov dl, 1
mov eax, dword [0x4107c4]
call fcn.00402f3c
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403cd4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44b5d3
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.004391cc
test al, al
je 0x44b5c6
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, 0x44b614
lea eax, [ebp - 0x254]
call fcn.00409f7c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44b5c6
xor eax, eax
push ebp
push 0x44b5bf
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 0x44b64c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44b5a8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403f04
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x44b5a8
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403f04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b5c6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44b4c9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.00414884
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44b60a
lea eax, [ebp - 0x260]
call fcn.00403cd4
ret

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

Disassembly:
push ecx
mov eax, dword [0x4a87d4]
cmp byte [eax + 0x95], 0
jne 0x44bf09
cmp dword [0x4a87f0], 0
jne 0x44beca
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44be54
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4a87f0], eax
cmp dword [0x4a87ec], 0
jne 0x44bee5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4a87ec], eax
cmp dword [0x4a87f4], 0
jne 0x44bf09
push esp
push 0
push 0
push 0x44bdf8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4a87f4], eax
pop edx
ret
Function at 0x44c000
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x44c017
add esp, 0xfffffff0
call fcn.004032ac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041905c
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x410120]
call fcn.00402f3c
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x410120]
call fcn.00402f3c
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x41aef4]
call fcn.0042226c
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x44c18c
mov eax, dword [0x4a722c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042263c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44dbcc
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4a722c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
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.0040d310
test eax, eax
je 0x44c10a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004098c0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d338
test eax, eax
je 0x44c11e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403f04
mov eax, dword [0x4a7014]
cmp byte [eax], 0
jne 0x44c14f
mov eax, ebx
call fcn.0044c278
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44c181
call fcn.00403304
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44c4e8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4a87d4]
cmp dword [eax + 0x24], 0
je 0x44c58b
cmp dword [ebx + 0x84], 0
jne 0x44c585
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x44c478
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x44c585
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 0x44c54e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x44c585
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.00411ef0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x44c55d
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x44cf98
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x44cfcd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403dbc
jmp 0x44cfd7
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403d28
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x44df40
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x44df78
mov eax, esi
call fcn.00434e68
test al, al
je 0x44df78
mov eax, dword [ebx + 0x74]
call fcn.00434b6c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44df78
push 0
mov eax, dword [ebx + 0x74]
call fcn.00434b6c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x458d6c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x458ee2
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.00402be4
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x4a5f30], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4a5f34], eax
mov eax, dword [ebp - 0x24]
mov dword [0x4a5f38], eax
mov eax, dword [0x4a76bc]
cmp dword [eax], 2
sete byte [0x4a5e9c]
push 0x458ef0
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.00459144
cmp byte [0x4a5e9c], 0
jne 0x458df8
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.00459174
test al, al
je 0x458df8
mov eax, dword [ebp - 0x4c]
mov dword [0x4a8e64], eax
jmp 0x458dff
xor eax, eax
mov dword [0x4a8e64], eax
call fcn.00458c04
and eax, 0x7f
cmp eax, 0xc
ja case.0x458e10.0
jmp dword [eax*4 + 0x458e17]
mov byte [0x4a5e88], 1
jmp case.0x458e10.0
mov byte [0x4a5e8c], 1
jmp case.0x458e10.0
mov byte [0x4a5e90], 1
jmp case.0x458e10.0
mov byte [0x4a5e94], 1
jmp case.0x458e10.0
mov byte [0x4a5e98], 1
jmp case.0x458e10.0
mov byte [0x4a5ea0], 1
mov byte [0x4a5ea4], 1
jmp case.0x458e10.0
mov byte [0x4a5ea0], 1
mov byte [0x4a5ea8], 1
jmp case.0x458e10.0
mov byte [0x4a5ea0], 1
mov byte [0x4a5eac], 1
jmp case.0x458e10.0
mov byte [0x4a5eb0], 1
jmp case.0x458e10.0
mov byte [0x4a5eb4], 1
jmp case.0x458e10.0
mov byte [0x4a5eb8], 1
jmp case.0x458e10.0
mov byte [0x4a5ebc], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458ee9
lea eax, [ebp - 4]
call fcn.00403cd4
ret
Function at 0x459174
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x45921b
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404118
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x459205
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.00404288
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404118
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x459205
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x45922c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x459205
cmp dword [ebp - 8], 0x34
jne 0x459205
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459222
lea eax, [ebp - 0x10]
call fcn.00403cd4
ret

Function at 0x47377f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x4a6d7e
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4737d7
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x4a6d9f
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4737cd
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x4737db
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x481368
Capabilities:
Suspend thread

Disassembly:
mov byte [eax + 0xd], 1
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
ret

Function at 0x481378
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x48138d
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x481490
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov ebx, eax
cmp byte [ebx + 0x14], 0
je 0x4814a5
push 0
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_TerminateThread
mov eax, ebx
call fcn.004813fc
mov esi, eax
mov eax, ebx
call fcn.00402f6c
mov eax, esi
pop esi
pop ebx
ret
Function at 0x483624
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404108
lea esi, [ebp - 0x44]
xor eax, eax
push ebp
push 0x4837ab
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, 0x4837c8
call fcn.00404240
test eax, eax
jne 0x48366f
lea eax, [ebp - 4]
mov ecx, dword [ebp - 4]
mov edx, 0x4837d4
call fcn.00403fa0
mov eax, esi
mov edx, 0x3c
call fcn.0048305c
mov dword [esi + 8], 0x21
mov dword [esi + 0x14], 0x101
mov dword [esi + 0x20], 0x81
mov dword [esi + 0x28], 0x81
mov dword [esi + 0x30], 0x801
mov dword [esi + 0x38], 0x801
mov eax, 0x21
call fcn.004027a0
mov dword [esi + 4], eax
mov eax, 0x101
call fcn.004027a0
mov dword [esi + 0x10], eax
mov eax, 0x81
call fcn.004027a0
mov dword [esi + 0x1c], eax
mov eax, 0x81
call fcn.004027a0
mov dword [esi + 0x24], eax
mov eax, 0x801
call fcn.004027a0
mov dword [esi + 0x2c], eax
mov eax, 0x801
call fcn.004027a0
mov dword [esi + 0x34], eax
push esi
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00403f54
push eax
mov eax, dword [ebp - 4]
call fcn.00404118
push eax
call sub.wininet.dll_InternetCrackUrlA
neg eax
sbb ebx, ebx
neg ebx
test bl, bl
je 0x483765
mov eax, edi
mov edx, dword [esi + 4]
call fcn.00403e8c
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x10]
call fcn.00403e8c
mov eax, dword [ebp + 0x18]
mov edx, dword [esi + 0x2c]
call fcn.00403e8c
mov eax, dword [ebp + 0x14]
mov edx, dword [esi + 0x1c]
call fcn.00403e8c
mov eax, dword [ebp + 0x10]
mov edx, dword [esi + 0x24]
call fcn.00403e8c
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0x34]
call fcn.00403e8c
mov eax, dword [ebp + 8]
mov dx, word [esi + 0x18]
mov word [eax], dx
mov eax, dword [esi + 0x34]
call fcn.004027b8
mov eax, dword [esi + 0x2c]
call fcn.004027b8
mov eax, dword [esi + 0x24]
call fcn.004027b8
mov eax, dword [esi + 0x1c]
call fcn.004027b8
mov eax, dword [esi + 0x10]
call fcn.004027b8
mov eax, dword [esi + 4]
call fcn.004027b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4837b2
lea eax, [ebp - 4]
call fcn.00403cd4
ret

Function at 0x4837dc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
mov ebx, eax
push esi
push edi
mov esi, ecx
mov eax, esi
test eax, eax
je 0x4837f5
mov eax, dword [esi - 4]
push eax
push esi
mov esi, edx
mov ecx, esi
test ecx, ecx
je 0x483802
mov ecx, dword [esi - 4]
add al, cl
inc eax
lea edi, [ebp - 0x100]
mov edx, eax
stosb byte es:[edi], al
mov al, cl
stosb byte es:[edi], al
rep movsb byte es:[edi], byte [esi]
pop esi
pop ecx
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
std
dec edi
mov esi, edi
xor dl, 0xeb
lodsb al, byte [esi]
xor al, dl
stosb byte es:[edi], al
loop 0x483820
cld
pop edi
pop esi
xor ecx, ecx
mov cl, byte [ebp - 0x100]
inc ecx
lea edx, [ebp - 0x100]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 8]
pop ebx
mov esp, ebp
pop ebp
ret