Function at 0x450f4f
Capabilities:
Parse pe header
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x14], ecx
call fcn.00431c97
mov al, byte [ebp + 0x10]
cmp al, 1
pop ecx
mov byte [ebp - 0xd], al
jne 0x450f73
mov byte [ebp - 0xd], 0
push ebx
cmp al, 1
sete bl
push esi
lea ecx, [ebp - 0x48]
mov byte [ebp + 0x10], bl
call fcn.0043717e
lea ecx, [ebp - 0x44]
call fcn.0043717e
lea eax, [ebp + 8]
push eax
call fcn.00431c97
test bl, bl
pop ecx
je 0x450f9f
sub dword [ebp + 8], 2
push 0x3d
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00439b04
add esp, 0xc
test bl, bl
je 0x450fbd
mov eax, dword [ebp - 0x48]
mov word [eax], 0x26
mov ecx, dword [ebp - 0x14]
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.00402c95
mov eax, dword [ebp - 0x48]
movsx esi, bl
shl esi, 1
lea ebx, [esi + eax]
mov eax, dword [ebp + 8]
cmp word [eax], 0x3d
je 0x450fe9
mov esi, 0x80070057
jmp 0x451ba8
add dword [ebp + 8], 2
push edi
push 0x2c
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00439b04
mov eax, dword [ebp + 8]
mov di, word [eax]
add esp, 0xc
cmp di, 0x2c
jne 0x451010
add dword [ebp + 8], 2
cmp byte [ebp - 0xd], 0
jne 0x451059
push dword [ebp - 0x44]
push str.WINVER
call fcn.00432c89
test al, al
pop ecx
pop ecx
je 0x451059
push str.0x_I64X
call fcn.004344cc
push edx
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00478179
mov ecx, dword [ebp - 0x14]
add esp, 0x10
lea eax, [ebp - 0x130]
push eax
push ebx
call fcn.00436b54
jmp 0x451ba5
test di, di
je 0x45106e
cmp di, 0x2c
je 0x45106e
mov esi, 0x80070057
jmp 0x451ba7
cmp byte [ebp - 0xd], 0
je 0x45107e
cmp byte [ebp - 0xd], 2
jne 0x4514c4
push dword [ebp - 0x48]
lea ecx, [ebp - 0x1c]
call fcn.004419bc
cmp byte [ebp + 0x10], 0
mov edi, dword [ebp - 0x1c]
je 0x451097
mov word [edi], 0x26
lea eax, [ebp + 8]
push eax
call fcn.00431c97
push dword [ebp - 0x44]
push str.FVER
call fcn.00432c89
add esp, 0xc
test al, al
je 0x4510dd
push dword [ebp + 8]
call fcn.0040f738
push eax
lea eax, [ebp + 0x10]
push eax
call fcn.004039cd
mov ecx, dword [ebp - 0x14]
add esp, 0xc
push dword [ebp + 0x10]
push edi
call fcn.00436b54
lea ecx, [ebp + 0x10]
jmp 0x451b98
push dword [ebp - 0x44]
push str.FTIME
call fcn.00432c89
test al, al
pop ecx
pop ecx
je 0x451284
push dword [ebp + 8]
call fcn.0040f738
pop ecx
lea ecx, [ebp - 0x20]
mov ebx, eax
call fcn.0043717e
lea ecx, [ebp - 0x28]
call fcn.0043717e
lea ecx, [ebp - 0xc]
call fcn.0043717e
push 6
lea eax, [ebp - 4]
push eax
add esi, edi
push str._local
mov dword [ebp - 4], esi
call fcn.00438eee
add esp, 0xc
test al, al
je 0x451149
cmp byte [ebp + 0x10], 0
je 0x451145
sub dword [ebp - 4], 2
mov eax, dword [ebp - 4]
mov word [eax], 0x26
or byte [ebp + 0x10], 2
push 3
lea eax, [ebp - 4]
push eax
push 0x49f77c
call fcn.00438eee
add esp, 0xc
test al, al
je 0x451164
or byte [ebp + 0x10], 4
push 4
lea eax, [ebp - 4]
push eax
push str._ws1
call fcn.00438eee
add esp, 0xc
test al, al
je 0x45117f
or byte [ebp + 0x10], 8
cmp byte [ebp + 0x10], 0
je 0x45118a
mov word [edi], 0x26
push 0x2c
pop esi
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00439b04
mov eax, dword [ebp - 4]
add esp, 0xc
cmp word [eax], si
jne 0x4511bb
add dword [ebp - 4], 2
push esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00439b04
add esp, 0xc
mov eax, dword [ebp - 4]
cmp word [eax], si
jne 0x4511d8
add dword [ebp - 4], 2
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00439b04
add esp, 0xc
lea eax, [ebp - 0x90]
push eax
xor esi, esi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x451251
push dword [ebp + 0x10]
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call fcn.0043a60a
push dword [ebp + 0x10]
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x28]
push dword [ebp - 0x14]
call fcn.0043a60a
push dword [ebp + 0x10]
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x14]
call fcn.0043a60a
add esp, 0x30
lea ecx, [ebp - 0xc]
call fcn.00431c4c
lea ecx, [ebp - 0x28]
call fcn.00431c4c
lea ecx, [ebp - 0x20]
call fcn.00431c4c
lea ecx, [ebp - 0x1c]
call fcn.00431c4c
jmp 0x451ba7
mov ecx, dword [ebp - 0x14]
mov esi, 0x497994
push esi
push dword [ebp - 0x20]
call fcn.00436b54
mov ecx, dword [ebp - 0x14]
push esi
push dword [ebp - 0x28]
call fcn.00436b54
mov ecx, dword [ebp - 0x14]
push esi
push dword [ebp - 0xc]
call fcn.00436b54
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x45122c
push dword [ebp - 0x44]
push str.FATTR
call fcn.00432c89
test al, al
pop ecx
pop ecx
je 0x4514bc
push dword [ebp + 8]
call fcn.0040f738
cmp byte [ebp + 0x10], 0
pop ecx
mov ebx, eax
je 0x4512b1
mov word [edi], 0x26
lea ecx, [ebp - 0x18]
call fcn.0043717e
lea ecx, [ebp - 0xc]
call fcn.0043717e
lea ecx, [ebp - 0x28]
call fcn.0043717e
lea ecx, [ebp - 0x20]
call fcn.0043717e
lea ecx, [ebp - 8]
call fcn.0043717e
push 0x2c
pop esi
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], edi
call fcn.00439b04
mov eax, dword [ebp - 4]
add esp, 0xc
cmp word [eax], si
jne 0x4513a0
cmp byte [ebp + 0x10], 0
je 0x451309
mov word [eax], 0x26
jmp 0x45130e
inc eax
inc eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00439b04
mov eax, dword [ebp - 4]
add esp, 0xc
cmp word [eax], si
jne 0x4513a0
cmp byte [ebp + 0x10], 0
je 0x451334
mov word [eax], 0x26
jmp 0x451339
inc eax
inc eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00439b04
mov eax, dword [ebp - 4]
add esp, 0xc
cmp word [eax], si
jne 0x4513a0
cmp byte [ebp + 0x10], 0
je 0x45135f
mov word [eax], 0x26
jmp 0x451364
inc eax
inc eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00439b04
mov eax, dword [ebp - 4]
add esp, 0xc
cmp word [eax], si
jne 0x4513a0
cmp byte [ebp + 0x10], 0
je 0x45138a
mov word [eax], 0x26
jmp 0x45138f
inc eax
inc eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00439b04
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x451458
mov eax, dword [ebp - 0x6c]
push dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
xor edi, edi
shr eax, 5
inc edi
and eax, edi
push eax
push esi
call fcn.004394ef
mov eax, dword [ebp - 0x6c]
push dword [ebp - 0xc]
shr eax, 1
and eax, edi
push eax
push esi
call fcn.004394ef
mov eax, dword [ebp - 0x6c]
push dword [ebp - 0x28]
and eax, edi
push eax
push esi
call fcn.004394ef
mov eax, dword [ebp - 0x6c]
push dword [ebp - 0x20]
shr eax, 2
and eax, edi
push eax
push esi
call fcn.004394ef
push dword [ebp - 0x6c]
and word [ebp - 0xf4], 0
lea eax, [ebp - 0xf4]
push str.0x_lX
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x3c
lea eax, [ebp - 0xf4]
push eax
push dword [ebp - 8]
mov ecx, esi
call fcn.00436b54
lea ecx, [ebp - 8]
call fcn.00431c4c
lea ecx, [ebp - 0x20]
call fcn.00431c4c
lea ecx, [ebp - 0x28]
call fcn.00431c4c
lea ecx, [ebp - 0xc]
call fcn.00431c4c
lea ecx, [ebp - 0x18]
jmp 0x451b98
mov edi, dword [ebp - 0x14]
mov esi, 0x497994
push esi
push dword [ebp - 0x18]
mov ecx, edi
call fcn.00436b54
push esi
push dword [ebp - 0xc]
mov ecx, edi
call fcn.00436b54
push esi
push dword [ebp - 0x28]
mov ecx, edi
call fcn.00436b54
push esi
push dword [ebp - 0x20]
mov ecx, edi
call fcn.00436b54
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 8]
mov esi, eax
call fcn.00431c4c
lea ecx, [ebp - 0x20]
call fcn.00431c4c
lea ecx, [ebp - 0x28]
call fcn.00431c4c
lea ecx, [ebp - 0xc]
call fcn.00431c4c
lea ecx, [ebp - 0x18]
jmp 0x45123f
lea ecx, [ebp - 0x1c]
call fcn.00431c4c
cmp byte [ebp - 0xd], 0
jne 0x451ba5
push dword [ebp - 0x48]
lea ecx, [ebp - 0x1c]
call fcn.004419bc
lea eax, [ebp + 8]
push eax
call fcn.00431c97
mov esi, dword [ebp - 0x44]
push esi
push str.DROPFILE
call fcn.00432c89
add esp, 0xc
test al, al
je 0x4515d6
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 8]
xor edi, edi
push eax
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
call fcn.00439f88
pop ecx
pop ecx
lea ecx, [ebp - 0xc]
call fcn.0043717e
lea ecx, [ebp - 0x28]
call fcn.0043717e
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], eax
push 0x2c
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00439b04
mov eax, dword [ebp - 8]
add esp, 0xc
cmp word [eax], 0x2c
jne 0x451567
cmp byte [ebp + 0x10], 0
je 0x451550
mov word [eax], 0x26
jmp 0x451555
inc eax
inc eax
mov dword [ebp - 8], eax
push 0x2c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00439b04
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.0043717e
lea ecx, [ebp - 0x18]
call fcn.0043717e
mov esi, dword [ebp - 0x28]
xor eax, eax
cmp word [esi], di
je 0x451584
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
or ecx, dword [ebp - 0x30]
je 0x45159c
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x34]
call fcn.00403d4d
add esp, 0xc
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0xc]
call fcn.00436b54
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push esi
call fcn.00436b54
lea ecx, [ebp - 0x18]
call fcn.00431c4c
lea ecx, [ebp - 0x20]
call fcn.00431c4c
lea ecx, [ebp - 0x28]
call fcn.00431c4c
lea ecx, [ebp - 0xc]
jmp 0x451b98
push esi
push 0x49f758
call fcn.00432c89
test al, al
pop ecx
pop ecx
je 0x4517e6
push dword [ebp + 8]
call fcn.0040f738
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
call fcn.00431c97
push dword [ebp - 8]
call fcn.0040d1db
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.0043717e
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 8]
call fcn.0040fa85
cmp byte [ebp + 0x10], 0
mov ebx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x1c]
pop ecx
pop ecx
push 0x26
pop edi
je 0x451632
mov word [esi], di
lea ecx, [ebp - 0x38]
call fcn.0043717e
lea ecx, [ebp - 0x3c]
call fcn.0043717e
lea ecx, [ebp - 0xc]
call fcn.0043717e
lea ecx, [ebp - 0x28]
call fcn.0043717e
lea ecx, [ebp - 0x20]
call fcn.0043717e
lea ecx, [ebp - 0x18]
call fcn.0043717e
lea ecx, [ebp - 8]
call fcn.0043717e
push 0x2c
mov dword [ebp - 4], esi
pop esi
push esi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00439b04
mov eax, dword [ebp - 4]
add esp, 0xc
cmp word [eax], si
jne 0x451783
cmp byte [ebp + 0x10], 0
je 0x451698
mov word [eax], di
jmp 0x45169d
inc eax
inc eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00439b04
mov eax, dword [ebp - 4]
add esp, 0xc
cmp word [eax], si
jne 0x451783
cmp byte [ebp + 0x10], 0
je 0x4516c5
mov word [eax], di
jmp 0x4516ca
inc eax
inc eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00439b04
mov eax, dword [ebp - 4]
add esp, 0xc
cmp word [eax], si
jne 0x451783
cmp byte [ebp + 0x10], 0
je 0x4516f2
mov word [eax], di
jmp 0x4516f7
inc eax
inc eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00439b04
mov eax, dword [ebp - 4]
add esp, 0xc
cmp word [eax], si
jne 0x451783
cmp byte [ebp + 0x10], 0
je 0x45171b
mov word [eax], di
jmp 0x451720
inc eax
inc eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00439b04
mov eax, dword [ebp - 4]
add esp, 0xc
cmp word [eax], si
jne 0x451783
cmp byte [ebp + 0x10], 0
je 0x451744
mov word [eax], di
jmp 0x451749
inc eax
inc eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00439b04
mov eax, dword [ebp - 4]
add esp, 0xc
cmp word [eax], si
jne 0x451783
cmp byte [ebp + 0x10], 0
je 0x45176d
mov word [eax], di
jmp 0x451772
inc eax
inc eax
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
call fcn.00439b04
add esp, 0xc
push dword [ebp - 8]
push dword [ebp - 0x18]
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0xc]
push dword [ebp - 0x3c]
push dword [ebp - 0x38]
push ebx
push dword [ebp - 0x14]
call fcn.00430e21
add esp, 0x24
lea ecx, [ebp - 8]
mov esi, eax
call fcn.00431c4c
lea ecx, [ebp - 0x18]
call fcn.00431c4c
lea ecx, [ebp - 0x20]
call fcn.00431c4c
lea ecx, [ebp - 0x28]
call fcn.00431c4c
lea ecx, [ebp - 0xc]
call fcn.00431c4c
lea ecx, [ebp - 0x3c]
call fcn.00431c4c
lea ecx, [ebp - 0x38]
call fcn.00431c4c
lea ecx, [ebp - 0x30]
jmp 0x45123f
push esi
push str.PPID
call fcn.00432c89
test al, al
pop ecx
pop ecx
je 0x45182b
and dword [ebp - 0x34], 0
and dword [ebp - 0x30], 0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00439f88
pop ecx
pop ecx
push dword [ebp - 0x1c]
push dword [ebp - 0x34]
call fcn.004041b8
pop ecx
push eax
push dword [ebp - 0x14]
call fcn.004394ef
add esp, 0xc
jmp 0x451b9d
push esi
push 0x49f748
call fcn.00432c89
test al, al
pop ecx
pop ecx
je 0x451846
push dword [ebp - 0x1c]
call fcn.0047832c
jmp 0x45181a
push esi
push str.PWIN
call fcn.00432c89
test al, al
pop ecx
pop ecx
je 0x4519b3
lea ecx, [ebp - 0x30]
call fcn.0043717e
lea ecx, [ebp - 0x18]
call fcn.0043717e
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
push ebx
mov dword [ebp - 0x38], eax
push 0x2c
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0042d9f9
push 0x2c
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00439b04
add esp, 0x1c
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
call fcn.0040483e
test eax, eax
pop ecx
pop ecx
je 0x4518be
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0040483e
test eax, eax
pop ecx
pop ecx
je 0x4518d7
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp + 8]
push eax
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x3c], ebx
call fcn.0040483e
pop ecx
pop ecx
push edi
push esi
call dword [sym.imp.USER32.dll_WindowFromPoint]
cmp eax, ebx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], eax
je 0x451984
cmp dword [ebp - 0x40], 3
jne 0x45191d
cmp dword [ebp - 0x3c], 0
jne 0x45191d
mov eax, dword [ebp - 0x18]
cmp word [eax], 0
je 0x451984
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [ebp + 0x10]
jmp 0x45193d
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_GetParent]
test eax, eax
je 0x451946
push 0xfffffffffffffff0
mov dword [ebp - 8], eax
push eax
call ebx
test eax, 0x40000000
jne 0x45192a
cmp dword [ebp - 0x40], 3
jne 0x451952
cmp dword [ebp - 0x3c], 0
je 0x451984
mov ebx, dword [ebp - 8]
and dword [ebp - 0x2c], 0
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x2c]
push eax
push ebx
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [ebp - 0x40]
sub edi, dword [ebp - 0x28]
sub esi, dword [ebp - 0x2c]
push edi
push esi
push ebx
mov dword [ebp + 0x10], ebx
call dword [sym.imp.USER32.dll_ChildWindowFromPointEx]
test eax, eax
je 0x451984
mov dword [ebp + 0x10], eax
push dword [ebp - 0x30]
push dword [ebp + 0x10]
push dword [ebp - 0x14]
call fcn.00441a8e
push dword [ebp - 0x18]
push dword [ebp - 8]
push dword [ebp - 0x14]
call fcn.00441a8e
add esp, 0x18
lea ecx, [ebp - 0x18]
call fcn.00431c4c
lea ecx, [ebp - 0x30]
jmp 0x451b98
push esi
push 0x49f738
call fcn.00432c89
test al, al
pop ecx
pop ecx
je 0x451b9d
cmp byte [0x4afb91], 1
mov dword [ebp + 0x10], 0x49f730
jge 0x4519df
mov dword [ebp + 0x10], 0x49f728
push 0xd
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp + 8]
xor ebx, ebx
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0x38], ebx
call fcn.00417571
mov eax, dword [ebp + 8]
add esp, 0xc
cmp word [eax], bx
je 0x451b87
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edx, dword [ebp + 8]
lea eax, [edx + eax*2 - 2]
mov cx, word [eax]
cmp cx, 0x5c
je 0x451a2f
cmp cx, 0x2f
je 0x451a2f
push edx
call fcn.00482b55
test eax, eax
pop ecx
je 0x451a52
jmp 0x451a32
mov word [eax], bx
push 0xffffffffffffffff
push dword [ebp + 8]
lea ecx, [ebp - 8]
call fcn.004372a4
push str._version.dll
lea ecx, [ebp - 8]
call fcn.004371ec
mov eax, dword [ebp - 8]
mov dword [ebp + 8], eax
push ebx
push 0x80
push 3
push ebx
push 7
push 0x80000000
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
call fcn.00404863
cmp dword [ebp - 0xc], ebx
mov dword [ebp + 0x10], 0x497994
je 0x451b7f
mov edi, 0x1000
push edi
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.0043719c
mov esi, dword [ebp - 0x30]
push edi
push ebx
push esi
call fcn.004832e0
add esp, 0xc
push ebx
lea eax, [ebp - 4]
push eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
push dword [ebp - 0xc]
call edi
test eax, eax
je 0x451b77
cmp dword [ebp - 4], 0x40
jb 0x451b77
cmp word [esi], 0x5a4d
jne 0x451b77
mov eax, dword [esi + 0x3c]
lea ecx, [eax + 8]
cmp ecx, dword [ebp - 4]
jbe 0x451afe
push ebx
push ebx
push eax
push dword [ebp - 0xc]
mov dword [esi], ebx
mov dword [esi + 4], ebx
call fcn.00432bc3
add esp, 0x10
push ebx
lea eax, [ebp - 4]
push eax
push 8
push esi
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
call edi
xor eax, eax
lea ecx, [eax + 8]
cmp ecx, dword [ebp - 4]
ja 0x451b77
mov edx, dword [esi + eax]
mov eax, dword [esi + eax + 4]
mov ecx, 0x4550
and eax, 0xffff
cmp edx, ecx
jne 0x451b4a
cmp eax, 0x8664
jne 0x451b2b
mov dword [ebp + 0x10], 0x49f730
jmp 0x451b77
cmp edx, ecx
jne 0x451b4a
cmp eax, 0x14c
je 0x451b70
cmp edx, ecx
jne 0x451b4a
cmp eax, 0x200
jne 0x451b4a
mov dword [ebp + 0x10], str.ia64
jmp 0x451b77
mov ecx, 0x3c05454e
cmp edx, ecx
jne 0x451b77
cmp eax, 0x137
je 0x451b70
cmp edx, ecx
jne 0x451b77
cmp eax, 0x1b0
je 0x451b70
cmp edx, ecx
jne 0x451b77
cmp eax, 0xe7
jne 0x451b77
mov dword [ebp + 0x10], 0x49f728
lea ecx, [ebp - 0x30]
call fcn.00431c4c
lea ecx, [ebp - 0xc]
call fcn.00402b75
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
push dword [ebp - 0x1c]
call fcn.00436b54
lea ecx, [ebp - 8]
call fcn.00431c4c
lea ecx, [ebp - 0x1c]
call fcn.00431c4c
xor esi, esi
pop edi
lea ecx, [ebp - 0x44]
call fcn.00431c4c
lea ecx, [ebp - 0x48]
call fcn.00431c4c
mov eax, esi
pop esi
pop ebx
leave
ret 0xc