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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x464c90]
cmp byte [eax + 0xc], 0
je 0x44bdf1
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44bdea
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x469c54], 0
jne 0x44bcd8
push 0x44bdf8
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44be00
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469c54], eax
cmp dword [0x464650], 0
jne 0x44bdd3
push 0x44be10
call sub.kernel32.dll_LoadLibraryA
mov dword [0x464650], eax
cmp dword [0x464650], 0
je 0x44bdd3
push 0x44be1c
mov eax, dword [0x464650]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469c58], eax
push 0x44be2c
mov eax, dword [0x464650]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469c5c], eax
push 0x44be40
mov eax, dword [0x464650]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469c60], eax
push 0x44be58
mov eax, dword [0x464650]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469c64], eax
push 0x44be70
mov eax, dword [0x464650]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469c68], eax
push 0x44be84
mov eax, dword [0x464650]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469c6c], eax
push 0x44be9c
mov eax, dword [0x464650]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469c70], eax
push 0x44beb4
mov eax, dword [0x464650]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469c74], eax
push 0x44bed0
mov eax, dword [0x464650]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469c78], eax
push 0x44bedc
mov eax, dword [0x464650]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469c7c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44bdf1
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x451e64
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp], cl
mov ebx, edx
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
test bl, bl
je 0x451e85
test edi, 0x40000
je 0x451e9f
test bl, bl
jne 0x451f20
mov eax, edi
and eax, 0x40000
cmp eax, 0x40000
jne 0x451f20
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 2], al
push esi
call sub.user32.dll_IsWindowVisible
cmp eax, 1
sbb eax, eax
inc eax
mov byte [esp + 1], al
movzx eax, byte [esp + 1]
or al, byte [esp + 2]
je 0x451ed2
push 0
push esi
call sub.user32.dll_ShowWindow
test bl, bl
je 0x451ee7
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x451ef6
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp]
and al, byte [esp + 1]
jne 0x451f07
cmp byte [esp + 2], 0
je 0x451f20
cmp byte [esp + 2], 0
je 0x451f18
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x451f20
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4521c4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x4521ea
mov eax, esp
push eax
push 0x45218c
call sub.user32.dll_EnumWindows
jmp 0x4521fd
mov eax, esp
push eax
push 0x45216c
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x452288
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4522dc]
test si, 4
je 0x45229d
or bl, 1
test si, 8
je 0x4522a7
or bl, 4
test si, 1
je 0x4522b1
or bl, 8
test si, 2
je 0x4522bb
or bl, 0x10
test si, 0x10
je 0x4522c5
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4522d4
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4522e0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x45231c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4522fa
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x452309
or bl, 4
test esi, 0x20000000
je 0x452314
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x45a388
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45a39a
add esp, 0xfffffff0
call fcn.00403e8c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041db50
mov eax, dword [0x464918]
mov dword [eax + 4], ebx
mov dword [eax], 0x45a72c
mov eax, dword [0x464924]
mov dword [eax + 4], ebx
mov dword [eax], 0x45a738
mov eax, ebx
call fcn.0045a744
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41586c]
call fcn.00403b50
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41586c]
call fcn.00403b50
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41586c]
call fcn.00403b50
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41586c]
call fcn.00403b50
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41586c]
call fcn.00403b50
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, 0x455bec
push eax
push 0
push 0
mov eax, dword [0x464a88]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x42291c]
call fcn.00423e3c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x42291c]
call fcn.00423e3c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x42291c]
call fcn.00423e3c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045abbc
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45aa8c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45aa8c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45aa8c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45a4d7
call fcn.00403ee4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45a870
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 0x45aa1b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45a9fc
mov dl, 1
mov eax, dword [0x415c90]
call fcn.00403b50
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404994
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45a9eb
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.0044bfe0
test al, al
je 0x45a9de
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, 0x45aa2c
lea eax, [ebp - 0x254]
call fcn.004099a8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45a9de
xor eax, eax
push ebp
push 0x45a9d7
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 0x45aa64
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45a9c0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c04
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 0x45a9c0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a9de
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45a8e1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00419968
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 0x45aa22
lea eax, [ebp - 0x260]
call fcn.00404994
ret

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

Disassembly:
push ecx
mov eax, dword [0x469c98]
cmp byte [eax + 0xad], 0
jne 0x45b405
cmp dword [0x469cb4], 0
jne 0x45b3c6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45b350
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x469cb4], eax
cmp dword [0x469cb0], 0
jne 0x45b3e1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x469cb0], eax
cmp dword [0x469cb8], 0
jne 0x45b405
push esp
push 0
push 0
push 0x45b2f4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x469cb8], eax
pop edx
ret
Function at 0x45b608
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45b61f
add esp, 0xfffffff0
call fcn.00403e8c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041db50
mov eax, dword [0x464a74]
cmp word [eax + 2], 0
jne 0x45b647
mov eax, dword [0x464a74]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d2f8
mov eax, dword [0x464b20]
cmp word [eax + 2], 0
jne 0x45b661
mov eax, dword [0x464b20]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d504
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41586c]
call fcn.00403b50
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41586c]
call fcn.00403b50
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x41586c]
call fcn.00403b50
mov dword [ebx + 0xb0], 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 + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x4230f8]
call fcn.00428fc4
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45b818
mov eax, dword [0x464984]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429398
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45dbd8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x464984]
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.0040d330
test eax, eax
je 0x45b768
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409360
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d364
test eax, eax
je 0x45b77c
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404c04
mov byte [ebx + 0xd4], 0
push ebx
push 0x45cd84
call fcn.0041eccc
mov dword [ebx + 0xc8], eax
mov eax, dword [0x464874]
cmp byte [eax], 0
jne 0x45b7cd
mov eax, ebx
call fcn.0045b95c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045ddec
mov eax, ebx
call fcn.0045e950
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45b80d
call fcn.00403ee4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45bbdc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45bc7b
cmp dword [ebx + 0x94], 0
jne 0x45bc75
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45bb64
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45bc75
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 0x45bc3b
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45bc75
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.00417c10
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45bc4a
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45be94
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x469c98]
cmp dword [eax + 0x30], 0
je 0x45bff1
test bl, bl
jne 0x45bf42
cmp dword [esi + 0x9c], 0
jne 0x45bf37
mov eax, esi
call fcn.0045e7cc
push eax
push 0x45bdc0
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45bf08
mov eax, dword [0x469c98]
call fcn.0045eeac
test al, al
je 0x45bf08
mov eax, dword [0x469cbc]
call fcn.00405ab8
mov edi, eax
cmp edi, 0
jl 0x45bf08
push 0
mov eax, dword [0x469cbc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45bef2
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45bf37
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00417c10
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45bf17
inc dword [esi + 0x9c]
jmp 0x45bff1
cmp dword [esi + 0x9c], 0
jle 0x45bff1
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45bff1
cmp dword [esi + 0x44], 0
je 0x45bf9d
mov eax, dword [0x469c98]
call fcn.0045eeac
test al, al
je 0x45bf9d
mov eax, dword [0x469cbc]
call fcn.00405ab8
mov edi, eax
cmp edi, 0
jl 0x45bf9d
push 5
mov eax, dword [0x469cbc]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45bf87
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45bfcc
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00417c10
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45bfac
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x469cbc
mov ecx, 1
mov edx, dword [0x45bda0]
call fcn.00405c6c
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45cad8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45cb42
mov eax, ebx
call fcn.0045eeac
test al, al
jne 0x45cb42
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.00404a84
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45cb2f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45cb4f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004049e8
jmp 0x45cb4f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004049e8
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45dfd0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45e03e
mov eax, esi
call fcn.00446c10
test al, al
je 0x45e03e
mov eax, dword [ebx + 0x84]
call fcn.00446870
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45e03e
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45e032
push 0
mov eax, dword [ebx + 0x84]
call fcn.00446870
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043e6ec
jmp 0x45e03e
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045de0c
pop esi
pop ebx
ret

Function at 0x460f20
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x460fc0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1e]
xor ecx, ecx
mov edx, 0x1e
call fcn.004034b4
xor eax, eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], 2
lea eax, [ebp - 0x24]
mov ecx, 0x460fd8
mov edx, ebx
call fcn.00404cac
mov eax, dword [ebp - 0x24]
call fcn.00404e24
mov dword [ebp - 0x16], eax
lea eax, [ebp - 0x28]
mov ecx, 0x460fd8
mov edx, esi
call fcn.00404cac
mov eax, dword [ebp - 0x28]
call fcn.00404e24
mov dword [ebp - 0x12], eax
mov word [ebp - 0xe], 0x210
lea eax, [ebp - 0x1e]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460fc7
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.004049b8
ret
Function at 0x460fdc
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404e14
xor eax, eax
push ebp
push 0x461091
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x421e50]
call fcn.00421f20
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x461064
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80000001
mov eax, dword [ebp - 0x10]
call fcn.00421fc0
xor ecx, ecx
mov edx, 0x4610a4
mov eax, dword [ebp - 0x10]
call fcn.00422024
test al, al
je 0x46104e
lea ecx, [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.00422390
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46106b
mov eax, dword [ebp - 0x10]
call fcn.00403b80
ret
Function at 0x412bdb
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00412a5a
Function at 0x404420
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x834
cmp dword [0x5e8744], 0x400
push ebx
push esi
push edi
jne 0x4044cc
push 0
lea eax, [esp + 0x44]
push eax
push 0x403d8c
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push 0
call fcn.004046c9
add esp, 4
push 0
push 0
call fcn.00404bdc
push 0
push 0
call fcn.0040498c
push 0
call fcn.00404dfc
add esp, 0x14
push 0
push 0
push 0
call fcn.00404d13
fldz
push ecx
fst qword [esp + 8]
fstp qword [esp]
call fcn.00404580
add esp, 8
fstp st(0)
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.004045a0
fstp st(0)
mov eax, esp
mov dword [eax], 0
mov dword [eax + 4], 0
call fcn.004048a0
fstp st(0)
push 0
call fcn.00404e70
add esp, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor esi, esi
lea ebx, [ebx]
cmp esi, 0x97f
jge 0x4044f6
push 0
push 0
push 0
push 0
push 0
push 0
call ebx
push 0
push 0
push 0
push 0
call edi
cmp esi, 0x160d5c2
jg 0x404511
inc esi
cmp esi, 0x33cd5b9
jl 0x4044e0
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
nop
call edi
call ebx
cmp esi, 0x12e8236
jg 0x404535
inc esi
cmp esi, 0x2ff8d
jl 0x404520
mov ecx, dword [0x445c5c]
mov dword [0x5e8744], ecx
call fcn.00404120
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, 0x2ec37
mov ebx, 0x51f
cmp dword [0x5e8744], ebx
jne 0x404567
lea edx, [esp + 0x40]
push edx
push 0
call esi
dec edi
jne 0x404556
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4099d3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x442420]
jne 0x4099dd
repz ret
jmp fcn.0040e35c
Function at 0x40b01c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x442420]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040870d
and dword [ebp - 0x14], 0
cmp dword [0x45a4bc], 0
mov dword [ebp - 0x18], eax
jne 0x40b0cf
push 0x402c34
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40b177
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402c28
push ebx
call edi
test eax, eax
je 0x40b177
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x402c18
push ebx
mov dword [0x45a4bc], eax
call edi
push eax
call esi
push 0x402c04
push ebx
mov dword [0x45a4c0], eax
call edi
push eax
call esi
push 0x402be8
push ebx
mov dword [0x45a4c4], eax
call edi
push eax
call esi
mov dword [0x45a4cc], eax
test eax, eax
je 0x40b0cf
push 0x402bd0
push ebx
call edi
push eax
call esi
mov dword [0x45a4c8], eax
mov eax, dword [0x45a4c8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40b128
cmp dword [0x45a4cc], ecx
je 0x40b128
push eax
call esi
push dword [0x45a4cc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40b128
test ebx, ebx
je 0x40b128
call edi
test eax, eax
je 0x40b11f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40b11f
test byte [ebp - 8], 1
jne 0x40b128
or dword [ebp + 0x10], 0x200000
jmp 0x40b15b
mov eax, dword [0x45a4c0]
cmp eax, dword [ebp - 0x18]
je 0x40b15b
push eax
call esi
test eax, eax
je 0x40b15b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b15b
mov eax, dword [0x45a4c4]
cmp eax, dword [ebp - 0x18]
je 0x40b15b
push eax
call esi
test eax, eax
je 0x40b15b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x45a4bc]
call esi
test eax, eax
je 0x40b177
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b179
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004099d3
leave
ret