joyce8/EMBER2024-capa huggingface dataset:
Function at 0x458f5b
Capabilities:
Encode data using xor

Disassembly:
imul esp, dword [ecx], 0x5ea271a2
push ecx
dec ebp
loope 0x458fc8
adc dh, byte [eax + 0x40]
cmc
dec eax
sub dword [esi + 0x47dee6e4], esp
not byte [edi]
cmp eax, 0x1c78febc
dec eax
mov bh, 0x82
inc ecx
mov esi, 0x88167678
rol dword [esi - 0x35], 1
inc esi
popfd
xor ebp, dword [edi + 0x63]
sub cl, byte [edi + 0x70]
inc ebx
pushfd
sbb byte [ecx], dl
stc
pop ss
adc esi, dword [ecx + 0x5184018b]
scasb al, byte es:[edi]
inc ebx
jbe 0x458f78
lcall 0xe94a, 0x957b562f
imul esp, dword [ecx + 0x7319be97], 0xffffffb5
not byte [esi - 0x17]
int1
mov edx, 0xe6ce8dc2
dec ebp
dec esp
aaa
int1
out 0xc7, eax
wait
cmp al, 0x4c
mov ch, 0x69
mov ebp, 0x67beb170
mov dh, 0xbd
push edx
xchg ecx, eax
add al, 0
push ebp
cmp eax, 0x45410ce0
xchg edi, esp
rcl dword [edx + 0x64], 0xb6
insd dword es:[edi], dx
imul eax, dword [edi + 0x63], 0x20
jle 0x45905c
mov al, 0xc5
iretd
pop eax
test eax, 0xc83e2e4b
cwde
ror esp, 0xca
adc ah, al
inc eax
sahf
std
add eax, 0x78b611da
adc eax, dword [ebx - 0x11]
dec esp
mov ch, 0x94
add al, 0xa5
inc ecx
call 0x66eb5a41
sbb al, 0xc7
out dx, eax
sub eax, 0xd20d5f1
out 0xd, al
sub esi, dword [eax + 0x19]
sal byte [ebx - 0x5a], 0xef
push ss
or dword [ecx + 0x58], edx
mov bh, pe_nt_image_headers32
xchg ebp, eax
enter 0xd05, 0xffffffffffffffda
mov eax, 0xef8e384a
xor dh, bh
sbb ch, dh
loop 0x45910c
arpl word [ecx - 0x5a], ax
ljmp 0x42a3
xchg edx, eax
push 0x8bfe2cdd
salc
push ecx
mov bh, 0xf
sbb al, 0xcf
sbb al, 0xad
add ch, byte [edx + ebp - 0x71e2a42e]
xchg ebx, eax
push ecx
cmpsd dword [esi], dword es:[edi]
insb byte es:[edi], dx
mov esp, 0xf222adb6
loope 0x459135
in eax, 0x76
push cs
sbb dh, byte [edi + ebp*4]
cwde
and al, 0xde
sbb eax, dword [edx - 0x2393a790]
mov eax, 0x787a9369
xor bl, dl
sbb eax, 0x1b1e4152
lahf
lodsb al, byte [esi]
std
aad 0xd1
push ebx
dec edx
mov al, 0x29
hlt

Function at 0x48461e
Capabilities:
Encode data using xor

Disassembly:
pop ss
shr dh, cl
inc edi
dec esp
xor dh, dl
div dword [esp + ecx - 0x43]
xchg ecx, eax
push edi
xchg ebp, eax
dec ebx
mov edx, 0xc7a46670
das
pop edi
enter 0x6c10, 0xfffffffffffffff2
jg fcn.0048461e
invalid
Function at 0x4a27c1
Capabilities:
Accept command line arguments

Disassembly:
push ebp
push ebp
mov ebp, 0x3e4a02b9
mov dword [esp + 4], ebp
mov ebp, dword [esp]
push edi
mov edi, esp
add edi, 4
add edi, 4
xchg dword [esp], edi
pop esp
mov dword [esp], edx
push ecx
push dword [esp]
mov edx, dword [esp]
push edx
mov edx, esp
add edx, 4
add edx, 4
xchg dword [esp], edx
pop esp
add esp, 4
mov edx, dword [esp]
push 0x471907ef
mov dword [esp], eax
push esp
pop eax
add eax, 4
add byte [eax], al
add byte [4], al
sbb al, 0x24
add esp, 4
mov ebx, dword [esp]
push ebx
push esp
pop ebx
add ebx, 4
add ebx, 4
xor ebx, dword [esp]
xor dword [esp], ebx
xor ebx, dword [esp]
mov esp, dword [esp]
jmp 0x527ffe
push esi
mov dword [esp], 0x65f3f9f0
mov dword [esp], esi
push 7
pop esi
or ecx, esi
mov esi, dword [esp]
add esp, 4
push edx
mov edx, esp
add edx, 4
sub edx, 4
xchg dword [esp], edx
pop esp
mov dword [esp], ebp
push ecx
mov ecx, 0x6ae495b4
mov dword [esp + 4], ecx
pop ecx
mov dword [esp], eax
push ebx
push dword [esp]
pop eax
push edi
mov edi, esp
add edi, 4
add edi, 4
push edi
push dword [esp + 4]
pop edi
pop dword [esp]
pop esp
push dword [esp]
push dword [esp]
mov eax, dword [esp]
add esp, 4
add esp, 4
add esp, 4
jmp 0x53596c
push edi
push esi
mov esi, 0xce2034d
mov dword [esp + 4], esi
pop esi
mov dword [esp], edx
mov dword [esp], 0x3a668769
mov dword [esp], eax
push ecx
mov dword [esp], ebx
mov eax, dword [esp]
sub esp, 4
mov dword [esp], ebx
mov ebx, esp
add ebx, 4
add ebx, 4
xchg dword [esp], ebx
pop esp
mov eax, dword [esp]
push 0x47c70bef
mov dword [esp], edi
mov edi, esp
push esi
mov esi, 0x75ec5968
shl esi, 6
xor esi, 0x4f7bd7d3
xor esi, 0x2dff17c8
push ebp
mov ebp, 0x63b500ed
or esi, ebp
pop ebp
sub esi, 0x21ced521
xor esi, 0x59e8c5da
add edi, esi
pop esi
add edi, 4
xchg dword [esp], edi
pop esp
imul eax, ecx
jmp 0x4a21c3

Function at 0x62146e
Capabilities:
Encode data using xor

Disassembly:
ror byte [esi + 0x481af399], 0x1c
dec edx
inc esp
xor al, byte [edi]
jg 0x6214a5
invalid
psubd mm1, qword [edx + 4]
ret 0x6b3f
Function at 0x628c85
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x630380
cmp edx, dword [eax]
je 0x628ca7
add eax, 8
inc ecx
cmp eax, 0x630410
jl 0x628c98
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x630380]
jne 0x628dd5
mov eax, dword [0x639d10]
cmp eax, 1
je 0x628daf
test eax, eax
jne 0x628cd8
cmp dword [0x6302a8], 1
je 0x628daf
cmp edx, 0xfc
je 0x628dd5
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x628d0f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00629670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00629b00
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x628d52
lea eax, [ebp - 0x1a4]
push eax
call fcn.00629b00
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x62d99c
push edi
call fcn.0062b9d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00629670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00629680
lea eax, [ebp - 0xa0]
push 0x62d97c
push eax
call fcn.00629680
push dword [esi + 0x630384]
lea eax, [ebp - 0xa0]
push eax
call fcn.00629680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0062b944
add esp, 0x2c
pop edi
jmp 0x628dd5
lea eax, [ebp + 8]
lea esi, [esi + 0x630384]
push 0
push eax
push dword [esi]
call fcn.00629b00
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x43b630
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x43b3c1
or edx, edx
sub edx, 0xca32d049
call fcn.0043b670
or edx, edx
xor dword [esi], ebx
sub edx, eax
inc esi
add eax, edx
sub esp, 4
mov dword [esp], eax
mov eax, dword [esp]
add esp, 4
and eax, edx
cmp esi, edi
jne fcn.0043b630
dec eax
sub edx, 0xa91ffc8f
mov edx, 0x154ce6fe
ret
Function at 0x403730
Capabilities:
Delete file
Enumerate gui resources

Disassembly:
mov eax, dword [0x4a3b8c]
mov ecx, dword [0x4a0a94]
sub esp, 0xc2c
push ebx
push ebp
shr eax, 3
push esi
push edi
test eax, eax
jbe 0x40383d
mov edi, dword [sym.imp.KERNEL32.dll_SetConsoleMode]
mov ebx, dword [sym.imp.KERNEL32.dll_WriteProfileSectionW]
mov ebp, dword [sym.imp.KERNEL32.dll_SearchPathA]
mov esi, dword [sym.imp.KERNEL32.dll_GetCommState]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
cmp dword [0x4a3b8c], 0x959
jne 0x403823
push 0
push 0
call edi
push 0
push 0
call ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x43c]
push ecx
push 0
push 0
push 0
push 0
call ebp
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumCalendarInfoExW]
lea edx, [esp + 0x1c]
push edx
push 0
call esi
push 0
push 0
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
push 0
lea ecx, [esp + 0x83c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumResourceTypesW]
push 0
push 0
call esi
push 0
push 0x402e00
call dword [sym.imp.KERNEL32.dll_BeginUpdateResourceA]
push 0x402e24
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov edx, dword [esp + 0x10]
push edx
call fcn.00403590
add dword [esp + 0x10], 8
sub dword [esp + 0x14], 1
jne 0x403770
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc2c
ret
Function at 0x40746a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x436248]
jne 0x407474
repz ret
jmp fcn.0040cbf8

Function at 0x40d6ef
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.00409c05
and dword [ebp - 4], 0
cmp dword [0x439918], 0
mov ebx, eax
jne 0x40d7a0
push 0x4024dc
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40d851
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4024d0
push edi
call esi
test eax, eax
je 0x40d851
push eax
call fcn.00409b93
mov dword [esp], 0x4024c0
push edi
mov dword [0x439918], eax
call esi
push eax
call fcn.00409b93
mov dword [esp], 0x4024ac
push edi
mov dword [0x43991c], eax
call esi
push eax
call fcn.00409b93
mov dword [esp], 0x402490
push edi
mov dword [0x439920], eax
call esi
push eax
call fcn.00409b93
pop ecx
mov dword [0x439928], eax
test eax, eax
je 0x40d7a0
push 0x402478
push edi
call esi
push eax
call fcn.00409b93
pop ecx
mov dword [0x439924], eax
mov eax, dword [0x439924]
cmp eax, ebx
je 0x40d7f8
cmp dword [0x439928], ebx
je 0x40d7f8
push eax
call fcn.00409c0e
push dword [0x439928]
mov esi, eax
call fcn.00409c0e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40d7f8
test edi, edi
je 0x40d7f8
call esi
test eax, eax
je 0x40d7ef
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40d7ef
test byte [ebp - 0xc], 1
jne 0x40d7f8
or dword [ebp + 0x10], 0x200000
jmp 0x40d831
mov eax, dword [0x43991c]
cmp eax, ebx
je 0x40d831
push eax
call fcn.00409c0e
pop ecx
test eax, eax
je 0x40d831
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40d831
mov eax, dword [0x439920]
cmp eax, ebx
je 0x40d831
push eax
call fcn.00409c0e
pop ecx
test eax, eax
je 0x40d831
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x439918]
call fcn.00409c0e
pop ecx
test eax, eax
je 0x40d851
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40d853
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407180
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push eax
push 0x40
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x4071a3
mov eax, 1
jmp 0x4072ae
mov edx, dword [ebp + 8]
movzx eax, word [edx]
cmp eax, 0x5a4d
jne 0x4071b9
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x3c], 0
jne 0x4071c3
mov eax, 2
jmp 0x4072ae
mov edx, dword [ebp + 0x10]
push edx
push 0xf8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x40
push edx
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x4071ee
mov eax, 1
jmp 0x4072ae
mov eax, dword [ebp + 8]
cmp dword [eax + 0x40], 0x4550
jne 0x407214
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + 0x58]
cmp edx, 0x10b
jne 0x407214
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x46]
test ecx, ecx
jne 0x40721e
mov eax, 2
jmp 0x4072ae
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x46]
imul eax, eax, 0x28
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x140], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x140]
push eax
call fcn.004197a0
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x138], eax
mov edx, dword [ebp + 8]
cmp dword [edx + 0x138], 0
jne 0x40725f
mov eax, 3
jmp 0x4072ae
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ebp + 8]
movzx eax, word [edx + 0x54]
lea ecx, [ecx + eax + 0x18]
mov edx, dword [ebp + 8]
mov dword [edx + 0x13c], ecx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x140]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x13c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x138]
push eax
call dword [ebp + 0xc]
add esp, 0x10
test eax, eax
jne 0x4072ac
mov eax, 1
jmp 0x4072ae
xor eax, eax
pop ebp
ret

Function at 0x407c50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x407c66
xor eax, eax
jmp 0x407ca6
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x3c]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx], 0x4550
jne 0x407c8b
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x18]
cmp eax, 0x10b
je 0x407c8f
xor eax, eax
jmp 0x407ca6
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x78]
push ecx
call fcn.00407cb0
add esp, 0xc
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x41a6d0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 8], 0
jne 0x41a6e3
xor eax, eax
jmp 0x41a7a1
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx]
cmp edx, 0x5a4d
je 0x41a6fe
xor eax, eax
jmp 0x41a7a1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx], 0x4550
je 0x41a71c
xor eax, eax
jmp 0x41a7a1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x78]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
add eax, dword [edx + 0x1c]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x24]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x20]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x1c], 0
jmp 0x41a75e
mov edx, dword [ebp - 0x1c]
add edx, 1
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [eax + 0x18]
jae 0x41a79f
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax*4]
push edx
call fcn.004197c0
add esp, 8
test eax, eax
jne 0x41a79d
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x41a7a1
jmp 0x41a755
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x401168
Capabilities:
Packed with generic packer

Disassembly:
push ebx
add esp, 0xffffffbc
mov ebx, 0xa
push esp
call sub.kernel32.dll_GetStartupInfoA
test byte [esp + 0x2c], 1
je fcn.00401183
jmp loc.00414158

Function at 0x401504
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edx, eax
mov ebp, edx
and ebp, 0xfffff000
add edx, dword [esp]
add edx, 0xfff
and edx, 0xfffff000
mov dword [esp + 8], edx
mov eax, dword [esp + 4]
mov dword [eax], ebp
mov eax, dword [esp + 8]
sub eax, ebp
mov edx, dword [esp + 4]
mov dword [edx + 4], eax
mov esi, dword [0x40c5d4]
jmp 0x401586
mov ebx, dword [esi + 8]
mov edi, dword [esi + 0xc]
add edi, ebx
cmp ebp, ebx
jbe 0x401558
mov ebx, ebp
cmp edi, dword [esp + 8]
jbe 0x401562
mov edi, dword [esp + 8]
cmp edi, ebx
jbe 0x401584
push 4
push 0x1000
sub edi, ebx
push edi
push ebx
call sub.kernel32.dll_VirtualAlloc
test eax, eax
jne 0x401584
jmp 0x416933
mov esi, dword [esi]
cmp esi, 0x40c5d4
jne 0x40154a
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x401ae4
Capabilities:
Packed with generic packer

Disassembly:
cmp edx, 0xc
jl 0x401af7
jmp loc.00417294
cmp edx, 4
jl 0x401b06
mov ecx, edx
or ecx, 0x80000002
mov dword [eax], ecx
add eax, edx
and dword [eax], 0xfffffffe
ret

Function at 0x401b7c
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
xor edi, edi
mov eax, dword [ebx]
test eax, 0x80000000
je 0x401b97
and eax, 0x7ffffffc
add edi, eax
add ebx, eax
mov eax, dword [ebx]
test al, 2
jne 0x401bae
mov esi, ebx
mov eax, esi
call fcn.004019fc
mov eax, dword [esi + 8]
add edi, eax
jmp 0x414b39
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x401dc4
Capabilities:
Packed with generic packer

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
mov edx, esp
lea eax, [ebx + 4]
call fcn.00401618
cmp dword [esp], 0
je 0x401de5
mov eax, esp
jmp loc.0041c3bf
xor eax, eax
jmp 0x401deb
pop ecx
pop edx
pop ebx
ret

Function at 0x401df0
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, edx
mov ebx, eax
mov ecx, esp
lea edx, [esi + 4]
mov eax, ebx
jmp loc.00415073

Function at 0x401e24
Capabilities:
Packed with generic packer

Disassembly:
xor edx, edx
test eax, eax
jns 0x401e2d
add eax, 3
sar eax, 2
cmp eax, 0x400
jg 0x401e4d
jmp 0x4171ce
mov eax, edx
ret

Function at 0x402538
Capabilities:
Packed with generic packer

Disassembly:
push ebx
test eax, eax
je 0x402552
jmp loc.00419f3e
xor ebx, ebx
mov eax, ebx
pop ebx
ret

Function at 0x402600
Capabilities:
Packed with generic packer

Disassembly:
and eax, 0x7f
mov edx, dword [esp]
jmp loc.00413186

Function at 0x402648
Capabilities:
Packed with generic packer

Disassembly:
push esi
push edi
mov esi, eax
mov edi, edx
mov eax, ecx
cmp edi, esi
ja 0x402667
je 0x402685
sar ecx, 2
js 0x402685
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
ret
jmp loc.00416cd3
pop edi
pop esi
ret
Function at 0x402774
Capabilities:
Accept command line arguments
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00403dcc
test esi, esi
jne 0x4027aa
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00403ebc
jmp 0x4027c8
jmp loc.00415bf5
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4027d4
Capabilities:
Packed with generic packer

Disassembly:
add esp, 0xfffffff8
push esp
call sub.kernel32.dll_QueryPerformanceCounter
test eax, eax
je 0x4027ec
mov eax, dword [esp]
mov dword [0x40b008], eax
pop ecx
pop edx
ret
jmp loc.00415cb5

Function at 0x402c20
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push ebx
push 0xd7b1
jmp loc.0041afa4

Function at 0x402c40
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
mov ebx, eax
xor esi, esi
mov ax, word [ebx + 4]
cmp ax, 0xd7b1
jb 0x402c7f
cmp ax, 0xd7b3
ja 0x402c7f
and ax, 0xd7b2
cmp ax, 0xd7b2
jne 0x402c67
mov eax, ebx
call dword [ebx + 0x1c]
mov esi, eax
test esi, esi
jne 0x402c72
mov eax, ebx
call dword [ebx + 0x24]
mov esi, eax
test esi, esi
je 0x402c91
mov eax, esi
call fcn.0040262c
jmp 0x402c91
cmp ebx, 0x40c038
je 0x402c91
mov eax, 0x67
jmp 0x415d76
mov eax, esi
pop esi
pop ebx
ret

Function at 0x402cec
Capabilities:
Get file size

Disassembly:
push ebx
push esi
mov ebx, eax
or esi, 0xffffffff
mov ax, word [ebx + 4]
cmp ax, 0xd7b0
jbe 0x402d26
cmp ax, 0xd7b3
ja 0x402d26
push 0
mov eax, dword [ebx]
push eax
call sub.kernel32.dll_GetFileSize
jmp loc.0041b915
jmp loc.0041cfe5

Function at 0x402d58
Capabilities:
Generate random numbers using the delphi lcg
Packed with generic packer

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x40b008], 0x8088405
inc edx
jmp loc.00415707

Function at 0x40304c
Capabilities:
Packed with generic packer

Disassembly:
mov cl, byte [0x40b00c]
and cl, 3
cmp cl, 2
jbe 0x40305c
mov cl, 2
jmp loc.00417113

Function at 0x4032bc
Capabilities:
Packed with generic packer

Disassembly:
cmp word [eax + 4], 0xd7b2
je 0x4032e7
push eax
push edx
call fcn.004031a8
test al, al
pop edx
pop eax
jne 0x4032e7
ret
push eax
push edx
call dword [eax + 0x1c]
test eax, eax
jne 0x4032df
pop edx
pop eax
jmp 0x4032e7
jmp loc.00416adb
mov ecx, dword [eax + 0xc]
cmp ecx, dword [eax + 8]
jge 0x4032d2
add ecx, dword [eax + 0x14]
mov byte [ecx], dl
inc dword [eax + 0xc]
ret

Function at 0x403330
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x40b014]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4033c8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4033a8
xor eax, eax
push ebp
push 0x4033a1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
jmp loc.0041be5f
jmp loc.0041448c

Function at 0x403468
Capabilities:
Packed with generic packer

Disassembly:
test eax, eax
je fcn.00403473
mov dl, 1
jmp loc.00416621
Function at 0x403558
Capabilities:
Packed with generic packer

Disassembly:
push edx
push ecx
push ebx
test dl, dl
jl 0x403562
call dword [eax - 0xc]
xor edx, edx
lea ecx, [esp + 0x10]
mov ebx, dword fs:[edx]
mov dword [ecx], ebx
mov dword [ecx + 8], ebp
mov dword [ecx + 4], 0x403581
jmp loc.004188ba

Function at 0x4035d0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [0x40b018], 1
jbe fcn.004035ea
push 0
push 0
push 0
push 0xeedfadf
jmp loc.0041602c

Function at 0x403628
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [0x40b018], 1
jbe 0x403638
push eax
push ebx
jmp loc.004159a6
ret

Function at 0x4036a0
Capabilities:
Packed with generic packer

Disassembly:
push eax
push edx
cmp byte [0x40b018], 1
jbe fcn.004036bb
push esp
push 2
push 0
push 0xeedfae3
jmp loc.00416e01

Function at 0x403bd4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40c034], 0
je 0x403c35
cmp word [0x40c208], 0xd7b2
jne fcn.00403bfd
cmp dword [0x40c210], 0
jbe fcn.00403bfd
mov eax, 0x40c204
jmp loc.0041617a
cmp byte [0x40b020], 0
jne fcn.00403c51
push 0
jmp loc.00416a69

Function at 0x403d38
Capabilities:
Packed with generic packer

Disassembly:
mov dword [section.DATA], eax
jmp loc.0041c1f1

Function at 0x403d88
Capabilities:
Create thread
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
jmp loc.0041c3fd

Function at 0x403dcc
Capabilities:
Packed with generic packer

Disassembly:
mov edx, dword [eax]
test edx, edx
je 0x403dee
jmp loc.004144ed
ret

Function at 0x403e20
Capabilities:
Packed with generic packer

Disassembly:
test edx, edx
je 0x403e48
mov ecx, dword [edx - 8]
inc ecx
jg 0x403e44
push eax
push edx
mov eax, dword [edx - 4]
call fcn.00403e90
mov edx, eax
pop eax
push edx
mov ecx, dword [eax - 4]
call fcn.00402648
pop edx
pop eax
jmp 0x403e48
lock inc dword [edx - 8]
xchg dword [eax], edx
test edx, edx
je 0x403e62
mov ecx, dword [edx - 8]
dec ecx
jl 0x403e62
lock dec dword [edx - 8]
jne 0x403e62
lea eax, [edx - 8]
jmp 0x417f02
ret

Function at 0x403e64
Capabilities:
Packed with generic packer

Disassembly:
test edx, edx
je 0x403e72
mov ecx, dword [edx - 8]
inc ecx
jle 0x403e72
lock inc dword [edx - 8]
xchg dword [eax], edx
test edx, edx
je 0x403e8c
mov ecx, dword [edx - 8]
dec ecx
jl 0x403e8c
lock dec dword [edx - 8]
jne 0x403e8c
lea eax, [edx - 8]
jmp 0x413128
ret

Function at 0x403ebc
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov esi, edx
mov edi, ecx
mov eax, edi
call fcn.00403e90
mov ecx, edi
mov edi, eax
test esi, esi
je fcn.00403edd
mov edx, eax
mov eax, esi
jmp loc.0041b2ff

Function at 0x403fe4
Capabilities:
Packed with generic packer

Disassembly:
xor ecx, ecx
test edx, edx
je 0x404017
push edx
cmp cx, word [edx]
je 0x404010
cmp cx, word [edx + 2]
je 0x40400d
cmp cx, word [edx + 4]
je 0x40400a
cmp cx, word [edx + 6]
je 0x404007
add edx, 8
jmp 0x403feb
add edx, 2
add edx, 2
add edx, 2
mov ecx, edx
pop edx
sub ecx, edx
shr ecx, 1
jmp 0x4140ed