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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x56b75c]
cmp byte [eax + 0xc], 0
je 0x466661
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46665a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x56cba8], 0
jne 0x466548
push 0x466668
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x466670
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x56cba8], eax
cmp dword [0x567070], 0
jne 0x466643
push 0x466680
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x567070], eax
cmp dword [0x567070], 0
je 0x466643
push 0x46668c
mov eax, dword [0x567070]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x56cbac], eax
push 0x46669c
mov eax, dword [0x567070]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x56cbb0], eax
push 0x4666b0
mov eax, dword [0x567070]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x56cbb4], eax
push 0x4666c8
mov eax, dword [0x567070]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x56cbb8], eax
push 0x4666e0
mov eax, dword [0x567070]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x56cbbc], eax
push 0x4666f4
mov eax, dword [0x567070]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x56cbc0], eax
push 0x46670c
mov eax, dword [0x567070]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x56cbc4], eax
push 0x466724
mov eax, dword [0x567070]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x56cbc8], eax
push 0x466740
mov eax, dword [0x567070]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x56cbcc], eax
push 0x46674c
mov eax, dword [0x567070]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x56cbd0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466661
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x46a700
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.004049c4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x46a74f
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.00404c34
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x471f50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x471fa0]
test si, 4
je 0x471f64
or bl, 1
test si, 8
je 0x471f6e
or bl, 4
test si, 1
je 0x471f78
or bl, 8
test si, 2
je 0x471f82
or bl, 0x10
test si, 0x10
je 0x471f8c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x471f9b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x471fa4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x471fdc]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x471fbd
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x471fcc
or bl, 4
test esi, 0x20000000
je 0x471fd7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x478684
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x478696
add esp, 0xfffffff0
call fcn.00403e14
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042795c
mov eax, dword [0x56af64]
mov dword [eax + 4], ebx
mov dword [eax], 0x478a28
mov eax, dword [0x56af7c]
mov dword [eax + 4], ebx
mov dword [eax], 0x478a34
mov eax, ebx
call fcn.00478a40
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41bfc8]
call fcn.00403a78
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41bfc8]
call fcn.00403a78
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x41bfc8]
call fcn.00403a78
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x41bfc8]
call fcn.00403a78
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x41bfc8]
call fcn.00403a78
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, 0x474e5c
push eax
push 0
push 0
mov eax, dword [0x56b2a0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x429400]
call fcn.0042ac14
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x429400]
call fcn.0042ac14
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x429400]
call fcn.0042ac14
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00478e60
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x478d3c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x478d3c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x478d3c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4787d3
call fcn.00403e6c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x478b20
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 0x478ccb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x478cac
mov dl, 1
mov eax, dword [0x41c62c]
call fcn.00403a78
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004049c4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x478c9b
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.00466854
test al, al
je 0x478c8e
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, 0x478cdc
lea eax, [ebp - 0x254]
call fcn.0040a9d8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x478c8e
xor eax, eax
push ebp
push 0x478c87
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 0x478d14
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x478c70
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c34
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 0x478c70
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404c34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478c8e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x478b91
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0042113c
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 0x478cd2
lea eax, [ebp - 0x260]
call fcn.004049c4
ret

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

