joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464580
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x42000]
push edi
or ebp, 0xffffffff
jmp 0x4645a2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4645a9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x464598
mov eax, 1
add ebx, ebx
jne 0x4645bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4645cc
jne 0x4645eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4645eb
dec eax
add ebx, ebx
jne 0x4645d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4645b0
add ebx, ebx
jne 0x4645e7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x46463d
xor ecx, ecx
sub eax, 3
jb 0x464603
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x464672
sar eax, 1
mov ebp, eax
jmp 0x46460e
add ebx, ebx
jne 0x46460e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4645dc
inc ecx
add ebx, ebx
jne 0x46461c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4645dc
add ebx, ebx
jne 0x464629
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x46461e
jne 0x46463a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x46461e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x46465c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x46464e
jmp 0x46459e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x46465c
add edi, ecx
jmp 0x46459e
pop esi
mov edi, esi
mov ecx, 0x1cba
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x46467a
cmp byte [edi], 0xa
jne 0x46467a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x46467f
lea edi, [esi + 0x61000]
mov eax, dword [edi]
or eax, eax
je 0x4646ee
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6456c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x64610]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4646ac
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x64618]
or eax, eax
je 0x4646e8
mov dword [ebx], eax
add ebx, 4
jmp 0x4646c9
call dword [esi + 0x64614]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x46471f
cmp al, 0xef
ja 0x464712
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4646f4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x464701
mov ebp, dword [esi + 0x6461c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x464753
sub esp, 0xffffff80
jmp 0x402fea
Function at 0x405b8a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004034fa
and dword [ebp - 4], 0
cmp dword [0x4228a4], 0
mov ebx, eax
jne 0x405c3b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x405cec
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x405cec
push eax
call fcn.00403488
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4228a4], eax
call esi
push eax
call fcn.00403488
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4228a8], eax
call esi
push eax
call fcn.00403488
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4228ac], eax
call esi
push eax
call fcn.00403488
pop ecx
mov dword [0x4228b4], eax
test eax, eax
je 0x405c3b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403488
pop ecx
mov dword [0x4228b0], eax
mov eax, dword [0x4228b0]
cmp eax, ebx
je 0x405c93
cmp dword [0x4228b4], ebx
je 0x405c93
push eax
call fcn.00403503
push dword [0x4228b4]
mov esi, eax
call fcn.00403503
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405c93
test edi, edi
je 0x405c93
call esi
test eax, eax
je 0x405c8a
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405c8a
test byte [ebp - 0xc], 1
jne 0x405c93
or dword [ebp + 0x10], 0x200000
jmp 0x405ccc
mov eax, dword [0x4228a8]
cmp eax, ebx
je 0x405ccc
push eax
call fcn.00403503
pop ecx
test eax, eax
je 0x405ccc
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x405ccc
mov eax, dword [0x4228ac]
cmp eax, ebx
je 0x405ccc
push eax
call fcn.00403503
pop ecx
test eax, eax
je 0x405ccc
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4228a4]
call fcn.00403503
pop ecx
test eax, eax
je 0x405cec
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405cee
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
mov eax, section..text
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x64a03612
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
mov ebx, 0x42e3d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x38c43c16
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x40357a
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x4035a3
mov al, byte [esi + 1]
inc esi
test al, al
je 0x40359b
cmp al, 0x22
jne 0x40358f
cmp byte [esi], 0x22
jne 0x4035ad
inc esi
jmp 0x4035ad
cmp al, 0x20
jle 0x4035ad
inc esi
cmp byte [esi], 0x20
jg 0x4035a7
mov al, byte [esi]
test al, al
je 0x4035b7
cmp al, 0x20
jle 0x4035a0
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00401e17
push 0x404004
push section..data
call fcn.00403560
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x4035e7
movzx eax, word [ebp - 0x14]
jmp 0x4035ea
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.0040360d
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x414de1
Capabilities:
Encode data using xor

Disassembly:
xor dword [edx], eax
add ecx, ebx
add edx, 4
push 0xb54b75d1
pop ebx
sub ecx, 1
cmp edx, esi
jne fcn.00414de1
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403daa
sub eax, 0x403d50
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x401050
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags
Write file on windows

Disassembly:
cmp word [eax], 0
je 0x4011d6
push ebp
mov ebp, esp
push edi
push esi
mov esi, eax
push ebx
sub esp, 0x5c
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x401068
mov ebx, eax
sub ebx, esi
sar ebx, 1
cmp esi, eax
je 0x4010b6
mov eax, dword [sym.imp.kernel32.dll_GetStdHandle]
mov dword [esp], 0xfffffff5
lea edi, [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
call eax
sub esp, 4
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteConsoleW]
sub esp, 0x14
test eax, eax
je 0x4010be
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [sym.imp.kernel32.dll_GetOEMCP]
mov dword [ebp - 0x40], ecx
call ecx
mov dword [esp + 0x1c], 0
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [ebp - 0x38], eax
call eax
sub esp, 0x20
mov dword [ebp - 0x30], eax
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov edx, dword fs:[0x18]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x3c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x34], eax
sub esp, 0xc
test eax, eax
je 0x4010b6
mov ecx, dword [ebp - 0x40]
call ecx
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x1c], 0
mov ebx, dword [ebp - 0x38]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], eax
call ebx
mov ebx, dword [ebp - 0x2c]
sub esp, 0x20
mov dword [esp], 0xfffffff5
call ebx
mov ecx, dword [ebp - 0x30]
push edx
mov dword [esp + 0xc], edi
mov edi, dword [ebp - 0x34]
mov dword [esp + 8], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 4], edi
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WriteFile]
mov edx, dword [ebp - 0x3c]
sub esp, 0x14
mov dword [esp + 8], edi
mov dword [esp + 4], 0
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapFree]
sub esp, 0xc
jmp 0x4010b6
ret
Function at 0x401500
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
push eax
mov eax, 0x101c
call fcn.00403b58
sub esp, eax
lea esi, [ebp - 0x1008]
mov eax, dword [esp + eax]
mov dword [esp], 0
mov ebx, eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], 0x800
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
sub esp, 0x10
test eax, eax
jne 0x401556
test byte [section..data], 2
jne 0x40156a
mov eax, esi
call sym._output
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.LoadString_failed__error__ld_n
mov dword [esp + 8], str.fatal_string
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x404000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x401556

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
push eax
mov eax, 0x1038
call fcn.00403b58
sub esp, eax
mov esi, edx
lea edi, [ebp - 0x1018]
mov eax, dword [esp + eax]
mov dword [esp], 0
mov ebx, eax
call dword [sym.imp.kernel32.dll_GetModuleHandleW]
sub esp, 4
mov dword [esp + 0xc], 0x800
mov dword [esp + 8], edi
mov dword [esp + 4], 0x67
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadStringW]
sub esp, 0x10
test eax, eax
jne 0x401611
test byte [section..data], 2
jne 0x4016cf
mov eax, edi
call sym._output
mov eax, 0x405046
call sym._output
lea eax, [ebp - 0x1020]
mov dword [ebp - 0x1020], esi
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x101c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp], 0x3100
call dword [sym.imp.kernel32.dll_FormatMessageW]
sub esp, 0x1c
test eax, eax
jne 0x4016a8
test byte [section..data], 2
jne 0x401682
mov dword [esp], 1
call dword [sym.imp.kernel32.dll_ExitProcess]
mov dword [esp + 0xc], str.FormatMessage_failed_n
mov dword [esp + 8], str.fatal_error
mov dword [esp + 4], 0x404000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x401675
mov eax, dword [ebp - 0x101c]
call sym._output
mov eax, dword [ebp - 0x101c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_LocalFree]
push eax
mov eax, 0x405062
call sym._output
jmp 0x401675
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x34]
mov dword [esp + 0xc], str.LoadString_failed__error__ld_n
mov dword [esp + 8], str.fatal_string_error
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x404000
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0
jmp 0x401611
Function at 0x402ff0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x40304b
cmp byte [esi + ebx - 1], 0xa
je 0x40301f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x4070a4], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x403ab0
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_wide_argv
call sym.__initialize_wide_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___wargv
mov edi, dword [eax]
call sym.__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._wmain
mov dword [esp], eax
call sym._exit
nop
nop
Function at 0x421150
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x419015
lea edi, [esi - 0x18015]
mov dword [edi + 0x1bc18], 0x20589a00
push edi
or ebp, 0xffffffff
jmp 0x42117a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x421181
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x421170
mov eax, 1
add ebx, ebx
jne 0x421193
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x421188
jne 0x4211a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x421188
xor ecx, ecx
sub eax, 3
jb 0x4211b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42122a
mov ebp, eax
add ebx, ebx
jne 0x4211c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4211d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4211f4
inc ecx
add ebx, ebx
jne 0x4211e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4211d5
jne 0x4211f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4211d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x421214
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x421205
jmp 0x421176
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x421214
add edi, ecx
jmp 0x421176
pop esi
mov edi, esi
mov ecx, 0x616
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x421232
cmp byte [edi], 4
jne 0x421232
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x421237
lea edi, [esi + 0x1f000]
mov eax, dword [edi]
or eax, eax
je 0x4212a6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x21000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x21080]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x421264
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x21088]
or eax, eax
je 0x4212a0
mov dword [ebx], eax
add ebx, 4
jmp 0x421281
call dword [esi + 0x21084]
mov ebp, dword [esi + 0x2108c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x21301]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4212f2
sub esp, 0xffffff80
jmp 0x401280
Function at 0x1000c1ee
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10024db8]
jne 0x1000c1f8
repz ret
jmp fcn.1000e36a

