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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x47a45c]
cmp byte [eax + 0xc], 0
je 0x4545d9
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4545d2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x47bb74], 0
jne 0x4544c0
push 0x4545e0
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x4545e8
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47bb74], eax
cmp dword [0x479d9c], 0
jne 0x4545bb
push 0x4545f8
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x479d9c], eax
cmp dword [0x479d9c], 0
je 0x4545bb
push 0x454604
mov eax, dword [0x479d9c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47bb78], eax
push 0x454614
mov eax, dword [0x479d9c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47bb7c], eax
push 0x454628
mov eax, dword [0x479d9c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47bb80], eax
push 0x454640
mov eax, dword [0x479d9c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47bb84], eax
push 0x454658
mov eax, dword [0x479d9c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47bb88], eax
push 0x45466c
mov eax, dword [0x479d9c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47bb8c], eax
push 0x454684
mov eax, dword [0x479d9c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47bb90], eax
push 0x45469c
mov eax, dword [0x479d9c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47bb94], eax
push 0x4546b8
mov eax, dword [0x479d9c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47bb98], eax
push 0x4546c4
mov eax, dword [0x479d9c]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x47bb9c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4545d9
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x458678
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.00404574
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4586c7
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.004047e4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45fe20
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45fe70]
test si, 4
je 0x45fe34
or bl, 1
test si, 8
je 0x45fe3e
or bl, 4
test si, 1
je 0x45fe48
or bl, 8
test si, 2
je 0x45fe52
or bl, 0x10
test si, 0x10
je 0x45fe5c
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45fe6b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x45fe74
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x45feac]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45fe8d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45fe9c
or bl, 4
test esi, 0x20000000
je 0x45fea7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x466554
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x466566
add esp, 0xfffffff0
call fcn.00403b48
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042155c
mov eax, dword [0x47a0c8]
mov dword [eax + 4], ebx
mov dword [eax], 0x4668f8
mov eax, dword [0x47a0d4]
mov dword [eax + 4], ebx
mov dword [eax], 0x466904
mov eax, ebx
call fcn.00466910
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4168a0]
call fcn.004037b4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4168a0]
call fcn.004037b4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4168a0]
call fcn.004037b4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4168a0]
call fcn.004037b4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4168a0]
call fcn.004037b4
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, 0x462d2c
push eax
push 0
push 0
mov eax, dword [0x47a234]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x422fb0]
call fcn.00424724
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x422fb0]
call fcn.00424724
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x422fb0]
call fcn.00424724
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00466d30
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x466c0c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x466c0c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x466c0c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4666a3
call fcn.00403ba0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4669f0
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 0x466b9b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x466b7c
mov dl, 1
mov eax, dword [0x416f04]
call fcn.004037b4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404574
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x466b6b
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.004547cc
test al, al
je 0x466b5e
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, 0x466bac
lea eax, [ebp - 0x254]
call fcn.0040983c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x466b5e
xor eax, eax
push ebp
push 0x466b57
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 0x466be4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x466b40
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047e4
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 0x466b40
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004047e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466b5e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x466a61
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041b4c8
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 0x466ba2
lea eax, [ebp - 0x260]
call fcn.00404574
ret

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

