Function at 0x100a5db4
Capabilities:
Parse pe header

Disassembly:
push 0xbb4
push 0x10443010
call fcn.10358230
mov esi, edx
mov ebx, ecx
mov byte [ebp - 0xba9], 0
push 0x208
push 0
lea eax, [ebp - 0x360]
push eax
call fcn.1033be70
add esp, 0xc
and dword [ebp - 4], 0
push 0x206
lea eax, [ebp - 0x360]
push eax
push esi
call dword [0x103cb09c]
test eax, eax
je 0x100a60a3
mov eax, 0x5a4d
cmp ax, word [esi]
je 0x100a5e1b
mov dword [ebp - 4], 0xfffffffe
xor al, al
jmp 0x100a60b0
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0x100a5e0d
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x360]
push eax
call dword [0x103cb160]
mov esi, eax
xor eax, eax
mov byte [ebp - 0x158], al
mov dword [ebp - 0x20], eax
cmp esi, 0xffffffff
je 0x100a5e9a
push eax
push esi
call dword [0x103cb0f0]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0xbc4]
push eax
push 0
push 0
push esi
call dword [0x103cb164]
test eax, eax
je 0x100a5e93
push dword [ebp - 0xbc0]
push dword [ebp - 0xbc4]
lea ecx, [ebp - 0x158]
call fcn.100a5d3c
pop ecx
pop ecx
push esi
call dword [0x103cb304]
push dword [ebp + 8]
push 0x103fb430
push ebx
call fcn.100a5ce2
lea eax, [ebp - 0x360]
push eax
push 0x103fb43c
push ebx
call fcn.100a5ce2
push dword [edi + 0x50]
push dword [edi + 0x34]
push 0x103fb444
push ebx
call fcn.100a5ce2
push dword [edi + 8]
push dword [edi + 0x58]
push 0x103fb470
push ebx
call fcn.100a5ce2
lea eax, [ebp - 0x158]
push eax
push dword [ebp - 0x20]
push 0x103fb49c
push ebx
call fcn.100a5ce2
add esp, 0x48
push 0x103fb4c0
push ebx
call fcn.100a5ce2
pop ecx
pop ecx
lea eax, [ebp - 0x360]
push eax
lea ecx, [ebp - 0xba8]
call fcn.100a5a67
push 0xc7
push 0
lea eax, [ebp - 0xf0]
push eax
call fcn.1033be70
add esp, 0xc
mov edi, 0xc6
push edi
lea eax, [ebp - 0x978]
push eax
lea eax, [ebp - 0xf0]
push eax
mov esi, dword [0x103cb14c]
call esi
lea eax, [ebp - 0xf0]
push eax
push 0x103fb4d8
push ebx
call fcn.100a5ce2
push 0xc7
push 0
lea eax, [ebp - 0xf0]
push eax
call fcn.1033be70
add esp, 0x18
push edi
lea eax, [ebp - 0x770]
push eax
lea eax, [ebp - 0xf0]
push eax
call esi
lea eax, [ebp - 0xf0]
push eax
push 0x103fb4ec
push ebx
call fcn.100a5ce2
push 0xc7
push 0
lea eax, [ebp - 0xf0]
push eax
call fcn.1033be70
add esp, 0x18
push edi
lea eax, [ebp - 0x568]
push eax
lea eax, [ebp - 0xf0]
push eax
call esi
lea eax, [ebp - 0xf0]
push eax
push 0x103fb500
push ebx
call fcn.100a5ce2
add esp, 0xc
lea edx, [ebp - 0x24]
xor ecx, ecx
mov dword [ebp - 0xbbc], ecx
mov dword [ebp - 0xbb8], edx
cmp ecx, 4
jge 0x100a5ff3
mov ax, word [ebp + ecx*2 - 0xba0]
mov word [edx], ax
add edx, 2
inc ecx
jmp 0x100a5fd1
mov si, word [ebp - 0x1e]
movzx eax, si
push eax
mov di, word [ebp - 0x20]
movzx eax, di
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
push 0x103fb514
push ebx
call fcn.100a5ce2
add esp, 0x18
lea edx, [ebp - 0x24]
xor ecx, ecx
mov dword [ebp - 0xbb0], ecx
mov dword [ebp - 0xbb4], edx
cmp ecx, 4
jge 0x100a604a
mov ax, word [ebp + ecx*2 - 0xb98]
mov word [edx], ax
add edx, 2
inc ecx
mov si, word [ebp - 0x1e]
mov di, word [ebp - 0x20]
jmp 0x100a6020
movzx eax, si
push eax
movzx eax, di
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
push 0x103fb534
push ebx
call fcn.100a5ce2
add esp, 0x18
cmp dword [ebp - 0xba8], 0
je 0x100a607f
push dword [ebp - 0xba8]
call fcn.10336dbf
pop ecx
and dword [ebp - 0xba8], 0
push 0x103fc0bc
push ebx
call fcn.100a5ce2
pop ecx
pop ecx
mov byte [ebp - 0xba9], 1
jmp 0x100a60a3
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0xba9]
call fcn.10358278
ret