joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408e84
mov ecx, 0x314a0fbf
nop
nop
nop
nop
nop
test eax, eax
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0xcfb2343
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4046fe
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x22c
mov eax, dword [0x47a084]
xor eax, esp
mov dword [esp + 0x228], eax
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 4]
push ecx
push dword [edi]
xor esi, esi
or eax, 0x2001f
lea ebx, [esp + 0x18]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.0040496e
mov ebx, eax
cmp ebx, esi
je 0x404760
cmp dword [esp + 0x10], esi
je 0x40475c
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x4047d6
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x40477e
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x14]
call fcn.004046fe
mov dword [esp + 0x24], eax
cmp eax, esi
jne 0x4047ed
lea eax, [esp + 0x28]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x44]
push eax
push esi
push dword [esp + 0x2c]
mov dword [esp + 0x3c], 0x100
call ebx
test eax, eax
je 0x404768
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x10], esi
je 0x4047b9
push dword [esp + 0x10]
call ebx
mov dword [esp + 0x10], esi
push dword [esp + 0x20]
mov dword [esp + 0x18], esi
call fcn.00404690
mov edi, eax
cmp dword [esp + 0x10], esi
je 0x4047d4
push dword [esp + 0x10]
call ebx
mov eax, edi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00410897
mov esp, ebp
pop ebp
ret 4
cmp dword [esp + 0x10], esi
je 0x4047fd
push dword [esp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
jmp 0x4047d6
Function at 0x407342
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x457245
call fcn.00450a67
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor esi, esi
mov edi, edx
mov dword [ebp - 0x430], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x41c], eax
cmp eax, esi
jne 0x40739a
call fcn.0040611f
mov esi, eax
jmp 0x4074a4
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x4073b3
call fcn.0040611f
jmp 0x407496
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x420], eax
cmp eax, esi
je 0x4073a9
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x424], edi
cmp eax, edi
jae 0x4073f0
mov esi, 0x8007000e
jmp 0x407498
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov byte [ebp - 4], 2
cmp ecx, esi
ja 0x407405
cmp eax, 0xffffffff
jbe 0x40740f
push 0x80070216
call fcn.00404f9a
cmp eax, 0x400
jbe 0x40743c
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.004060fc
jmp 0x407448
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], esi
je 0x4073e6
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x420]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x4073a9
mov edx, dword [ebp - 0x418]
push dword [ebp + 0x10]
xor ecx, ecx
mov word [edx + eax*2], cx
mov ecx, dword [ebp - 0x418]
lea edx, [ebp - 0x42c]
call fcn.004071e2
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4074bd
lea eax, [ebp - 0x418]
call fcn.00406595
mov eax, esi
call fcn.00450ac3
ret 0xc
Function at 0x40aba6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40ac0a
cmp dword [ebp + 0xc], 1
je 0x40abe2
cmp dword [ebp + 0xc], 2
je 0x40abe2
push 0xd
pop eax
jmp 0x40ac0a
mov eax, dword [ebp - 4]
test edi, edi
je 0x40ac04
test eax, eax
je 0x40abff
test al, 1
jne 0x40abdd
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x40ac04
jmp 0x40abdd
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8

Function at 0x41056a
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x47c120], 0
push esi
push edi
jne 0x4104e0
call fcn.0041044c
test eax, eax
je 0x410525
mov eax, dword [0x47c120]
cmp eax, 1
jne 0x410501
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x410525
jmp 0x410567
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x410567
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x410529
xor eax, eax
jmp 0x410567
mov eax, dword [esi]
push dword [0x47c120]
call edi
mov edi, eax
test edi, edi
je 0x41054b
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x410567
lea edi, [esi + 0xff0]
push esi
push dword [0x47c120]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x410551
mov eax, esi
pop edi
pop esi
ret
jmp 0x4104cc

