Function at 0xb3b0c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x208], ebx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
mov ebx, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
call fcn.0008411c
lea eax, [ebp - 8]
call fcn.0008411c
xor eax, eax
push ebp
push 0xb4175
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x3c], eax
xor eax, eax
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 8]
call fcn.00083c94
push 0xb418c
push dword [ebp - 4]
push 0xb418c
lea eax, [ebp - 8]
mov edx, 3
call fcn.00083ec8
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], ebx
mov eax, dword [ebp - 0x10]
cmp word [eax], 0x5a4d
jne 0xb412b
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x3c]
add esi, ebx
cmp dword [esi], 0x4550
jne 0xb412b
lea eax, [ebp - 0xb4]
xor ecx, ecx
mov edx, 0x44
call fcn.000828d4
lea eax, [ebp - 0x70]
xor ecx, ecx
mov edx, 0x10
call fcn.000828d4
mov dword [ebp - 0xb4], 0x44
mov dword [ebp - 0x88], 0x80
cmp byte [ebp + 0xc], 0
je 0xb3c84
mov eax, dword [0xd220c]
cmp dword [eax], 0
je 0xb3c84
mov eax, dword [0xd2264]
cmp byte [eax], 0
je 0xb3c84
mov eax, dword [0xd210c]
cmp byte [eax], 0
jne 0xb3c84
mov eax, dword [0xd250c]
cmp byte [eax], 0
je 0xb3c56
lea edx, [ebp - 0x20c]
mov eax, dword [0xd2340]
mov eax, dword [eax]
call fcn.000880e0
mov ecx, dword [ebp - 0x20c]
lea eax, [ebp - 0x208]
mov edx, 0xb4198
call fcn.000838f4
mov edx, dword [ebp - 0x208]
lea eax, [ebp - 0x5c]
call fcn.00083dd8
jmp 0xb3c76
lea edx, [ebp - 0x210]
mov eax, dword [0xd2340]
mov eax, dword [eax]
call fcn.000880e0
mov edx, dword [ebp - 0x210]
lea eax, [ebp - 0x5c]
call fcn.00083dd8
mov eax, dword [ebp - 0x5c]
call fcn.00083de8
mov dword [ebp - 0xac], eax
mov edx, dword [ebp - 4]
mov eax, 0xb41a8
call fcn.00084088
test eax, eax
je 0xb3cab
mov edx, dword [ebp - 4]
mov eax, 0xb41a8
call fcn.00084088
cmp eax, 4
jge 0xb3cab
xor eax, eax
jmp 0xb3cad
mov al, 1
test al, al
je 0xb3ce3
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xb4]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00083de8
push eax
push 0
call fcn.00086940
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x41], al
jmp 0xb3d1a
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0xb4]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov eax, dword [ebp - 8]
call fcn.00083de8
push eax
mov eax, dword [ebp - 4]
call fcn.00083de8
push eax
call fcn.00086940
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x41], al
push 0x3e8
call fcn.00086b70
cmp byte [ebp - 0x41], 1
jne 0xb412b
cmp byte [ebp + 8], 0
je 0xb3d62
mov eax, dword [ebp - 0x68]
call fcn.000bded4
cmp al, 1
jne 0xb3d62
push 0
mov eax, dword [ebp - 0x70]
push eax
call fcn.00086b78
mov eax, dword [ebp - 0x70]
push eax
call fcn.00086908
mov eax, dword [ebp - 0x6c]
push eax
call fcn.00086908
jmp 0xb4135
push 0
push 0x18
lea eax, [ebp - 0x204]
push eax
push 0
mov eax, dword [ebp - 0x70]
push eax
call fcn.000c5068
test eax, eax
jne 0xb40f6
lea eax, [ebp - 0x18]
push eax
push 4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x200]
add eax, 8
push eax
mov eax, dword [ebp - 0x70]
push eax
call fcn.00086b18
neg eax
sbb eax, eax
neg eax
test al, al
je 0xb40f6
lea eax, [ebp - 0x18]
push eax
push 0x40
lea eax, [ebp - 0xf4]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x70]
push eax
call fcn.00086b18
neg eax
sbb eax, eax
neg eax
test al, al
je 0xb40f6
lea eax, [ebp - 0x18]
push eax
push 0xf8
lea eax, [ebp - 0x1ec]
push eax
mov eax, dword [ebp - 0x14]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0xb8]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
push eax
mov eax, dword [ebp - 0x70]
push eax
call fcn.00086b18
neg eax
sbb eax, eax
neg eax
test al, al
je 0xb40f6
lea eax, [ebp - 0x48]
mov edx, dword [ebp - 0x19c]
call fcn.00083bdc
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x19c]
push eax
lea eax, [ebp - 0x48]
call fcn.00083a78
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x70]
push eax
call fcn.00086b18
neg eax
sbb eax, eax
neg eax
test al, al
je 0xb40f6
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 - 0x19c]
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 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.000c5080
test eax, eax
jne 0xb40f6
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x70]
push eax
call fcn.000c5070
test eax, eax
jne 0xb40f6
mov eax, dword [ebp - 0x14]
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 - 0x70]
push eax
mov eax, dword [ebp - 0x3c]
push eax
call fcn.000c5078
test eax, eax
jne 0xb40f6
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.000869d0
push eax
mov eax, dword [ebp - 0x3c]
push eax
call fcn.000c5078
test eax, eax
jne 0xb40f6
push 0
push 0x8000000
push 0x40
lea eax, [ebp - 0x28]
push eax
push 0
push 0xf001f
lea eax, [ebp - 0x40]
push eax
call fcn.000c5080
test eax, eax
jne 0xb40f6
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.000869d0
push eax
mov eax, dword [ebp - 0x40]
push eax
call fcn.000c5078
test eax, eax
jne 0xb40f6
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 - 0x70]
push eax
mov eax, dword [ebp - 0x40]
push eax
call fcn.000c5078
test eax, eax
jne 0xb40f6
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.00083a78
mov edx, eax
mov ecx, dword [ebp - 0x19c]
mov eax, dword [ebp - 0x2c]
call fcn.00086ccc
mov ecx, 0xb3b08
mov eax, 0xb37e8
sub ecx, eax
mov edx, eax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x1c4]
call fcn.00086ccc
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x1c4]
sub eax, 8
mov ecx, 8
call fcn.00086ccc
mov ecx, dword [esi + 0x54]
mov edx, ebx
mov eax, dword [ebp - 0x30]
call fcn.00086ccc
lea edx, [ebp + 0x14]
mov eax, dword [esi + 0x50]
add eax, dword [ebp - 0x30]
mov ecx, 4
call fcn.00086ccc
mov eax, dword [esi + 0x50]
add eax, dword [ebp - 0x30]
add eax, 4
mov ecx, dword [ebp + 0x14]
mov edx, ebx
call fcn.00086ccc
mov eax, dword [ebp - 0x58]
call fcn.00083df8
inc eax
add eax, eax
push eax
mov eax, dword [ebp - 0x58]
call fcn.00083de8
mov edx, eax
mov eax, dword [esi + 0x50]
add eax, dword [ebp - 0x30]
add eax, 4
add eax, dword [ebp + 0x14]
pop ecx
call fcn.00086ccc
movzx eax, word [esi + 6]
dec eax
test eax, eax
jl 0xb4083
inc eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x4c], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
mov edx, ebx
add eax, edx
add eax, 0xf8
mov ecx, dword [ebp - 0x4c]
shl ecx, 3
lea ecx, [ecx + ecx*4]
add eax, ecx
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 0xc]
add edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
xchg ecx, eax
call fcn.00086ccc
inc dword [ebp - 0x4c]
dec dword [ebp - 0x60]
jne 0xb404f
mov edx, dword [esi + 0x34]
mov eax, dword [ebp - 0x34]
cmp edx, eax
je 0xb40b5
sub eax, edx
push eax
push esi
mov eax, dword [ebp - 0x30]
push eax
call fcn.000b3578
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x3c]
add eax, dword [ebp - 0x30]
mov ecx, 0xf8
mov edx, esi
call fcn.00086ccc
mov eax, dword [ebp - 0x30]
push eax
call fcn.000869d0
push eax
call fcn.000c5070
mov eax, dword [ebp - 0x2c]
push eax
call fcn.000869d0
push eax
call fcn.000c5070
mov eax, dword [ebp + 0x10]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 0x6c]
push eax
call fcn.00086b30
cmp eax, 0xffffffff
je 0xb40f6
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x68]
mov dword [eax], edx
cmp dword [ebp - 0xc], 0
jne 0xb4110
push 0
mov eax, dword [ebp - 0x70]
push eax
call fcn.00086b78
mov eax, dword [ebp - 0x70]
push eax
call fcn.00086908
mov eax, dword [ebp - 0x40]
push eax
call fcn.00086908
mov eax, dword [ebp - 0x3c]
push eax
call fcn.00086908
mov eax, dword [ebp - 0x6c]
push eax
call fcn.00086908
push 0x3e8
call fcn.00086b70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0xb417c
lea eax, [ebp - 0x210]
mov edx, 3
call fcn.00083670
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00083c70
lea eax, [ebp - 0x48]
call fcn.0008364c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00083c70
ret