joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403fc0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x204
push ebx
push esi
push edi
mov dword [esp + 0xc], 0
call fcn.00403fa0
mov eax, dword [esp + 0x214]
test eax, eax
jne 0x403ffb
push 0x41ea00
call fcn.00414880
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
add esp, 0x204
ret
mov ecx, dword [0x424744]
dec eax
test ecx, ecx
mov dword [0x427c80], 1
je 0x404119
shl eax, 8
lea edi, [eax + 0x43d49c]
lea eax, [esp + 0x10]
push edi
push str._s.demo.t
push eax
call fcn.004179d0
add esp, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
lea ecx, [esp + 0x10]
push 0
push 0x80
push 3
push 0
push 0
push DirectSoundCreate
push ecx
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x40408d
push edi
lea edx, [esp + 0x14]
push 0x41ea30
push edx
call fcn.004179d0
add esp, 0xc
lea eax, [esp + 0x10]
push 0
push 0x80
push 3
push 0
push 0
push DirectSoundCreate
push eax
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x40415c
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea edx, [esp + 0xc]
push 0
push edx
push 0x10
push 0x425a60
push esi
call edi
test eax, eax
je 0x4040e2
push esi
push 0x425a60
call fcn.00403600
add esp, 8
test eax, eax
jne 0x4040e2
push eax
lea eax, [esp + 0x10]
push eax
push 0x409
push 0x427c94
push esi
call edi
test eax, eax
jne 0x404170
lea ecx, [esp + 0x10]
lea edx, [esp + 0x110]
push ecx
push str.GameDemo_Read_error__s_
push edx
call fcn.004179d0
add esp, 0xc
lea eax, [esp + 0x110]
push eax
call fcn.00414880
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
add esp, 0x204
ret
shl eax, 8
add eax, 0x43d49c
lea ecx, [esp + 0x10]
push eax
push str._s.demo
push ecx
call fcn.004179d0
add esp, 0xc
lea edx, [esp + 0x10]
push 0
push 0x80
push 3
push 0
push 0
push DirectSoundCreate
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40408d
lea eax, [esp + 0x10]
lea ecx, [esp + 0x110]
push eax
push str.GameDemo_Open_error__s_
push ecx
jmp 0x4040f4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x110]
push ecx
push 0x41ea40
push edx
mov dword [0x427c84], 1
call fcn.004179d0
lea eax, [esp + 0x11c]
push 0xdfffff
push eax
call fcn.00415190
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x204
ret
Function at 0x4041e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x204
push ebx
push esi
push edi
mov dword [esp + 0xc], 0
call fcn.004041c0
mov eax, dword [0x424744]
mov dword [0x447960], 2
test eax, eax
je 0x404319
mov eax, dword [esp + 0x214]
lea ecx, [esp + 0x10]
shl eax, 8
lea edi, [eax + 0x43a29c]
push edi
push str._s.stage.t
push ecx
call fcn.004179d0
add esp, 0xc
mov ebx, dword [sym.imp.KERNEL32.dll_CreateFileA]
lea edx, [esp + 0x10]
push 0
push 0x80
push 3
push 0
push 0
push DirectSoundCreate
push edx
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x40428d
push edi
lea eax, [esp + 0x14]
push 0x41eab4
push eax
call fcn.004179d0
add esp, 0xc
lea ecx, [esp + 0x10]
push 0
push 0x80
push 3
push 0
push 0
push DirectSoundCreate
push ecx
call ebx
mov esi, eax
cmp esi, 0xffffffff
je 0x404364
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [esp + 0xc]
push 0
push ecx
push 0x10
push 0x445740
push esi
call edi
test eax, eax
je 0x4042e2
push esi
push 0x445740
call fcn.00403600
add esp, 8
test eax, eax
jne 0x4042e2
lea edx, [esp + 0xc]
push eax
push edx
push 0x409
push 0x447974
push esi
call edi
test eax, eax
jne 0x40437b
lea eax, [esp + 0x10]
lea ecx, [esp + 0x110]
push eax
push str.GameStage_Read_error__s_
push ecx
call fcn.004179d0
add esp, 0xc
lea edx, [esp + 0x110]
push edx
call fcn.00414880
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
add esp, 0x204
ret
mov edx, dword [esp + 0x214]
lea eax, [esp + 0x10]
shl edx, 8
add edx, 0x43a29c
push edx
push str._s.stage
push eax
call fcn.004179d0
add esp, 0xc
lea ecx, [esp + 0x10]
push 0
push 0x80
push 3
push 0
push 0
push DirectSoundCreate
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40428d
lea edx, [esp + 0x10]
lea eax, [esp + 0x110]
push edx
push str.GameStage_Open_error__s_
push eax
jmp 0x4042f4
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x110]
push eax
push 0x41eacc
push ecx
mov dword [0x447964], 1
call fcn.004179d0
lea edx, [esp + 0x11c]
push 0xdfffff
push edx
call fcn.00415190
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x204
ret
Function at 0x401010
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push eax
call fcn.0040101e
dec eax

Function at 0x40101e
Capabilities:
Parse pe header

Disassembly:
pop eax
call 0x401025
dec eax
pop eax
add eax, esp
sbb eax, ebx
pop eax
push eax
call 0x401032
inc eax
pop eax
pop eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push ebp
and ebp, ebx
xor ebp, edx
or ebp, edi
call 0x401047
dec ebp
pop ebp
sbb ebp, edx
and ebp, edx
inc ebp
pop ebp
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x401065
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 0
jne 0x40106c
xor al, al
jmp 0x40116f
push ecx
xor ecx, ebx
call 0x401075
dec ecx
pop ecx
or ecx, ebx
sbb ecx, ecx
or ecx, eax
xor ecx, eax
inc ecx
pop ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
push ebp
call 0x401093
inc ebp
pop ebp
and ebp, esp
add ebp, ebx
cmp eax, ebp
jne 0x40109d
dec ebp
xor ebp, ebp
pop ebp
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
jne 0x4010ba
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
je 0x4010c1
xor al, al
jmp 0x40116f
push ecx
call 0x4010c8
dec ecx
pop ecx
and ecx, edx
call 0x4010d1
dec ecx
pop ecx
or ecx, edx
pop ecx
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 6]
cmp eax, edx
jl 0x4010eb
xor al, al
jmp 0x40116f
push esi
call 0x4010f2
dec esi
pop esi
add esi, edi
add esi, ecx
jmp 0x4010fc
or esi, ecx
pop esi
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 0x14]
lea ecx, [ecx + eax + 0x18]
movzx edx, word [ebp + 0xc]
imul eax, edx, 0x28
add ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 8]
jae 0x401146
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edx
jmp 0x40114f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov al, 1
jmp 0x40116f
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401025
Capabilities:
Parse pe header

Disassembly:
pop eax
call 0x401025
dec eax
pop eax
add eax, esp
sbb eax, ebx
pop eax
push eax
call 0x401032
inc eax
pop eax
pop eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push ebp
and ebp, ebx
xor ebp, edx
or ebp, edi
call 0x401047
dec ebp
pop ebp
sbb ebp, edx
and ebp, edx
inc ebp
pop ebp
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x401065
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 0
jne 0x40106c
xor al, al
jmp 0x40116f
push ecx
xor ecx, ebx
call 0x401075
dec ecx
pop ecx
or ecx, ebx
sbb ecx, ecx
or ecx, eax
xor ecx, eax
inc ecx
pop ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
push ebp
call 0x401093
inc ebp
pop ebp
and ebp, esp
add ebp, ebx
cmp eax, ebp
jne 0x40109d
dec ebp
xor ebp, ebp
pop ebp
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
jne 0x4010ba
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
je 0x4010c1
xor al, al
jmp 0x40116f
push ecx
call 0x4010c8
dec ecx
pop ecx
and ecx, edx
call 0x4010d1
dec ecx
pop ecx
or ecx, edx
pop ecx
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 6]
cmp eax, edx
jl 0x4010eb
xor al, al
jmp 0x40116f
push esi
call 0x4010f2
dec esi
pop esi
add esi, edi
add esi, ecx
jmp 0x4010fc
or esi, ecx
pop esi
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 0x14]
lea ecx, [ecx + eax + 0x18]
movzx edx, word [ebp + 0xc]
imul eax, edx, 0x28
add ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 8]
jae 0x401146
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edx
jmp 0x40114f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov al, 1
jmp 0x40116f
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401032
Capabilities:
Parse pe header

