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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4561bc]
cmp byte [eax + 0xc], 0
je 0x43dfbd
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43dfb6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x457b90], 0
jne 0x43dea4
push 0x43dfc4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43dfcc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b90], eax
cmp dword [0x455b8c], 0
jne 0x43df9f
push 0x43dfdc
call sub.kernel32.dll_LoadLibraryA
mov dword [0x455b8c], eax
cmp dword [0x455b8c], 0
je 0x43df9f
push 0x43dfe8
mov eax, dword [0x455b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b94], eax
push 0x43dff8
mov eax, dword [0x455b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b98], eax
push 0x43e00c
mov eax, dword [0x455b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457b9c], eax
push 0x43e024
mov eax, dword [0x455b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457ba0], eax
push 0x43e03c
mov eax, dword [0x455b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457ba4], eax
push 0x43e050
mov eax, dword [0x455b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457ba8], eax
push 0x43e068
mov eax, dword [0x455b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457bac], eax
push 0x43e080
mov eax, dword [0x455b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457bb0], eax
push 0x43e09c
mov eax, dword [0x455b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457bb4], eax
push 0x43e0a8
mov eax, dword [0x455b8c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x457bb8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43dfbd
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x441e48
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.00403e58
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x441e97
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.004040c8
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4495d4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x449624]
test si, 4
je 0x4495e8
or bl, 1
test si, 8
je 0x4495f2
or bl, 4
test si, 1
je 0x4495fc
or bl, 8
test si, 2
je 0x449606
or bl, 0x10
test si, 0x10
je 0x449610
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44961f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x449628
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x449660]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x449641
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x449650
or bl, 4
test esi, 0x20000000
je 0x44965b
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44fd08
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x44fd1a
add esp, 0xfffffff0
call fcn.0040342c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419570
mov eax, dword [0x455e90]
mov dword [eax + 4], ebx
mov dword [eax], 0x4500ac
mov eax, dword [0x455e9c]
mov dword [eax + 4], ebx
mov dword [eax], 0x4500b8
mov eax, ebx
call fcn.004500c4
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411868]
call fcn.004030d8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411868]
call fcn.004030d8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411868]
call fcn.004030d8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411868]
call fcn.004030d8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411868]
call fcn.004030d8
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, 0x44c4e0
push eax
push 0
push 0
mov eax, dword [0x455fdc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41afc4]
call fcn.0041c738
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41afc4]
call fcn.0041c738
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41afc4]
call fcn.0041c738
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004504e4
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4503c0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4503c0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4503c0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x44fe57
call fcn.00403484
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4501a4
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 0x45034f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x450330
mov dl, 1
mov eax, dword [0x411c84]
call fcn.004030d8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e58
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45031f
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.0043e1b0
test al, al
je 0x450312
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, 0x450360
lea eax, [ebp - 0x254]
call fcn.00408c08
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x450312
xor eax, eax
push ebp
push 0x45030b
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 0x450398
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4502f4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040c8
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 0x4502f4
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004040c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x450312
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x450215
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00415760
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 0x450356
lea eax, [ebp - 0x260]
call fcn.00403e58
ret

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

Disassembly:
push ecx
mov eax, dword [0x457bdc]
cmp byte [eax + 0xa5], 0
jne 0x450cf5
cmp dword [0x457bf4], 0
jne 0x450cb6
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x450c40
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x457bf4], eax
cmp dword [0x457bf0], 0
jne 0x450cd1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x457bf0], eax
cmp dword [0x457bf8], 0
jne 0x450cf5
push esp
push 0
push 0
push 0x450be4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x457bf8], eax
pop edx
ret
Function at 0x450dec
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x450e03
add esp, 0xfffffff0
call fcn.0040342c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419570
mov eax, dword [0x455fc8]
cmp word [eax + 2], 0
jne 0x450e2b
mov eax, dword [0x455fc8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004524c4
mov eax, dword [0x456074]
cmp word [eax + 2], 0
jne 0x450e45
mov eax, dword [0x456074]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004526bc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411868]
call fcn.004030d8
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411868]
call fcn.004030d8
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 [0x41baa4]
call fcn.00422e1c
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x450fcc
mov eax, dword [0x455ef0]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004231ec
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x452c5c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x455ef0]
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.0040c2d8
test eax, eax
je 0x450f3a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004085fc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c300
test eax, eax
je 0x450f4e
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.004040c8
mov eax, dword [0x455de4]
cmp byte [eax], 0
jne 0x450f82
mov eax, ebx
call fcn.004510f4
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.00452e38
mov eax, ebx
call fcn.004537fc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450fc2
call fcn.00403484
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451374
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x457bdc]
cmp dword [eax + 0x30], 0
je 0x45141e
cmp dword [ebx + 0x94], 0
jne 0x451418
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x451304
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x451418
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 0x4513de
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x451418
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.00413bd0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4513ed
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x451f80
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 0x451fb5
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.00403f48
jmp 0x451fc2
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00403eac
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x453014
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x453055
mov eax, esi
call fcn.004397dc
test al, al
je 0x453055
mov eax, dword [ebx + 0x84]
call fcn.004394d8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x453055
push 0
mov eax, dword [ebx + 0x84]
call fcn.004394d8
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x407ef8
nop
mov ecx, 0x35966e8f
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x318f7cfa
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x42e06c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x4012b0
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x834
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax]
mov eax, dword [eax + 4]
push edi
xor edi, edi
cmp dword [0x84b678], 0x594
mov dword [ebp - 0x1c], esi
mov dword [ebp - 8], eax
jne 0x4012e5
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push edi
call dword [sym.imp.KERNEL32.dll_AddAtomW]
mov ecx, dword [0x42c298]
push ebx
mov ebx, dword [0x42c29c]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x28], ecx
call fcn.00401290
mov edx, dword [0x42c2a0]
mov eax, dword [0x42c2a4]
add dword [ebp - 0x18], 0x23f
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], 0x20
jmp 0x401324
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov ecx, dword [0x84b678]
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
cmp ecx, 0xc
jne 0x401378
push edi
lea ecx, [ebp - 0x834]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeMountPointW]
push edi
lea edx, [ebp - 0x34]
push edx
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WriteConsoleA]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_HeapCompact]
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov eax, dword [ebp - 4]
mov ecx, dword [0x84b678]
add eax, dword [ebp - 0x30]
mov dword [ebp - 4], eax
cmp ecx, 0xfa9
jne 0x401392
mov dword [0x84ac14], 0xedeb2e40
jmp 0x4013a0
cmp ecx, 0x3eb
jne 0x4013a0
mov dword [0x84a5c4], edi
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
add eax, esi
shr esi, cl
mov dword [ebp - 0x10], eax
mov dword [0x84ac10], 0xf4ea3dee
add esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
xor dword [ebp - 4], eax
cmp dword [0x84b678], 0x9e6
jne 0x4013d4
push edi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommMask]
xor esi, dword [ebp - 4]
mov dword [ebp - 0x24], esi
mov eax, dword [ebp - 0x24]
add dword [ebp - 8], 0x64
sub dword [ebp - 8], eax
sub dword [ebp - 8], 0x64
mov ecx, dword [ebp - 8]
shl ecx, 4
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x18]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
nop
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
xor dword [ebp - 4], edx
shr esi, cl
add esi, ebx
cmp dword [0x84b678], 0xb03
jne 0x401432
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov ecx, dword [ebp - 4]
xor ecx, esi
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], ecx
call fcn.004012a0
lea eax, [ebp - 0x18]
call fcn.00401280
sub dword [ebp - 0x20], 1
jne 0x401321
cmp dword [0x84b678], 0xa6d
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp + 8]
mov dword [esi], eax
pop ebx
jne 0x401483
push edi
push edi
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_UpdateResourceA]
mov ecx, dword [ebp - 8]
pop edi
mov dword [esi + 4], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 8]
pop edi
mov dword [esi + 4], edx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4014a0
Capabilities:
Set file attributes
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x84b678]
mov ecx, dword [0x84a5c8]
shr eax, 3
sub esp, 8
test eax, eax
jbe 0x40152a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumResourceLanguagesA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetConsoleMode]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
cmp dword [0x84b678], 0x959
jne 0x401514
push 0
push 0
call esi
push str.ritabusorehovawefakavonamukalo
push 0
push 0
call edi
push 0
push 0
push str.cokejihe
push str.legas
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 4]
push eax
call fcn.004012b0
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x4014d3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401620
Capabilities:
Extract resource via kernel32 functions
Get hostname

Disassembly:
push ecx
push 0x42d448
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
ret
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4262c8
push eax
mov dword fs:[0], esp
sub esp, 0xd84
cmp dword [0x84b678], 0x5b1
push ebx
push esi
push edi
jne 0x4016f5
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_BackupRead]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeA]
push 0
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea esi, [ebp - 0x34]
call fcn.00401c80
push 0
mov dword [ebp - 4], 0
call fcn.00403c7f
add esp, 4
push 0
push 0
call fcn.00403921
add esp, 8
jmp 0x401610
mov eax, dword [0x42c4b0]
mov dword [0x84b67c], eax
mov eax, dword [0x84b678]
add eax, 0x1134b
push eax
push 0
mov dword [0x84b678], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x84a5c8], eax
call fcn.00401550
mov edi, dword [sym.imp.GDI32.dll_GetDeviceGammaRamp]
xor esi, esi
lea esp, [esp]
cmp esi, 0x2710
jge 0x401743
lea ecx, [ebp - 0x590]
push ecx
push 0
call edi
inc esi
cmp esi, 0x18ea14c
jl 0x401730
xor esi, esi
cmp dword [0x84b678], esi
jbe 0x4017b2
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
mov ebx, dword [sym.imp.GDI32.dll_SetColorAdjustment]
mov edx, dword [0x84b67c]
mov al, byte [edx + esi + 0x1134b]
mov ecx, dword [0x84a5c8]
mov byte [ecx + esi], al
cmp dword [0x84b678], 0xa8
jne 0x4017a9
push 0
lea edx, [ebp - 0x10]
push edx
call edi
push 0
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea eax, [ebp - 0x190]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
inc esi
cmp esi, dword [0x84b678]
jb 0x401762
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xor esi, esi
mov ecx, dword [0x84b678]
add ecx, esi
cmp ecx, 0xe
jne 0x4017ec
push 0
push 0
push str.yuwazacehawi
call edi
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthA]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameW]
inc esi
cmp esi, 0x39621
jl 0x4017c0
call fcn.004014a0
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
call edi
cmp esi, 0x26
jne 0x40180e
call fcn.00401530
inc esi
cmp esi, 0x6753f
jl 0x401802
mov esi, dword [sym.imp.KERNEL32.dll_DnsHostnameToComputerNameW]
mov edi, dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
mov ebx, dword [sym.imp.KERNEL32.dll_BeginUpdateResourceW]
mov dword [ebp - 0x10], 0x7b
cmp dword [0x84b678], 0x86
jne 0x40186c
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0xd90]
push eax
push str.fabuz
call esi
push 0
push str.siviwoginabolapofu
push str.bojomecayaviyo
call edi
push 0
push 0
call ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
sub dword [ebp - 0x10], 1
jne 0x401830
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret