joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d4f0
Capabilities:
Check for time delay via gettickcount
Copy file

Disassembly:
sub esp, 0x118
mov eax, dword [0x4a3f9c]
xor eax, esp
mov dword [esp + 0x114], eax
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edi, edi
mov dword [esp + 0x14], eax
mov dword [esp + 8], edi
mov dword [esp + 0xc], 1
cmp dword [0x4a607c], edi
jne 0x40d61c
mov eax, 0x4a6298
call fcn.00408830
test eax, eax
je 0x40d58f
mov dword [esp + 0xc], edi
xor eax, eax
mov cl, byte [eax + 0x4a6298]
mov byte [esp + eax + 0x18], cl
inc eax
test cl, cl
jne 0x40d544
lea eax, [esp + 0x18]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x40d560
mov ecx, dword [str..bak]
sub eax, edx
mov dl, byte [0x480d38]
lea eax, [esp + eax + 0x14]
mov dword [eax], ecx
mov byte [eax + 4], dl
push edi
lea eax, [esp + 0x1c]
push eax
push 0x4a6298
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push ebx
push ebp
lea ebx, [esi + 0x6c]
lea ebp, [esi + 0x2006c]
lea ebx, [ebx]
cmp byte [ebx + 4], 0
je 0x40d5e4
cmp dword [ebp + 0x780], 0
jne 0x40d5b6
cmp dword [esp + 0x14], 0
je 0x40d5cf
push edi
push ebp
mov esi, 0x4a6298
mov ecx, ebx
call fcn.0040c3b0
mov esi, dword [esp + 0x20]
add esp, 8
inc dword [esp + 0x10]
inc edi
add ebp, 0x78c
add ebx, 0x200
cmp edi, 0x100
jl 0x40d5a0
push edi
mov edi, 0x4a6298
call fcn.00408ac0
xor eax, eax
add esp, 4
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push eax
push ecx
push str.SaveConfigFile:__d_updates_in__d_msec_n
call fcn.00420000
add esp, 0xc
pop ebp
pop ebx
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
xor ecx, esp
call fcn.0045af2d
add esp, 0x118
ret
Function at 0x433520
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x433544
cmp dword [edi + 0x54], 0
jne 0x433544
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0044435a
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004334e1
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x438fea
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x439031
call fcn.0044435a
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x439031
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x43904d
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00438b64
mov esi, eax
test edi, edi
je 0x43904b
test ebx, ebx
je 0x43904b
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x439f68
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x479f49
call fcn.00460618
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x439f8d
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x439fd3
lea ecx, [ebp - 0x10]
call fcn.00401ba0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00439728
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004018b0
mov eax, esi
call fcn.004606f0
ret 8
Function at 0x43c339
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x43c381
call fcn.0044435a
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x43c381
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x43c3c4
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x43c3ad
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x43c3ad
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x43c3c1
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x44493a
Capabilities:
Get file attributes

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 1
mov ecx, esi
test al, 1
je 0x44495e
mov eax, dword [esi]
push 0
call dword [eax + 0x98]
test eax, eax
jne 0x44496c
pop esi
ret
mov eax, dword [esi + 0x24]
mov edx, dword [esi]
push eax
call dword [edx + 0x98]
jmp 0x444958
xor eax, eax
inc eax
pop esi
ret

Function at 0x44c7a0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0
mov eax, 0x47a725
call fcn.00460618
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.004022c0
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x44c802
call fcn.00443c34
cmp eax, 1
jne 0x44c802
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.004072f0
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00407190
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004018b0
mov dword [ebp + 8], SysReAllocString
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004018b0
mov eax, esi
call fcn.004606f0
ret 0x10
Function at 0x44c82b
Capabilities:
Set registry value

Disassembly:
push 0
mov eax, 0x47a725
call fcn.00460618
push dword [ebp + 0xc]
lea ecx, [ebp + 0xc]
call fcn.004022c0
and dword [ebp - 4], 0
cmp dword [ebp + 8], 0x80000000
jne 0x44c88d
call fcn.00443c34
cmp eax, 1
jne 0x44c88d
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push str.SoftwareClasses_
push eax
call fcn.004072f0
add esp, 0xc
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00407190
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.004018b0
mov dword [ebp + 8], SysReAllocString
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004018b0
mov eax, esi
call fcn.004606f0
ret 0x14

Function at 0x45af2d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4a3f9c]
jne 0x45af37
repz ret
jmp fcn.00462d6f

Function at 0x4726fe
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.00466b06
and dword [ebp - 4], 0
cmp dword [0x4ac108], 0
mov ebx, eax
jne 0x4727af
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x472860
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x492dc8
push edi
call esi
test eax, eax
je 0x472860
push eax
call fcn.00466a94
mov dword [esp], 0x492db8
push edi
mov dword [0x4ac108], eax
call esi
push eax
call fcn.00466a94
mov dword [esp], 0x492da4
push edi
mov dword [0x4ac10c], eax
call esi
push eax
call fcn.00466a94
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4ac110], eax
call esi
push eax
call fcn.00466a94
pop ecx
mov dword [0x4ac118], eax
test eax, eax
je 0x4727af
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00466a94
pop ecx
mov dword [0x4ac114], eax
mov eax, dword [0x4ac114]
cmp eax, ebx
je 0x472807
cmp dword [0x4ac118], ebx
je 0x472807
push eax
call fcn.00466b0f
push dword [0x4ac118]
mov esi, eax
call fcn.00466b0f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x472807
test edi, edi
je 0x472807
call esi
test eax, eax
je 0x4727fe
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4727fe
test byte [ebp - 0xc], 1
jne 0x472807
or dword [ebp + 0x10], 0x200000
jmp 0x472840
mov eax, dword [0x4ac10c]
cmp eax, ebx
je 0x472840
push eax
call fcn.00466b0f
pop ecx
test eax, eax
je 0x472840
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x472840
mov eax, dword [0x4ac110]
cmp eax, ebx
je 0x472840
push eax
call fcn.00466b0f
pop ecx
test eax, eax
je 0x472840
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4ac108]
call fcn.00466b0f
pop ecx
test eax, eax
je 0x472860
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x472862
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4060b6
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.004021ba
and dword [ebp - 4], 0
cmp dword [0x40b654], 0
mov ebx, eax
jne 0x406167
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406218
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406218
push eax
call fcn.00402148
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40b654], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40b658], eax
call esi
push eax
call fcn.00402148
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40b65c], eax
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b664], eax
test eax, eax
je 0x406167
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402148
pop ecx
mov dword [0x40b660], eax
mov eax, dword [0x40b660]
cmp eax, ebx
je 0x4061bf
cmp dword [0x40b664], ebx
je 0x4061bf
push eax
call fcn.004021c3
push dword [0x40b664]
mov esi, eax
call fcn.004021c3
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061bf
test edi, edi
je 0x4061bf
call esi
test eax, eax
je 0x4061b6
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061b6
test byte [ebp - 0xc], 1
jne 0x4061bf
or dword [ebp + 0x10], 0x200000
jmp 0x4061f8
mov eax, dword [0x40b658]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4061f8
mov eax, dword [0x40b65c]
cmp eax, ebx
je 0x4061f8
push eax
call fcn.004021c3
pop ecx
test eax, eax
je 0x4061f8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40b654]
call fcn.004021c3
pop ecx
test eax, eax
je 0x406218
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40621a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, reloc.ole32.dll_OleUninitialize
nop
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x401218
Capabilities:
Execute command

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call fcn.0040b314
add esp, 0xfffffff8
push section..bss
push 0x415028
call fcn.00412738
add esp, 0x10
add esp, 0xfffffff4
push 0x401210
call sub.msvcrt.dll_system
add esp, 0x10
xor eax, eax
jmp 0x401250
leave
ret

Function at 0x407d20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
add esp, 0xfffffffc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [eax + 0x38]
call sub.msvcrt.dll__read
leave
ret

Function at 0x40b3f4
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
call sub.KERNEL32.dll_TlsAlloc
cmp eax, 0xffffffff
je 0x40b419
mov dword [0x416168], eax
add esp, 0xfffffff8
push 0x40b3b8
push eax
call fcn.0040fc34
jmp 0x40b41e
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x40b434
mov dword [0x41531c], 0x40b518
jmp 0x40b43e
mov dword [0x41531c], 0x40b4cc
leave
ret
Function at 0x1031f331
Capabilities:
Encode data using base64

Disassembly:
mov dword [esp + 8], 0x1522ec93
call fcn.103b0ac3
Function at 0x10709a80
Capabilities:
Encode data using xor

Disassembly:
add edi, ecx
jmp 0x10723c34
inc ecx
cmc
clc
ror ecx, 1
cmc
cmp eax, 0x32196971
not ecx
add ecx, 0x21776ff9
ror ecx, 1
xor ebx, ecx
cmc
jmp 0x1033f5e4
cmp esi, 0x7d03629a
mov esi, dword [esp + 0x18]
jbe 0x10743af3
pushfd
pop dword [esi]
cmc
xor ch, dl
sar cl, 0xaa
mov ecx, dword [ebp]
add ebp, 4
xor ecx, ebx
jmp 0x1067ef4b
jmp fcn.107fb97e

Function at 0x1074f88a
Capabilities:
Encode data using xor

Disassembly:
inc ecx
dec ebp
inc bp
test ebx, esi
inc ecx
not ebp
inc ecx
cmp dl, 0x82
inc ecx
bswap ebp
inc ecx
not ebp
stc
inc ecx
push eax
inc cx
xor eax, 0x80414530
loopne 0x10334c0a
inc cx
dec eax
inc esp
xor dword [esp], ebp
inc ecx
mov al, 0xda
inc esp
add al, cl
inc ecx
pop eax
jmp 0x106cdab7
jmp fcn.10663bbd
popfd
lea esp, [esp + 0x14]
call fcn.1074d3ef
dec ecx
clc
ror ecx, 1
bswap ecx
xor ebx, ecx
jmp 0x106dc6b3
dec ebp
arpl bp, bp
stc
inc eax
test bh, 0xb4
test dx, di
dec ebp
add esp, ebp
jmp 0x10660389
add ebp, ecx
jmp 0x107d7d18
mov edx, dword [esp + 8]
jne 0x106899fc
call fcn.106e9f08
inc ecx
neg ebp
jmp 0x10334c02
jmp fcn.107576f6
Function at 0x4099a4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a77
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a90
push ebx
push 0x409a9c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a24
mov al, 0x69
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409978
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a2d
call fcn.00409978
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a7e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
jmp 0x409bd9
cmp dword [esi + 0x10], 0x1000
jne 0x409bc5
test byte [esi + 0x15], 1
jne 0x409bc5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b84
cmp eax, 2
je 0x409b84
cmp eax, 0x10
je 0x409b84
cmp eax, 0x20
jne 0x409b99
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b99
mov bl, 1
xor ebp, ebp
jmp 0x409baa
mov eax, dword [esi]
add eax, ebp
call fcn.00409b28
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b9d
test bl, bl
je 0x409bc5
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b5c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x4033f5
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 0x40341b
cmp al, 0x22
je 0x40342b
inc esi
mov al, byte [esi]
test al, al
jne 0x40340a
cmp al, 0x22
jne 0x40342c
jmp 0x40342b
cmp al, 0x20
jle 0x40342c
inc esi
cmp byte [esi], 0x20
jg 0x40341f
jmp 0x40342c
cmp al, 0x20
jg 0x403432
inc esi
mov al, byte [esi]
test al, al
jne 0x403427
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004034a0
push 0x406004
push section..data
call fcn.00403486
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x403462
movzx eax, word [ebp - 0x14]
jmp 0x403465
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.004034b8
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x40368a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x406010]
jne 0x403694
repz ret
jmp fcn.00403868

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x41ebc0
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x41ed48
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14000]
push edi
or ebp, 0xffffffff
jmp 0x41ebea
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ebf1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ebe0
mov eax, 1
add ebx, ebx
jne 0x41ec03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ebf8
jne 0x41ec14
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ebf8
xor ecx, ecx
sub eax, 3
jb 0x41ec28
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ec9a
mov ebp, eax
add ebx, ebx
jne 0x41ec33
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41ec40
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41ec64
inc ecx
add ebx, ebx
jne 0x41ec50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41ec45
jne 0x41ec61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ec45
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ec84
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41ec75
jmp 0x41ebe6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ec84
add edi, ecx
jmp 0x41ebe6
pop esi
mov edi, esi
mov ecx, 0x937
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41eca2
cmp byte [edi], 6
jne 0x41eca2
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 eax, ebx
loop 0x41eca7
lea edi, [esi + 0x1b000]
mov eax, dword [edi]
or eax, eax
je 0x41ed16
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e5bc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e620]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ecd4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1e624]
or eax, eax
je 0x41ed10
mov dword [ebx], eax
add ebx, 4
jmp 0x41ecf1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x41ed47
cmp al, 0xef
ja 0x41ed3a
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x41ed1c
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x41ed29
popal
jmp 0x4133c4