Disassembly:
push ecx
mov eax, dword [0x47bbc0]
cmp byte [eax + 0xa5], 0
jne 0x467541
cmp dword [0x47bbd8], 0
jne 0x467502
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x46748c
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x47bbd8], eax
cmp dword [0x47bbd4], 0
jne 0x46751d
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x47bbd4], eax
cmp dword [0x47bbdc], 0
jne 0x467541
push esp
push 0
push 0
push 0x467430
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x47bbdc], eax
pop edx
ret
Function at 0x467638
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x46764f
add esp, 0xfffffff0
call fcn.00403b48
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0042155c
mov eax, dword [0x47a220]
cmp word [eax + 2], 0
jne 0x467677
mov eax, dword [0x47a220]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00468db8
mov eax, dword [0x47a2e4]
cmp word [eax + 2], 0
jne 0x467691
mov eax, dword [0x47a2e4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00468fb0
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4168a0]
call fcn.004037b4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4168a0]
call fcn.004037b4
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 [0x423a90]
call fcn.0042aea8
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x467818
mov eax, dword [0x47a134]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042b278
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x469550
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x47a134]
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.0040d14c
test eax, eax
je 0x467786
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040921c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d174
test eax, eax
je 0x46779a
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.004047e4
mov eax, dword [0x47a00c]
cmp byte [eax], 0
jne 0x4677ce
mov eax, ebx
call fcn.00467940
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.0046972c
mov eax, ebx
call fcn.0046a0f0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x46780e
call fcn.00403ba0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x467bc0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x47bbc0]
cmp dword [eax + 0x30], 0
je 0x467c6a
cmp dword [ebx + 0x94], 0
jne 0x467c64
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x467b50
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x467c64
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 0x467c2a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x467c64
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.004190f0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x467c39
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4687cc
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 0x468801
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.00404664
jmp 0x46880e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045c8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x469908
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x469949
mov eax, esi
call fcn.0044fd94
test al, al
je 0x469949
mov eax, dword [ebx + 0x84]
call fcn.0044fa90
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x469949
push 0
mov eax, dword [ebx + 0x84]
call fcn.0044fa90
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46df3c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x46df44
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x46e111
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.00402a60
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00408f94
push dword [ebp - 8]
push 0x46e128
push dword [0x47bc10]
lea eax, [ebp - 4]
mov edx, 3
call fcn.004048f4
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4317c8]
call fcn.00431878
mov ebx, eax
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00402a60
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00408f94
push dword [ebp - 0x14]
push 0x46e128
push dword [0x47bc14]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004048f4
mov eax, dword [ebp - 0x10]
call fcn.00408c90
test al, al
je 0x46e030
push 1
push 0
push 0
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.00402a60
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408f94
push dword [ebp - 0x20]
push 0x46e128
push dword [0x47bc14]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004048f4
mov eax, dword [ebp - 0x1c]
call fcn.00404a34
push eax
push 0x46e12c
mov eax, esi
call fcn.0044fa90
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x46e0ef
push 0
lea eax, [ebp - 0x28]
push eax
mov ecx, 0x46e13c
mov edx, 0x46e150
mov eax, ebx
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x28]
mov eax, dword [0x47a150]
mov eax, dword [eax]
mov eax, dword [eax + 0x308]
call fcn.004492d8
push 0
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x46e160
mov edx, 0x46e150
mov eax, ebx
mov esi, dword [eax]
call dword [esi]
push dword [ebp - 0x30]
push dword [0x47bc14]
push 0
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x46e174
mov edx, 0x46e150
mov eax, ebx
mov esi, dword [eax]
call dword [esi]
push dword [ebp - 0x34]
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.004048f4
mov edx, dword [ebp - 0x2c]
mov eax, dword [0x47a150]
mov eax, dword [eax]
mov eax, dword [eax + 0x30c]
call fcn.004492d8
push 0
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x46e188
mov edx, 0x46e198
mov eax, ebx
mov esi, dword [eax]
call dword [esi]
mov edx, dword [ebp - 0x38]
mov eax, dword [0x47a150]
mov eax, dword [eax]
mov eax, dword [eax + 0x304]
call fcn.004492d8
mov eax, dword [0x47a150]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0xec]
mov eax, ebx
call fcn.004037e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e118
lea eax, [ebp - 0x38]
mov edx, 0xe
call fcn.00404598
ret
Function at 0x476e98
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x476ea1
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
call fcn.00404a24
mov eax, dword [ebp - 8]
call fcn.00404a24
xor eax, eax
push ebp
push 0x477071
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00408c90
cmp al, byte [0x47bc68]
je 0x477056
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00408f94
mov eax, dword [ebp - 0xc]
call fcn.0046a3d0
test al, al
jne 0x476f1b
test bl, 2
je 0x477056
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 8]
call fcn.00408f94
mov eax, dword [ebp - 0x10]
call fcn.0046a3d8
xor esi, esi
mov eax, dword [ebp - 8]
call fcn.00408c90
test al, al
je 0x477018
test bl, 4
je 0x477013
inc esi
lea eax, [ebp - 0x18]
push eax
lea edx, [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.004090b4
mov eax, dword [ebp - 0x1c]
call fcn.00404834
push eax
mov eax, dword [ebp - 8]
call fcn.00404834
mov ecx, eax
pop eax
sub ecx, eax
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404a94
push dword [ebp - 0x18]
push 0x477088
lea edx, [ebp - 0x20]
mov eax, esi
call fcn.00408788
push dword [ebp - 0x20]
push 0x477094
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.004090b4
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.004048f4
mov eax, dword [ebp - 0x14]
call fcn.00408c90
test al, al
jne 0x476f36
lea eax, [ebp - 0x28]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 8]
call fcn.004090b4
mov eax, dword [ebp - 0x2c]
call fcn.00404834
push eax
mov eax, dword [ebp - 8]
call fcn.00404834
mov ecx, eax
pop eax
sub ecx, eax
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00404a94
push dword [ebp - 0x28]
push 0x477088
lea edx, [ebp - 0x30]
mov eax, esi
call fcn.00408788
push dword [ebp - 0x30]
push 0x477094
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.004090b4
push dword [ebp - 0x34]
lea eax, [ebp - 8]
mov edx, 5
call fcn.004048f4
jmp 0x477018
test bl, 1
je 0x477056
mov eax, dword [ebp - 8]
call fcn.00408c90
test al, al
je 0x477031
mov edx, 0x20
mov eax, dword [ebp - 8]
call fcn.00408dac
push 0
mov eax, dword [ebp - 8]
call fcn.00404a34
push eax
mov eax, dword [ebp - 4]
call fcn.00404a34
push eax
call sub.KERNEL32.DLL_CopyFileA
mov eax, dword [0x47a2c4]
mov eax, dword [eax]
call fcn.00468b0c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477078
lea eax, [ebp - 0x34]
mov edx, 0xd
call fcn.00404598
ret
Function at 0x477554
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x47755c
push ecx
push ebx
push esi
push edi
mov esi, eax
xor eax, eax
push ebp
push 0x4776d3
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.00402a60
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.00408f94
push dword [ebp - 8]
push 0x4776ec
push dword [0x47bc60]
lea eax, [ebp - 4]
mov edx, 3
call fcn.004048f4
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4317c8]
call fcn.00431878
mov ebx, eax
lea edx, [ebp - 0x18]
xor eax, eax
call fcn.00402a60
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00408f94
push dword [ebp - 0x14]
push 0x4776ec
push dword [0x47bc64]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004048f4
mov eax, dword [ebp - 0x10]
call fcn.00408c90
test al, al
je 0x477647
push 1
push 0
push 0
lea edx, [ebp - 0x24]
xor eax, eax
call fcn.00402a60
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408f94
push dword [ebp - 0x20]
push 0x4776ec
push dword [0x47bc64]
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004048f4
mov eax, dword [ebp - 0x1c]
call fcn.00404a34
push eax
push 0x4776f0
mov eax, esi
call fcn.0044fa90
push eax
call sub.shell32.dll_ShellExecuteA
jmp 0x4776b1
push 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x477700
mov edx, 0x477714
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
push dword [ebp - 0x2c]
push dword [0x47bc64]
push 0
lea eax, [ebp - 0x30]
push eax
mov ecx, 0x477724
mov edx, 0x477714
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
push dword [ebp - 0x30]
lea eax, [ebp - 0x28]
mov edx, 3
call fcn.004048f4
mov eax, dword [ebp - 0x28]
push eax
push 0
lea eax, [ebp - 0x34]
push eax
mov ecx, 0x477738
mov edx, 0x477714
mov eax, ebx
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x34]
mov eax, esi
pop ecx
call fcn.00476d2c
mov eax, ebx
call fcn.004037e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4776da
lea eax, [ebp - 0x34]
mov edx, 0xd
call fcn.00404598
ret
Function at 0x415fa3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x415fb2
pop dword [ebp - 0x28]
mov eax, 0x415fb2
sub dword [ebp - 0x28], eax
push 0x40
push 0x1000
push 0x3ca3c
push 0
mov eax, 0xe31b2945
add eax, 0x1d2728d3
add eax, dword [ebp - 0x28]
call dword [eax]
mov ecx, 0xd28131ea
add ecx, 0x2d7f1151
mov ebx, eax
mov esi, 0x435400
add esi, dword [ebp - 0x28]
mov edi, 0x2938d67c
sub edi, 0x654a5a0f
sub dword [ebp - 0x20], 0xdf1b0b29
mov edx, dword [esi]
add dword [ebp - 4], 0xe1d03e35
xor edx, edi
mov dword [ebx], edx
add dword [ebp - 0x10], 0xbaae419a
add ebx, 0x66f12357
add ebx, 0x990edcad
add esi, 4
loop 0x416006
add eax, 0x7e932c2f
sub eax, 0x7e922c70
xor ebx, ebx
add ebx, eax
add eax, 0x5e74ce25
add eax, 0xa18b31e0
mov ecx, 0x400000
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x100145d0
Capabilities:
Get common file path

