Function at 0x148999b4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffddc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x218], ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x210], 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 0x1489a027
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x5c]
mov edx, dword [ebp - 8]
call fcn.14873c94
push 0x1489a040
push dword [ebp - 4]
push 0x1489a040
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 0x14899fbb
mov edi, esi
add edi, dword [ebx + 0x3c]
cmp dword [edi], 0x4550
jne 0x14899fbb
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 0x14899b34
mov eax, dword [0x148dc694]
cmp dword [eax], 0
je 0x14899b34
mov eax, dword [0x148dc6f0]
cmp byte [eax], 0
je 0x14899b34
mov eax, dword [0x148dc59c]
cmp byte [eax], 0
jne 0x14899b34
mov eax, dword [0x148dc94c]
cmp byte [eax], 0
je 0x14899b06
lea edx, [ebp - 0x210]
mov eax, dword [0x148dc7b8]
mov eax, dword [eax]
call fcn.14878098
mov ecx, dword [ebp - 0x210]
lea eax, [ebp - 0x20c]
mov edx, 0x1489a04c
call fcn.148738f4
mov edx, dword [ebp - 0x20c]
lea eax, [ebp - 0x60]
call fcn.14873dc8
jmp 0x14899b26
lea edx, [ebp - 0x214]
mov eax, dword [0x148dc7b8]
mov eax, dword [eax]
call fcn.14878098
mov edx, dword [ebp - 0x214]
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 0x14899c17
lea ecx, [ebp - 0x21c]
mov edx, 0x1489a060
mov eax, 0x1489a06c
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
je 0x14899bae
lea ecx, [ebp - 0x224]
mov edx, 0x1489a084
mov eax, 0x1489a090
call fcn.148a66a4
mov edx, dword [ebp - 0x224]
lea eax, [ebp - 0x220]
call fcn.14873dc8
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp - 4]
call fcn.14873f00
jne 0x14899be0
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 0x14899c17
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 0x14899fbb
mov eax, dword [ebp - 0x6c]
call fcn.148a42ac
test al, al
jne 0x14899f98
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 0x14899f98
test eax, eax
jne 0x14899f98
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, 0x148999b0
mov eax, 0x14899690
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 0x14899efc
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 0x14899ec5
mov edx, dword [edi + 0x34]
mov eax, dword [ebp - 0x34]
cmp edx, eax
je 0x14899f2b
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 0x14899f6c
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 0x14899f7d
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
cmp dword [ebp - 0xc], 0
jne 0x14899fbb
push 0
mov eax, dword [ebp - 0x74]
push eax
call fcn.14876b08
mov eax, dword [ebp - 0x70]
push eax
call fcn.148768c8
mov eax, dword [ebp - 0x74]
push eax
call fcn.148768c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1489a02e
lea eax, [ebp - 0x224]
call fcn.1487364c
lea eax, [ebp - 0x220]
call fcn.14873c58
lea eax, [ebp - 0x21c]
call fcn.1487364c
lea eax, [ebp - 0x218]
call fcn.14873c58
lea eax, [ebp - 0x214]
mov edx, 3
call fcn.14873670
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