joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b718
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1f8], 0
je 0x45b739
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x45b76e
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x45b75e
mov eax, dword [ebp - 4]
call fcn.00459ccc
test eax, eax
jne 0x45b75e
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x45b898
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0045b0ec
jmp 0x45b898
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x45b891
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.0045dfe4
push eax
call sub.user32.dll_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.00456fa4
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0045b718
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.0045dfe4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b898
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov esp, ebp
pop ebp
ret
Function at 0x463f48
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x4ae6f4]
cmp byte [eax + 0xc], 0
je 0x4640ba
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4640b3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4afbe8], 0
jne 0x463fa1
push 0x4640c0
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x4640c8
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4afbe8], eax
cmp dword [0x4abf40], 0
jne 0x46409c
push 0x4640d8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4abf40], eax
cmp dword [0x4abf40], 0
je 0x46409c
push 0x4640e4
mov eax, dword [0x4abf40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4afbec], eax
push 0x4640f4
mov eax, dword [0x4abf40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4afbf0], eax
push 0x464108
mov eax, dword [0x4abf40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4afbf4], eax
push 0x464120
mov eax, dword [0x4abf40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4afbf8], eax
push 0x464138
mov eax, dword [0x4abf40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4afbfc], eax
push 0x46414c
mov eax, dword [0x4abf40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4afc00], eax
push 0x464164
mov eax, dword [0x4abf40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4afc04], eax
push 0x46417c
mov eax, dword [0x4abf40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4afc08], eax
push 0x464198
mov eax, dword [0x4abf40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4afc0c], eax
push 0x4641a4
mov eax, dword [0x4abf40]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4afc10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4640ba
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

Function at 0x468994
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.00404398
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4689e3
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.00404618
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47013c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x47018c]
test si, 4
je 0x470150
or bl, 1
test si, 8
je 0x47015a
or bl, 4
test si, 1
je 0x470164
or bl, 8
test si, 2
je 0x47016e
or bl, 0x10
test si, 0x10
je 0x470178
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x470187
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x470190
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4701c8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4701a9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4701b8
or bl, 4
test esi, 0x20000000
je 0x4701c3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x476870
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x476882
add esp, 0xfffffff0
call fcn.004038ac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004242f8
mov eax, dword [0x4ae300]
mov dword [eax + 4], ebx
mov dword [eax], 0x476c14
mov eax, dword [0x4ae30c]
mov dword [eax + 4], ebx
mov dword [eax], 0x476c20
mov eax, ebx
call fcn.00476c2c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x418eb4]
call fcn.00403518
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x418eb4]
call fcn.00403518
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x418eb4]
call fcn.00403518
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x418eb4]
call fcn.00403518
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x418eb4]
call fcn.00403518
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, 0x473048
push eax
push 0
push 0
mov eax, dword [0x4ae4a0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x425f78]
call fcn.004276ec
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x425f78]
call fcn.004276ec
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x425f78]
call fcn.004276ec
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0047704c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x476f28
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x476f28
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x476f28
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4769bf
call fcn.00403904
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x476d0c
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 0x476eb7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x476e98
mov dl, 1
mov eax, dword [0x419518]
call fcn.00403518
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404398
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x476e87
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.004642e8
test al, al
je 0x476e7a
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, 0x476ec8
lea eax, [ebp - 0x254]
call fcn.0040a8a8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x476e7a
xor eax, eax
push ebp
push 0x476e73
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 0x476f00
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x476e5c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404618
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 0x476e5c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404618
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476e7a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x476d7d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041dd44
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 0x476ebe
lea eax, [ebp - 0x260]
call fcn.00404398
ret

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

Disassembly:
push ecx
mov eax, dword [0x4afc34]
cmp byte [eax + 0xa5], 0
jne 0x47785d
cmp dword [0x4afc4c], 0
jne 0x47781e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4777a8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4afc4c], eax
cmp dword [0x4afc48], 0
jne 0x477839
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4afc48], eax
cmp dword [0x4afc50], 0
jne 0x47785d
push esp
push 0
push 0
push 0x47774c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4afc50], eax
pop edx
ret
Function at 0x477954
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x47796b
add esp, 0xfffffff0
call fcn.004038ac
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004242f8
mov eax, dword [0x4ae490]
cmp word [eax + 2], 0
jne 0x477993
mov eax, dword [0x4ae490]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004790d4
mov eax, dword [0x4ae558]
cmp word [eax + 2], 0
jne 0x4779ad
mov eax, dword [0x4ae558]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004792cc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x418eb4]
call fcn.00403518
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x418eb4]
call fcn.00403518
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 [0x426a58]
call fcn.0042e304
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x477b34
mov eax, dword [0x4ae380]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042e6d4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x47986c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4ae380]
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.0040efc0
test eax, eax
je 0x477aa2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040a1b4
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040f010
test eax, eax
je 0x477ab6
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.00404618
mov eax, dword [0x4ae218]
cmp byte [eax], 0
jne 0x477aea
mov eax, ebx
call fcn.00477c5c
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.00479a48
mov eax, ebx
call fcn.0047a430
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x477b2a
call fcn.00403904
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x477edc
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4afc34]
cmp dword [eax + 0x30], 0
je 0x477f86
cmp dword [ebx + 0x94], 0
jne 0x477f80
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x477e6c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x477f80
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 0x477f46
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x477f80
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.0041b7d4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x477f55
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x478ae8
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 0x478b1d
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.00404488
jmp 0x478b2a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004043ec
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x479c24
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x479c65
mov eax, esi
call fcn.0045e4dc
test al, al
je 0x479c65
mov eax, dword [ebx + 0x84]
call fcn.0045dfe4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x479c65
push 0
mov eax, dword [ebx + 0x84]
call fcn.0045dfe4
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x47a978
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edx, 8
call fcn.00402e58
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404868
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete byte [ebp - 0xd]
mov eax, dword [ebp - 0x14]
call fcn.0047a660
mov edx, dword [ebp - 0xc]
mov byte [edx], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret
Function at 0x47aa94
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404868
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x47aad5
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
call fcn.0047a660
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8

Function at 0x47af9c
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 [0x418650]
call fcn.004050b4
xor eax, eax
push ebp
push 0x47b0e0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4ac17c], 0
jne 0x47afef
mov ecx, dword [0x4ae230]
mov dl, 1
mov eax, dword [0x407e80]
call fcn.0040df30
call fcn.00403d14
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402e58
mov eax, ebx
call fcn.00404cdc
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x47b0f0
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.00406160
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404cec
test eax, eax
jle 0x47b087
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 0x47b080
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404630
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404618
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408e98
test eax, eax
jne 0x47b080
mov ebx, 0x15
jmp 0x47b08c
mov ebx, 0x10
jmp 0x47b08c
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 [0x4ac17c]
call fcn.0047aef4
mov eax, dword [ebp - 8]
call fcn.0047aef4
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406178
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b0e7
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004043bc
lea eax, [ebp - 0x10]
mov edx, dword [0x418650]
call fcn.00405184
ret
Function at 0x481204
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48126a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4ae294]
cmp byte [eax], 0
je 0x481238
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_RemoveDirectoryW
mov dword [ebp - 8], eax
jmp 0x481254
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004045d0
mov eax, dword [ebp - 0xc]
call fcn.00404868
push eax
call sub.kernel32.dll_RemoveDirectoryA
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481271
lea eax, [ebp - 0xc]
call fcn.00404398
ret

Function at 0x481524
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48158a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4ae294]
cmp byte [eax], 0
je 0x481558
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetFileAttributesW
mov dword [ebp - 8], eax
jmp 0x481574
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004045d0
mov eax, dword [ebp - 0xc]
call fcn.00404868
push eax
call sub.kernel32.dll_GetFileAttributesA
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481591
lea eax, [ebp - 0xc]
call fcn.00404398
ret

Function at 0x481598
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x481609
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4ae294]
cmp byte [eax], 0
je 0x4815d3
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetFileAttributesW
mov dword [ebp - 0xc], eax
jmp 0x4815f3
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.004045d0
mov eax, dword [ebp - 0x10]
call fcn.00404868
push eax
call sub.kernel32.dll_SetFileAttributesA
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481610
lea eax, [ebp - 0x10]
call fcn.00404398
ret

Function at 0x481618
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x481689
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4ae294]
cmp byte [eax], 0
je 0x481653
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateDirectoryW
mov dword [ebp - 0xc], eax
jmp 0x481673
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 4]
call fcn.004045d0
mov eax, dword [ebp - 0x10]
call fcn.00404868
push eax
call sub.kernel32.dll_CreateDirectoryA
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481690
lea eax, [ebp - 0x10]
call fcn.00404398
ret
Function at 0x481698
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4816fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4ae294]
cmp byte [eax], 0
je 0x4816cc
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_DeleteFileW
mov dword [ebp - 8], eax
jmp 0x4816e8
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 4]
call fcn.004045d0
mov eax, dword [ebp - 0xc]
call fcn.00404868
push eax
call sub.kernel32.dll_DeleteFileA
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x481705
lea eax, [ebp - 0xc]
call fcn.00404398
ret

Function at 0x48187c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x481943
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4ae294]
cmp byte [eax], 0
je 0x4818c6
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetTempFileNameW
mov dword [ebp - 0x10], eax
jmp 0x481928
lea eax, [ebp - 0x14]
mov edx, 0x104
call fcn.004049f4
mov eax, dword [ebp - 0x14]
call fcn.00404868
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 4]
call fcn.004045d0
mov eax, dword [ebp - 0x18]
call fcn.00404868
push eax
call sub.kernel32.dll_GetTempFileNameA
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
call fcn.00404868
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.004045a0
mov al, byte [0x481954]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp + 8]
mov eax, 0x104
call fcn.004810e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48194a
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004043bc
ret