Function at 0x86a010
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0xa988b4]
sub esp, 0xc
push 0xffff
push 0xa99bd8
push eax
call dword [0xa98f8c]
xor eax, eax
cmp byte [0x88cfec], al
je 0x86a040
inc eax
cmp byte [eax + 0x88cfec], 0
jne 0x86a036
push esi
inc eax
call fcn.00862930
mov esi, eax
test esi, esi
je 0x86a059
push 0x88cfec
push esi
call dword [fcn.00a99134]
push ebx
push edi
push 0xa99bd8
call dword [fcn.00a98fac]
mov ebx, eax
test esi, esi
je 0x86a073
mov eax, esi
call fcn.00862a20
lea eax, [ebx + 1]
call fcn.00862930
mov edi, eax
mov dword [ebp - 0xc], edi
test edi, edi
je 0x86a090
push 0xa99bd8
push edi
call dword [fcn.00a99134]
push 0x894c4c
call dword [fcn.00a98fac]
lea esi, [ebx + eax]
lea eax, [esi + 1]
call fcn.00862930
mov ebx, eax
test ebx, ebx
je 0x86a0c4
test edi, edi
je 0x86a0c4
push edi
push ebx
call dword [fcn.00a99134]
push 0x894c4c
push ebx
call dword [fcn.00a9909c]
mov ecx, dword [ebp + 0x10]
lea edi, [ecx + esi + 1]
mov eax, edi
call fcn.00862930
mov esi, eax
test esi, esi
je 0x86a0f5
test ebx, ebx
je 0x86a0f5
cmp dword [ebp + 8], 0
je 0x86a0f5
push ebx
push esi
call dword [fcn.00a99134]
mov edx, dword [ebp + 8]
push edx
push esi
call dword [fcn.00a9909c]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x86a101
call fcn.00862a20
mov eax, edi
call fcn.00862930
mov edi, eax
test edi, edi
je 0x86a11a
test esi, esi
je 0x86a11a
push esi
push edi
call dword [fcn.00a99134]
mov eax, esi
call fcn.00862a20
mov eax, ebx
call fcn.00862a20
mov eax, dword [0xa988b4]
push edi
push eax
call dword [0xa98f44]
mov eax, edi
call fcn.00862a20
mov ecx, dword [0xa98d78]
push ecx
call dword [fcn.00a98f30]
mov esi, eax
mov dword [0xa98ea8], esi
test esi, esi
je 0x86a2dc
movzx edi, word [esi]
mov edx, 0x5a4d
cmp di, dx
jne 0x86a195
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x86a195
mov ecx, 0x10b
cmp word [eax + esi + 0x18], cx
jne 0x86a195
mov edx, dword [0xa98a90]
mov eax, dword [eax + esi + 0x78]
push edx
push esi
push eax
call fcn.008675d0
add esp, 0xc
jmp 0x86a197
xor eax, eax
mov ecx, 0x5a4d
mov dword [0xa98ea0], eax
cmp di, cx
jne 0x86a1d5
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x86a1d5
mov edx, 0x10b
cmp word [eax + esi + 0x18], dx
jne 0x86a1d5
mov ecx, dword [0xa98d20]
mov edx, dword [eax + esi + 0x78]
push ecx
push esi
push edx
call fcn.008675d0
add esp, 0xc
jmp 0x86a1d7
xor eax, eax
mov dword [0xa98eb8], eax
mov eax, 0x5a4d
cmp di, ax
jne 0x86a215
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x86a215
mov ecx, 0x10b
cmp word [eax + esi + 0x18], cx
jne 0x86a215
mov edx, dword [0xa989e4]
mov eax, dword [eax + esi + 0x78]
push edx
push esi
push eax
call fcn.008675d0
add esp, 0xc
jmp 0x86a217
xor eax, eax
mov ecx, 0x5a4d
mov dword [fcn.00a98e70], eax
cmp di, cx
jne 0x86a255
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x86a255
mov edx, 0x10b
cmp word [eax + esi + 0x18], dx
jne 0x86a255
mov ecx, dword [0xa98984]
mov edx, dword [eax + esi + 0x78]
push ecx
push esi
push edx
call fcn.008675d0
add esp, 0xc
jmp 0x86a257
xor eax, eax
mov dword [fcn.00a98e98], eax
mov eax, 0x5a4d
cmp di, ax
jne 0x86a295
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x86a295
mov ecx, 0x10b
cmp word [eax + esi + 0x18], cx
jne 0x86a295
mov edx, dword [0xa98e20]
mov eax, dword [eax + esi + 0x78]
push edx
push esi
push eax
call fcn.008675d0
add esp, 0xc
jmp 0x86a297
xor eax, eax
mov ecx, 0x5a4d
mov dword [fcn.00a98eac], eax
cmp di, cx
jne 0x86a2d5
mov eax, dword [esi + 0x3c]
cmp dword [eax + esi], 0x4550
jne 0x86a2d5
mov edx, 0x10b
cmp word [eax + esi + 0x18], dx
jne 0x86a2d5
mov ecx, dword [0xa98b10]
mov edx, dword [eax + esi + 0x78]
push ecx
push esi
push edx
call fcn.008675d0
add esp, 0xc
jmp 0x86a2d7
xor eax, eax
mov dword [fcn.00a98e90], eax
cmp dword [0xa98ea0], 0
pop edi
pop ebx
je 0x86a328
cmp dword [0xa98eb8], 0
je 0x86a328
cmp dword [fcn.00a98e70], 0
je 0x86a328
cmp dword [fcn.00a98eac], 0
je 0x86a328
cmp dword [fcn.00a98e90], 0
je 0x86a328
cmp dword [fcn.00a98e98], 0
je 0x86a328
mov eax, dword [ebp + 8]
mov esi, 1
call fcn.00862a20
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor esi, esi
call fcn.00862a20
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret