Function at 0x100860a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x66c
mov eax, dword [0x10178d58]
xor eax, esp
mov dword [esp + 0x668], eax
push esi
push edi
push 8
call fcn.100c1970
add esp, 4
test eax, eax
je 0x10086422
lea edx, [esp + 0x1a8]
mov dword [esp + 0x1c], 0
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x100860e0
lea eax, [esp + 0x1a8]
push str.vertcs
push eax
call fcn.100d7640
lea ecx, [esp + 0x1b0]
push 0x100dc748
push ecx
call dword [sym.imp.MSVCR80.dll_fopen]
add esp, 0x10
test eax, eax
mov dword [esp + 0x18], eax
je 0x10086422
push eax
lea edx, [esp + 0x274]
push 0x3ff
push edx
mov byte [esp + 0x17], 0
call dword [sym.imp.MSVCR80.dll_fgets]
add esp, 0xc
test eax, eax
je 0x10086395
push ebx
push ebp
jmp 0x10086150
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x27c]
push 0x1014d0e8
push ecx
xor ebp, ebp
call fcn.100d4810
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100861c6
mov eax, esi
mov dword [esp + ebp*4 + 0x70], esi
lea edx, [eax + 1]
jmp 0x10086180
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10086180
sub eax, edx
push str._t_r_n_b
push esi
mov edi, eax
call dword [sym.imp.MSVCR80.dll_strspn]
add esp, 8
cmp eax, edi
je 0x100861ac
push esi
call fcn.100d4990
add esp, 4
add ebp, 1
lea edx, [esp + 0x24]
push edx
push 0x1014d0e8
push 0
call fcn.100d4810
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x10086172
xor ebx, ebx
test ebp, ebp
jle 0x10086212
lea esp, [esp]
mov eax, dword [esp + ebx*4 + 0x70]
push eax
push str.VERTCS
call fcn.100d4740
add esp, 8
test eax, eax
je 0x100861ef
add ebx, 1
cmp ebx, ebp
jl 0x100861d0
jmp 0x10086212
mov esi, dword [esp + ebx*4 + 0x74]
mov edi, dword [sym.imp.MSVCR80.dll_atoi]
push esi
call edi
add esp, 4
test eax, eax
jne 0x10086209
push esi
call sym.pe.dll_pe_factory_defstring_to_int
cmp eax, dword [esp + 0x680]
je 0x1008623a
mov ecx, dword [esp + 0x20]
push ecx
lea edx, [esp + 0x27c]
push 0x3ff
push edx
call dword [sym.imp.MSVCR80.dll_fgets]
add esp, 0xc
test eax, eax
jne 0x10086150
jmp 0x10086393
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + ebx*4 + 0x78]
lea edx, [esp + 0x170]
mov byte [esp + 0x13], 1
sub edx, eax
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10086290
mov esi, dword [esp + ebx*4 + 0x7c]
push esi
call edi
add esp, 4
test eax, eax
mov dword [esp + 0x1c], eax
jne 0x100862b8
push esi
call sym.pe.dll_pe_factory_defstring_to_int
mov dword [esp + 0x1c], eax
mov eax, ebp
sub eax, ebx
sub eax, 4
cdq
sub eax, edx
sar eax, 1
xor ecx, ecx
add eax, 1
cmp eax, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x2c], ecx
jle 0x10086393
mov dword [esp + 0x18], 4
mov dword [esp + 0x28], eax
jmp 0x100862f6
mov edi, dword [sym.imp.MSVCR80.dll_atoi]
mov esi, dword [esp + 0x18]
sub esi, dword [esp + 0x14]
add esi, ebx
mov ebp, dword [esp + esi*4 + 0x70]
push ebp
call edi
mov edi, eax
add esp, 4
test edi, edi
jne 0x10086318
push ebp
call sym.pe.dll_pe_factory_defstring_to_int
mov edi, eax
mov eax, edi
sub eax, 0x186a6
je 0x1008635d
sub eax, 1
je 0x10086356
call sym.pe.dll_pe_factory_coderanges_vertcs
mov edx, dword [eax]
xor ecx, ecx
test edx, edx
jle 0x10086383
mov eax, dword [eax + 4]
cmp edi, dword [eax]
jl 0x1008633f
cmp edi, dword [eax + 4]
jle 0x1008634b
add ecx, 1
add eax, 0x10
cmp ecx, edx
jl 0x10086336
jmp 0x10086383
add dword [esp + 0x14], 1
mov dword [esp + 0x2c], edi
jmp 0x10086383
mov eax, 1
jmp 0x1008635f
xor eax, eax
push edi
lea ebp, [esp + eax*4 + 0x34]
call sym.pe.dll_pe_factory_parameter
mov dword [ebp], eax
mov eax, dword [esp + esi*4 + 0x74]
push eax
call fcn.100d7960
push ecx
mov ecx, dword [ebp]
fstp qword [esp]
push ecx
call sym.pe.dll_pe_parameter_value_set
add dword [esp + 0x18], 2
sub dword [esp + 0x28], 1
jne 0x100862f0
pop ebp
pop ebx
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.MSVCR80.dll_fclose]
add esp, 4
cmp byte [esp + 0xb], 0
je 0x10086422
mov edi, dword [esp + 0x14]
push edi
call sym.pe.dll_pe_factory_vdatum
mov esi, eax
test esi, esi
jne 0x100863c2
push edi
call sym.pe.dll_pe_factory_datum
mov esi, eax
mov eax, dword [esp + 0x24]
push eax
call sym.pe.dll_pe_factory_unit
test esi, esi
mov edi, eax
je 0x100863ee
test edi, edi
je 0x100863ee
push edi
lea ecx, [esp + 0x2c]
push ecx
push esi
lea edx, [esp + 0x174]
push edx
call sym.pe.dll_pe_vertcs_new
test eax, eax
jne 0x10086424
push esi
call sym.pe.dll_pe_vdatum_p
test eax, eax
push esi
je 0x10086400
call sym.pe.dll_pe_vdatum_del
jmp 0x10086405
call sym.pe.dll_pe_datum_del
push edi
call sym.pe.dll_pe_unit_del
xor esi, esi
lea ecx, [ecx]
mov eax, dword [esp + esi*4 + 0x28]
push eax
call sym.pe.dll_pe_parameter_del
add esi, 1
cmp esi, 0x10
jl 0x10086410
xor eax, eax
mov ecx, dword [esp + 0x670]
pop edi
pop esi
xor ecx, esp
call fcn.100db39a
add esp, 0x66c
ret