Function at 0x1000f7af
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1000c26f
and dword [ebp - 4], 0
cmp dword [0x100260e8], 0
mov ebx, eax
jne 0x1000f860
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000f911
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x1000f911
push eax
call fcn.1000c1fd
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x100260e8], eax
call esi
push eax
call fcn.1000c1fd
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x100260ec], eax
call esi
push eax
call fcn.1000c1fd
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x100260f0], eax
call esi
push eax
call fcn.1000c1fd
pop ecx
mov dword [0x100260f8], eax
test eax, eax
je 0x1000f860
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1000c1fd
pop ecx
mov dword [0x100260f4], eax
mov eax, dword [0x100260f4]
cmp eax, ebx
je 0x1000f8b8
cmp dword [0x100260f8], ebx
je 0x1000f8b8
push eax
call fcn.1000c278
push dword [0x100260f8]
mov esi, eax
call fcn.1000c278
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000f8b8
test edi, edi
je 0x1000f8b8
call esi
test eax, eax
je 0x1000f8af
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000f8af
test byte [ebp - 0xc], 1
jne 0x1000f8b8
or dword [ebp + 0x10], 0x200000
jmp 0x1000f8f1
mov eax, dword [0x100260ec]
cmp eax, ebx
je 0x1000f8f1
push eax
call fcn.1000c278
pop ecx
test eax, eax
je 0x1000f8f1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000f8f1
mov eax, dword [0x100260f0]
cmp eax, ebx
je 0x1000f8f1
push eax
call fcn.1000c278
pop ecx
test eax, eax
je 0x1000f8f1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x100260e8]
call fcn.1000c278
pop ecx
test eax, eax
je 0x1000f911
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000f913
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100116b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov eax, dword [0x10024738]
add eax, 0x1b0d
mov dword [0x10024734], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x3c]
mov dword [ebp - 4], eax
mov eax, dword [0x10024734]
sub eax, 0x26d
mov dword [0x10024734], eax
mov dword [ebp - 0x10], 0
jmp 0x10011743
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x16]
cmp eax, 0x61
je 0x100117a4
jmp 0x1001173e
mov eax, dword [ebp - 0xc]
add esp, 0x10
pop ebp
ret
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x10]
cmp eax, 0x6c
je 0x100117e7
jmp 0x10011809
jmp 0x10011769
jmp 0x10011809
jmp 0x10011812
cmp dword [ebp - 0x10], 0x104
jge 0x10011776
mov dword [0x10024738], 0xb09
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2]
cmp eax, 0
jne 0x10011737
jmp 0x10011776
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x10011743
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
movzx eax, word [ecx + eax*2 - 0x1a]
cmp eax, 0x6c
jne 0x10011812
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x18]
cmp eax, 0x6f
je 0x100116fc
jmp 0x1001173e
mov eax, dword [0x10024738]
sub eax, 0x27d
mov dword [0x10024734], eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x14]
cmp eax, 0x64
jne 0x1001180d
mov dword [0x10024738], 0xd6f
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
movzx eax, word [eax + ecx*2 - 0x12]
cmp eax, 0x64
je 0x1001171c
jmp 0x1001180b
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
movzx eax, word [ecx + eax*2 - 0xe]
cmp eax, 0x6c
jne 0x10011739
mov dword [ebp - 0xc], 1
jmp 0x10011714
jmp 0x1001180b
jmp 0x1001180d
jmp 0x10011712
mov dword [ebp - 0xc], 0
jmp 0x10011714

Function at 0x10011b70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [fcn.10011b70]
mov dword [ebp - 4], eax
jmp 0x10011bb3
mov eax, dword [0x10024734]
add eax, 0x1c7d
mov dword [0x10024738], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
add esp, 8
pop ebp
ret
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
je 0x10011bc2
jmp 0x10011bca
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x10011b9f
jmp 0x10011bcc
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
jmp 0x10011b97
jmp 0x10011bcc
mov eax, dword [ebp - 4]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 4], eax
mov dword [0x10024734], 0x6b9
mov al, 1
test al, 1
jne 0x10011bb3
jmp 0x10011b81
Function at 0x4018e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4018f9
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401934
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x401930
lea ebx, [ebx]
cmp esi, edx
jae 0x401934
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x401920
cmp esi, edx
jb 0x40193b
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret