Function at 0x100205c0
Capabilities:
Parse pe header

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x100e11f1
push eax
mov dword fs:[0], esp
mov eax, 0x10d8
push ebx
call fcn.10066330
push esi
push edi
push 0x30
lea eax, [ebp - 0x50]
mov esi, ecx
push 0
push eax
call fcn.100a57f0
mov ecx, dword [ebx + 8]
add esp, 0xc
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
call fcn.10013920
mov eax, dword [ebp - 0x14]
mov ecx, 0x10000
mov edi, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], edi
nop dword [eax]
mov eax, dword [esi]
lea edi, [ebp - 0x50]
push edi
push edx
push ecx
mov eax, dword [eax + 0x18]
mov ecx, esi
call eax
mov edi, dword [ebp - 0x14]
cmp eax, 0xc000000d
je 0x100208dc
cmp eax, 0xc0000022
je 0x100208dc
test eax, eax
jne 0x100208b6
cmp dword [ebp - 0x30], 0x1000
jne 0x100208b6
cmp dword [ebp - 0x28], 0x1000000
jne 0x100208b6
cmp edi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x44]
jne 0x1002068b
cmp dword [ebp - 0x1c], edi
je 0x100208b6
push 0x1000
lea eax, [ebp - 0x10e0]
push 0
push eax
call fcn.100a57f0
mov eax, dword [esi]
lea ecx, [ebp - 0x8e0]
add esp, 0xc
mov eax, dword [eax + 0x14]
push 0x800
push ecx
push 2
push edi
push dword [ebp - 0x48]
mov ecx, esi
call eax
test eax, eax
js 0x100208aa
lea ecx, [ebp - 0xe0]
call fcn.10011f80
push 0
push 0x800
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10e0]
mov eax, dword [esi]
push ecx
push dword [ebp - 0x44]
mov ecx, esi
push dword [ebp - 0x48]
mov eax, dword [eax + 0xc]
call eax
test eax, eax
je 0x1002070e
lea ecx, [ebp - 0xe0]
mov dword [ebp - 4], 0xffffffff
call fcn.10010f10
jmp 0x100208b6
mov eax, dword [ebp - 0x10a4]
lea ecx, [ebp - 0x10e0]
add eax, ecx
mov ecx, 0x5a4d
cmp word [ebp - 0x10e0], cx
jne 0x10020777
cmp dword [eax], 0x4550
jne 0x10020777
movzx ecx, word [eax + 0x18]
mov edx, 0x10b
cmp cx, dx
jne 0x10020758
mov eax, dword [eax + 0x50]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 0
jmp 0x100207f1
mov edx, 0x20b
cmp cx, dx
jne 0x100206f7
mov eax, dword [eax + 0x50]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 1
jmp 0x100207f1
push 0x30
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.100a57f0
mov ecx, dword [ebp - 0x44]
add esp, 0xc
mov eax, dword [ebp - 0x48]
cmp ecx, 0x7fff
ja 0x100207e7
jb 0x100207a0
cmp eax, 0xfffeffff
jae 0x100207e7
nop
mov edx, dword [esi]
lea edi, [ebp - 0x80]
push edi
push ecx
push eax
mov eax, dword [edx + 0x18]
mov ecx, esi
call eax
test eax, eax
js 0x100207db
cmp dword [ebp - 0x58], 0x1000000
jne 0x100207db
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x64]
adc ecx, dword [ebp - 0x7c]
cmp ecx, 0x7fff
jb 0x100207a0
ja 0x100207e7
cmp eax, 0xfffeffff
jb 0x100207a0
jmp 0x100207e7
mov eax, dword [ebp - 0x80]
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 3
cmp byte [esi + 0xe], 1
lea ecx, [ebp - 0x98]
jne 0x1002080e
push dword [ebp - 0x8dc]
call fcn.10012320
mov byte [ebp - 4], 1
jmp 0x1002081d
push dword [ebp - 0x8d8]
call fcn.10012320
mov byte [ebp - 4], 2
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x68]
call fcn.100219b0
push eax
lea ecx, [ebp - 0xc0]
call fcn.100122b0
lea ecx, [ebp - 0x68]
call fcn.10010e80
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0
call fcn.10010e80
lea edx, [ebp - 0xc0]
lea ecx, [ebp - 0x68]
call fcn.100216b0
push eax
lea ecx, [ebp - 0xd8]
call fcn.100122b0
lea ecx, [ebp - 0x68]
call fcn.10010e80
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebx + 8]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0xe0]
push eax
mov byte [ebp - 0xa0], 0
call fcn.10020e60
lea ecx, [ebp - 0xe0]
mov dword [ebp - 4], 0xffffffff
call fcn.10010f10
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], edi
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x34]
adc edx, dword [ebp - 0x4c]
cmp edx, 0x7fff
jb 0x10020630
ja 0x100208dc
cmp ecx, 0xfffeffff
jb 0x10020630
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, dword [eax + 4]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4