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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4afdb0]
cmp byte [eax + 0xc], 0
je 0x451611
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45160a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b0b94], 0
jne 0x4514f8
push 0x451618
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x451620
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b0b94], eax
cmp dword [0x4aee98], 0
jne 0x4515f3
push 0x451630
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4aee98], eax
cmp dword [0x4aee98], 0
je 0x4515f3
push 0x45163c
mov eax, dword [0x4aee98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b0b98], eax
push 0x45164c
mov eax, dword [0x4aee98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b0b9c], eax
push 0x451660
mov eax, dword [0x4aee98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b0ba0], eax
push 0x451678
mov eax, dword [0x4aee98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b0ba4], eax
push 0x451690
mov eax, dword [0x4aee98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b0ba8], eax
push 0x4516a4
mov eax, dword [0x4aee98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b0bac], eax
push 0x4516bc
mov eax, dword [0x4aee98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b0bb0], eax
push 0x4516d4
mov eax, dword [0x4aee98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b0bb4], eax
push 0x4516f0
mov eax, dword [0x4aee98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b0bb8], eax
push 0x4516fc
mov eax, dword [0x4aee98]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b0bbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451611
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x45584c
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.00404140
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45589b
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.004043b0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45cfd8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45d028]
test si, 4
je 0x45cfec
or bl, 1
test si, 8
je 0x45cff6
or bl, 4
test si, 1
je 0x45d000
or bl, 8
test si, 2
je 0x45d00a
or bl, 0x10
test si, 0x10
je 0x45d014
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d023
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45d02c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45d064]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d045
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45d054
or bl, 4
test esi, 0x20000000
je 0x45d05f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x46370c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x46371e
add esp, 0xfffffff0
call fcn.00403634
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425410
mov eax, dword [0x4af8a8]
mov dword [eax + 4], ebx
mov dword [eax], 0x463ab0
mov eax, dword [0x4af8bc]
mov dword [eax + 4], ebx
mov dword [eax], 0x463abc
mov eax, ebx
call fcn.00463ac8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41a8f8]
call fcn.004032a0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41a8f8]
call fcn.004032a0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41a8f8]
call fcn.004032a0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41a8f8]
call fcn.004032a0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41a8f8]
call fcn.004032a0
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, 0x45fee4
push eax
push 0
push 0
mov eax, dword [0x4afabc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x426e9c]
call fcn.00428610
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x426e9c]
call fcn.00428610
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x426e9c]
call fcn.00428610
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00463ee8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x463dc4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x463dc4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x463dc4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46385b
call fcn.0040368c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x463ba8
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 0x463d53
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x463d34
mov dl, 1
mov eax, dword [0x41af5c]
call fcn.004032a0
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404140
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x463d23
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.00451908
test al, al
je 0x463d16
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, 0x463d64
lea eax, [ebp - 0x254]
call fcn.004097b8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x463d16
xor eax, eax
push ebp
push 0x463d0f
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 0x463d9c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x463cf8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004043b0
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 0x463cf8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004043b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463d16
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x463c19
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041f4ac
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 0x463d5a
lea eax, [ebp - 0x260]
call fcn.00404140
ret

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

Disassembly:
push ecx
mov eax, dword [0x4b0be0]
cmp byte [eax + 0xa5], 0
jne 0x4646f9
cmp dword [0x4b0bf8], 0
jne 0x4646ba
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x464644
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b0bf8], eax
cmp dword [0x4b0bf4], 0
jne 0x4646d5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4b0bf4], eax
cmp dword [0x4b0bfc], 0
jne 0x4646f9
push esp
push 0
push 0
push 0x4645e8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4b0bfc], eax
pop edx
ret
Function at 0x4647f0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x464807
add esp, 0xfffffff0
call fcn.00403634
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00425410
mov eax, dword [0x4afaa8]
cmp word [eax + 2], 0
jne 0x46482f
mov eax, dword [0x4afaa8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00465f70
mov eax, dword [0x4afbc0]
cmp word [eax + 2], 0
jne 0x464849
mov eax, dword [0x4afbc0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00466168
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41a8f8]
call fcn.004032a0
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41a8f8]
call fcn.004032a0
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 [0x42797c]
call fcn.0042f0a0
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x4649d0
mov eax, dword [0x4af94c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042f470
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x466708
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4af94c]
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.0040d538
test eax, eax
je 0x46493e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409198
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d560
test eax, eax
je 0x464952
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.004043b0
mov eax, dword [0x4af774]
cmp byte [eax], 0
jne 0x464986
mov eax, ebx
call fcn.00464af8
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.004668e4
mov eax, ebx
call fcn.004672a8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4649c6
call fcn.0040368c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x464d78
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b0be0]
cmp dword [eax + 0x30], 0
je 0x464e22
cmp dword [ebx + 0x94], 0
jne 0x464e1c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x464d08
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x464e1c
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 0x464de2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x464e1c
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.0041d12c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x464df1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x465984
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 0x4659b9
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.00404230
jmp 0x4659c6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404194
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x466ac0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x466b01
mov eax, esi
call fcn.0044cd88
test al, al
je 0x466b01
mov eax, dword [ebx + 0x84]
call fcn.0044ca84
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x466b01
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044ca84
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4840d8
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x4840fd
cmp dword [esp + 4], 5
jb 0x4840fd
mov al, 1
jmp 0x4840ff
xor eax, eax
add esp, 0x94
ret
Function at 0x4950a4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x495304
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x495107
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.00494b6c
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d124
cmp al, 1
jne 0x495107
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.00494e84
test al, al
je 0x495293
cmp dword [ebp - 8], 0
jge 0x495125
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.00494b6c
mov eax, dword [ebp - 0x210]
call fcn.00404400
cmp ebx, eax
jge 0x49516f
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.00494b6c
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x4afd94]
and eax, 0xff
bt dword [edx], eax
jae 0x49516f
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x228]
cmp eax, dword [ebp - 8]
jg 0x495183
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00495080
cmp ebx, dword [ebp - 8]
je 0x495285
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, pe_nt_image_headers32
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x4951af
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004034cc
and eax, 0x7f
movzx eax, word [eax*2 + 0x4af6f0]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 1
xor eax, eax
push ebp
push 0x495272
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004034cc
and eax, 0x7f
movzx eax, word [eax*2 + 0x4af6f0]
push eax
push pe_nt_image_headers32
mov eax, dword [ebp - 4]
call fcn.0044ca84
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov si, 0xffc8
call fcn.004034cc
and eax, 0x7f
movzx eax, word [eax*2 + 0x4af6f0]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0044ca84
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495279
mov eax, dword [ebp - 4]
mov byte [eax + 0x23c], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x230], edx
jmp 0x4952e6
cmp dword [ebp - 8], 0
jge 0x49529e
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.00494b6c
mov eax, dword [ebp - 0x218]
call fcn.00404400
cmp eax, dword [ebp - 8]
jg 0x4952d8
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.00494b6c
mov eax, dword [ebp - 0x21c]
call fcn.00404400
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00495080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49530b
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00404164
ret
Function at 0x4090e0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push str.msnmsgr.exe
call fcn.00408380
add esp, 4
test eax, eax
je 0x4090f8
jmp 0x40911f
push 0x432d30
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40911f
push 0
push 0
push 0
push 0x432d30
push 0x42a9e8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret

Function at 0x409270
Capabilities:
Create process on windows
Get common file path
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x431474]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov word [ebp - 0x630], 0
push 0x206
push 0
lea eax, [ebp - 0x62e]
push eax
call fcn.00413bb0
add esp, 0xc
mov word [ebp - 0x420], 0
push 0x206
push 0
lea ecx, [ebp - 0x41e]
push ecx
call fcn.00413bb0
add esp, 0xc
lea edx, [ebp - 0x630]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, dword [ebp + 8]
add ecx, 0xe0
call fcn.00409da0
push eax
lea eax, [ebp - 0x630]
push eax
push 0x42aa24
push 0x104
lea ecx, [ebp - 0x420]
push ecx
call fcn.004047f0
add esp, 0x14
mov word [ebp - 0x218], 0
push 0x206
push 0
lea edx, [ebp - 0x216]
push edx
call fcn.00413bb0
add esp, 0xc
mov dword [ebp - 4], 0
push 1
call fcn.00409130
add esp, 4
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x420]
push ecx
mov ecx, dword [ebp + 8]
add ecx, 0x8c
call fcn.00409da0
push eax
call fcn.004053e0
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x409362
jmp 0x409419
mov ecx, dword [ebp + 8]
add ecx, 0x54
call fcn.00409da0
push eax
call fcn.00416b2a
add esp, 4
mov dword [ebp - 0x428], eax
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0xffffffff
je 0x409419
mov dword [ebp - 0x634], 0
push 0
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x634], eax
mov ecx, dword [ebp - 0x424]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x634]
cmp edx, dword [ebp - 4]
jne 0x409419
push 2
call fcn.00409130
add esp, 4
push 5
push 0
mov ecx, dword [ebp + 8]
add ecx, 0xc4
call fcn.00409da0
push eax
lea eax, [ebp - 0x420]
push eax
push 0x42aa30
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [0x432a10], 1
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00413b95
mov esp, ebp
pop ebp
ret
Function at 0x40c008
Capabilities:
Encode data using xor

Disassembly:
dec esi
sahf
pop esp
xor al, 0xd4
jle 0x40bfe9
arpl word [edx + 0x23], cx
stosd dword es:[edi], eax
fdiv qword [eax + 0x39]
or eax, 0xa38c578d
mov eax, esi
pop ecx
dec ebp
pop esi
stosb byte es:[edi], al
mov ch, 0x4d
inc esi
inc esi
sub dword [ebp + 0x7e], 0xffffffde
jle 0x40bfe8
jle 0x40bfe8
dec esp
invalid

Function at 0x4eb230
Capabilities:
Encode data using xor

Disassembly:
dec ebp
and dword [0xa4c0e35], 0xb9859266
dec ebp
push edi
xchg ecx, eax
mov dl, 0xf7
hlt
add bl, al
adc eax, 0x1a7e7616
mov al, byte [0x22189a6a]
sbb ah, byte [eax + 0x22189a6a]
cmp al, 0xea
add bh, cl
push ebx
and byte [eax + 0x28], dh
lodsd eax, dword [esi]
dec ebx
mov al, 0x1e
xor eax, 0x69f377bb
loopne 0x4eb1dd
iretd
ja 0x4eb1e6
imul esp, eax, 0x2336c8e7
jl 0x4eb183
enter 0x2336, 0x7c
mov byte [ecx], bl
mov dl, 0x9d
push ds
sub eax, 0xa8c6b50a
sbb esi, dword [ecx + 0x6abd1534]
pushal
test al, 0xd2
sbb dword [edx + 0xa2d1e9d], esi
mov ch, 0xc6
test al, 0x1b
mov ah, 0xe1
xor al, 0x15
mov ebp, 0xd2a8606a
inc eax
cmpsb byte [esi], byte es:[edi]
sbb al, 0xfc
frstor dword [edx - 0x52]
and dh, byte [0xf604f54b]
dec edi
or byte [edx + edx*4 + 0x648211a3], ch
bound eax, qword [ebp - 0x257099db]
scasb al, byte es:[edi]
js 0x4eb235
or dword [ebx], eax
sub al, 0xe
add ebp, dword [esi + ecx]
and bl, ah
cli
jecxz 0x4eb22c
in eax, 0x3e
push eax
push ecx
inc edi
loopne 0x4eb1fa
aaa
sub al, 0xb9
sub byte [eax], bh
js 0x4eb22b
and byte [eax - 0x16], bh
mov edi, eax
mov ebp, 0xdfa8f65c
adc eax, 0x1c62571c
js 0x4eb1f1
pushal
jo 0x4eb1d7
mov esi, 0x16768e97
xor ecx, ebp
outsb dx, byte [esi]
int 0x15
sub ch, dh
add ecx, ebx
mov ebx, 0xbb9a128d
inc esi
push edi
mov ecx, 0x83a68600
ja 0x4eb23e
cmp edx, ebp
lea edx, [edx]
mov esp, 0x2b4737fb
test dword [ebp - 0x1fa07c76], esi
mov dl, 0xa0
bound ebx, qword [eax - 0x3c7302f5]
mov al, byte [0xcb963f1e]
jns 0x4eb2c1
fnsave dword [edi]
outsb dx, byte [esi]
xchg ebx, eax
retf 0x612f
xor esi, edi
invalid
Function at 0x854578
Capabilities:
Encode data using xor

Disassembly:
and eax, 0x1f154748
adc dword [eax], ebx
test dword [eax + 0x18f1bdf2], ecx
mov ch, 0xab
mov ecx, 0x54ed0035
pop edx
xor eax, 0x5a54ed00
loopne 0x854534
std
test eax, 0xfdca0639
stosd dword es:[edi], eax
xor eax, dword [esp + edx]
push 0xd6593c0e
mov edi, 0xe24ffe3e
aad 0x56
inc esp
push cs
or dl, 0x25
scasb al, byte es:[edi]
jl 0x8545bb
mov dl, byte [ecx + edx*2 - 0x66]
adc eax, 0xc473c468
ja 0x854545
xor al, 0x72
cli
das
cdq
pushal
add esi, dword [eax + ecx*8]
xor dword [ebp + 0x59], eax
cwde
inc ebx
xchg edx, eax
push ebp
cmp byte [edx + 0x6b48fc2a], 0xad
dec eax
imul ebp, dword [ebp + 0x766947aa], 0x26
add eax, 0x2fb7275d
dec eax
imul ebp, dword [ebp + 0x766947aa], 0x26
add eax, 0x2fb7275d
mov esp, 0x21327508
jbe 0x85458c
add byte [ebx + 0xf07a1d2], cl
int 0x8a
mov edx, edx
mov eax, dword [0x8acd0f07]
fiadd dword [esi]
scasd eax, dword es:[edi]
jnp 0x854524
mov word [eax - 0x2fc95f6d], ds
salc
lock sbb dword [esi], ebp
cwde
xchg ebx, eax
mov al, byte [0xf0d6d036]
sbb dword [esi], ebp
xor bl, dh
mov bh, byte [ebx]
enter 0x209d, 0x63
fsub st(1), st(0)
pushal
outsb dx, byte [esi]
jmp 0x32c08291
ja 0x854597
mov ch, 0x78
cmp al, 0x90
add dl, cl
imul esp, esp, 0x1e34bd74
loop 0x85458b
ja 0x8545d9
xchg ebp, eax
in al, 0x32
sub eax, 0xc457d69c
xor esp, dword [eax - 0x6403e908]
push ss
cld
wait
inc edi
scasd eax, dword es:[edi]
mov edi, 0x609c6e54
push 0xffffffffffffffc8
push ecx
push esp
jmp 0x8545fe
inc edx
mov byte [ebx - 0x6fa6d18f], dh
or eax, 0x433998e7
pop eax
aam 0x7d
xchg dword [edx], eax
dec eax
invalid