joyce8/EMBER2024-capa huggingface dataset:
Function at 0x498164
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, ecx
shr edi, 0x10
and ecx, 0xffff
cmp ebx, 1
jne 0x4981b0
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax]
add ecx, edx
cmp ecx, 0xfff1
jb 0x498195
sub ecx, 0xfff1
add edi, ecx
cmp edi, 0xfff1
jb 0x4981a5
sub edi, 0xfff1
mov eax, edi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4981c0
lea eax, [esi + 1]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ebx, 0x10
jae 0x4981ff
test ebx, ebx
je 0x4981d4
movzx eax, byte [esi]
add ecx, eax
inc esi
add edi, ecx
dec ebx
jne 0x4981c9
cmp ecx, 0xfff1
jb 0x4981e2
sub ecx, 0xfff1
mov eax, 0x80078071
mul edi
shr edx, 0xf
mov eax, edx
shl eax, 4
sub eax, edx
add eax, edi
pop esi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
cmp ebx, 0x15b0
jb 0x4982ea
mov eax, 0x5e6ea9af
mul ebx
shr edx, 0xb
mov dword [ebp + 8], edx
jmp 0x498224
sub ebx, 0x15b0
mov eax, 0x15b
jmp 0x498234
movzx edx, byte [esi]
add ecx, edx
movzx edx, byte [esi + 1]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 2]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 3]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 4]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 5]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 6]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 7]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 8]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 9]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xa]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xb]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xc]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xd]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xe]
add edi, ecx
add ecx, edx
movzx edx, byte [esi + 0xf]
add edi, ecx
add ecx, edx
add edi, ecx
add esi, 0x10
dec eax
jne 0x498234
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
dec dword [ebp + 8]
jne 0x498224
test ebx, ebx
je 0x4983c3
cmp ebx, 0x10
jb 0x498390
mov eax, ebx
shr eax, 4
lea esp, [esp]
Function at 0x4e29c4
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, ecx
shr edi, 0x10
and ecx, 0xffff
cmp ebx, 1
jne 0x4e2a10
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax]
add ecx, edx
cmp ecx, 0xfff1
jb 0x4e29f5
sub ecx, 0xfff1
add edi, ecx
cmp edi, 0xfff1
jb 0x4e2a05
sub edi, 0xfff1
mov eax, edi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4e2a20
lea eax, [esi + 1]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ebx, 0x10
jae 0x4e2a5f
test ebx, ebx
je 0x4e2a34
movzx eax, byte [esi]
add ecx, eax
inc esi
add edi, ecx
dec ebx
jne 0x4e2a29
cmp ecx, 0xfff1
jb 0x4e2a42
sub ecx, 0xfff1
mov eax, 0x80078071
mul edi
shr edx, 0xf
mov eax, edx
shl eax, 4
sub eax, edx
add eax, edi
pop esi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
cmp ebx, 0x15b0
jb 0x4e2b4a
mov eax, 0x5e6ea9af
mul ebx
shr edx, 0xb
mov dword [ebp + 8], edx
jmp 0x4e2a84
Function at 0x538504
Capabilities:
Encode data using xor

Disassembly:
or bh, dh
out 0x82, al
add dword [edx], 0x4d
les esi, [ebp - 0x6b2c5539]
das
mov ds, ecx
push esi
invalid
Function at 0x10001860
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10002add
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x10005004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push ecx
lea ecx, [ebp - 0x14]
call fcn.10001910
call fcn.10001980
lea edi, [esi + 4]
mov dword [ebp - 4], 0
push edi
push 0
lea ecx, [ebp - 0x14]
call fcn.10001940
push eax
push 0x100019b0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x100018f2
lea ecx, [ebp - 0x14]
call fcn.10001920
call fcn.10001950
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10001b69
mov esp, ebp
pop ebp
ret 4
push 6
mov dword [edi], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x10001a80
Capabilities:
Hide graphical window
Set console window title

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10005004]
xor eax, ebp
mov dword [ebp - 4], eax
push ecx
mov ecx, dword [sym.imp.KERNEL32.dll_FreeConsole]
lea edx, [ebp - 9]
mov byte [ebp - 9], 0xc3
call fcn.10001b20
add esp, 4
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 1
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push eax
push 0x1000322c
lea eax, [ebp - 8]
push str.conout_
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
push 0
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
push eax
push 0x10003238
lea eax, [ebp - 8]
push str.conin_
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_freopen_s]
add esp, 0x28
push 5
call dword [sym.imp.KERNEL32.dll_GetConsoleWindow]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push str.Panda_CS:GO_Internal
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001b69
mov esp, ebp
pop ebp
ret

