Function at 0x10086cb0
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
push ebx
mov ebx, edx
mov dword [esp + 0xc], ecx
push esi
mov esi, dword [ecx + 8]
push edi
mov eax, dword [ebx]
movzx edx, byte [ebx + 0x1c]
not edx
and edx, 1
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edx
lea edi, [eax + edx]
mov eax, dword [ecx + 0x4c]
add edi, dword [ebp + 0x14]
inc eax
cmp dword [ebp + 0x18], 0
mov dword [ecx + 0x4c], eax
mov edx, dword [ebx + 4]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x30], edi
mov dword [esp + 0x20], eax
je 0x10086d0f
mov ecx, dword [ebp + 0xc]
sub ecx, dword [esp + 0x10]
sub ecx, edx
mov dword [esp + 0x1c], ecx
jmp 0x10086d1b
lea edx, [eax + 1]
add eax, edi
mov dword [esp + 0x1c], edx
mov dword [ecx + 0x4c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10086d2e
lea edx, [ecx + 1]
mov dword [esp + 0x2c], edx
jmp 0x10086d35
mov eax, dword [eax + 0xc]
mov dword [esp + 0x2c], eax
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x28], ecx
mov edi, dword [ecx + 0x74]
lea eax, [edi + 1]
mov dword [ecx + 0x74], eax
lea eax, [edi - 1]
test edi, eax
jne 0x10086d6a
mov edx, dword [ecx + 0x78]
lea eax, [edi*8 + 4]
mov ecx, dword [ecx]
push 0
push eax
call fcn.10033d80
mov ecx, dword [esp + 0x30]
add esp, 8
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x10086d78
mov dword [eax + edi*4], 0xffffffff
mov edx, dword [ebx]
not edi
mov ecx, dword [esp + 0x14]
push 5
push dword [ebp + 0x10]
mov dword [ebx + 0x18], edi
mov edi, dword [esp + 0x24]
push edi
call fcn.1006aa10
mov eax, dword [esp + 0x24]
add esp, 0xc
test eax, eax
je 0x10086e08
mov eax, dword [ebx + 8]
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + 0x20]
add edx, edi
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x10086dcd
push 0
push edx
push dword [esp + 0x30]
mov edx, 0x49
mov ecx, esi
call fcn.10051a30
add esp, 0xc
jmp 0x10086e04
mov edi, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x49
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
add ecx, edi
cmp dword [ebp + 0x18], 0
mov dword [esp + 0x34], ecx
jne 0x10086e2d
push dword [ebp + 0x14]
mov edx, dword [ebp + 0xc]
add eax, ecx
mov ecx, dword [esp + 0x18]
push eax
call fcn.10069740
add esp, 8
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
sub edx, eax
mov ecx, dword [esi + 0x20]
add eax, edi
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x10086e62
push dword [esp + 0x20]
mov ecx, esi
push edx
push dword [esp + 0x30]
mov edx, 0x31
call fcn.10051a30
add esp, 0xc
jmp 0x10086e99
mov edi, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x31
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x24], 0
jle 0x10087131
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0x4c]
lea eax, [ecx + 1]
mov dword [esp + 0x28], eax
mov eax, dword [ebx + 4]
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [edx + 0x4c], eax
sub ecx, dword [ebx + 4]
mov eax, dword [esp + 0x18]
add ecx, eax
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x34]
test eax, eax
jne 0x10086ed6
mov ecx, dword [ebx + 8]
push ecx
test eax, eax
mov ecx, 0x3b
mov edx, 0x2e
cmove edx, ecx
mov ecx, esi
call fcn.10051b50
mov ecx, dword [esi + 0x18]
add esp, 4
mov edx, dword [esi + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x34], eax
cmp dword [ecx + 0x58], edx
jg 0x10086f1e
mov edx, dword [esp + 0x28]
mov ecx, esi
push eax
push edi
push edx
mov edx, 0x2a
call fcn.10051a30
add esp, 0xc
jmp 0x10086f51
lea eax, [edx + 1]
mov dword [esi + 0x20], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x34]
mov word [eax + ecx*4], 0x2a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [ebx + 0x14]
test ecx, ecx
jns 0x10086f5c
mov ecx, dword [esi + 0x20]
dec ecx
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x10086f6b
mov ecx, 0x100fe494
jmp 0x10086f74
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x18], ecx
mov eax, dword [eax]
cmp byte [eax + 0x45], 0
jne 0x10087251
mov edi, dword [ecx + 0x10]
mov eax, dword [esp + 0x10]
add eax, dword [ebp + 0x14]
mov dword [ecx + 8], eax
movzx eax, word [edi + 6]
push eax
push 0
push dword [edi + 0x10]
call fcn.100b7060
mov ecx, dword [esi]
add esp, 0xc
cmp byte [ecx + 0x45], 0
je 0x10086fbf
push edi
mov edx, 0xfffffffa
call fcn.10052480
add esp, 4
jmp 0x10086feb
mov eax, dword [esi + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
cmp byte [eax + ecx*4 - 0x13], 0
lea eax, [eax + ecx*4]
je 0x10086fe4
push 0xfffffffffffffffa
push edi
lea edx, [eax - 0x14]
mov ecx, esi
call fcn.100526a0
add esp, 8
jmp 0x10086feb
mov dword [eax - 4], edi
mov byte [eax - 0x13], 0xfa
movzx eax, word [edi + 8]
mov edx, dword [ebx]
dec eax
mov ecx, dword [esp + 0x14]
push eax
push dword [esp + 0x28]
call fcn.100880e0
mov ecx, dword [esp + 0x20]
mov edx, 0x2b
mov dword [ecx + 0x10], eax
mov ecx, esi
mov eax, dword [esi + 0x20]
mov dword [esp + 0x2c], eax
inc eax
push eax
push 0
push eax
call fcn.10051a70
mov ecx, dword [esi + 0x18]
add esp, 0x14
mov dword [esp + 0x34], ecx
mov edi, dword [ecx + 0x74]
lea eax, [edi + 1]
mov dword [ecx + 0x74], eax
lea eax, [edi - 1]
test edi, eax
jne 0x10087057
mov edx, dword [ecx + 0x78]
lea eax, [edi*8 + 4]
mov ecx, dword [ecx]
push 0
push eax
call fcn.10033d80
mov ecx, dword [esp + 0x3c]
add esp, 8
mov dword [ecx + 0x78], eax
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x10087065
mov dword [eax + edi*4], 0xffffffff
not edi
mov edx, 0xe
mov dword [ebx + 0x10], edi
mov ecx, esi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x4c]
inc eax
mov dword [edi + 0x4c], eax
push dword [ebx + 0x10]
mov dword [ebx + 0xc], eax
push eax
call fcn.10051bc0
push dword [ebx + 8]
mov edx, 0x78
mov ecx, esi
call fcn.10051b50
mov eax, dword [esp + 0x38]
add esp, 0xc
test eax, eax
je 0x100870b5
push dword [ebx + 0x18]
mov edx, 0x2e
mov ecx, esi
push eax
call fcn.10051bc0
add esp, 8
mov ecx, dword [esi + 0x20]
mov eax, dword [esi + 0x18]
dec ecx
mov dword [eax + 0x60], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esi + 0x20]
test ecx, ecx
jns 0x100870cd
lea ecx, [edx - 1]
mov eax, dword [esi]
cmp byte [eax + 0x45], 0
je 0x100870dc
mov eax, 0x100fe494
jmp 0x100870e5
mov eax, dword [esi + 4]
lea ecx, [ecx + ecx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, edi
push dword [ebx + 4]
mov edx, dword [esp + 0x20]
push dword [esp + 0x2c]
call fcn.10069740
mov eax, dword [esi + 0x18]
add esp, 8
mov ecx, dword [esi + 0x20]
dec ecx
mov dword [eax + 0x60], ecx
mov eax, dword [esi]
mov edx, dword [esi + 0x20]
cmp byte [eax + 0x45], 0
je 0x10087119
mov eax, 0x100fe494
jmp 0x1008712e
mov ecx, dword [esp + 0x24]
lea eax, [edx - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov al, byte [ebx + 0x1c]
mov ecx, dword [esi + 0x20]
not al
mov edi, dword [ebx + 8]
and eax, 1
lea edx, [eax + 0x6d]
mov eax, dword [esi + 0x18]
cmp dword [eax + 0x58], ecx
jg 0x1008715d
push 0
push dword [esp + 0x24]
mov ecx, esi
push edi
call fcn.10051a30
add esp, 0xc
jmp 0x10087192
lea eax, [ecx + 1]
mov dword [esi + 0x20], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 4]
mov byte [eax + ecx*4], dl
mov edx, dword [esp + 0x20]
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edi
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x10087251
mov eax, dword [esi + 0x18]
mov edi, dword [esi + 0x20]
cmp dword [eax + 0x58], edi
jg 0x100871c1
push 1
push 0
push edx
mov edx, 0x8c
mov ecx, esi
call fcn.10051a30
add esp, 0xc
mov edi, eax
jmp 0x100871f4
lea eax, [edi + 1]
mov dword [esi + 0x20], eax
lea ecx, [edi + edi*4]
mov eax, dword [esi + 4]
mov word [eax + ecx*4], 0x8c
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 1
mov dword [eax + ecx*4 + 0x10], 0
push dword [ebx + 8]
mov edx, 0x69
mov ecx, esi
call fcn.10051b50
add esp, 4
mov edx, 0x5f
mov ecx, esi
push dword [ebx + 8]
call fcn.10051b50
mov eax, dword [esi + 0x18]
add esp, 4
mov ecx, dword [esi + 0x20]
dec ecx
mov dword [eax + 0x60], ecx
mov eax, dword [esi]
mov edx, dword [esi + 0x20]
cmp byte [eax + 0x45], 0
je 0x1008723c
mov eax, 0x100fe494
mov dword [eax + 8], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test edi, edi
lea eax, [edx - 1]
cmovns eax, edi
lea ecx, [eax + eax*4]
mov eax, dword [esi + 4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret