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

Disassembly:
sub esp, 0x5c
push ebx
mov ebx, dword [esp + 0x68]
xor edx, edx
push edi
mov edi, dword [esp + 0x68]
mov ecx, dword [edi + 0xc00]
cmp ebx, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], edx
mov dword [esp + 8], edx
jl 0x1008ba59
pop edi
xor eax, eax
pop ebx
add esp, 0x5c
ret
push ebp
mov ebp, dword [edi + ebx*8 + 0x404]
push esi
lea esi, [ebx + 1]
mov eax, esi
cmp eax, ecx
jge 0x1008ba82
lea edx, [edi + eax*8 + 0x404]
cmp dword [edx], ebp
jle 0x1008ba80
add eax, 1
add edx, 8
cmp eax, ecx
jl 0x1008ba72
xor edx, edx
mov ecx, dword [esp + 0x78]
cmp ecx, edx
mov dword [esp + 0x70], eax
je 0x1008ba90
mov dword [ecx], eax
sub eax, ebx
cmp eax, 2
jl 0x1008bab0
mov eax, dword [edi + ebx*8 + 0x400]
push str.GEOGTRAN
push eax
call fcn.100d4740
add esp, 8
test eax, eax
je 0x1008baba
pop esi
pop ebp
pop edi
xor eax, eax
pop ebx
add esp, 0x5c
ret
lea ecx, [ebp + 1]
xor eax, eax
cmp dword [edi + esi*8 + 0x404], ecx
mov dword [esp + 0x74], ecx
jg 0x1008bd88
mov edx, dword [edi + esi*8 + 0x400]
mov ebp, dword [esp + 0x70]
add esi, 1
cmp esi, ebp
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], 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
jl 0x1008bb94
mov ecx, dword [esp + 0x28]
push ecx
push 0x1016e818
call fcn.100d76b0
mov ecx, dword [esp + 0x28]
add esp, 8
lea edx, [esp + 0x2c]
push edx
mov edx, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push ecx
push eax
call sym.pe.dll_pe_geogtran_new
mov esi, eax
test esi, esi
mov dword [esp + 0x24], esi
je 0x1008bd3d
cmp dword [esi], 0x80
jne 0x1008bd86
mov edx, dword [esi + 0x54]
push edx
mov dword [esi + 4], 2
call sym.pe.dll_pe_authority_del
mov eax, dword [esp + 0x14]
mov dword [esi + 0x54], eax
mov eax, esi
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x5c
ret
mov ecx, dword [esp + 0x74]
cmp dword [edi + esi*8 + 0x404], ecx
lea ebx, [edi + esi*8 + 0x404]
jl 0x1008bd3d
mov eax, dword [edi + esi*8 + 0x400]
push str.AUTHORITY
push eax
call fcn.100d4740
add esp, 8
test eax, eax
jne 0x1008bbeb
cmp dword [esp + 0x14], eax
jne 0x1008bbeb
lea ecx, [esp + 0x10]
push ecx
push esi
push edi
call fcn.10003560
add esp, 0xc
test eax, eax
mov dword [esp + 0x14], eax
je 0x1008bd3d
mov esi, dword [esp + 0x10]
jmp 0x1008bd29
mov edx, dword [edi + esi*8 + 0x400]
push str.GEOGCS
push edx
call fcn.100d4740
add esp, 8
test eax, eax
jne 0x1008bc2e
cmp dword [esp + 0x18], eax
jne 0x1008bc2e
lea eax, [esp + 0x10]
push eax
push esi
push edi
call fcn.1008ad10
add esp, 0xc
test eax, eax
mov dword [esp + 0x18], eax
je 0x1008bd3d
mov esi, dword [esp + 0x10]
jmp 0x1008bd29
mov ecx, dword [edi + esi*8 + 0x400]
push str.GEOGCS
push ecx
call fcn.100d4740
add esp, 8
test eax, eax
jne 0x1008bc71
cmp dword [esp + 0x1c], eax
jne 0x1008bc71
lea edx, [esp + 0x10]
push edx
push esi
push edi
call fcn.1008ad10
add esp, 0xc
test eax, eax
mov dword [esp + 0x1c], eax
je 0x1008bd3d
mov esi, dword [esp + 0x10]
jmp 0x1008bd29
mov eax, dword [edi + esi*8 + 0x400]
push str.METHOD
push eax
call fcn.100d4740
add esp, 8
test eax, eax
jne 0x1008bcb1
cmp dword [esp + 0x20], eax
jne 0x1008bcb1
lea ecx, [esp + 0x10]
push ecx
push esi
push edi
call fcn.100b9a10
add esp, 0xc
test eax, eax
mov dword [esp + 0x20], eax
je 0x1008bd3d
mov esi, dword [esp + 0x10]
jmp 0x1008bd29
mov edx, dword [edi + esi*8 + 0x400]
push str.PARAMETER
push edx
call fcn.100d4740
add esp, 8
test eax, eax
jne 0x1008bd04
lea eax, [esp + 0x10]
push eax
push esi
push edi
call fcn.100c2df0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1008bd36
push esi
call sym.pe.dll_pe_parameter_index
test eax, eax
jl 0x1008bd90
cmp dword [esp + eax*4 + 0x2c], 0
lea eax, [esp + eax*4 + 0x2c]
jne 0x1008bd90
mov dword [eax], esi
mov esi, dword [esp + 0x10]
jmp 0x1008bd29
add esi, 1
cmp esi, ebp
mov dword [esp + 0x10], esi
jge 0x1008bb26
mov eax, dword [ebx]
cmp dword [edi + esi*8 + 0x404], eax
jle 0x1008bd29
add esi, 1
cmp esi, ebp
mov dword [esp + 0x10], esi
jl 0x1008bd15
cmp esi, ebp
jl 0x1008bb90
jmp 0x1008bb26
push 0
call sym.pe.dll_pe_parameter_del
mov ecx, dword [esp + 0x14]
push ecx
call sym.pe.dll_pe_authority_del
mov edx, dword [esp + 0x18]
push edx
call sym.pe.dll_pe_geogcs_del
mov eax, dword [esp + 0x1c]
push eax
call sym.pe.dll_pe_geogcs_del
mov ecx, dword [esp + 0x20]
push ecx
call sym.pe.dll_pe_method_del
xor esi, esi
jmp 0x1008bd70
mov edx, dword [esp + esi*4 + 0x2c]
push edx
call sym.pe.dll_pe_parameter_del
add esi, 1
cmp esi, 0x10
jl 0x1008bd70
mov esi, dword [esp + 0x24]
mov eax, esi
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x5c
ret
push esi
jmp 0x1008bd38