Function at 0x10001b20
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10005004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
lea eax, [ebp - 8]
mov ebx, ecx
push eax
push 0x40
push 1
push ebx
mov edi, edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov al, byte [edi]
mov byte [ebx], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.10001b69
mov esp, ebp
pop ebp
ret
Function at 0x61acde
Capabilities:
Contain obfuscated stackstrings
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xe4
push ebx
push ebp
push esi
push edi
push 0x65
pop eax
push 0x72
pop ecx
push 0x6e
pop edx
push 0x6b
mov byte [esp + 0x22], al
xor ebx, ebx
pop eax
push 0x65
mov word [esp + 0x60], ax
pop eax
push 0x6c
pop esi
push 0x33
mov word [esp + 0x62], ax
mov word [esp + 0x68], ax
pop eax
push 0x32
mov word [esp + 0x6c], ax
pop eax
push 0x2e
mov byte [esp + 0x36], dl
mov word [esp + 0x66], dx
pop edx
push 0x64
mov word [esp + 0x6e], ax
outsb dx, byte [esi]
Function at 0x61b159
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edx
xor ecx, ecx
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + edi + 0x78]
add eax, edi
mov edx, dword [eax + 0x20]
mov ebx, dword [eax + 0x1c]
add edx, edi
mov ebp, dword [eax + 0x24]
add ebx, edi
mov eax, dword [eax + 0x18]
add ebp, edi
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
test eax, eax
je 0x61b1ba
mov edx, dword [edx + ecx*4]
add edx, edi
xor esi, esi
jmp 0x61b1a3
movzx eax, al
or eax, 0x60
add esi, eax
inc edx
add esi, esi
mov al, byte [edx]
test al, al
jne 0x61b198
cmp esi, dword [esp + 0x10]
je 0x61b1c4
mov edx, dword [esp + 0x18]
inc ecx
cmp ecx, dword [esp + 0x14]
jb 0x61b18f
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
movzx eax, word [ebp + ecx*2]
mov eax, dword [ebx + eax*4]
add eax, edi
jmp 0x61b1bc

Function at 0x61cc68
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
push 1
lea eax, [ebp - 4]
push eax
mov eax, ebx
call fcn.004097c8
mov ecx, eax
mov eax, dword [ebp + 8]
movzx eax, byte [eax - 1]
mov edx, 0x80000002
call fcn.005b0f7c
test eax, eax
jne 0x61ccdb
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 8]
push eax
push 0
mov eax, esi
call fcn.004097c8
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x61ccca
cmp dword [ebp - 8], 4
je 0x61ccce
xor ebx, ebx
jmp 0x61ccd0
mov bl, 1
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
jmp 0x61ccdd
xor ebx, ebx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41f1a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x14000]
push edi
or ebp, 0xffffffff
jmp 0x41f1c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41f1c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41f1b8
mov eax, 1
add ebx, ebx
jne 0x41f1db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41f1d0
jne 0x41f1ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41f1d0
xor ecx, ecx
sub eax, 3
jb 0x41f200
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41f272
mov ebp, eax
add ebx, ebx
jne 0x41f20b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41f218
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41f23c
inc ecx
add ebx, ebx
jne 0x41f228
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41f21d
jne 0x41f239
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41f21d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41f25c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41f24d
jmp 0x41f1be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41f25c
add edi, ecx
jmp 0x41f1be
pop esi
mov edi, esi
mov ecx, 0x7b7
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41f27a
cmp byte [edi], 5
jne 0x41f27a
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 0x41f27f
lea edi, [esi + 0x1d000]
mov eax, dword [edi]
or eax, eax
je 0x41f2f7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x208a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x20940]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41f2ac
mov ecx, edi
jns 0x41f2db
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 + 0x20944]
or eax, eax
je 0x41f2f1
mov dword [ebx], eax
add ebx, 4
jmp 0x41f2c9
call dword [esi + 0x20948]
popal
jmp section.UPX0
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408f6c
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x6b743b05
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
mov ebx, 0x42e3d0
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x760c4ad7
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

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

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x43bbc0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004350fc
xor ebx, ebx
cmp dword [0x453b14], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x43bc96
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43bd76
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x43bd76
push eax
call fcn.0043508e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x453b14], eax
call esi
push eax
call fcn.0043508e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x453b18], eax
call esi
push eax
call fcn.0043508e
mov dword [0x453b1c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00435bda
test eax, eax
pop ecx
pop ecx
je 0x43bc64
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043264c
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x43bc96
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0043508e
cmp eax, ebx
pop ecx
mov dword [0x453b24], eax
je 0x43bc96
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043508e
pop ecx
mov dword [0x453b20], eax
mov eax, dword [0x453b20]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x43bd1b
cmp dword [0x453b24], ecx
je 0x43bd1b
push eax
call fcn.00435105
push dword [0x453b24]
mov esi, eax
call fcn.00435105
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x43bd1b
cmp edi, ebx
je 0x43bd1b
call esi
cmp eax, ebx
je 0x43bce8
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43bce8
test byte [ebp - 0x18], 1
jne 0x43bd1b
lea eax, [ebp - 0x10]
push eax
call fcn.00435c11
test eax, eax
pop ecx
je 0x43bd03
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0043264c
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x43bd12
or dword [ebp + 0x10], 0x200000
jmp 0x43bd56
or dword [ebp + 0x10], 0x40000
jmp 0x43bd56
mov eax, dword [0x453b18]
cmp eax, dword [ebp - 8]
je 0x43bd56
push eax
call fcn.00435105
cmp eax, ebx
pop ecx
je 0x43bd56
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43bd56
mov eax, dword [0x453b1c]
cmp eax, dword [ebp - 8]
je 0x43bd56
push eax
call fcn.00435105
cmp eax, ebx
pop ecx
je 0x43bd56
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x453b14]
call fcn.00435105
cmp eax, ebx
pop ecx
je 0x43bd76
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43bd78
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
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 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x515060
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xbe000]
push edi
jmp 0x51507a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x515081
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x515070
mov eax, 1
add ebx, ebx
jne 0x515093
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5150a4
jne 0x5150c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5150c3
dec eax
add ebx, ebx
jne 0x5150b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x515088
add ebx, ebx
jne 0x5150bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x515115
xor ecx, ecx
sub eax, 3
jb 0x5150db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x51514a
sar eax, 1
mov ebp, eax
jmp 0x5150e6
add ebx, ebx
jne 0x5150e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5150b4
inc ecx
add ebx, ebx
jne 0x5150f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5150b4
add ebx, ebx
jne 0x515101
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5150f6
jne 0x515112
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5150f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x515134
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x515126
jmp 0x515076
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x515134
add edi, ecx
jmp 0x515076
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x515152
cmp byte [edi], 0x11
jne 0x515152
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 0x515157
lea edi, [esi + 0x10e000]
mov eax, dword [edi]
or eax, eax
je 0x5151cf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x151a3c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x151bb8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x515184
mov ecx, edi
jns 0x5151b3
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 + 0x151bbc]
or eax, eax
je 0x5151c9
mov dword [ebx], eax
add ebx, 4
jmp 0x5151a1
call dword [esi + 0x151bcc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x515200
cmp al, 0xef
ja 0x5151f3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5151d5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5151e2
mov ebp, dword [esi + 0x151bc0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x515234
sub esp, 0xffffff80
jmp 0x42800a