Disassembly:
push ecx
movzx eax, word [0x100868b4]
mov edx, dword [0x100868fc]
push ebx
push esi
push edi
mov edi, dword [0x10086940]
lea ecx, [edi + 2]
add ecx, eax
mov esi, ecx
imul esi, dword [0x100868b0]
sub esi, eax
mov eax, dword [0x100868f8]
sub eax, dword [0x100868c0]
sbb edx, dword [0x100868c4]
cmp eax, 0x358
jne 0x10014620
test edx, edx
jne 0x10014620
add esi, 0xffffffed
lea eax, [ecx + esi*2]
mov esi, 0xfffffffc
jmp 0x10014633
imul esi, dword [0x100868f0]
mov eax, ecx
sub eax, esi
add eax, 0x21
sub esi, ecx
lea eax, [ecx + eax*2]
movzx ecx, byte [0x100868b6]
mov dword [0x100868b0], esi
mov dword [0x10086944], eax
call fcn.10014f10
mov ebx, dword [0x1008691c]
movzx edx, ax
mov eax, dword [0x10086944]
add eax, 0xffffffda
mov word [0x100868b4], dx
lea ecx, [esi + edx]
mov esi, edx
mov edx, dword [0x10086918]
add ecx, eax
mov dword [0x10086944], ecx
test ebx, ebx
ja 0x100146ae
jb 0x1001467f
cmp edx, edi
ja 0x100146ae
mov dword [0x10086938], ecx
add ecx, 0x4e4e
add ecx, edi
mov dword [0x1008693c], 0
sub edi, ecx
mov dword [0x10086944], ecx
lea eax, [edi + 0x7cb]
mov word [0x100868b4], ax
movzx esi, ax
cmp edx, 0x7b3
jne 0x100146d6
test ebx, ebx
jne 0x100146d6
add ecx, dword [0x10086908]
mov eax, 0x21
sub eax, ecx
mov dword [0x10086944], ecx
lea eax, [esi + eax*2]
mov word [0x100868b4], ax
push 0x1009da70
push 0x5d6
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov bx, word [0x100868b4]
mov edx, dword [0x10086944]
mov ecx, edx
mov esi, dword [0x100868e4]
mov edi, dword [0x100868e0]
mov dword [0x100868b0], eax
movzx eax, bx
imul eax, eax, 0x61
sub ecx, eax
mov dword [esp + 0xc], ecx
mov dword [0x100868b8], ecx
mov ecx, 0x100868c0
nop dword [eax]
xor eax, eax
cmp edx, dword [0x100868c0]
jne 0x10014732
cmp eax, dword [0x100868c4]
je 0x10014755
add edx, dword [ecx]
lea eax, [edx*2 - 0x5d]
mov dword [0x100868b0], eax
xor eax, eax
cmp edx, edi
jne 0x1001474a
cmp eax, esi
je 0x10014755
add ecx, 8
cmp ecx, str.__e
jl 0x10014720
mov al, 0x42
sub al, bl
sub al, byte [esp + 0xc]
add byte [0x100868b6], al
xor ecx, ecx
mov dword [0x10088b1c], ecx
nop dword [eax + eax]
movzx edi, bx
mov eax, edi
mov esi, edi
cdq
cmp eax, dword [0x100868c0]
jne 0x10014788
cmp edx, dword [0x100868c4]
je 0x100147ba
mov bx, word [ecx*8 + 0x100868c0]
add bx, di
movzx edi, bx
mov eax, edi
mov word [0x100868b4], bx
cdq
mov esi, edi
cmp eax, dword [0x100868e0]
jne 0x100147b2
cmp edx, dword [0x100868e4]
je 0x100147ba
inc ecx
mov esi, edi
cmp ecx, 0x17
jl 0x10014770
mov eax, dword [esp + 0xc]
mov dword [0x10088b1c], ecx
mov ecx, dword [0x10086940]
movzx edx, si
add ecx, 2
pop edi
add ecx, edx
pop esi
mov dword [0x10086944], ecx
pop ebx
pop ecx
ret
Function at 0x10014900
Capabilities:
Get common file path

Disassembly:
movzx ecx, byte [0x100868b6]
movzx eax, word [0x100868b4]
sub ecx, eax
mov dword [0x100868b8], 0x1b3
push 0x10087480
sub ecx, 0xf835
push 0x1b3
mov dword [0x10086944], ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
movzx ecx, word [0x100868b4]
mov edx, 0x42
sub edx, ecx
movzx ecx, byte [0x100868b6]
sub edx, eax
add dword [0x10086944], edx
call fcn.10014db0
push dword [0x100868b8]
mov word [0x100868b4], ax
push 0x10087480
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov ecx, dword [0x100868b8]
movzx eax, word [0x100868b4]
add ecx, 0xffffffda
mov edx, dword [0x10086944]
add edx, eax
add ecx, edx
mov dword [0x100868b8], ecx
ret