Function at 0x10020900
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 0x100e1221
push eax
mov dword fs:[0], esp
mov eax, 0x1138
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 edi, dword [ebp - 0x14]
mov ecx, 0x10000
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x14], eax
nop word [eax + eax]
lea eax, [ebp - 0x50]
push eax
mov eax, dword [esi]
push edx
push ecx
mov ecx, esi
mov eax, dword [eax + 0x18]
call eax
cmp eax, 0xc000000d
je 0x10020bd2
cmp eax, 0xc0000022
je 0x10020bd2
cmp eax, 0xc000010a
je 0x10020bd2
test eax, eax
jne 0x10020bac
cmp dword [ebp - 0x30], 0x1000
jne 0x10020bac
mov eax, dword [ebp - 0x40]
cmp eax, 1
je 0x10020bac
test eax, 0x100
jne 0x10020bac
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x48]
jne 0x100209dd
cmp edi, dword [ebp - 0x44]
je 0x10020bac
lea ecx, [ebp - 0x98]
call fcn.10011f80
push 0
push 0x1000
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1148]
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
jne 0x10020b9a
mov eax, dword [ebp - 0x110c]
lea ecx, [ebp - 0x1148]
add eax, ecx
mov ecx, 0x5a4d
cmp word [ebp - 0x1148], cx
jne 0x10020b9a
cmp dword [eax], 0x4550
jne 0x10020b9a
movzx ecx, word [eax + 0x18]
mov edx, 0x10b
cmp cx, dx
jne 0x10020a57
mov dword [ebp - 0x5c], 0
jmp 0x10020a68
mov edx, 0x20b
cmp cx, dx
jne 0x10020a6e
mov dword [ebp - 0x5c], 1
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x44]
lea edi, [ebp - 0x1148]
mov edx, dword [esi]
mov ecx, dword [ebp - 0x48]
push 0x1000
push edi
push 2
push eax
mov dword [ebp - 0x98], ecx
mov dword [ebp - 0x94], eax
mov eax, dword [edx + 0x14]
push ecx
mov ecx, esi
mov byte [ebp - 0x58], 0
call eax
test eax, eax
jne 0x10020b2c
cmp byte [esi + 0xe], 1
lea ecx, [ebp - 0xb0]
jne 0x10020ac2
push dword [ebp - 0x1144]
call fcn.10012320
mov byte [ebp - 4], 1
jmp 0x10020ad1
push dword [ebp - 0x1140]
call fcn.10012320
mov byte [ebp - 4], 2
lea edx, [ebp - 0xb0]
lea ecx, [ebp - 0xc8]
call fcn.100219b0
push eax
lea ecx, [ebp - 0x78]
call fcn.100122b0
lea ecx, [ebp - 0xc8]
call fcn.10010e80
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 0
call fcn.10010e80
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0xc8]
call fcn.100216b0
push eax
lea ecx, [ebp - 0x90]
call fcn.100122b0
lea ecx, [ebp - 0xc8]
call fcn.10010e80
jmp 0x10020b82
push 0x80
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.100a57f0
push dword [ebp - 0x94]
lea eax, [ebp - 0x148]
push dword [ebp - 0x98]
push str.Unknown_0x_I64x
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x148]
lea ecx, [ebp - 0x78]
push eax
call fcn.1001c660
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x90]
call fcn.10013110
mov ecx, dword [ebx + 8]
lea eax, [ebp - 0x98]
push eax
call fcn.10020e60
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x98]
mov dword [ebp - 4], 0xffffffff
call fcn.10010f10
mov ecx, dword [ebp - 0x38]
add ecx, dword [ebp - 0x50]
mov edx, dword [ebp - 0x34]
adc edx, dword [ebp - 0x4c]
cmp edx, 0x7fff
jb 0x10020970
ja 0x10020bd2
cmp ecx, 0xfffeffff
jb 0x10020970
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