Function at 0x65254826
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x20c
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
and eax, 0x410
test eax, eax
je 0x652548a0
mov eax, 0
jmp 0x65255a59
cmp dword [ebp + 0x20], 0
jne 0x652548d2
mov dword [esp + 4], str.__no_section_header
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.libmagic_1.dll_file_printf
cmp eax, 0xffffffff
jne 0x652548c8
mov eax, 0xffffffff
jmp 0x65255a59
mov eax, 0
jmp 0x65255a59
cmp dword [ebp + 0xc], 1
jne 0x652548df
mov eax, 0x28
jmp 0x652548e4
mov eax, 0x40
cmp eax, dword [ebp + 0x24]
je 0x65254915
mov dword [esp + 4], str.__corrupted_section_header_size
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.libmagic_1.dll_file_printf
cmp eax, 0xffffffff
jne 0x6525490b
mov eax, 0xffffffff
jmp 0x65255a59
mov eax, 0
jmp 0x65255a59
mov eax, dword [ebp + 0x34]
imul eax, dword [ebp + 0x24]
mov ecx, eax
mov ebx, 0
mov eax, dword [ebp - 0x140]
mov edx, dword [ebp - 0x13c]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
cmp dword [ebp + 0xc], 1
jne 0x65254946
mov ebx, 0x28
jmp 0x6525494b
mov ebx, 0x40
cmp dword [ebp + 0xc], 1
jne 0x65254959
lea ecx, [ebp - 0x90]
jmp 0x6525495f
lea ecx, [ebp - 0xd0]
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call sym.libmagic_1.dll_pread
mov edx, eax
cmp dword [ebp + 0xc], 1
jne 0x6525498f
mov eax, 0x28
jmp 0x65254994
mov eax, 0x40
cmp eax, edx
jle 0x652549d2
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], str.__missing_section_headers_at__jd
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.libmagic_1.dll_file_printf
cmp eax, 0xffffffff
jne 0x652549c8
mov eax, 0xffffffff
jmp 0x65255a59
mov eax, 0
jmp 0x65255a59
cmp dword [ebp + 0xc], 1
jne 0x652549f1
mov eax, dword [ebp - 0x80]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
mov edx, 0
jmp 0x65254a10
mov eax, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xb4]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu64
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x148]
xor eax, 0xffffffff
mov esi, eax
mov eax, dword [ebp - 0x144]
xor eax, 0xffffffff
mov edi, eax
mov eax, edi
or eax, esi
test eax, eax
je 0x6525568d
mov eax, dword [ebp - 0x148]
mov edx, dword [ebp - 0x144]
cmp eax, dword [ebp - 0x60]
mov eax, edx
sbb eax, dword [ebp - 0x5c]
jge 0x6525568d
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], str.__too_large_section_header_offset__jd
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.libmagic_1.dll_file_printf
cmp eax, 0xffffffff
jne 0x65254a82
mov eax, 0xffffffff
jmp 0x65255a59
mov eax, 0
jmp 0x65255a59
cmp dword [ebp + 0xc], 1
jne 0x65254aa9
mov eax, dword [ebp - 0x90]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
jmp 0x65254abe
mov eax, dword [ebp - 0xd0]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
mov ecx, eax
mov ebx, 0
mov eax, dword [ebp - 0x60]
mov edx, dword [ebp - 0x5c]
add eax, ecx
adc edx, ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 8], 0x31
lea eax, [ebp - 0x102]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call sym.libmagic_1.dll_pread
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xffffffff
jne 0x65254b43
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], str.__cant_read_name_of_elf_section_at__jd
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.libmagic_1.dll_file_printf
cmp eax, 0xffffffff
jne 0x65254b39
mov eax, 0xffffffff
jmp 0x65255a59
mov eax, 0
jmp 0x65255a59
lea edx, [ebp - 0x102]
mov eax, dword [ebp - 0x64]
add eax, edx
mov byte [eax], 0
mov dword [esp + 4], str..debug_info
lea eax, [ebp - 0x102]
mov dword [esp], eax
call sym._strcmp
test eax, eax
jne 0x65254b79
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], 0
cmp dword [ebp + 0xc], 1
jne 0x65254b86
mov ebx, 0x28
jmp 0x65254b8b
mov ebx, 0x40
cmp dword [ebp + 0xc], 1
jne 0x65254b99
lea ecx, [ebp - 0x90]
jmp 0x65254b9f
lea ecx, [ebp - 0xd0]
mov eax, dword [ebp - 0x140]
mov edx, dword [ebp - 0x13c]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 8], ebx
mov dword [esp + 4], ecx
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call sym.libmagic_1.dll_pread
mov edx, eax
cmp dword [ebp + 0xc], 1
jne 0x65254bd5
mov eax, 0x28
jmp 0x65254bda
mov eax, 0x40
cmp eax, edx
jle 0x65254c1e
mov eax, dword [ebp - 0x140]
mov edx, dword [ebp - 0x13c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], str.__cant_read_elf_section_at__jd
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.libmagic_1.dll_file_printf
cmp eax, 0xffffffff
jne 0x65254c14
mov eax, 0xffffffff
jmp 0x65255a59
mov eax, 0
jmp 0x65255a59
mov eax, dword [ebp + 0x24]
mov edx, 0
add dword [ebp - 0x140], eax
adc dword [ebp - 0x13c], edx
cmp dword [ebp + 0xc], 1
jne 0x65254c4f
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
jmp 0x65254c64
mov eax, dword [ebp - 0xcc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
cmp eax, 2
jne 0x65254c75
mov dword [ebp - 0x1c], 0
jmp 0x65254cfa
mov eax, dword [ebp - 0x148]
xor eax, 0xffffffff
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x144]
xor eax, 0xffffffff
mov dword [ebp - 0x16c], eax
mov ebx, dword [ebp - 0x170]
mov esi, dword [ebp - 0x16c]
mov eax, esi
or eax, ebx
test eax, eax
je 0x65254cf9
cmp dword [ebp + 0xc], 1
jne 0x65254cc6
mov eax, dword [ebp - 0x80]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
mov edx, 0
jmp 0x65254ce5
mov eax, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xb4]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu64
mov ecx, dword [ebp - 0x144]
cmp dword [ebp - 0x148], eax
sbb ecx, edx
jl 0x65255685
nop
cmp dword [ebp + 0xc], 1
jne 0x65254d17
mov eax, dword [ebp - 0x8c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
jmp 0x65254d2c
mov eax, dword [ebp - 0xcc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
cmp eax, 7
je 0x65254d41
cmp eax, 0x6ffffff5
je 0x652551d1
jmp 0x65255689
cmp dword [ebp + 0xc], 1
jne 0x65254d62
mov eax, dword [ebp - 0x7c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
mov esi, eax
mov edi, 0
jmp 0x65254d88
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xac]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu64
mov esi, eax
mov edi, 0
cmp dword [ebp + 0xc], 1
jne 0x65254da7
mov eax, dword [ebp - 0x80]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
mov edx, 0
jmp 0x65254dc6
mov eax, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xb4]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu64
add eax, esi
adc edx, edi
mov ecx, eax
mov ebx, edx
mov eax, dword [ebp - 0x148]
mov edx, dword [ebp - 0x144]
cmp eax, ecx
mov eax, edx
sbb eax, ebx
jae 0x65254ed9
mov esi, dword [ebp - 0x148]
mov edi, dword [ebp - 0x144]
cmp dword [ebp + 0xc], 1
jne 0x65254e1c
mov eax, dword [ebp - 0x7c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], 0
jmp 0x65254e4b
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xac]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu64
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x14c], 0
cmp dword [ebp + 0xc], 1
jne 0x65254e6a
mov eax, dword [ebp - 0x80]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
mov edx, 0
jmp 0x65254e89
mov eax, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xb4]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu64
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov ecx, dword [ebp - 0x150]
mov ebx, dword [ebp - 0x14c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], str.__note_offset_size__I64ix_I64ix_exceeds_file_size__I64ix
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.libmagic_1.dll_file_printf
cmp eax, 0xffffffff
jne 0x65254ecf
mov eax, 0xffffffff
jmp 0x65255a59
mov eax, 0
jmp 0x65255a59
cmp dword [ebp + 0xc], 1
jne 0x65254ef3
mov eax, dword [ebp - 0x7c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
jmp 0x65254f12
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xac]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu64
mov dword [esp], eax
call sym._malloc
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0
jne 0x65254f4d
mov eax, dword [sym.imp.msvcrt.dll__errno]
call eax
mov eax, dword [eax]
mov dword [esp + 8], str.Cannot_allocate_memory_for_note
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.libmagic_1.dll_file_error
mov eax, 0xffffffff
jmp 0x65255a59
cmp dword [ebp + 0xc], 1
jne 0x65254f6c
mov eax, dword [ebp - 0x80]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
mov edx, 0
jmp 0x65254f8b
mov eax, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xb4]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu64
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], edx
cmp dword [ebp + 0xc], 1
jne 0x65254fad
mov eax, dword [ebp - 0x7c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
mov ecx, eax
jmp 0x65254fce
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xac]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu64
mov ecx, eax
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
mov dword [esp + 8], ecx
mov eax, dword [ebp - 0x68]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call sym.libmagic_1.dll_pread
mov ebx, eax
cmp dword [ebp + 0xc], 1
jne 0x6525500e
mov eax, dword [ebp - 0x7c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
jmp 0x6525502d
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xac]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu64
cmp eax, ebx
jle 0x65255076
mov eax, dword [ebp - 0x68]
mov dword [esp], eax
call sym._free
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x54]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], str.__cant_read_elf_note_at__jd
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.libmagic_1.dll_file_printf
cmp eax, 0xffffffff
jne 0x6525506c
mov eax, 0xffffffff
jmp 0x65255a59
mov eax, 0
jmp 0x65255a59
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
cmp dword [ebp + 0xc], 1
jne 0x652550a3
mov eax, dword [ebp - 0x7c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
mov edx, 0
jmp 0x652550c7
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xac]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu64
mov edx, 0
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x30], eax
sbb ecx, edx
jge 0x652551bd
cmp dword [ebp + 0xc], 1
jne 0x652550f1
mov eax, dword [ebp - 0x7c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
mov edx, eax
jmp 0x65255112
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xac]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu64
mov edx, eax
mov ecx, dword [ebp - 0x30]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x3c]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], 4
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov eax, dword [ebp - 0x68]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._donote
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x30]
xor ah, 0
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x2c]
xor ah, 0
mov dword [ebp - 0x174], eax
mov ebx, dword [ebp - 0x178]
mov esi, dword [ebp - 0x174]
mov eax, esi
or eax, ebx
test eax, eax
je 0x652551c0
jmp 0x65255084
nop
jmp 0x652551c1
nop
mov eax, dword [ebp - 0x68]
mov dword [esp], eax
call sym._free
jmp 0x65255689
cmp dword [ebp + 0x30], 3
jg 0x65255204
cmp dword [ebp + 0x30], 2
jge 0x65255219
jmp 0x6525567f
mov eax, dword [ebp + 0x30]
lea edx, [eax - 0x2b]
mov eax, 1
mov ecx, edx
shl eax, cl
and eax, 0x80081
test eax, eax
setne al
test al, al
jne 0x65255219
jmp 0x6525567f
cmp dword [ebp + 0x30], 0x3e
jg 0x6525567f
cmp dword [ebp + 0x30], 0x2b
jge 0x652551e2
jmp 0x6525567f
nop
cmp dword [ebp - 0x24], 5
ja 0x65255688
cmp dword [ebp + 0xc], 1
jne 0x65255243
mov eax, dword [ebp - 0x80]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
mov edx, 0
jmp 0x65255262
mov eax, dword [ebp - 0xb8]
mov edx, dword [ebp - 0xb4]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu64
mov dword [esp + 0xc], 0
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call dbg.lseek64
mov edi, eax
xor edi, 0xffffffff
mov dword [ebp - 0x180], edi
mov eax, edx
xor eax, 0xffffffff
mov dword [ebp - 0x17c], eax
mov ebx, dword [ebp - 0x180]
mov esi, dword [ebp - 0x17c]
mov eax, esi
or eax, ebx
test eax, eax
jne 0x652552bc
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.libmagic_1.dll_file_badseek
mov eax, 0xffffffff
jmp 0x65255a59
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
cmp dword [ebp + 0xc], 1
jne 0x652552dc
mov eax, 8
mov edx, 0
jmp 0x652552e6
mov eax, 0x10
mov edx, 0
add dword [ebp - 0x38], eax
adc dword [ebp - 0x34], edx
cmp dword [ebp + 0xc], 1
jne 0x6525530b
mov eax, dword [ebp - 0x7c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
mov edx, 0
jmp 0x6525532f
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xac]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu64
mov edx, 0
cmp eax, dword [ebp - 0x38]
mov eax, edx
sbb eax, dword [ebp - 0x34]
jl 0x65255682
cmp dword [ebp + 0xc], 1
jne 0x6525534a
mov eax, 8
jmp 0x6525534f
mov eax, 0x10
mov dword [esp + 8], eax
lea eax, [ebp - 0x130]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call sym._read
mov edx, eax
cmp dword [ebp + 0xc], 1
jne 0x65255377
mov eax, 8
jmp 0x6525537c
mov eax, 0x10
cmp eax, edx
je 0x65255395
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.libmagic_1.dll_file_badread
mov eax, 0xffffffff
jmp 0x65255a59
movzx eax, byte [ebp - 0x130]
cmp al, 0x41
je 0x6525567c
cmp dword [ebp + 0xc], 1
jne 0x652553b1
mov eax, 8
jmp 0x652553b6
mov eax, 0x10
cmp dword [ebp + 0xc], 1
jne 0x652553c4
lea edx, [ebp - 0x10c]
jmp 0x652553ca
lea edx, [ebp - 0x120]
mov dword [esp + 8], eax
lea eax, [ebp - 0x130]
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._memcpy
cmp dword [ebp + 0xc], 1
jne 0x65255404
mov eax, dword [ebp - 0x10c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
mov ecx, eax
mov ebx, 0
jmp 0x65255427
mov eax, dword [ebp - 0x120]
mov edx, dword [ebp - 0x11c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu64
mov ecx, eax
mov ebx, edx
mov eax, ecx
xor eax, 2
mov dword [ebp - 0x188], eax
mov eax, ebx
xor ah, 0
mov dword [ebp - 0x184], eax
mov esi, dword [ebp - 0x188]
mov edi, dword [ebp - 0x184]
mov eax, edi
or eax, esi
test eax, eax
je 0x65255511
mov edx, 2
mov eax, 0
cmp edx, ecx
sbb eax, ebx
jb 0x6525555d
mov eax, ecx
xor ah, 0
mov dword [ebp - 0x190], eax
mov eax, ebx
xor ah, 0
mov dword [ebp - 0x18c], eax
mov esi, dword [ebp - 0x190]
mov edi, dword [ebp - 0x18c]
mov eax, edi
or eax, esi
test eax, eax
je 0x65255670
mov eax, ecx
xor eax, 1
mov dword [ebp - 0x198], eax
mov eax, ebx
xor ah, 0
mov dword [ebp - 0x194], eax
mov ebx, dword [ebp - 0x198]
mov esi, dword [ebp - 0x194]
mov eax, esi
or eax, ebx
test eax, eax
jne 0x6525555d
cmp dword [ebp + 0xc], 1
jne 0x652554e7
mov eax, dword [ebp - 0x108]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
mov edx, 0
jmp 0x65255506
mov eax, dword [ebp - 0x118]
mov edx, dword [ebp - 0x114]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu64
or dword [ebp - 0x40], eax
or dword [ebp - 0x3c], edx
jmp 0x65255677
cmp dword [ebp + 0xc], 1
jne 0x65255533
mov eax, dword [ebp - 0x108]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
mov edx, 0
jmp 0x65255552
mov eax, dword [ebp - 0x118]
mov edx, dword [ebp - 0x114]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu64
or dword [ebp - 0x48], eax
or dword [ebp - 0x44], edx
jmp 0x65255677
cmp dword [ebp + 0xc], 1
jne 0x65255581
mov eax, dword [ebp - 0x108]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
mov esi, eax
mov edi, 0
jmp 0x652555a4
mov eax, dword [ebp - 0x118]
mov edx, dword [ebp - 0x114]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu64
mov esi, eax
mov edi, edx
cmp dword [ebp + 0xc], 1
jne 0x652555c6
mov eax, dword [ebp - 0x10c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
mov edx, 0
jmp 0x652555e5
mov eax, dword [ebp - 0x120]
mov edx, dword [ebp - 0x11c]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu64
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], str.__with_unknown_capability__I64ix___I64ix
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.libmagic_1.dll_file_printf
cmp eax, 0xffffffff
jne 0x65255617
mov eax, 0xffffffff
jmp 0x65255a59
mov edx, dword [ebp - 0x24]
lea eax, [edx + 1]
mov dword [ebp - 0x24], eax
cmp edx, 2
jbe 0x65255676
cmp dword [ebp + 0xc], 1
jne 0x65255644
mov eax, dword [ebp - 0x7c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu32
mov edx, 0
jmp 0x65255668
mov eax, dword [ebp - 0xb0]
mov edx, dword [ebp - 0xac]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call sym._getu64
mov edx, 0
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
jmp 0x65255676
nop
jmp 0x652552ca
nop
jmp 0x652552ca
nop
jmp 0x65255689
nop
jmp 0x65255689
nop
jmp 0x65255689
nop
jmp 0x65255689
nop
sub dword [ebp + 0x20], 1
cmp dword [ebp + 0x20], 0
jne 0x65254a8c
cmp dword [ebp - 0x20], 0
je 0x652556bf
mov dword [esp + 4], str.__with_debug_info
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.libmagic_1.dll_file_printf
cmp eax, 0xffffffff
jne 0x652556bf
mov eax, 0xffffffff
jmp 0x65255a59
cmp dword [ebp - 0x1c], 0
je 0x652556cc
mov eax, 0x6526a79e
jmp 0x652556d1
mov eax, str.not
mov dword [esp + 8], eax
mov dword [esp + 4], str.___sstripped
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.libmagic_1.dll_file_printf
cmp eax, 0xffffffff
jne 0x652556f7
mov eax, 0xffffffff
jmp 0x65255a59
mov eax, dword [ebp - 0x40]
xor ah, 0
mov dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x3c]
xor ah, 0
mov dword [ebp - 0x19c], eax
mov ebx, dword [ebp - 0x1a0]
mov esi, dword [ebp - 0x19c]
mov eax, esi
or eax, ebx
test eax, eax
je 0x65255900
cmp dword [ebp + 0x30], 0x3e
je 0x6525576e
cmp dword [ebp + 0x30], 0x3e
jg 0x65255777
cmp dword [ebp + 0x30], 0x32
je 0x6525576e
cmp dword [ebp + 0x30], 0x32
jg 0x65255777
cmp dword [ebp + 0x30], 0x2b
je 0x65255765
cmp dword [ebp + 0x30], 0x2b
jg 0x65255777
cmp dword [ebp + 0x30], 0x12
je 0x65255765
cmp dword [ebp + 0x30], 0x12
jg 0x65255777
cmp dword [ebp + 0x30], 2
je 0x65255765
cmp dword [ebp + 0x30], 3
je 0x6525576e
jmp 0x65255777
mov dword [ebp - 0x4c], 0x6526aa00
jmp 0x6525577f
mov dword [ebp - 0x4c], 0x6526ab60
jmp 0x6525577f
mov dword [ebp - 0x4c], 0
nop
mov dword [esp + 4], str.__uses
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.libmagic_1.dll_file_printf
cmp eax, 0xffffffff
jne 0x652557a1
mov eax, 0xffffffff
jmp 0x65255a59
cmp dword [ebp - 0x4c], 0
je 0x652558d0
jmp 0x65255866
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov edi, eax
and edi, dword [ebp - 0x40]
mov dword [ebp - 0x150], edi
mov eax, edx
and eax, dword [ebp - 0x3c]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x150]
mov edx, dword [ebp - 0x14c]
mov edi, eax
xor edi, 0
mov dword [ebp - 0x1a8], edi
mov eax, edx
xor ah, 0
mov dword [ebp - 0x1a4], eax
mov edx, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0x1a4]
mov eax, ecx
or eax, edx
test eax, eax
je 0x65255862
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 8]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x6526aeab
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.libmagic_1.dll_file_printf
cmp eax, 0xffffffff
jne 0x65255830
mov eax, 0xffffffff
jmp 0x65255a59
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov edi, eax
not edi
mov dword [ebp - 0x158], edi
mov eax, edx
not eax
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x158]
mov edx, dword [ebp - 0x154]
mov edi, eax
and dword [ebp - 0x40], edi
mov eax, edx
and dword [ebp - 0x3c], eax
add dword [ebp - 0x4c], 0x10
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 8]
test eax, eax
jne 0x652557b0
mov eax, dword [ebp - 0x40]
xor ah, 0
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x3c]
xor ah, 0
mov dword [ebp - 0x1ac], eax
mov ebx, dword [ebp - 0x1b0]
mov esi, dword [ebp - 0x1ac]
mov eax, esi
or eax, ebx
test eax, eax
je 0x65255900
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], str._unknown_hardware_capability__I64ix
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.libmagic_1.dll_file_printf
cmp eax, 0xffffffff
jne 0x65255900
mov eax, 0xffffffff
jmp 0x65255a59
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 4], str._hardware_capability__I64ix
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym.libmagic_1.dll_file_printf
cmp eax, 0xffffffff
jne 0x65255900
mov eax, 0xffffffff
jmp 0x65255a59
mov eax, dword [ebp - 0x48]
xor ah, 0
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x44]
xor ah, 0
mov dword [ebp - 0x1b4], eax
mov ebx, dword [ebp - 0x1b8]
mov esi, dword [ebp - 0x1b4]
mov eax, esi
or eax, ebx
test eax, eax
je 0x65255a54
mov eax, dword [ebp - 0x48]
and eax, 2
mov dword [ebp - 0x160], eax
mov eax, dword [ebp - 0x44]
and eax, 0
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x160]
mov edx, dword [ebp - 0x15c]
mov edi, eax
xor edi, 0
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x65255a4a
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp dword [esp + 0xc], edx
jb 0x65255a5b
add edx, ecx
cmp dword [esp + 0xc], edx
sar dword [ecx], 1
push esp
and al, 0xc
jb 0x65255a65
inc edi
add eax, 0x28
cmp edi, esi
jb 0x65255a40
invalid