joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423150
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45499b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x474850]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
mov dword [esi], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x10]
lea ecx, [esi + 0x10]
mov dword [esi + 8], eax
mov dword [esi + 0xc], 0
mov dword [ecx], 0
mov byte [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov byte [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov byte [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov byte [ecx + 0x34], 0
mov dword [ebp - 4], 0
push dword [esi]
mov edx, dword [esi + 8]
push dword [esi + 0xc]
push dword [esi + 4]
push dword [esi]
call fcn.00422d70
add esp, 0x10
test al, al
mov eax, esi
jne 0x423212
mov dword [esi + 8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x423270
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4548be
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x474850]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x10]
mov dword [edi], 0
push eax
push 0
lea ecx, [edi + 4]
mov dword [ebp - 0x10], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.004236b0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
mov dword [edi + 0x20], 0
push eax
push 0
lea ecx, [edi + 0x24]
mov dword [ebp - 0x10], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.004236b0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
je 0x423398
test dl, 0x10
jne 0x423398
mov eax, 1
jmp 0x42339a
xor eax, eax
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
push dword [esi + 0x18]
call fcn.00423530
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x54a72b
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jge 0x54a74d
mov eax, 0xfffffffd
jmp 0x54a7c5
mov ebx, dword [0x5bc541]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x54a793
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x5bc541]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x54a7bb
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x54a7c5
mov esp, ebp
pop ebp
ret 4

Function at 0x550498
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov ecx, dword fs:[0x30]
mov al, byte [ecx + 2]
leave
ret
Function at 0x5caa70
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x5caa8e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x5caa83
pop esi
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x7e37403c
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x391e1f02
nop
nop
nop
nop
test eax, eax
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x508734
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.005087b3
jae 0x508740
xor ecx, ecx
call fcn.005087b3
jae 0x50876a
xor eax, eax
call fcn.005087b3
jae 0x50877b
mov al, 0x10
call fcn.005087b3
adc al, al
jae 0x50875c
jne 0x5087a8
stosb byte es:[edi], al
jmp 0x508741
call fcn.005087bf
dec ecx
loop 0x508787
mov eax, ebp
call fcn.005087bd
jmp 0x5087a9
lodsb al, byte [esi]
shr eax, 1
je 0x5087cf
adc ecx, 2
mov ebp, eax
jmp 0x5087a9
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.005087bd
cmp eax, 0x7d00
jae 0x5087a7
cmp eax, 0x500
jae 0x5087a8
cmp eax, 0x7f
ja 0x5087a9
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x508741
pop ebp
ret 8
Function at 0x401a22
Capabilities:
Hide graphical window

Disassembly:
mov ecx, 0xfffffffe
jmp fcn.0040161c

Function at 0x401010
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 7
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 9
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0xa
mov dword [ebp - 4], edx
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x23123f00
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
nop
mov ebx, 0x42cd70
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x4ae9722a
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4010e0
Capabilities:
Encode data using xor
Encrypt data using xtea

Disassembly:
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [eax]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push edi
mov edi, dword [eax + 4]
mov esi, 0xc6ef3720
mov edx, esi
mov eax, ebx
shr eax, 5
mov ecx, ebx
shl ecx, 4
xor eax, ecx
shr edx, 0xb
and edx, 3
mov ecx, dword [edx*4 + 0x40925c]
add eax, ebx
add ecx, esi
xor eax, ecx
sub edi, eax
call ebp
add esi, 0x61c88647
mov edx, edi
shr edx, 5
mov eax, edi
shl eax, 4
xor edx, eax
mov ecx, esi
and ecx, 3
mov eax, dword [ecx*4 + 0x40925c]
add edx, edi
add eax, esi
xor edx, eax
sub ebx, edx
test esi, esi
jne 0x4010f8
mov eax, dword [esp + 0x14]
mov dword [eax + 4], edi
pop edi
pop esi
pop ebp
mov dword [eax], ebx
pop ebx
ret
Function at 0x401160
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x52c
mov eax, dword [0x40a004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetDesktopWindow]
push edi
mov edi, dword [sym.imp.USER32.dll_GetClassNameA]
mov byte [ebp - 0x4d0], 0
call esi
push 0x400
lea ecx, [ebp - 0x4d0]
push ecx
push eax
mov dword [0x40b728], eax
call edi
lea eax, [ebp - 0x4d0]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4011a8
sub eax, edx
cmp eax, 2
jbe 0x401182
push 0xf9060
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, 0x40c410
mov dword [ebp - 0x4dc], eax
mov ecx, eax
sub edx, eax
mov edi, 0x4500
lea esp, [esp]
mov esi, dword [edx + ecx]
mov dword [ecx], esi
add ecx, 4
sub edi, 1
jne 0x4011e0
xor ebx, ebx
nop
cmp ebx, 0x15f90
jge 0x4012a1
mov ecx, 0xb
mov esi, str.hudusia_cyuia_cxn_498374_d0982_dsopa8a_4zeh
lea edi, [ebp - 0xd0]
rep movsd dword es:[edi], dword [esi]
lea edx, [ebp - 0x528]
movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessIoCounters]
mov eax, 0x88888889
imul ebx
add edx, ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov ecx, eax
shl ecx, 4
sub ecx, eax
mov edx, ebx
sub edx, ecx
movsx ecx, byte [ebp + edx - 0xd0]
lea esi, [ebp + edx - 0xd0]
mov eax, 0x88888889
mul ecx
shr edx, 3
mov eax, edx
shl eax, 4
sub eax, edx
sub ecx, eax
mov cl, byte [ebp + ecx - 0xd0]
lea edx, [ebp - 0x4d8]
push edx
lea eax, [ebp - 0x4ec]
mov byte [esi], cl
push eax
lea ecx, [ebp - 0x4e4]
push ecx
lea edx, [ebp - 0x4f4]
push edx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov eax, dword [ebp - 0x4dc]
add ebx, 1
jmp 0x4011f0
lea esi, [eax + 6]
mov edi, 0x1e849
lea esp, [esp]
movzx ecx, byte [esi - 6]
movzx eax, byte [esi - 5]
movzx edx, byte [esi - 4]
shl ecx, 8
add eax, ecx
movzx ecx, byte [esi - 3]
shl eax, 8
add eax, edx
movzx edx, byte [esi - 1]
shl eax, 8
add eax, ecx
movzx ecx, byte [esi]
mov dword [ebp - 0x4d8], eax
movzx eax, byte [esi - 2]
shl eax, 8
add edx, eax
movzx eax, byte [esi + 1]
shl edx, 8
add edx, ecx
shl edx, 8
lea ecx, [ebp - 0x4d8]
add edx, eax
push ecx
mov dword [ebp - 0x4d4], edx
call fcn.004010e0
mov eax, dword [ebp - 0x4d8]
movzx ecx, byte [ebp - 0x4d6]
movzx edx, al
shl edx, 8
movzx eax, ah
add edx, eax
movzx eax, byte [ebp - 0x4d5]
shl edx, 8
add edx, ecx
shl edx, 8
add edx, eax
mov eax, dword [ebp - 0x4d4]
mov dword [esi - 6], edx
movzx ecx, al
shl ecx, 8
movzx edx, ah
movzx eax, byte [ebp - 0x4d2]
add ecx, edx
movzx edx, byte [ebp - 0x4d1]
shl ecx, 8
add ecx, eax
shl ecx, 8
add ecx, edx
mov dword [esi - 2], ecx
add esp, 4
add esi, 8
sub edi, 1
jne 0x4012b0
call dword [ebp - 0x4dc]
push edi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x40137a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40a004]
jne 0x401384
repz ret
jmp fcn.004015d8
Function at 0x401a43
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 + 0x40a010]
je 0x401a5e
inc edi
cmp edi, 0x17
jb 0x401a4f
cmp edi, 0x17
jae 0x401bde
push ebp
push 3
call fcn.00403ac0
cmp eax, 1
pop ecx
je 0x401baa
push 3
call fcn.00403ac0
test eax, eax
pop ecx
jne 0x401a92
cmp dword [section..data], 1
je 0x401baa
cmp ebx, 0xfc
je 0x401bdd
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x40b040
push ebp
call fcn.00403a5b
add esp, 0xc
test eax, eax
je 0x401ac8
push esi
push esi
push esi
push esi
push esi
call fcn.00402fbd
add esp, 0x14
push 0x104
mov esi, 0x40b059
push esi
push 0
mov byte [0x40b15d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x401b0c
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00403a5b
add esp, 0xc
test eax, eax
je 0x401b0c
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00402fbd
add esp, 0x14
push esi
call fcn.004039d0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x401b51
push esi
call fcn.004039d0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x40b354
push 0x40871c
sub ecx, eax
push ecx
push eax
call fcn.00403912
add esp, 0x14
test eax, eax
je 0x401b51
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00402fbd
add esp, 0x14
jmp 0x401b53
xor esi, esi
push 0x408718
push ebx
push ebp
call fcn.004038a1
add esp, 0xc
test eax, eax
je 0x401b73
push esi
push esi
push esi
push esi
push esi
call fcn.00402fbd
add esp, 0x14
push dword [edi*8 + 0x40a014]
push ebx
push ebp
call fcn.004038a1
add esp, 0xc
test eax, eax
je 0x401b95
push esi
push esi
push esi
push esi
push esi
call fcn.00402fbd
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004036e4
add esp, 0xc
jmp 0x401bdd
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x401bdd
cmp ebp, 0xffffffff
je 0x401bdd
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x40a014]
push dword [esi]
call fcn.004039d0
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 0x4036e4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040259b
xor ebx, ebx
cmp dword [0x40b600], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4037ba
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x40389a
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x40389a
push eax
call fcn.0040252d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b600], eax
call esi
push eax
call fcn.0040252d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b604], eax
call esi
push eax
call fcn.0040252d
mov dword [0x40b608], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004017d0
test eax, eax
pop ecx
pop ecx
je 0x403788
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402fbd
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4037ba
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040252d
cmp eax, ebx
pop ecx
mov dword [0x40b610], eax
je 0x4037ba
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040252d
pop ecx
mov dword [0x40b60c], eax
mov eax, dword [0x40b60c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x40383f
cmp dword [0x40b610], ecx
je 0x40383f
push eax
call fcn.004025a4
push dword [0x40b610]
mov esi, eax
call fcn.004025a4
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x40383f
cmp edi, ebx
je 0x40383f
call esi
cmp eax, ebx
je 0x40380c
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40380c
test byte [ebp - 0x18], 1
jne 0x40383f
lea eax, [ebp - 0x10]
push eax
call fcn.00401807
test eax, eax
pop ecx
je 0x403827
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402fbd
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x403836
or dword [ebp + 0x10], 0x200000
jmp 0x40387a
or dword [ebp + 0x10], 0x40000
jmp 0x40387a
mov eax, dword [0x40b604]
cmp eax, dword [ebp - 8]
je 0x40387a
push eax
call fcn.004025a4
cmp eax, ebx
pop ecx
je 0x40387a
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40387a
mov eax, dword [0x40b608]
cmp eax, dword [ebp - 8]
je 0x40387a
push eax
call fcn.004025a4
cmp eax, ebx
pop ecx
je 0x40387a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b600]
call fcn.004025a4
cmp eax, ebx
pop ecx
je 0x40389a
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40389c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401000
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 0x401029
mov al, byte [esi + 1]
inc esi
test al, al
je 0x401021
cmp al, 0x22
jne 0x401015
cmp byte [esi], 0x22
jne 0x401033
inc esi
jmp 0x401033
cmp al, 0x20
jle 0x401033
inc esi
cmp byte [esi], 0x20
jg 0x40102d
mov al, byte [esi]
test al, al
je 0x40103d
cmp al, 0x20
jle 0x401026
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.00402aca
push 0x404004
push section..data
call fcn.00402ab0
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x40106d
movzx eax, word [ebp - 0x14]
jmp 0x401070
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.00402ae2
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4012a0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x404280], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.trast
push str.bask
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4012e8
xor eax, eax
jmp 0x401303
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x401320
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [0x404169], eax
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push 0
push 0x80000000
push 0
push 0x80000000
push 0xcf0000
push str.trast
push str.bask
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401368
xor eax, eax
jmp 0x401383
push 0
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x402630
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
jmp fcn.0040263d
Function at 0x410e10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.fHUBmpzJ
lea edi, [esi - 0xd000]
push edi
or ebp, 0xffffffff
jmp 0x410e32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x410e39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x410e28
mov eax, 1
add ebx, ebx
jne 0x410e4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x410e40
jne 0x410e5c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x410e40
xor ecx, ecx
sub eax, 3
jb 0x410e70
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x410ee2
mov ebp, eax
add ebx, ebx
jne 0x410e7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x410e88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x410eac
inc ecx
add ebx, ebx
jne 0x410e98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x410e8d
jne 0x410ea9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x410e8d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x410ecc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x410ebd
jmp 0x410e2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x410ecc
add edi, ecx
jmp 0x410e2e
pop esi
mov edi, esi
mov ecx, 0x1fd
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x410eea
cmp byte [edi], 1
jne 0x410eea
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 0x410eef
lea edi, [esi + 0xe000]
mov eax, dword [edi]
or eax, eax
je 0x410f5e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x100b0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x10108]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x410f1c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x10110]
or eax, eax
je 0x410f58
mov dword [ebx], eax
add ebx, 4
jmp 0x410f39
call dword [esi + 0x1010c]
mov ebp, dword [esi + 0x10114]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x410f92
sub esp, 0xffffff80
jmp 0x405884

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403e6a
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x431030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219