joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100011a3
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], esp
push 0
xor eax, eax
call dword [0x115ed2d7]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x100011ef
push 0
push 0x40100dc
push 6
call fcn.10002f1a
add esp, 0xc
mov dword [ebp - 4], 0
push 0
mov ebx, 0x104
call fcn.100032e0
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], esp
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x10001237
push 0x4b
push 0x40100dc
push 6
call fcn.10002f1a
add esp, 0xc
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10001247
push ebx
call fcn.10002f14
add esp, 4
call fcn.100013eb
call fcn.100014d1
and eax, 1
xor eax, 1
test eax, eax
je 0x100013a4
push 1
push 0
call fcn.100017a3
mov eax, 0x100152d0
test eax, eax
je 0x10001287
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.10002f0e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x115ed2cb]
test ebx, ebx
je 0x1000129b
push ebx
call fcn.10002f14
add esp, 4
pop eax
mov dword [0x115ed2cb], eax
mov eax, 0x1134ef43
test eax, eax
je 0x100012bd
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.10002f0e
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x115ed2cf]
test ebx, ebx
je 0x100012d1
push ebx
call fcn.10002f14
add esp, 4
pop eax
mov dword [0x115ed2cf], eax
call fcn.10001823
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100012f3
push ebx
call fcn.10002f14
add esp, 4
pop eax
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x115ed2d3
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x10001376
push 8
call fcn.10002f0e
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x115a45fc
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, 0x115a4604
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push 0x115ed2d3
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x14]
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10001363
push ebx
call fcn.10002f14
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.10002f14
add esp, 4
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], esp
xor eax, eax
call dword [0x115ed2db]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1000139f
push 0x23b
push 0x40100dc
push 6
call fcn.10002f1a
add esp, 0xc
call fcn.10002555
call fcn.10002590
mov dword [ebp - 0x10], esp
xor eax, eax
call dword [0x115ed2db]
nop
nop
cmp dword [ebp - 0x10], esp
je 0x100013d2
push 0x289
push 0x40100dc
push 6
call fcn.10002f1a
add esp, 0xc
jmp 0x100013d7
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x100013e7
push ebx
call fcn.10002f14
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x1000259f
Capabilities:
Check for trap flag exception

Disassembly:
push dword fs:[0]
mov dword fs:[0], esp
pushfd
or dword [esp], 0x100
popfd
clc
call fcn.100025c4

Function at 0x10003710
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
cmp edx, 1
jle 0x1000372e
push esi
lea ecx, [esp + 0x18]
dec edx
mov esi, dword [ecx]
add ecx, 0xc
xor eax, esi
dec edx
jne 0x10003723
pop esi
ret
Function at 0x4269cd
Capabilities:
Set file attributes

Disassembly:
sub esp, 0x804
mov eax, dword [0x42c0d0]
xor eax, esp
mov dword [esp + 0x800], eax
push esi
push edi
mov edi, 0x13ba1f
xor esi, esi
cmp dword [0x42de24], 0xbf9
jne 0x4269fd
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
cmp dword [0x42de24], 0x3dc
mov dword [0x42de18], 0x8e55ceaa
jne 0x426a2c
push esi
push str.casoporiyowakokerema_cowefuhikofotulujayi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push str.nowunahojogelepulexiyevoxunizome_vil_texoce
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenWaitableTimerA]
dec edi
jne 0x4269ea
cmp esi, 0x8465cd
jne 0x426a46
mov eax, dword [0x42ce00]
add eax, 0xa231
mov dword [0x42de24], eax
cmp dword [0x42de24], 0x141
jne 0x426a73
push str.wucusipeyekexe_zelisapecuyozabozecaxufer_miweyumeriwosizupuyubahu_regorekuzet_begazixezibunodumekacefasuhato
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
or dword [0x42daec], 0xffffffff
mov dword [0x42dae8], 0xec58acac
inc esi
cmp esi, 0x125483c
jl 0x426a2f
call fcn.00426664
mov ecx, dword [esp + 0x808]
pop edi
pop esi
xor ecx, esp
xor eax, eax
call fcn.00401a6e
add esp, 0x804
ret 0x10
Function at 0x6d901620
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 0x6d90167b
cmp byte [esi + ebx - 1], 0xa
je 0x6d90164f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x6d9080a4], 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 0x40e9ba
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
inc eax
mov cl, bl
cmp esi, eax
jbe 0x40e9d7
xor cl, byte [eax + edx]
inc eax
cmp eax, esi
jb 0x40e9cf
cmp cl, byte [edx]
jne 0x40ea12
push esi
push edx
push 0xffffffffffffffff
call fcn.004069ea
not eax
mov ecx, ebx
cmp dword [ecx + 0x442044], eax
jne 0x40e9f8
cmp dword [ecx + 0x442040], esi
je 0x40ea03
add ecx, 0xc
inc ebx
cmp ecx, 0x48
jb 0x40e9e8
jmp 0x40ea12
imul eax, ebx, 0xc
mov ecx, dword [eax + 0x442048]
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
pop esi
pop ebx
ret 0xc

Function at 0x410635
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ecx
push ecx
push ebx
push ebp
xor ebp, ebp
push edi
mov ecx, ebp
movzx eax, byte [ecx + 0x442098]
mov byte [eax + 0x4490f0], cl
inc ecx
cmp ecx, 0x100
jl 0x41063e
mov al, byte [ebp + 0x442098]
mov byte [esp + 0x10], al
push 2
push dword [esp + 0x14]
mov byte [ebp*4 + 0x449df1], al
mov byte [ebp*4 + 0x449df0], al
mov byte [ebp*4 + 0x4499f3], al
mov byte [ebp*4 + 0x4499f0], al
mov byte [ebp*4 + 0x4495f3], al
mov byte [ebp*4 + 0x4495f2], al
mov byte [ebp*4 + 0x4491f2], al
mov byte [ebp*4 + 0x4491f1], al
call fcn.00410eb8
push 3
push dword [esp + 0x14]
mov byte [ebp*4 + 0x449df3], al
mov byte [ebp*4 + 0x4499f2], al
mov byte [ebp*4 + 0x4495f1], al
mov byte [ebp*4 + 0x4491f0], al
call fcn.00410eb8
mov bl, byte [ebp + 0x4490f0]
push 0xb
mov byte [esp + 0x10], bl
push dword [esp + 0x10]
mov byte [ebp*4 + 0x449df2], al
mov byte [ebp*4 + 0x4499f1], al
mov byte [ebp*4 + 0x4495f0], al
mov byte [ebp*4 + 0x4491f3], al
call fcn.00410eb8
movzx edi, bl
push 9
push dword [esp + 0x10]
mov byte [ebp*4 + 0x44adf2], al
mov byte [ebp*4 + 0x44a9f1], al
mov byte [ebp*4 + 0x44a5f0], al
mov byte [ebp*4 + 0x44a1f3], al
mov byte [edi*4 + 0x44bdf2], al
mov byte [edi*4 + 0x44b9f1], al
mov byte [edi*4 + 0x44b5f0], al
mov byte [edi*4 + 0x44b1f3], al
call fcn.00410eb8
push 0xd
push dword [esp + 0x10]
mov byte [ebp*4 + 0x44adf0], al
mov byte [ebp*4 + 0x44a9f3], al
mov byte [ebp*4 + 0x44a5f2], al
mov byte [ebp*4 + 0x44a1f1], al
mov byte [edi*4 + 0x44bdf0], al
mov byte [edi*4 + 0x44b9f3], al
mov byte [edi*4 + 0x44b5f2], al
mov byte [edi*4 + 0x44b1f1], al
call fcn.00410eb8
push 0xe
push dword [esp + 0x10]
mov byte [ebp*4 + 0x44adf1], al
mov byte [ebp*4 + 0x44a9f0], al
mov byte [ebp*4 + 0x44a5f3], al
mov byte [ebp*4 + 0x44a1f2], al
mov byte [edi*4 + 0x44bdf1], al
mov byte [edi*4 + 0x44b9f0], al
mov byte [edi*4 + 0x44b5f3], al
mov byte [edi*4 + 0x44b1f2], al
call fcn.00410eb8
mov byte [ebp*4 + 0x44adf3], al
mov byte [ebp*4 + 0x44a9f2], al
mov byte [ebp*4 + 0x44a5f1], al
mov byte [ebp*4 + 0x44a1f0], al
inc ebp
mov byte [edi*4 + 0x44bdf3], al
mov byte [edi*4 + 0x44b9f2], al
mov byte [edi*4 + 0x44b5f1], al
mov byte [edi*4 + 0x44b1f0], al
cmp ebp, 0x100
jl 0x410654
pop edi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x410fac
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x30
mov eax, dword [0x44277c]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
push ebx
push ebp
push esi
mov ebp, ecx
push edi
push 0x20
push eax
mov esi, dword [ebp + 4]
lea eax, [esp + 0x24]
sub esi, 6
mov dword [esp + 0x18], ebp
push eax
mov dword [esp + 0x20], esi
call fcn.00424250
add esp, 0xc
xor ebx, ebx
xor edx, edx
xor edi, edi
test esi, esi
jle 0x411038
cmp ebx, dword [ebp + 4]
jg 0x411190
cmp edi, esi
jge 0x411025
lea ebp, [esp + 0x1c]
lea ebp, [ebp + edi*4]
cmp edx, 4
jge 0x411021
mov esi, dword [esp + 0x10]
lea ecx, [edx + ebx*4]
mov eax, dword [ebp]
inc edi
add ebp, 4
inc edx
mov dword [esi + ecx*4 + 0x18], eax
mov esi, dword [esp + 0x14]
cmp edi, esi
jl 0x411001
mov ebp, dword [esp + 0x10]
cmp edx, 4
jne 0x41102b
inc ebx
lea eax, [edx - 4]
neg eax
sbb eax, eax
and edx, eax
cmp edi, esi
jl 0x410fec
cmp ebx, dword [ebp + 4]
jg 0x411190
mov edi, 0x442198
movzx eax, byte [esp + esi*4 + 0x19]
mov cl, byte [esp + 0x1c]
xor cl, byte [eax + 0x442098]
mov byte [esp + 0x1c], cl
movzx eax, byte [esp + esi*4 + 0x1a]
mov al, byte [eax + 0x442098]
xor byte [esp + 0x1d], al
movzx eax, byte [esp + esi*4 + 0x1b]
mov al, byte [eax + 0x442098]
xor byte [esp + 0x1e], al
movzx eax, byte [esp + esi*4 + 0x18]
mov al, byte [eax + 0x442098]
xor byte [esp + 0x1f], al
mov al, byte [edi]
xor al, cl
inc edi
mov byte [esp + 0x1c], al
mov dword [esp + 0x18], edi
cmp esi, 8
je 0x4110c7
cmp esi, 1
jle 0x4110bb
lea ecx, [esp + 0x20]
lea ebp, [esi - 1]
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x4110a7
sub ebp, 1
jne 0x4110a4
mov ebp, dword [esp + 0x10]
xor edi, edi
test esi, esi
jle 0x411183
jmp 0x411137
push 3
lea ecx, [esp + 0x24]
pop ebp
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x4110d1
sub ebp, 1
jne 0x4110ce
movzx eax, byte [esp + 0x28]
lea ecx, [esp + 0x30]
push 3
pop ebp
mov al, byte [eax + 0x442098]
xor byte [esp + 0x2c], al
movzx eax, byte [esp + 0x29]
mov al, byte [eax + 0x442098]
xor byte [esp + 0x2d], al
movzx eax, byte [esp + 0x2a]
mov al, byte [eax + 0x442098]
xor byte [esp + 0x2e], al
movzx eax, byte [esp + 0x2b]
mov al, byte [eax + 0x442098]
xor byte [esp + 0x2f], al
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x411127
sub ebp, 1
jne 0x411124
mov eax, dword [esp + 0x10]
cmp ebx, dword [eax + 4]
jg 0x41117f
cmp edi, esi
jge 0x41116c
lea ebp, [esp + 0x1c]
lea ebp, [ebp + edi*4]
cmp edx, 4
jge 0x41116f
mov esi, dword [esp + 0x10]
lea ecx, [edx + ebx*4]
mov eax, dword [ebp]
inc edi
add ebp, 4
inc edx
mov dword [esi + ecx*4 + 0x18], eax
mov esi, dword [esp + 0x14]
cmp edi, esi
jl 0x41114c
cmp edx, 4
jne 0x411172
inc ebx
lea eax, [edx - 4]
neg eax
sbb eax, eax
and edx, eax
cmp edi, esi
jl 0x411137
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
cmp ebx, dword [ebp + 4]
jle 0x411046
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004210f9
add esp, 0x30
ret 4
Function at 0x1031000
Capabilities:
Encode data using xor

Disassembly:
push 0x6f5cba
pop eax
push 0x1031022
pop esi
push 0x598
pop edi
nop
nop
push dword [esi + edi]
xor dword [esp], eax
pop dword [esi + edi]
dec edi
sub edi, 3
jne 0x1031014
nop
nop
nop
push edx
and dword [esi], ebp
mov edx, 0xba006f5c
pop esp
outsd dx, dword [esi]
add dword [esi - 0x69], ebp
outsb dx, byte [esi]
add byte [edx + 0x66006dba], bh
mov bh, 0x6d
add byte [edx - 0x45ff9214], bh
pop esp
outsd dx, dword [esi]
add byte [esi + 0x4c], ah
outsd dx, dword [esi]
add dword [esi + ecx*2], esi
insd dword es:[edi], dx
add dword [esi + ecx*2], edx
insd dword es:[edi], dx
add esi, eax
mov al, byte [0x4e36006e]
insd dword es:[edi], dx
add byte [esi], dl
dec esi
insd dword es:[edi], dx
add byte [esi + 0x58], ah
outsd dx, dword [esi]
add byte [eax + 0x7d], ah
mov byte [edi - 0x6c], dh
xchg esp, eax
mov dword [0x5eda7789], eax
outsd dx, dword [esi]
add byte [esi + 0x5c], dl
outsd dx, dword [esi]
add byte [edx - 0x45ff90a4], bh
pop esp
outsd dx, dword [esi]
add byte [edx - 0x3eff90a4], bh
add al, 0xc
cmp eax, 0x6f5cd2
jno 0x1031066
or al, 0x3d
leave
pop esp
outsd dx, dword [esi]
add byte [esi + ebx*8 + 0xc], bl
cmp eax, 0x6f5cc1
pop ebp
fimul word [edi + 0x6e5c32]
push ebx
fimul word [edi + 0x6f5c2f]
add byte [eax], al
add byte [eax], al
int1
cmp dword [0x5c30df6e], ebx
xor dl, byte [eax + edi + 0x1bba6c03]
or dh, byte [esi + ebp*8 + 0x39]
add dh, byte [eax - 0x16]
cmp eax, 0x5cfb681b
sub byte [ebp - 0x32], ah
or byte [edx], cl
insd dword es:[edi], dx
retf 0x61a
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b22
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

Function at 0x4038f7
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
add ecx, 4
mov dword [0x4040f6], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x404650], eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4045e4], eax
mov dword [0x4040ee], eax
mov dword [0x4045d0], 0x30
mov dword [0x4045d4], 2
jmp 0x40393c
mov dword [0x4045d8], 0x40321a
mov dword [0x4045dc], 0
mov dword [0x4045e0], 0
mov dword [0x4045f8], 0x40454d
mov dword [0x4045f0], 0xf
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4045e8], eax
mov dword [0x4045fc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4045ec], eax
push 0x4045d0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x4040ee]
push 0
push 0
push 0x1e5
push 0x203
push 0xfffff98e
push 0xfffff9c0
push 0xcf0000
push str.lofegaswer_huijd
push str.lisclass
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x404648], eax
push 5
push dword [0x404648]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x404648]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x404600]
jmp 0x403a10
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x403a02
mov eax, dword [0x404608]
jmp 0x403a2b
call 0x402c21
ret
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

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

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

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
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
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
jmp 0x403a1c
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x405076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x405220], eax
mov dword [0x4051a8], 0x403098
mov dword [0x4051a4], 2
jmp 0x403a4c
mov dword [0x4051ac], 0
mov dword [0x4051b0], 0
mov dword [0x4051a0], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x4051b4], eax
mov dword [0x4051c8], 0x40426e
mov dword [0x4051c0], 0xf
mov dword [0x40506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x4051b8], eax
mov dword [0x4051cc], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x4051bc], eax
push 0x4051a0
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.justam
push 0x40426e
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x405218], eax
push 5
push dword [0x405218]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x405218]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x403b1f
push 0
push 0
push 0
push 0x4051d0
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x403b4c
push 0x4051d0
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x4051d0
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x403b1f
mov eax, dword [0x4051d8]
jmp 0x403b59
call 0x402be1
ret

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

Disassembly:
pushal
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
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
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4cc008], 0x8088405
inc edx
mov dword [ebx + 0x4cc008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x41cf00
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cf31
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf19
add dl, dl
jne 0x41cf3c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf8d
xor eax, eax
add dl, dl
jne 0x41cf49
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d02a
add dl, dl
jne 0x41cf58
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf63
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf6e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf79
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cf83
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf28
mov eax, 1
add dl, dl
jne 0x41cf9b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf92
sub eax, ebx
mov ebx, 1
jne 0x41cfd9
mov ecx, 1
add dl, dl
jne 0x41cfbf
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cfca
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfb6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cff0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cffb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfe7
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d04b
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x41cf28
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f05c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x4b054a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f0ab
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
jmp 0x41f0ca
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f13c
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f125
test esi, esi
jbe 0x41f13c
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f117
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f13c
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f0f4
jmp 0x41f13c
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f13c
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b0551
ret