joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420284
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0xcb189f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4202bf
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4202d8
lea eax, [ebp - 0x10]
mov edx, dword [0xcce348]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4202eb
lea eax, [ebp - 0x10]
mov edx, dword [0xcce348]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4202f7
adc edx, 0
mov edx, dword [edx*4 + 0xccd178]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x420471
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420464
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420464
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420464
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420464
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420402
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420402
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420402
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420402
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420464
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420464
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420464
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420464
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420464
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420489
inc ebx
cmp ebx, 0x19
jne 0x4202b1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xcb18a6
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x404bef
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40db60]
jne 0x404bf9
repz ret
jmp fcn.0040883b

Function at 0x4060f3
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.004029c4
and dword [ebp - 4], 0
cmp dword [0x40e54c], 0
mov ebx, eax
jne 0x4061a4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406255
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40aa14
push edi
call esi
test eax, eax
je 0x406255
push eax
call fcn.00402952
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40e54c], eax
call esi
push eax
call fcn.00402952
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40e550], eax
call esi
push eax
call fcn.00402952
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40e554], eax
call esi
push eax
call fcn.00402952
pop ecx
mov dword [0x40e55c], eax
test eax, eax
je 0x4061a4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402952
pop ecx
mov dword [0x40e558], eax
mov eax, dword [0x40e558]
cmp eax, ebx
je 0x4061fc
cmp dword [0x40e55c], ebx
je 0x4061fc
push eax
call fcn.004029cd
push dword [0x40e55c]
mov esi, eax
call fcn.004029cd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4061fc
test edi, edi
je 0x4061fc
call esi
test eax, eax
je 0x4061f3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4061f3
test byte [ebp - 0xc], 1
jne 0x4061fc
or dword [ebp + 0x10], 0x200000
jmp 0x406235
mov eax, dword [0x40e550]
cmp eax, ebx
je 0x406235
push eax
call fcn.004029cd
pop ecx
test eax, eax
je 0x406235
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406235
mov eax, dword [0x40e554]
cmp eax, ebx
je 0x406235
push eax
call fcn.004029cd
pop ecx
test eax, eax
je 0x406235
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40e54c]
call fcn.004029cd
pop ecx
test eax, eax
je 0x406255
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406257
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..pdata
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x73b643cc
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..pdata_1
nop
nop
mov ebx, 0x42e3d0
mov ecx, 0x5f552f95
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x70f02c
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add eax, dword [eax]
add byte [eax], al
cld
pop ds
iretd
stc
jmp 0x70f032
pushal
jmp 0x70f038
call 0x70f042
jae 0x70efd8
mul byte [ebx - 0x3c]
pop esi
jb 0x70f04a
pop esi
xlatb
push ss
or cl, byte [ebx]
add esi, 0xffffffc3
jmp 0x70f05a
cmp dword [esi], 0
jmp 0x70f066
je 0x70f0ed
stc
jmp 0x70f074
mov ecx, esi
jmp 0x70f07a
add esi, 4
jmp 0x70f086
mov eax, dword [esi]
jmp 0x70f08d
add eax, esi
clc
jmp 0x70f094
mov edx, dword [esi + 4]
jmp 0x70f09f
sub dword [eax], 0xed4785fe
jmp 0x70f0ae
add eax, 4
jmp 0x70f0b6
sub edx, 1
clc
jae 0x70f0be
add byte [esi - 0x2c7af1], dl
invalid
jne 0x70f097
jmp 0x70f0c9
add esi, 8
jmp 0x70f0d1
sub dword [ecx], 1
clc
jmp 0x70f0d8
jne 0x70f07d
jae 0x70f0e2
in al, 0x8b
fidiv word [ebx + 2]
mov ebx, esi
jae 0x70f0e8
mov ecx, 0xee87e
add byte [eax], al
call 0x70f0fb
jmp 0x70f0f1
popal
stc
jmp 0x70f0f6
jmp 0x59b556
Function at 0x403024
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x820
mov ecx, 0x200
mov eax, 0xffffffff
push ebx
push esi
push edi
lea edi, [esp + 0x2c]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
rep stosd dword es:[edi], eax
mov esi, 3
mov ecx, 0x418a60
mov dword [esp + 0x14], esi
xor ebx, ebx
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x14], ebx
je 0x4030cf
mov edx, dword [esp + 0x18]
mov eax, dword [edx + ebx*8]
mov edx, dword [edx + ebx*8 + 4]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
push 0x800
lea ecx, [esp + 0x30]
push ecx
push dword [esp + 0x28]
call sub.KERNEL32.dll_GetEnvironmentVariableA
mov edi, eax
test eax, eax
je 0x4030c8
lea edx, [esp + 0x2c]
push edx
mov edx, 0x419700
push edi
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.004038e8
mov edx, 0x419700
push dword [0x418a84]
push dword [0x418a80]
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.004038e8
add esp, 0x20
inc ebx
cmp ebx, dword [esp + 0x14]
jb 0x403067
push dword [0x418a94]
mov ebx, 0x419700
push dword [0x418a90]
lea eax, [esp + 0x14]
push eax
push ebx
call fcn.004038e8
add esp, 0x10
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
add esp, 0x820
ret
Function at 0x40aa00
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x10
push ebx
push esi
mov esi, dword [esp + 0x20]
push edi
mov edi, dword [esp + 0x20]
test edi, edi
mov dword [esp + 0x14], eax
je 0x40aa1d
cmp dword [esp + 0x24], 0
jne 0x40aa28
pop edi
xor eax, eax
pop esi
pop ebx
add esp, 0x10
ret 8
mov ecx, edi
and ecx, 3
shr edi, 2
mov dword [esp + 0x10], ecx
test edi, edi
je 0x40aa79
mov eax, esi
call fcn.0040ab48
add dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
shl edx, 0x10
push edx
sub esp, 4
lea eax, [esi + 2]
call fcn.0040ab48
shl eax, 0xb
add esi, 4
xor eax, dword [esp + 0x1c]
add esp, 4
dec edi
pop edx
xor edx, eax
mov dword [esp + 0x14], edx
shr edx, 0xb
add dword [esp + 0x14], edx
test edi, edi
jne 0x40aa3b
mov ebx, dword [esp + 0x10]
cmp ebx, 1
je 0x40aadd
cmp ebx, 2
je 0x40aaba
cmp ebx, 3
je 0x40aa8e
jmp 0x40aaf7
mov eax, esi
call fcn.0040ab48
add dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
shl edx, 0x10
movzx edi, byte [esi + 2]
shl edi, 0x12
xor edx, edi
xor dword [esp + 0x14], edx
mov ebx, dword [esp + 0x14]
shr ebx, 0xb
add dword [esp + 0x14], ebx
jmp 0x40aaf7
mov eax, esi
call fcn.0040ab48
add dword [esp + 0x14], eax
mov ebx, dword [esp + 0x14]
shl ebx, 0xb
xor dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x14]
shr ecx, 0x11
add dword [esp + 0x14], ecx
jmp 0x40aaf7
mov eax, dword [esp + 0x14]
movzx ecx, byte [esi]
add eax, ecx
mov edi, eax
shl edi, 0xa
xor eax, edi
mov edx, eax
shr edx, 1
add eax, edx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
shl ecx, 3
xor dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
shr eax, 5
add dword [esp + 0x14], eax
mov edx, dword [esp + 0x14]
shl edx, 4
xor dword [esp + 0x14], edx
mov esi, dword [esp + 0x14]
shr esi, 0x11
add dword [esp + 0x14], esi
mov ebx, dword [esp + 0x14]
shl ebx, 0x19
xor dword [esp + 0x14], ebx
mov ecx, dword [esp + 0x14]
shr ecx, 6
add dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8
Function at 0x40eb3c
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x28
mov ecx, 9
xor eax, eax
push edi
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esp + 0xc]
mov dword [0x420944], edx
pop edi
add esp, 0x28
ret

Function at 0x40f4cc
Capabilities:
Resume thread

Disassembly:
push eax
mov ecx, dword [eax + 0xc]
push ebx
push edi
mov edi, eax
push ecx
sub esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
add esp, 4
pop ecx
cmp ecx, eax
je 0x40f597
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x40f597
mov eax, edi
call fcn.0040f5c0
xor al, 1
je 0x40f584
mov edx, 0x4208e8
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebx, [edi + 0x30]
cmp dword [ebx + 0x10], 0
je 0x40f525
mov edx, dword [ebx + 0x10]
mov ecx, dword [ebx + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebx + 0xc]
test ecx, ecx
je 0x40f532
mov edx, dword [ebx + 0x10]
mov dword [ecx + 0x10], edx
cmp dword [0x420930], ebx
jne 0x40f543
mov ecx, dword [ebx + 0xc]
mov dword [0x420930], ecx
mov edx, dword [edi + 0x70]
test edx, edx
je 0x40f550
mov ecx, dword [edi + 0x74]
mov dword [edx + 0x74], ecx
mov edx, dword [edi + 0x74]
test edx, edx
je 0x40f55d
mov ecx, dword [edi + 0x70]
mov dword [edx + 0x70], ecx
cmp dword [0x420934], edi
jne 0x40f56e
mov edx, dword [edi + 0x74]
mov dword [0x420934], edx
mov ecx, 0x4208e8
dec dword [0x420938]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop ebx
pop eax
ret
push dword [0x41d8a4]
xor eax, eax
push dword [0x41d8a0]
call fcn.0040fc14
mov dl, byte [edi + 0x48]
xor dl, 1
je 0x40f5a7
mov ebx, dword [edi + 0x44]
mov ecx, dword [ebx]
mov dword [ebx + 4], ecx
mov dword [esp + 8], edi
mov edi, dword [esp + 8]
mov ecx, 8
xor eax, eax
add edi, 0x50
rep stosd dword es:[edi], eax
pop edi
pop ebx
pop eax
ret
Function at 0x40f5f8
Capabilities:
Suspend thread

