joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42503a
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc10
mov eax, dword [0x42e004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push edi
xor edi, edi
cmp dword [ebp + 0xc], 0x19f
mov dword [ebp - 0xc08], eax
jne 0x42506a
push edi
call dword [sym.imp.KERNEL32.dll_GetNumaHighestNodeNumber]
xor ebx, ebx
cmp dword [ebp + 0xc], edi
jle 0x4250eb
push esi
lea esi, [ebp - 0xc0c]
mov dword [ebp - 0xc0c], edi
call fcn.0042502f
mov eax, dword [ebp - 0xc08]
mov cl, byte [ebp - 0xc0c]
add eax, ebx
xor byte [eax], cl
cmp dword [ebp + 0xc], 0xf
jne 0x4250e4
push edi
push dword [ebp - 0xc08]
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
lea eax, [ebp - 0xc10]
push eax
lea eax, [ebp - 0xc04]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
push str.nejoluvipemizevowat
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoA]
push str.rivarixux_lofoxu_hexekavoga_fucuwotahokariz
push edi
push edi
call dword [sym.imp.KERNEL32.dll_OpenJobObjectA]
push edi
lea eax, [ebp - 0x404]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
inc ebx
cmp ebx, dword [ebp + 0xc]
jl 0x425072
pop esi
cmp dword [ebp + 0xc], 0x2d
pop edi
pop ebx
jne 0x425104
or dword [0x43e764], 0xffffffff
mov dword [0x43e760], 0xa62e7790
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401006
leave
ret
Function at 0x7741a650
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x7741a68e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x7741a686
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x7741a690
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x7741a676
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x7741a760
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x7741a791
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x7741a791
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x7741a791
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x77421316
Capabilities:
Encode data using xor

Disassembly:
call 0x7742128f
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x774212bf
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x774212db
xor edx, 0
jmp 0x774212e6
xor edx, edx
jmp 0x774212fd
jmp 0x77421309
xor eax, eax
push 0x8427d7c0
call 0x77421316
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x77421352
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x7742132b
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x77421369
add eax, 0
jno 0x7742136e
add esi, 0
ret 0x10
Function at 0x774262d2
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x7742621b
add ebx, 0
push ecx
call 0x77426230
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6db8d159
sub ebx, dword [0x6dbac998]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6dbac988
call fcn.77421cfa
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.77421208
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x7742638e
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x7742638e
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x77426345
mov eax, 1
lock xchg dword [0x6dbac994], eax
push 0x3dd1fc71
call 0x774262d2
push esi
add esp, 8
cmp eax, 0
jne 0x774262bb
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x774262e1
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x774262f6
cmp ecx, edx
cmp eax, 0
je 0x7742631b
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x77426305
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.77426334
dec eax
loope 0x77426337
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6dbac994], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x7742636b
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x77426380
jmp 0x7742638b
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x77426279
Function at 0x7742d3f3
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x7742d6c9
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6db9960c
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6db905d2
push 0xffffffffffffffff
call fcn.774245f3
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x7742d45d
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.7742d475
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x7742d6bd
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x7742d691
Function at 0x4af4d8
Capabilities:
Shutdown system

Disassembly:
add esp, 0xffffffec
call fcn.0041ff44
cmp eax, 2
jne 0x4af540
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
jne 0x4af4fb
xor eax, eax
jmp 0x4af54f
lea eax, [esp + 8]
push eax
push 0x4af554
push 0
call sub.advapi32.dll_LookupPrivilegeValueW
mov dword [esp + 4], 1
mov dword [esp + 0x10], 2
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
call sub.kernel32.dll_GetLastError
test eax, eax
je 0x4af540
xor eax, eax
jmp 0x4af54f
push 0
push 2
call sub.user32.dll_ExitWindowsEx
cmp eax, 1
sbb eax, eax
inc eax
add esp, 0x14
ret

Function at 0x4af57c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x4af5d6
inc esi
xor edi, edi
cmp edi, 1
jne 0x4af5a2
mov eax, dword [ebp + 0xc]
push eax
call fcn.00420ad8
jmp 0x4af5b0
cmp edi, 1
jle 0x4af5b0
mov eax, dword [ebp + 8]
push eax
call fcn.00420ad8
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0042729c
test eax, eax
jne 0x4af5d6
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x4af5d6
call sub.kernel32.dll_GetLastError
cmp eax, 3
je 0x4af5d6
inc edi
dec esi
jne 0x4af592
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x4af5e0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
movzx eax, bx
push eax
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x4af604
mov eax, dword [ebp - 4]
jmp 0x4af607
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret
Function at 0x407280
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4491f8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x462014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov edx, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
push 1
push 0x458e20
call fcn.004195e0
add esp, 8
xor edx, edx
test al, al
mov ecx, 5
cmove ecx, edx
mov edx, str.runas
push ecx
mov ecx, 0x45816b
cmovne ecx, edx
push ecx
lea ecx, [ebp + 8]
call fcn.00418170
cmp dword [ebp + 0x4c], 0x10
lea edx, [ebp + 0x38]
push 0
cmovae edx, dword [ebp + 0x38]
lea ecx, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 8]
push 0
cmovae ecx, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 0x10
push edx
cmovae eax, dword [ebp + 8]
push ecx
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov edx, dword [ebp + 0x1c]
mov esi, eax
mov dword [0x46852c], esi
cmp edx, 0x10
jb 0x407356
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40734c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073ec
push edx
push ecx
call fcn.0041d7d5
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x407398
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40738e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073ec
push edx
push ecx
call fcn.0041d7d5
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x4073da
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4073d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4073ec
push edx
push ecx
call fcn.0041d7d5
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00436dda
int3
Function at 0x40b920
Capabilities:
Schedule task via itaskscheduler

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4498c0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x462014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
add eax, ecx
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
cmovae ecx, dword [ebp + 8]
push ecx
push eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00418680
mov byte [ebp - 4], 1
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push 0
cmovae esi, dword [ebp - 0x28]
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
js 0x40b9b7
lea eax, [ebp - 0x2c]
push eax
push 0x459064
push 1
push 0
push 0x459054
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x40ba37
call dword [sym.imp.ole32.dll_CoUninitialize]
xor esi, esi
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40b9f3
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40b9e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40baba
push edx
push ecx
call fcn.0041d7d5
add esp, 8
mov edx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 0x10
jb 0x40ba9e
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ba94
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40baba
jmp 0x40ba94
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x30]
push edx
push 0x4590e8
push 0x458f40
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x20]
test eax, eax
jns 0x40b9b7
cmp eax, 0x80070050
jne 0x40b9b7
mov eax, dword [ebp - 0x2c]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jns 0x40ba84
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x40b9b7
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, 1
jmp 0x40b9b9
push edx
push ecx
call fcn.0041d7d5
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d163
mov esp, ebp
pop ebp
ret
call fcn.00436dda
int3
Function at 0x401e10
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x4042d8
call fcn.00401f7c
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x405478
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x401bd1
cmp eax, esi
jne 0x401bc4
xor esi, esi
inc esi
mov ebx, esi
jmp 0x401bd4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401bab
xor esi, esi
inc esi
mov eax, dword [0x405474]
cmp eax, esi
jne 0x401be7
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x401c16
mov eax, dword [0x405474]
test eax, eax
jne 0x401c10
mov dword [0x405474], esi
push 0x4030e4
push 0x4030d8
call fcn.00401b1a
pop ecx
pop ecx
test eax, eax
je 0x401c16
jmp 0x401d3e
mov dword [0x40513c], esi
mov eax, dword [0x405474]
cmp eax, esi
jne 0x401c3a
push 0x4030d4
push 0x4030cc
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x405474], 2
test ebx, ebx
jne 0x401c46
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x40547c], 0
je 0x401c6a
push 0x40547c
call fcn.00401f04
pop ecx
test eax, eax
je 0x401c6a
push 0
push 2
push 0
call dword [0x40547c]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x401cc6
test al, al
je 0x401c84
cmp dword [ebp - 0x1c], 0
jne 0x401cc6
mov al, byte [esi]
test al, al
je 0x401c94
cmp al, 0x20
ja 0x401c94
inc esi
mov dword [ebp - 0x20], esi
jmp 0x401c84
test byte [ebp - 0x3c], 1
je 0x401ca0
movzx eax, word [ebp - 0x38]
jmp 0x401ca3
push 0xa
pop eax
push eax
push esi
push 0
push 0x400000
call main
mov dword [0x405138], eax
cmp dword [0x40512c], 0
jne 0x401d1a
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x401cd5
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x401ce8
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x401c71
cmp dword [0x40513c], 0
jne 0x401d29
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x405138]
jmp 0x401d4a
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.00401fc1
ret
call fcn.004020ab
jmp 0x401b71

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x5a8962b2
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0x54c574eb
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x402420
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x108
mov eax, dword [0x40f0d4]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push esi
mov esi, dword [esp + 0x114]
push 0xff
lea eax, [esp + 0x10]
push eax
xor ebx, ebx
push str.ALTUSERNAME
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x402484
push 0x10
push str.Error_
push str.Is_the_program_protected_
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
push 0x40c39c
jmp 0x4024a9
lea eax, [esp + 0xc]
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov byte [esi + 4], bl
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x402498
sub eax, edx
push eax
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.00401890
mov ecx, dword [esp + 0x10c]
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.00402f88
add esp, 0x108
ret

Function at 0x402f88
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40f0d4]
jne 0x402f92
repz ret
jmp fcn.004052ec
Function at 0x405a2d
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x40f2a0]
je 0x405a48
inc edi
cmp edi, 0x17
jb 0x405a39
cmp edi, 0x17
jae 0x405bc8
push ebp
push 3
call fcn.00409689
cmp eax, 1
pop ecx
je 0x405b94
push 3
call fcn.00409689
test eax, eax
pop ecx
jne 0x405a7c
cmp dword [0x40f0dc], 1
je 0x405b94
cmp ebx, 0xfc
je 0x405bc7
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x410470
push ebp
call fcn.004032f4
add esp, 0xc
test eax, eax
je 0x405ab2
push esi
push esi
push esi
push esi
push esi
call fcn.004029c4
add esp, 0x14
push 0x104
mov esi, 0x410489
push esi
push 0
mov byte [0x41058d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x405af6
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.004032f4
add esp, 0xc
test eax, eax
je 0x405af6
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004029c4
add esp, 0x14
push esi
call fcn.00403200
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x405b3b
push esi
call fcn.00403200
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x410784
push 0x40cafc
sub ecx, eax
push ecx
push eax
call fcn.004095d6
add esp, 0x14
test eax, eax
je 0x405b3b
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004029c4
add esp, 0x14
jmp 0x405b3d
xor esi, esi
push 0x40caf8
push ebx
push ebp
call fcn.00409565
add esp, 0xc
test eax, eax
je 0x405b5d
push esi
push esi
push esi
push esi
push esi
call fcn.004029c4
add esp, 0x14
push dword [edi*8 + 0x40f2a4]
push ebx
push ebp
call fcn.00409565
add esp, 0xc
test eax, eax
je 0x405b7f
push esi
push esi
push esi
push esi
push esi
call fcn.004029c4
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004093a8
add esp, 0xc
jmp 0x405bc7
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x405bc7
cmp ebp, 0xffffffff
je 0x405bc7
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x40f2a4]
push dword [esi]
call fcn.00403200
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4093a8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00403f31
xor ebx, ebx
cmp dword [0x410aa0], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x40947e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40955e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40d3bc
push edi
call esi
cmp eax, ebx
je 0x40955e
push eax
call fcn.00403ec3
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x410aa0], eax
call esi
push eax
call fcn.00403ec3
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x410aa4], eax
call esi
push eax
call fcn.00403ec3
mov dword [0x410aa8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004057ba
test eax, eax
pop ecx
pop ecx
je 0x40944c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004029c4
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x40947e
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00403ec3
cmp eax, ebx
pop ecx
mov dword [0x410ab0], eax
je 0x40947e
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403ec3
pop ecx
mov dword [0x410aac], eax
mov eax, dword [0x410aac]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x409503
cmp dword [0x410ab0], ecx
je 0x409503
push eax
call fcn.00403f3a
push dword [0x410ab0]
mov esi, eax
call fcn.00403f3a
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x409503
cmp edi, ebx
je 0x409503
call esi
cmp eax, ebx
je 0x4094d0
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4094d0
test byte [ebp - 0x18], 1
jne 0x409503
lea eax, [ebp - 0x10]
push eax
call fcn.004057f1
test eax, eax
pop ecx
je 0x4094eb
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004029c4
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4094fa
or dword [ebp + 0x10], 0x200000
jmp 0x40953e
or dword [ebp + 0x10], 0x40000
jmp 0x40953e
mov eax, dword [0x410aa4]
cmp eax, dword [ebp - 8]
je 0x40953e
push eax
call fcn.00403f3a
cmp eax, ebx
pop ecx
je 0x40953e
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40953e
mov eax, dword [0x410aa8]
cmp eax, dword [ebp - 8]
je 0x40953e
push eax
call fcn.00403f3a
cmp eax, ebx
pop ecx
je 0x40953e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x410aa0]
call fcn.00403f3a
cmp eax, ebx
pop ecx
je 0x40955e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409560
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d7a
sub eax, 0x403d20
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219