Disassembly:
pop eax
call 0x401025
dec eax
pop eax
add eax, esp
sbb eax, ebx
pop eax
push eax
call 0x401032
inc eax
pop eax
pop eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push ebp
and ebp, ebx
xor ebp, edx
or ebp, edi
call 0x401047
dec ebp
pop ebp
sbb ebp, edx
and ebp, edx
inc ebp
pop ebp
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x401065
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 0
jne 0x40106c
xor al, al
jmp 0x40116f
push ecx
xor ecx, ebx
call 0x401075
dec ecx
pop ecx
or ecx, ebx
sbb ecx, ecx
or ecx, eax
xor ecx, eax
inc ecx
pop ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
push ebp
call 0x401093
inc ebp
pop ebp
and ebp, esp
add ebp, ebx
cmp eax, ebp
jne 0x40109d
dec ebp
xor ebp, ebp
pop ebp
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
jne 0x4010ba
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
je 0x4010c1
xor al, al
jmp 0x40116f
push ecx
call 0x4010c8
dec ecx
pop ecx
and ecx, edx
call 0x4010d1
dec ecx
pop ecx
or ecx, edx
pop ecx
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 6]
cmp eax, edx
jl 0x4010eb
xor al, al
jmp 0x40116f
push esi
call 0x4010f2
dec esi
pop esi
add esi, edi
add esi, ecx
jmp 0x4010fc
or esi, ecx
pop esi
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 0x14]
lea ecx, [ecx + eax + 0x18]
movzx edx, word [ebp + 0xc]
imul eax, edx, 0x28
add ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 8]
jae 0x401146
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edx
jmp 0x40114f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov al, 1
jmp 0x40116f
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401047
Capabilities:
Parse pe header

Disassembly:
pop eax
call 0x401025
dec eax
pop eax
add eax, esp
sbb eax, ebx
pop eax
push eax
call 0x401032
inc eax
pop eax
pop eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push ebp
and ebp, ebx
xor ebp, edx
or ebp, edi
call 0x401047
dec ebp
pop ebp
sbb ebp, edx
and ebp, edx
inc ebp
pop ebp
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x401065
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 0
jne 0x40106c
xor al, al
jmp 0x40116f
push ecx
xor ecx, ebx
call 0x401075
dec ecx
pop ecx
or ecx, ebx
sbb ecx, ecx
or ecx, eax
xor ecx, eax
inc ecx
pop ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
push ebp
call 0x401093
inc ebp
pop ebp
and ebp, esp
add ebp, ebx
cmp eax, ebp
jne 0x40109d
dec ebp
xor ebp, ebp
pop ebp
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
jne 0x4010ba
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
je 0x4010c1
xor al, al
jmp 0x40116f
push ecx
call 0x4010c8
dec ecx
pop ecx
and ecx, edx
call 0x4010d1
dec ecx
pop ecx
or ecx, edx
pop ecx
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 6]
cmp eax, edx
jl 0x4010eb
xor al, al
jmp 0x40116f
push esi
call 0x4010f2
dec esi
pop esi
add esi, edi
add esi, ecx
jmp 0x4010fc
or esi, ecx
pop esi
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 0x14]
lea ecx, [ecx + eax + 0x18]
movzx edx, word [ebp + 0xc]
imul eax, edx, 0x28
add ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 8]
jae 0x401146
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edx
jmp 0x40114f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov al, 1
jmp 0x40116f
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401093
Capabilities:
Enumerate pe sections

Disassembly:
pop eax
call 0x401025
dec eax
pop eax
add eax, esp
sbb eax, ebx
pop eax
push eax
call 0x401032
inc eax
pop eax
pop eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push ebp
and ebp, ebx
xor ebp, edx
or ebp, edi
call 0x401047
dec ebp
pop ebp
sbb ebp, edx
and ebp, edx
inc ebp
pop ebp
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x401065
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 0
jne 0x40106c
xor al, al
jmp 0x40116f
push ecx
xor ecx, ebx
call 0x401075
dec ecx
pop ecx
or ecx, ebx
sbb ecx, ecx
or ecx, eax
xor ecx, eax
inc ecx
pop ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
push ebp
call 0x401093
inc ebp
pop ebp
and ebp, esp
add ebp, ebx
cmp eax, ebp
jne 0x40109d
dec ebp
xor ebp, ebp
pop ebp
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
jne 0x4010ba
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
je 0x4010c1
xor al, al
jmp 0x40116f
push ecx
call 0x4010c8
dec ecx
pop ecx
and ecx, edx
call 0x4010d1
dec ecx
pop ecx
or ecx, edx
pop ecx
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 6]
cmp eax, edx
jl 0x4010eb
xor al, al
jmp 0x40116f
push esi
call 0x4010f2
dec esi
pop esi
add esi, edi
add esi, ecx
jmp 0x4010fc
or esi, ecx
pop esi
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 0x14]
lea ecx, [ecx + eax + 0x18]
movzx edx, word [ebp + 0xc]
imul eax, edx, 0x28
add ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 8]
jae 0x401146
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edx
jmp 0x40114f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov al, 1
jmp 0x40116f
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4010c8
Capabilities:
Enumerate pe sections

Disassembly:
pop eax
call 0x401025
dec eax
pop eax
add eax, esp
sbb eax, ebx
pop eax
push eax
call 0x401032
inc eax
pop eax
pop eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push ebp
and ebp, ebx
xor ebp, edx
or ebp, edi
call 0x401047
dec ebp
pop ebp
sbb ebp, edx
and ebp, edx
inc ebp
pop ebp
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x401065
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 0
jne 0x40106c
xor al, al
jmp 0x40116f
push ecx
xor ecx, ebx
call 0x401075
dec ecx
pop ecx
or ecx, ebx
sbb ecx, ecx
or ecx, eax
xor ecx, eax
inc ecx
pop ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
push ebp
call 0x401093
inc ebp
pop ebp
and ebp, esp
add ebp, ebx
cmp eax, ebp
jne 0x40109d
dec ebp
xor ebp, ebp
pop ebp
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
jne 0x4010ba
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
je 0x4010c1
xor al, al
jmp 0x40116f
push ecx
call 0x4010c8
dec ecx
pop ecx
and ecx, edx
call 0x4010d1
dec ecx
pop ecx
or ecx, edx
pop ecx
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 6]
cmp eax, edx
jl 0x4010eb
xor al, al
jmp 0x40116f
push esi
call 0x4010f2
dec esi
pop esi
add esi, edi
add esi, ecx
jmp 0x4010fc
or esi, ecx
pop esi
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 0x14]
lea ecx, [ecx + eax + 0x18]
movzx edx, word [ebp + 0xc]
imul eax, edx, 0x28
add ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 8]
jae 0x401146
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edx
jmp 0x40114f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov al, 1
jmp 0x40116f
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4010d1
Capabilities:
Enumerate pe sections

Disassembly:
pop eax
call 0x401025
dec eax
pop eax
add eax, esp
sbb eax, ebx
pop eax
push eax
call 0x401032
inc eax
pop eax
pop eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
push ebp
and ebp, ebx
xor ebp, edx
or ebp, edi
call 0x401047
dec ebp
pop ebp
sbb ebp, edx
and ebp, edx
inc ebp
pop ebp
mov ecx, dword [ebp - 8]
movzx edx, word [ecx]
cmp edx, 0x5a4d
jne 0x401065
mov eax, dword [ebp - 8]
cmp dword [eax + 0x3c], 0
jne 0x40106c
xor al, al
jmp 0x40116f
push ecx
xor ecx, ebx
call 0x401075
dec ecx
pop ecx
or ecx, ebx
sbb ecx, ecx
or ecx, eax
xor ecx, eax
inc ecx
pop ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0x3c]
mov dword [ebp - 0xc], edx
push ebp
call 0x401093
inc ebp
pop ebp
and ebp, esp
add ebp, ebx
cmp eax, ebp
jne 0x40109d
dec ebp
xor ebp, ebp
pop ebp
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0x4550
jne 0x4010ba
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 0x18]
cmp edx, 0x10b
je 0x4010c1
xor al, al
jmp 0x40116f
push ecx
call 0x4010c8
dec ecx
pop ecx
and ecx, edx
call 0x4010d1
dec ecx
pop ecx
or ecx, edx
pop ecx
movzx eax, word [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + 6]
cmp eax, edx
jl 0x4010eb
xor al, al
jmp 0x40116f
push esi
call 0x4010f2
dec esi
pop esi
add esi, edi
add esi, ecx
jmp 0x4010fc
or esi, ecx
pop esi
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0x3c]
mov edx, dword [ebp - 0xc]
movzx eax, word [edx + 0x14]
lea ecx, [ecx + eax + 0x18]
movzx edx, word [ebp + 0xc]
imul eax, edx, 0x28
add ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
add edx, dword [ecx + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ecx + 0x10]
cmp eax, dword [edx + 8]
jae 0x401146
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x10], edx
jmp 0x40114f
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
mov al, 1
jmp 0x40116f
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ea990
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x94000]
push edi
jmp 0x4ea9aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4ea9b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ea9a0
mov eax, 1
add ebx, ebx
jne 0x4ea9c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4ea9d4
jne 0x4ea9f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ea9f3
dec eax
add ebx, ebx
jne 0x4ea9e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4ea9b8
add ebx, ebx
jne 0x4ea9ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4eaa45
xor ecx, ecx
sub eax, 3
jb 0x4eaa0b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4eaa7a
sar eax, 1
mov ebp, eax
jmp 0x4eaa16
add ebx, ebx
jne 0x4eaa16
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ea9e4
inc ecx
add ebx, ebx
jne 0x4eaa24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4ea9e4
add ebx, ebx
jne 0x4eaa31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4eaa26
jne 0x4eaa42
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4eaa26
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4eaa64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4eaa56
jmp 0x4ea9a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4eaa64
add edi, ecx
jmp 0x4ea9a6
pop esi
mov edi, esi
mov ecx, 0x3ee5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4eaa82
cmp byte [edi], 0x11
jne 0x4eaa82
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 0x4eaa87
lea edi, [esi + 0xe3000]
mov eax, dword [edi]
or eax, eax
je 0x4eaaff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xfbebc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xfc038]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4eaab4
mov ecx, edi
jns 0x4eaae3
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 + 0xfc03c]
or eax, eax
je 0x4eaaf9
mov dword [ebx], eax
add ebx, 4
jmp 0x4eaad1
call dword [esi + 0xfc04c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4eab30
cmp al, 0xef
ja 0x4eab23
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4eab05
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4eab12
mov ebp, dword [esi + 0xfc040]
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 0x4eab64
sub esp, 0xffffff80
jmp 0x427f4a