Function at 0x410897
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47a084]
jne 0x4108a1
repz ret
jmp fcn.00413b32
Function at 0x41e23b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x47a084]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00416ccd
and dword [ebp - 0x14], 0
cmp dword [0x47cf64], 0
mov dword [ebp - 0x18], eax
jne 0x41e2ee
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41e396
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41e396
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x47cf64], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x47cf68], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x47cf6c], eax
call edi
push eax
call esi
mov dword [0x47cf74], eax
test eax, eax
je 0x41e2ee
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x47cf70], eax
mov eax, dword [0x47cf70]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41e347
cmp dword [0x47cf74], ecx
je 0x41e347
push eax
call esi
push dword [0x47cf74]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41e347
test ebx, ebx
je 0x41e347
call edi
test eax, eax
je 0x41e33e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41e33e
test byte [ebp - 8], 1
jne 0x41e347
or dword [ebp + 0x10], 0x200000
jmp 0x41e37a
mov eax, dword [0x47cf68]
cmp eax, dword [ebp - 0x18]
je 0x41e37a
push eax
call esi
test eax, eax
je 0x41e37a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41e37a
mov eax, dword [0x47cf6c]
cmp eax, dword [ebp - 0x18]
je 0x41e37a
push eax
call esi
test eax, eax
je 0x41e37a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x47cf64]
call esi
test eax, eax
je 0x41e396
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41e398
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00410897
leave
ret
Function at 0x4207cc
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x3c
push ebx
push esi
push edi
mov edi, edx
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 4]
imul edx, esi
mov esi, dword [ebp - 4]
imul esi, esi, 0xffffffcd
sub esi, edx
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 4]
imul edx, ebx
add esi, edx
mov edx, dword [ebp - 4]
sub esi, edx
mov edx, dword [ebp - 4]
sub esi, edx
mov edx, dword [ebp - 4]
sub esi, edx
mov edx, dword [ebp - 4]
sub esi, edx
mov edx, dword [ebp - 4]
sub esi, edx
add esi, dword [ebp - 4]
mov edx, dword [ebp - 4]
lea edx, [esi + edx + 0x7e]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 4]
sub edx, esi
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
imul edx, edx, 0x31
push 0xffffffffffffffce
pop esi
sub esi, edx
mov edx, dword [ebp - 4]
sub esi, edx
mov edx, dword [ebp - 4]
sub esi, edx
add esi, dword [ebp - 4]
not eax
mov dword [ebp - 4], esi
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 4]
imul edx, edx, 0x17
sub edx, esi
add edx, dword [ebp - 4]
add edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 4]
imul edx, esi
mov esi, dword [ebp - 4]
imul edx, esi
sub edx, 6
imul edx, edx, 0xe
add edx, dword [ebp - 4]
add edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov edx, 0xff
cmp edi, 8
jb 0x420927
mov esi, edi
shr esi, 3
movzx ebx, byte [ecx]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x45ac98]
movzx ebx, byte [ecx + 1]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x45ac98]
movzx ebx, byte [ecx + 2]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x45ac98]
movzx ebx, byte [ecx + 3]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x45ac98]
movzx ebx, byte [ecx + 4]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x45ac98]
movzx ebx, byte [ecx + 5]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x45ac98]
movzx ebx, byte [ecx + 6]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x45ac98]
movzx ebx, byte [ecx + 7]
xor ebx, eax
and ebx, edx
shr eax, 8
xor eax, dword [ebx*4 + 0x45ac98]
add ecx, 8
sub edi, 8
dec esi
jne 0x42088b
test edi, edi
je 0x420940
movzx esi, byte [ecx]
xor esi, eax
and esi, edx
shr eax, 8
xor eax, dword [esi*4 + 0x45ac98]
inc ecx
dec edi
jne 0x42092b
pop edi
pop esi
not eax
pop ebx
leave
ret
Function at 0x425170
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
mov esi, eax
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
push edi
mov edi, dword [esi + 0x18]
mov ecx, dword [edi + 0x3c]
add edi, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [edi + 0x2c]
mov dword [ebp - 0x18], ecx
cmp ecx, eax
jae 0x4251aa
sub eax, ecx
dec eax
jmp 0x4251af
mov eax, dword [edi + 0x28]
sub eax, ecx
mov dword [ebp - 0x20], eax
movzx eax, byte [edi + 0x38]
cmp eax, 9
ja 0x426ce6
fld qword [0x4749a8]
fld qword [0x4749a0]
fld qword [0x474998]
fld qword [0x474990]
fld qword [0x474988]
fld qword [0x474a40]
jmp 0x425211
jmp dword [eax*4 + 0x426d1a]
push 0xfffffffffffffffe
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x1c], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x10]
mov ecx, eax
sub ecx, dword [esi]
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
add dword [esi + 8], ecx
mov dword [edi + 0x30], eax
mov ebx, edi
call fcn.00422895
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43a37d
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, eax
push edi
lea eax, [ebp - 4]
push eax
mov eax, esi
mov dword [ebp - 4], 0x25
call fcn.004087c5
cmp eax, 0xffffffff
je 0x43a42a
cmp dword [esi + 0x14], 8
jb 0x43a3ab
mov eax, dword [esi]
jmp 0x43a3ad
mov eax, esi
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0
push 0
push eax
call edi
mov ebx, eax
test ebx, ebx
je 0x43a40b
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004107a4
cmp dword [esi + 0x14], 8
pop ecx
mov dword [ebp - 4], eax
jb 0x43a3e2
mov eax, dword [esi]
jmp 0x43a3e4
mov eax, esi
push ebx
push dword [ebp - 4]
push eax
call edi
test eax, eax
je 0x43a400
push dword [ebp - 4]
call fcn.00412137
pop ecx
mov ecx, dword [ebp - 4]
call fcn.00404dcc
push dword [ebp - 4]
call fcn.00411f35
pop ecx
jmp 0x43a42a
call fcn.0043d195
call dword [eax + 0x44]
push eax
push dword [0x47b250]
push dword [0x47b22c]
push 1
call fcn.0043cb93
add esp, 0x10
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43ccfb
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 8], 0x55
push dword [ebp + 8]
mov dword [ebp - 4], 0x3d
mov eax, dword [ebp - 4]
sub eax, 0x3c
mov dword [ebp - 8], eax
add dword [ebp - 4], 0xffffff9d
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
leave
ret 8

Function at 0x43febc
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, 0x5a4d
cmp word [edx], ax
je 0x43fece
xor eax, eax
leave
ret
push esi
push 0x1c
pop ecx
mov dword [ebp - 4], ecx
add dword [ebp - 4], 0xfffffff1
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 4]
imul eax, esi
mov esi, dword [ebp - 4]
imul eax, eax, 0x51
sub eax, esi
add eax, dword [ebp - 4]
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
add dword [ebp - 4], 0x4e
mov eax, dword [ebp - 4]
mov esi, dword [ebp - 4]
sub eax, esi
mov esi, dword [ebp - 4]
sub eax, esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
imul eax, eax, 0x43
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [edx + 0x3c]
cmp dword [eax + edx], 0x4550
jne 0x43ff7d
mov dword [ebp - 4], ecx
add dword [ebp - 4], 0xfffffff1
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 4]
imul ecx, esi
mov esi, dword [ebp - 4]
imul ecx, ecx, 0x51
sub ecx, esi
add ecx, dword [ebp - 4]
add ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
add dword [ebp - 4], 0x4e
mov ecx, dword [ebp - 4]
mov esi, dword [ebp - 4]
sub ecx, esi
mov esi, dword [ebp - 4]
sub ecx, esi
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x43
add ecx, dword [ebp - 4]
mov eax, dword [eax + edx + 0x98]
mov dword [ebp - 4], ecx
test eax, eax
jne 0x43ff81
xor eax, eax
jmp 0x43ff83
add eax, edx
pop esi
leave
ret
Function at 0x44a8ef
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4556f7
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x47a084]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x47a084]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
push dword [0x47b1ec]
lea eax, [esp + 0x28]
mov esi, ecx
call fcn.004044c6
and dword [esp + 0x50], 0
mov dword [esp + 0x14], 0x55
mov dword [esp + 0x20], 0x3d
mov eax, dword [esp + 0x20]
sub eax, 0x3c
mov dword [esp + 0x14], eax
add dword [esp + 0x20], 0xffffff9d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ebx, eax
push ebx
call fcn.00412a80
pop ecx
mov edi, eax
push ebx
lea eax, [esp + 0x28]
call fcn.00403c40
fld qword [0x4749c8]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fmul qword [0x474a20]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fsub qword [0x4749c0]
fadd qword [esp + 0x14]
fsub qword [esp + 0x14]
fsub qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fadd qword [0x4749b8]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fadd qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
fadd qword [esp + 0x14]
fstp qword [esp + 0x14]
fld qword [esp + 0x14]
cmp dword [esp + 0x38], 0x10
fadd qword [0x4749b0]
mov eax, dword [esp + 0x24]
fstp qword [esp + 0x14]
jae 0x44a9ed
lea eax, [esp + 0x24]
push eax
push dword [esi + 0xc]
call fcn.0044a8d6
pop ecx
pop ecx
push 1
xor edi, edi
lea esi, [esp + 0x28]
call fcn.004049dc
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.00410897
mov esp, ebp
pop ebp
ret
Function at 0x430001
Capabilities:
Encode data using xor
Packed with generic packer

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

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130

Function at 0x484cfb
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x484a08
or edi, eax
call fcn.00484d36
mov edi, eax
xor dword [ebx], esi
add eax, 0x2c8bbb5e
add eax, 0xa96d0795
add eax, 0xebf69a10
add ebx, 2
add eax, eax
inc eax
or eax, eax
cmp ebx, edx
jl fcn.00484cfb
inc edi
sub eax, 0x62fbf51e
ret
Function at 0x402830
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x42f03c], 0x8088405
inc edx
mov dword [0x42f03c], edx
mul edx
mov eax, edx
ret

Function at 0x402964
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4029fc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4029dc
xor eax, eax
push ebp
push 0x4029d5
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
push 0x402a18
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4029dc
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret