Function at 0x1489904c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x60], ebx
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.1487410c
lea eax, [ebp - 8]
call fcn.1487410c
xor eax, eax
push ebp
push 0x14899631
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 8]
call fcn.14873c94
push 0x14899648
push dword [ebp - 4]
push 0x14899648
lea eax, [ebp - 8]
mov edx, 3
call fcn.14873eb8
xor eax, eax
mov dword [ebp - 0xc], eax
mov ebx, esi
cmp word [ebx], 0x5a4d
jne 0x148995ca
mov edi, esi
add edi, dword [ebx + 0x3c]
cmp dword [edi], 0x4550
jne 0x148995ca
lea eax, [ebp - 0xb8]
xor ecx, ecx
mov edx, 0x44
call fcn.148728d4
lea eax, [ebp - 0x74]
xor ecx, ecx
mov edx, 0x10
call fcn.148728d4
mov dword [ebp - 0xb8], 0x44
mov dword [ebp - 0x8c], 0x80
cmp byte [ebp + 8], 0
je 0x14899176
mov eax, dword [0x148dc694]
cmp dword [eax], 0
je 0x14899176
mov eax, dword [0x148dc6f0]
cmp byte [eax], 0
je 0x14899176
mov eax, dword [0x148dc59c]
cmp byte [eax], 0
jne 0x14899176
lea edx, [ebp - 0x20c]
mov eax, dword [0x148dc7b8]
mov eax, dword [eax]
call fcn.14878098
mov edx, dword [ebp - 0x20c]
lea eax, [ebp - 0x60]
call fcn.14873dc8
mov eax, dword [ebp - 0x60]
call fcn.14873dd8
mov dword [ebp - 0xb0], eax
mov byte [ebp - 0x41], 0
cmp byte [ebp - 0x41], 0
jne 0x14899259
lea ecx, [ebp - 0x214]
mov edx, 0x14899654
mov eax, 0x14899660
call fcn.148a66a4
mov edx, dword [ebp - 0x214]
lea eax, [ebp - 0x210]
call fcn.14873dc8
mov edx, dword [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.14873f00
je 0x148991f0
lea ecx, [ebp - 0x21c]
mov edx, 0x14899678
mov eax, 0x14899684
call fcn.148a66a4
mov edx, dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
call fcn.14873dc8
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.14873f00
jne 0x14899222
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xb8]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.14873dd8
push eax
push 0
call fcn.14876900
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x41], al
jmp 0x14899259
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0xb8]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.14873dd8
push eax
mov eax, dword [ebp - 4]
call fcn.14873dd8
push eax
call fcn.14876900
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x41], al
push 0x1f4
call fcn.14876b00
cmp byte [ebp - 0x41], 1
jne 0x148995ca
push 0
push 0x18
lea eax, [ebp - 0x208]
push eax
push 0
mov eax, dword [ebp - 0x74]
push eax
call fcn.14877260
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x204]
add eax, 8
push eax
mov eax, dword [ebp - 0x74]
push eax
call fcn.14876ac8
lea eax, [ebp - 0x14]
push eax
push 0x40
lea eax, [ebp - 0xf8]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x74]
push eax
call fcn.14876ac8
lea eax, [ebp - 0x14]
push eax
push 0xf8
lea eax, [ebp - 0x1f0]
push eax
mov eax, dword [ebp - 0x10]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xbc]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push eax
mov eax, dword [ebp - 0x74]
push eax
call fcn.14876ac8
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x1a0]
call fcn.14873bdc
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1a0]
push eax
lea eax, [ebp - 0x48]
call fcn.14873a78
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x74]
push eax
call fcn.14876ac8
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x50]
add eax, eax
mov dword [ebp - 0x28], eax
push 0
push 0x8000000
push 0x40
lea eax, [ebp - 0x20]
push eax
push 0
push 0xf001f
lea eax, [ebp - 0x3c]
push eax
call fcn.14877278
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x74]
push eax
call fcn.14877268
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
push 0x40
push 0
push 1
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x3c]
push eax
call fcn.14877270
mov dword [ebp - 0x58], eax
push 0x40
push 0
push 1
lea eax, [ebp - 0x20]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.14876988
push eax
mov eax, dword [ebp - 0x3c]
push eax
call fcn.14877270
push 0
push 0x8000000
push 0x40
lea eax, [ebp - 0x28]
push eax
push 0
push 0xf001f
lea eax, [ebp - 0x40]
push eax
call fcn.14877278
push 0x40
push 0
push 1
lea eax, [ebp - 0x28]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.14876988
push eax
mov eax, dword [ebp - 0x40]
push eax
call fcn.14877270
push 0x40
push 0
push 1
lea eax, [ebp - 0x28]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 0x74]
push eax
mov eax, dword [ebp - 0x40]
push eax
call fcn.14877270
cmp dword [ebp - 0x58], 0
jne 0x148995ca
test eax, eax
jne 0x148995ca
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x48]
call fcn.14873a78
mov edx, eax
mov ecx, dword [ebp - 0x1a0]
mov eax, dword [ebp - 0x2c]
call fcn.14876c64
mov ecx, 0x14899048
mov eax, 0x14898d28
sub ecx, eax
push eax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x1c8]
pop edx
call fcn.14876c64
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x1c8]
sub eax, 8
mov ecx, 8
call fcn.14876c64
mov ecx, dword [edi + 0x54]
mov edx, esi
mov eax, dword [ebp - 0x30]
call fcn.14876c64
lea edx, [ebp + 0x14]
mov eax, dword [edi + 0x50]
add eax, dword [ebp - 0x30]
mov ecx, 4
call fcn.14876c64
mov eax, dword [edi + 0x50]
add eax, dword [ebp - 0x30]
add eax, 4
mov ecx, dword [ebp + 0x14]
mov edx, esi
call fcn.14876c64
mov eax, dword [ebp - 0x5c]
call fcn.14873de8
inc eax
add eax, eax
push eax
mov eax, dword [ebp - 0x5c]
call fcn.14873dd8
mov edx, eax
mov eax, dword [edi + 0x50]
add eax, dword [ebp - 0x30]
add eax, 4
add eax, dword [ebp + 0x14]
pop ecx
call fcn.14876c64
movzx eax, word [edi + 6]
dec eax
test eax, eax
jl 0x1489952e
inc eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x4c], 0
mov eax, esi
mov edx, eax
add edx, dword [ebx + 0x3c]
add edx, 0xf8
mov ecx, dword [ebp - 0x4c]
shl ecx, 3
lea ecx, [ecx + ecx*4]
add edx, ecx
mov ecx, dword [edx + 0x10]
push ecx
mov ecx, dword [edx + 0xc]
add ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [edx + 0x14]
add edx, eax
pop eax
pop ecx
call fcn.14876c64
inc dword [ebp - 0x4c]
dec dword [ebp - 0x64]
jne 0x148994f7
mov edx, dword [edi + 0x34]
mov eax, dword [ebp - 0x34]
cmp edx, eax
je 0x1489955d
sub eax, edx
push eax
push edi
mov eax, dword [ebp - 0x30]
push eax
call fcn.14898c94
mov eax, dword [ebp - 0x34]
mov dword [edi + 0x34], eax
mov eax, dword [ebp - 0x30]
add eax, dword [ebx + 0x3c]
mov ecx, 0xf8
mov edx, edi
call fcn.14876c64
mov eax, dword [ebp - 0x30]
push eax
call fcn.14876988
push eax
call fcn.14877268
mov eax, dword [ebp - 0x2c]
push eax
call fcn.14876988
push eax
call fcn.14877268
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 0x70]
push eax
call fcn.14876ad0
cmp eax, 0xffffffff
je 0x1489959e
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x6c]
mov dword [eax], edx
cmp dword [ebp - 0xc], 0
jne 0x148995af
push 0
mov eax, dword [ebp - 0x74]
push eax
call fcn.14876b08
mov eax, dword [ebp - 0x40]
push eax
call fcn.148768c8
mov eax, dword [ebp - 0x3c]
push eax
call fcn.148768c8
mov eax, dword [ebp - 0x70]
push eax
call fcn.148768c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x14899638
lea eax, [ebp - 0x21c]
call fcn.1487364c
lea eax, [ebp - 0x218]
call fcn.14873c58
lea eax, [ebp - 0x214]
call fcn.1487364c
lea eax, [ebp - 0x210]
call fcn.14873c58
lea eax, [ebp - 0x20c]
call fcn.1487364c
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.14873c70
lea eax, [ebp - 0x48]
call fcn.1487364c
lea eax, [ebp - 8]
mov edx, 2
call fcn.14873c70
ret