Disassembly:
push ecx
mov eax, dword [0x56cbf4]
cmp byte [eax + 0xa5], 0
jne 0x479671
cmp dword [0x56cc0c], 0
jne 0x479632
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x4795bc
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x56cc0c], eax
cmp dword [0x56cc08], 0
jne 0x47964d
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x56cc08], eax
cmp dword [0x56cc10], 0
jne 0x479671
push esp
push 0
push 0
push 0x479560
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x56cc10], eax
pop edx
ret
Function at 0x479768
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x47977f
add esp, 0xfffffff0
call fcn.00403e14
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042795c
mov eax, dword [0x56b278]
cmp word [eax + 2], 0
jne 0x4797a7
mov eax, dword [0x56b278]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047ae58
mov eax, dword [0x56b444]
cmp word [eax + 2], 0
jne 0x4797c1
mov eax, dword [0x56b444]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0047b050
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x41bfc8]
call fcn.00403a78
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x41bfc8]
call fcn.00403a78
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 [0x429f80]
call fcn.00431e6c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x479948
mov eax, dword [0x56b06c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0043223c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x47b600
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x56b06c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
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.0040e8a4
test eax, eax
je 0x4798b6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a3b8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040e8cc
test eax, eax
je 0x4798ca
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.00404c34
mov eax, dword [0x56ad64]
cmp byte [eax], 0
jne 0x4798fe
mov eax, ebx
call fcn.00479a70
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.0047b7dc
mov eax, ebx
call fcn.0047c1a0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47993e
call fcn.00403e6c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x479cf0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x56cbf4]
cmp dword [eax + 0x30], 0
je 0x479d9a
cmp dword [ebx + 0x94], 0
jne 0x479d94
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x479c80
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x479d94
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 0x479d5a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x479d94
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.0041e954
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x479d69
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x47a8fc
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 0x47a931
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.00404ab4
jmp 0x47a93e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404a18
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x47b9b8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x47b9f9
mov eax, esi
call fcn.00461dd8
test al, al
je 0x47b9f9
mov eax, dword [ebx + 0x84]
call fcn.00461ad4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x47b9f9
push 0
mov eax, dword [ebx + 0x84]
call fcn.00461ad4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x47f488
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47f4b6
mov eax, ebx
call fcn.0047ff3c
cmp dword [ebx + 0x40], 0
je 0x47f4af
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47f527
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47f519
cmp dword [ebx + 8], 0
je 0x47f4d8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x47f4ea
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47f519
cmp dword [ebx + 8], 0
je 0x47f4cb
cmp eax, 3
je 0x47f4fd
dec eax
jne 0x47f4cb
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x47f4cb
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47f4cb
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x47f545
cmp dword [ebx + 0x14], 0xcc
je 0x47f545
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0047f550
pop ebx
ret
Function at 0x4982f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4982f8
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4984ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x498500
mov eax, esi
call fcn.00495f70
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404a18
lea ecx, [ebp - 0x10]
mov edx, 0x498514
mov eax, esi
call fcn.00495f70
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404a18
lea ecx, [ebp - 0x14]
mov edx, 0x49852c
mov eax, esi
call fcn.00495f70
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404a18
lea ecx, [ebp - 0x18]
mov edx, 0x498548
mov eax, esi
call fcn.00495f70
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404a18
lea ecx, [ebp - 0x1c]
mov edx, 0x498564
mov eax, esi
call fcn.00495f70
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404a18
lea ecx, [ebp - 0x24]
mov edx, 0x49857c
mov eax, esi
call fcn.00495f70
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.004096ac
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00409c74
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x498594
mov eax, esi
call fcn.00495f70
mov eax, dword [ebp - 0x28]
call fcn.00495088
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4985a4
mov eax, esi
call fcn.00495f70
mov eax, dword [ebp - 0x2c]
call fcn.00495088
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4985bc
mov eax, esi
call fcn.00495f70
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00409c74
inc eax
je 0x49848d
lea ecx, [ebp - 0x34]
mov edx, 0x4985bc
mov eax, esi
call fcn.00495f70
mov eax, dword [ebp - 0x34]
call fcn.00409c38
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040b82c
fstp qword [ebp - 0x3c]
wait
call fcn.0040bb90
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4984a8
lea ecx, [ebp - 0x40]
mov edx, 0x4985bc
mov eax, esi
call fcn.00495f70
mov eax, dword [ebp - 0x40]
call fcn.00495088
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4985cc
mov eax, esi
call fcn.00495f70
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404a18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4984f1
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004049e8
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004049e8
ret
Function at 0x4a4b48
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4a4ba2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004a4b38
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00493cf4
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004938f4
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a4ba9
lea eax, [ebp - 4]
call fcn.004049c4
ret

Function at 0x4a8538
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x41b4b8]
call fcn.004055e4
xor eax, eax
push ebp
push 0x4a867c
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x56836c], 0
jne 0x4a858b
mov ecx, dword [0x56ada4]
mov dl, 1
mov eax, dword [0x408704]
call fcn.0040da9c
call fcn.00404340
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004032a8
mov eax, ebx
call fcn.004052a8
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4a868c
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.004069b4
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004052b8
test eax, eax
jle 0x4a8623
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.DLL_GetComputerNameA
test eax, eax
je 0x4a861c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404c4c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404c34
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0040963c
test eax, eax
jne 0x4a861c
mov ebx, 0x15
jmp 0x4a8628
mov ebx, 0x10
jmp 0x4a8628
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x56836c]
call fcn.004a8490
mov eax, dword [ebp - 8]
call fcn.004a8490
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.004069cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a8683
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004049e8
lea eax, [ebp - 0x10]
mov edx, dword [0x41b4b8]
call fcn.004056b4
ret
Function at 0x4b4454
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
push edi
test dl, dl
je 0x4b446c
add esp, 0xfffffff0
call fcn.00403e14
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
lea eax, [ebp - 0x115]
push eax
push 0x105
call sub.KERNEL32.DLL_GetTempPathA
test eax, eax
jne 0x4b448f
call fcn.0040f0bc
lea eax, [ebp - 0x21a]
push eax
push 0
push 0
lea eax, [ebp - 0x115]
push eax
call sub.KERNEL32.DLL_GetTempFileNameA
test eax, eax
jne 0x4b44af
call fcn.0040f0bc
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], 0xffffffff
mov eax, dword [ebp - 4]
add eax, 0x18
mov edx, dword [ebp - 4]
mov dword [edx + 0x20], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x24], edx
mov eax, dword [ebp - 4]
add eax, 0x14
lea edx, [ebp - 0x21a]
mov ecx, 0x105
call fcn.00404c34
push 0xffff
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x14]
mov dl, 1
mov eax, dword [0x41c850]
call fcn.00421704
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4b452d
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004b3cbc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b4544
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x4b455c
call fcn.00403e6c
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b545c
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
mov edx, 0x58
call fcn.004032a8
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov eax, dword [ebp - 4]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
pop ecx
pop ebp
ret

Function at 0x4b629c
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x4b6344
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1f]
xor ecx, ecx
mov edx, 0x1e
call fcn.004032a8
call sub.user32.dll_GetActiveWindow
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], 3
push dword [ebp + 8]
push 0x4b635c
push 0x4b636c
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00404d44
mov eax, dword [ebp - 0x24]
call fcn.00404e84
mov dword [ebp - 0x17], eax
mov eax, 0x4b6370
mov dword [ebp - 0x13], eax
mov al, byte [ebp + 0xc]
xor al, 1
and eax, 0x7f
shl eax, 7
or ax, 0x414
mov dl, byte [ebp + 0x10]
or dl, 0x40
movsx edx, dl
or ax, dx
mov word [ebp - 0xf], ax
lea eax, [ebp - 0x1f]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b634b
lea eax, [ebp - 0x24]
call fcn.004049c4
ret