Disassembly:
sub esp, 0x2d0
mov ecx, dword [eax + 0xc]
push ebx
mov ebx, eax
push esi
push edi
push ecx
sub esp, 4
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
add esp, 4
pop ecx
cmp ecx, eax
je 0x40f6d3
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x40f6d3
mov eax, ebx
call fcn.0040f5c0
xor al, 1
je 0x40f6c0
mov edx, 0x4208e8
push edx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [ebx + 0x30]
cmp dword [esi + 0x10], 0
je 0x40f65b
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
mov dword [edx + 0xc], ecx
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x40f668
mov edx, dword [esi + 0x10]
mov dword [ecx + 0x10], edx
cmp dword [0x420930], esi
jne 0x40f679
mov ecx, dword [esi + 0xc]
mov dword [0x420930], ecx
mov edx, dword [ebx + 0x70]
test edx, edx
je 0x40f686
mov ecx, dword [ebx + 0x74]
mov dword [edx + 0x74], ecx
mov edx, dword [ebx + 0x74]
test edx, edx
je 0x40f693
mov ecx, dword [ebx + 0x70]
mov dword [edx + 0x70], ecx
cmp dword [0x420934], ebx
jne 0x40f6a4
mov edx, dword [ebx + 0x74]
mov dword [0x420934], edx
mov ecx, 0x4208e8
dec dword [0x420938]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
add esp, 0x2d0
ret
push dword [0x41d8e4]
xor eax, eax
push dword [0x41d8e0]
call fcn.0040fc14
mov dword [esp + 0x10], 0x10003
lea edx, [esp + 0x10]
push edx
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x40f700
push dword [0x41d90c]
xor eax, eax
push dword [0x41d908]
call fcn.0040fc14
mov cl, byte [ebx + 0x48]
xor cl, 1
je 0x40f715
mov edi, dword [ebx + 0x44]
mov esi, dword [esp + 0xd4]
mov dword [edi + 4], esi
mov edx, dword [esp + 0xc0]
mov dword [ebx + 0x50], edx
mov eax, dword [esp + 0xb4]
mov dword [ebx + 0x54], eax
mov ecx, dword [esp + 0xbc]
mov dword [ebx + 0x58], ecx
mov esi, dword [esp + 0xb8]
mov dword [ebx + 0x5c], esi
mov edi, dword [esp + 0xac]
mov dword [ebx + 0x60], edi
mov edx, dword [esp + 0xb0]
mov dword [ebx + 0x64], edx
mov eax, dword [esp + 0xc4]
mov dword [ebx + 0x68], eax
mov ecx, dword [esp + 0xd4]
mov dword [ebx + 0x6c], ecx
pop edi
pop esi
pop ebx
add esp, 0x2d0
ret

Function at 0x40ff08
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
push ebp
mov ebp, eax
push esi
mov esi, dword [esp + 0x14]
push edi
mov eax, esi
call fcn.0040ffb0
mov ebx, eax
mov edi, eax
push esi
sub ebx, ebp
mov eax, ebx
push edi
call fcn.0040ff94
xor al, 1
jne 0x40ff13
pop edi
mov eax, ebx
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x40ffc0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
mov edx, dword fs:[0]
push 0xffffffffffffffff
push 0x41e144
push 0x411b10
push edx
mov dword fs:[0], esp
sub esp, 8
push eax
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 4], 0
jmp 0x41000e
call fcn.00411d90
mov eax, esp
mov dword [0x421dc0], eax
call fcn.00412508
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x421dc4], eax
call fcn.004124ec
call fcn.00411d48
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x421dc8], eax
call fcn.00412670
call fcn.004124d8
call fcn.004121ec
call fcn.00411e70
push 0xa
push dword [0x421dc8]
push 0
push dword [0x421dc4]
call fcn.0040202c
push eax
call fcn.00411dc4
mov dword [ebp - 4], 0xffffffff
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411be8
Capabilities:
Get common file path
Read .ini file

Disassembly:
sub esp, 0x94
mov ecx, 0x20
xor eax, eax
push ebx
xor ebx, ebx
push edi
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [esp + 0x94], eax
test word [esp + 0x96], 0x8000
je 0x411c22
cmp byte [esp + 0x94], 4
jb 0x411c2c
mov edi, 0x10f
jmp 0x411d2f
push 1
call fcn.0041105c
add esp, 4
mov ebx, eax
test eax, eax
je 0x411c68
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, eax
push 0x41ea84
call fcn.004100f0
add esp, 4
lea ecx, [edi + eax + 1]
push ecx
push ebx
call fcn.00411acc
add esp, 8
mov ebx, eax
test eax, eax
jne 0x411c6f
xor edi, edi
jmp 0x411d3c
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push ebx
call fcn.004100f0
add esp, 4
test eax, eax
mov dword [esp + 0x98], eax
je 0x411cb4
mov edx, dword [esp + 0x98]
lea ecx, [ebx + edx]
push ecx
push ebx
call fcn.004148e8
mov edi, eax
add esp, 8
cmp byte [edi], 0x5c
je 0x411cb4
push 0x41ea90
push ebx
call fcn.00414950
add esp, 8
push 0x41ea94
push ebx
call fcn.00414950
push ebx
push 0x80
lea edx, [esp + 0x1c]
push edx
push 0x41eaa0
push 0x41eaa8
push 0x41eab0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x14]
mov dword [esp + 0x94], ecx
push 0xa
lea edx, [esp + 0x98]
push edx
push ecx
call fcn.004146c0
mov dword [esp + 0xa4], eax
inc dword [esp + 0xa0]
push 0xa
lea ecx, [esp + 0xa4]
push ecx
push dword [esp + 0xa8]
call fcn.004146c0
mov edx, dword [esp + 0xb0]
mov edi, eax
shl edx, 8
add edi, edx
add esp, 0x20
test ebx, ebx
je 0x411d3c
push ebx
call fcn.004119d8
add esp, 4
mov eax, edi
pop edi
pop ebx
add esp, 0x94
ret
Function at 0x64d950
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1de000]
push edi
or ebp, 0xffffffff
jmp 0x64d972
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x64d979
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x64d968
mov eax, 1
add ebx, ebx
jne 0x64d98b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x64d99c
jne 0x64d9bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x64d9bb
dec eax
add ebx, ebx
jne 0x64d9a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x64d980
add ebx, ebx
jne 0x64d9b7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x64da0d
xor ecx, ecx
sub eax, 3
jb 0x64d9d3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x64da42
sar eax, 1
mov ebp, eax
jmp 0x64d9de
add ebx, ebx
jne 0x64d9de
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x64d9ac
inc ecx
add ebx, ebx
jne 0x64d9ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x64d9ac
add ebx, ebx
jne 0x64d9f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x64d9ee
jne 0x64da0a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x64d9ee
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x64da2c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x64da1e
jmp 0x64d96e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x64da2c
add edi, ecx
jmp 0x64d96e
pop esi
mov edi, esi
mov ecx, 0x179
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x64da4a
cmp byte [edi], 6
jne 0x64da4a
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 0x64da4f
lea edi, [esi + 0x24b000]
mov eax, dword [edi]
or eax, eax
je 0x64dac7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x24da5c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x24da98]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x64da7c
mov ecx, edi
jns 0x64daab
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 + 0x24da9c]
or eax, eax
je 0x64dac1
mov dword [ebx], eax
add ebx, 4
jmp 0x64da99
call dword [esi + 0x24daac]
mov ebp, dword [esi + 0x24daa0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1cf]
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 0x64dafb
sub esp, 0xffffff80
jmp 0x401290
Function at 0x401f10
Capabilities:
Get disk information
Inspect load icon resource
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x148
push ebx
push esi
push edi
push 0x65
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [esp + 0xc]
call fcn.00401000
lea ecx, [esp + 0x50]
push 0x104
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [esp + 0x50]
lea ecx, [esp + 0xc]
push edx
call fcn.004012b0
test eax, eax
je 0x402021
lea eax, [esp + 0x50]
push 0x404030
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x402084
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x10]
call fcn.00401290
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
sub eax, 8
push 0
push eax
push esi
call edi
mov ebx, dword [sym.imp.MSVCRT.dll_fread]
push esi
push 1
lea edx, [esp + 0x24]
push 8
push edx
call ebx
mov eax, dword [esp + 0x2c]
push 0
push eax
push esi
call edi
push esi
push 1
lea ecx, [esp + 0x48]
push 0x38
push ecx
call ebx
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
mov eax, dword [esp + 0x88]
mov edx, dword [esp + 0x50]
add esp, 0x3c
test eax, eax
mov eax, dword [esp + 0x10]
push edx
push eax
jne 0x401ffe
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401800
jmp 0x402084
sub esp, 0x38
mov ecx, 0xe
lea esi, [esp + 0x58]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x90]
push ecx
lea ecx, [esp + 0x50]
call fcn.00401a90
jmp 0x402084
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov edi, eax
mov esi, 1
xor ebx, ebx
test edi, esi
je 0x40206a
mov dl, bl
lea ecx, [esp + 0x10]
add dl, 0x41
push edx
call sub.MFC42.DLL_CString::operator_1
push 0x40412c
lea ecx, [esp + 0x14]
call fcn.004020e2
lea ecx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push eax
push 0
call fcn.00401cf0
add esi, esi
inc ebx
cmp ebx, 0x1a
jl 0x402039
lea ecx, [esp + 0xc]
call fcn.00401040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
call fcn.00401030
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x148
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x571d0f05
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x2ca06955
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219