joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457790
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4577a2
add esp, 0xfffffff0
call fcn.00403f68
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dfcc
mov eax, dword [0x4b8a7c]
mov dword [eax + 4], ebx
mov dword [eax], 0x457b34
mov eax, dword [0x4b8a88]
mov dword [eax + 4], ebx
mov dword [eax], 0x457b40
mov eax, ebx
call fcn.00457b4c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415c08]
call fcn.00403c14
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415c08]
call fcn.00403c14
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415c08]
call fcn.00403c14
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415c08]
call fcn.00403c14
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415c08]
call fcn.00403c14
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, 0x4535e4
push eax
push 0
push 0
mov eax, dword [0x4b8c00]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x421b78]
call fcn.004233cc
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x421b78]
call fcn.004233cc
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x421b78]
call fcn.004233cc
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00457f7c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457e4c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457e4c
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x457e4c
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4578df
call fcn.00403fc0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x457c30
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 0x457ddb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x457dbc
mov dl, 1
mov eax, dword [0x41602c]
call fcn.00403c14
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404a8c
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x457dab
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.0044abf0
test al, al
je 0x457d9e
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, 0x457dec
lea eax, [ebp - 0x254]
call fcn.00409cf4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x457d9e
xor eax, eax
push ebp
push 0x457d97
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 0x457e24
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x457d80
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404cfc
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 0x457d80
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404cfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x457d9e
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x457ca1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.00419d94
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 0x457de2
lea eax, [ebp - 0x260]
call fcn.00404a8c
ret

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

Disassembly:
push ecx
mov eax, dword [0x4bc5ac]
cmp byte [eax + 0xad], 0
jne 0x4587c5
cmp dword [0x4bc5c4], 0
jne 0x458786
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x458710
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4bc5c4], eax
cmp dword [0x4bc5c0], 0
jne 0x4587a1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4bc5c0], eax
cmp dword [0x4bc5c8], 0
jne 0x4587c5
push esp
push 0
push 0
push 0x4586b4
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4bc5c8], eax
pop edx
ret
Function at 0x458998
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x4589af
add esp, 0xfffffff0
call fcn.00403f68
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041dfcc
mov eax, dword [0x4b8be8]
cmp word [eax + 2], 0
jne 0x4589d7
mov eax, dword [0x4b8be8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045a460
mov eax, dword [0x4b8cb0]
cmp word [eax + 2], 0
jne 0x4589f1
mov eax, dword [0x4b8cb0]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045a66c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415c08]
call fcn.00403c14
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415c08]
call fcn.00403c14
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x415c08]
call fcn.00403c14
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x422688]
call fcn.00429d1c
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x458ba8
mov eax, dword [0x4b8aec]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042a0f0
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45ad2c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4b8aec]
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.0040d520
test eax, eax
je 0x458af8
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004096ac
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d554
test eax, eax
je 0x458b0c
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404cfc
mov byte [ebx + 0xd4], 0
push ebx
push 0x459fa8
call fcn.0041f148
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4b89b4]
cmp byte [eax], 0
jne 0x458b5d
mov eax, ebx
call fcn.00458cec
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045af08
mov eax, ebx
call fcn.0045ba68
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x458b9d
call fcn.00403fc0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x458f6c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4bc5ac]
cmp dword [eax + 0x30], 0
je 0x459016
cmp dword [ebx + 0x94], 0
jne 0x459010
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x458efc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x459010
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 0x458fd6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x459010
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.0041803c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x458fe5
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x459d30
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x459d65
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.00404b7c
jmp 0x459d72
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404ae0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45b0ec
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45b15a
mov eax, esi
call fcn.00445964
test al, al
je 0x45b15a
mov eax, dword [ebx + 0x84]
call fcn.004455f0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45b15a
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45b14e
push 0
mov eax, dword [ebx + 0x84]
call fcn.004455f0
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043da1c
jmp 0x45b15a
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045af28
pop esi
pop ebx
ret
Function at 0x40a3d0
Capabilities:
Terminate process

Disassembly:
inc ebx
mov eax, edi
mov edx, dword [eax + 8]
mov eax, dword [eax + 0x14]
mov al, al
je 0x40a410
mov ecx, dword [ebp + 0xc]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
jne 0x40a40a
push esi
mov esi, dword [0x77cf98]
call esi
test eax, eax
jne 0x40a3fe
pop esi
pop ebp
ret 0x46
call esi
add eax, 0xafcdb
int 0x5d
ret 8
sbb eax, eax
test dl, 8
int1
mov eax, 0x4e3b
stc
ret 0xe3c3
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 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..reloc
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x154f7390
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x5ac15f8f
nop
nop
nop
nop
test eax, eax
nop
je 0x42e084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x42e06c
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x432030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401abd
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401afc
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401afc
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401afc
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401afc
cmp dword [ecx + 0x74], 0xe
jbe 0x401afc
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4043b4
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x42e350]
mov ecx, dword [ebp + 8]
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ecx]
mov dword [ebp - 0x28], eax
mov eax, dword [0x42e354]
push esi
push edi
mov edi, dword [ecx + 4]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 4]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x2c], 0x9e3779b9
call fcn.004043ad
mov eax, dword [0x42e358]
add dword [ebp - 4], 0x23f
mov dword [ebp - 0x18], eax
mov eax, dword [0x42e35c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0x20
mov dword [ebp - 0xc], 2
add dword [ebp - 0xc], 3
mov eax, ebx
shl eax, 4
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [0x28287b4]
cmp eax, 0xfa9
jne 0x404435
mov dword [0x28287b0], 0xedeb2e40
cmp eax, 0x3eb
jne 0x404443
and dword [0x282823c], 0
mov edx, dword [ebp - 4]
add edx, ebx
mov eax, dword [ebp - 0x10]
shr eax, 5
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x1c]
mov dword [0x28287ac], 0xf4ea3dee
xor eax, edx
xor eax, dword [ebp - 0x20]
mov edx, dword [ebp - 4]
sub edi, eax
mov eax, edi
shr eax, 5
add edx, edi
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 8], eax
mov esi, edi
shl esi, 4
add esi, dword [ebp - 0x28]
xor esi, edx
cmp dword [0x28287b4], 0xb03
jne 0x4044a8
push 0
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesLengthW]
xor eax, eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 8]
xor eax, esi
sub ebx, eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 4], eax
dec dword [ebp - 0x14]
jne 0x404409
mov dword [ecx + 4], edi
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
leave
ret 4

Function at 0x4044cd
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x28287b4]
mov ecx, dword [0x2828240]
sub esp, 0xc00
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x40459f
push ebx
push edi
mov edi, ecx
mov ebx, eax
cmp dword [0x28287b4], 0x959
jne 0x40458d
push esi
lea eax, [ebp - 0x800]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectA]
push esi
push esi
lea eax, [ebp - 0x400]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push 0x403ee0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
push 0x403f2c
push esi
call dword [sym.imp.KERNEL32.dll_FatalAppExitW]
push 0x403f58
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessShutdownParameters]
push esi
lea eax, [ebp - 0xc00]
push eax
push esi
push 0x403f74
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push edi
call fcn.004043b4
add edi, 8
dec ebx
jne 0x4044f5
pop edi
pop ebx
pop esi
leave
ret
Function at 0x40489a
Capabilities:
Access the windows event log
Clear windows event logs
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1004
call fcn.00412130
push ebx
push esi
xor esi, esi
cmp dword [0x28287b4], 0x400
push edi
jne 0x4049a2
push esi
call dword [sym.imp.USER32.dll_GetDC]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
push esi
push esi
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
push esi
lea eax, [esp + 0x814]
push eax
push 0x404184
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
push 0x4041a4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_DrawStateA]
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_ClearEventLogW]
push esi
push esi
call fcn.00405800
push esi
push esi
call fcn.00405129
push esi
call fcn.00405785
add esp, 0x14
push esi
call fcn.00405a9a
fldz
sub esp, 0xc
fst qword [esp + 8]
fstp qword [esp]
call fcn.00404c60
add esp, 8
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404de0
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00405270
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00404f10
fstp st(0)
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.004054d0
fstp st(0)
push esi
call fcn.00405b0e
add esp, 0xc
push esi
push esi
call fcn.0040502d
push esi
call fcn.004058ad
add esp, 0xc
mov ebx, dword [sym.imp.GDI32.dll_GetCharWidthI]
xor edi, edi
cmp edi, 0xacd
jge 0x4049c8
push esi
push esi
call dword [sym.imp.USER32.dll_SetCaretPos]
push esi
push esi
push esi
push esi
push esi
call ebx
push esi
call dword [sym.imp.USER32.dll_GetSysColorBrush]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
cmp edi, 0x45be410
jg 0x4049ea
inc edi
cmp edi, 0x33309e9
jl 0x4049aa
xor edi, edi
cmp edi, 0x16d2a
jge 0x4049fb
push esi
push esi
push esi
push esi
push esi
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp edi, 0x12e82fe
jg 0x404a19
inc edi
cmp edi, 0x3011b
jl 0x4049ec
mov eax, dword [0x430c94]
mov dword [0x28287b4], eax
call fcn.004045a2
mov edi, 0x2ec37
cmp dword [0x28287b4], 0x51f
jne 0x404a45
push esi
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
dec edi
jne 0x404a2d
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x407d4c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42d7dc]
jne 0x407d56
repz ret
jmp fcn.0040cf3c
Function at 0x41123a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42d7dc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040675a
and dword [ebp - 0x14], 0
cmp dword [0x4457a4], 0
mov dword [ebp - 0x18], eax
jne 0x4112ed
push 0x403e90
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x411395
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x403e84
push ebx
call edi
test eax, eax
je 0x411395
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x403e74
push ebx
mov dword [0x4457a4], eax
call edi
push eax
call esi
push 0x403e60
push ebx
mov dword [0x4457a8], eax
call edi
push eax
call esi
push 0x403e44
push ebx
mov dword [0x4457ac], eax
call edi
push eax
call esi
mov dword [0x4457b4], eax
test eax, eax
je 0x4112ed
push 0x403e2c
push ebx
call edi
push eax
call esi
mov dword [0x4457b0], eax
mov eax, dword [0x4457b0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x411346
cmp dword [0x4457b4], ecx
je 0x411346
push eax
call esi
push dword [0x4457b4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x411346
test ebx, ebx
je 0x411346
call edi
test eax, eax
je 0x41133d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41133d
test byte [ebp - 8], 1
jne 0x411346
or dword [ebp + 0x10], 0x200000
jmp 0x411379
mov eax, dword [0x4457a8]
cmp eax, dword [ebp - 0x18]
je 0x411379
push eax
call esi
test eax, eax
je 0x411379
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x411379
mov eax, dword [0x4457ac]
cmp eax, dword [ebp - 0x18]
je 0x411379
push eax
call esi
test eax, eax
je 0x411379
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4457a4]
call esi
test eax, eax
je 0x411395
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x411397
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407d4c
leave
ret