Function at 0x100ceee0
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 0x100cef19
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 0x100cef42
lea edx, [edi + eax*8 + 0x404]
cmp dword [edx], ebp
jle 0x100cef40
add eax, 1
add edx, 8
cmp eax, ecx
jl 0x100cef32
xor edx, edx
mov ecx, dword [esp + 0x78]
cmp ecx, edx
mov dword [esp + 0x70], eax
je 0x100cef50
mov dword [ecx], eax
sub eax, ebx
cmp eax, 2
jl 0x100cef70
mov eax, dword [edi + ebx*8 + 0x400]
push str.PROJCS
push eax
call fcn.100d4740
add esp, 8
test eax, eax
je 0x100cef7a
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 0x100cf248
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 0x100cf054
mov ecx, dword [esp + 0x28]
push ecx
push 0x10172fe0
call fcn.100d76b0
mov edx, dword [esp + 0x28]
add esp, 8
push edx
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push ecx
push eax
call sym.pe.dll_pe_projcs_new
mov esi, eax
test esi, esi
mov dword [esp + 0x24], esi
je 0x100cf1fd
cmp dword [esi], 2
jne 0x100cf246
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 0x100cf1fd
mov eax, dword [edi + esi*8 + 0x400]
push str.AUTHORITY
push eax
call fcn.100d4740
add esp, 8
test eax, eax
jne 0x100cf0ab
cmp dword [esp + 0x14], eax
jne 0x100cf0ab
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 0x100cf1fd
mov esi, dword [esp + 0x10]
jmp 0x100cf1e9
mov edx, dword [edi + esi*8 + 0x400]
push str.GEOGCS
push edx
call fcn.100d4740
add esp, 8
test eax, eax
jne 0x100cf0ee
cmp dword [esp + 0x18], eax
jne 0x100cf0ee
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 0x100cf1fd
mov esi, dword [esp + 0x10]
jmp 0x100cf1e9
mov ecx, dword [edi + esi*8 + 0x400]
push str.PROJECTION
push ecx
call fcn.100d4740
add esp, 8
test eax, eax
jne 0x100cf131
cmp dword [esp + 0x1c], eax
jne 0x100cf131
lea edx, [esp + 0x10]
push edx
push esi
push edi
call fcn.100cffa0
add esp, 0xc
test eax, eax
mov dword [esp + 0x1c], eax
je 0x100cf1fd
mov esi, dword [esp + 0x10]
jmp 0x100cf1e9
mov eax, dword [edi + esi*8 + 0x400]
push str.UNIT
push eax
call fcn.100d4740
add esp, 8
test eax, eax
jne 0x100cf171
cmp dword [esp + 0x20], eax
jne 0x100cf171
lea ecx, [esp + 0x10]
push ecx
push esi
push edi
call fcn.100d7370
add esp, 0xc
test eax, eax
mov dword [esp + 0x20], eax
je 0x100cf1fd
mov esi, dword [esp + 0x10]
jmp 0x100cf1e9
mov edx, dword [edi + esi*8 + 0x400]
push str.PARAMETER
push edx
call fcn.100d4740
add esp, 8
test eax, eax
jne 0x100cf1c4
lea eax, [esp + 0x10]
push eax
push esi
push edi
call fcn.100c2df0
mov esi, eax
add esp, 0xc
test esi, esi
je 0x100cf1f6
push esi
call sym.pe.dll_pe_parameter_index
test eax, eax
jl 0x100cf250
cmp dword [esp + eax*4 + 0x2c], 0
lea eax, [esp + eax*4 + 0x2c]
jne 0x100cf250
mov dword [eax], esi
mov esi, dword [esp + 0x10]
jmp 0x100cf1e9
add esi, 1
cmp esi, ebp
mov dword [esp + 0x10], esi
jge 0x100cefe6
mov eax, dword [ebx]
cmp dword [edi + esi*8 + 0x404], eax
jle 0x100cf1e9
add esi, 1
cmp esi, ebp
mov dword [esp + 0x10], esi
jl 0x100cf1d5
cmp esi, ebp
jl 0x100cf050
jmp 0x100cefe6
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_projection_del
mov ecx, dword [esp + 0x20]
push ecx
call sym.pe.dll_pe_unit_del
xor esi, esi
jmp 0x100cf230
mov edx, dword [esp + esi*4 + 0x2c]
push edx
call sym.pe.dll_pe_parameter_del
add esi, 1
cmp esi, 0x10
jl 0x100cf230
mov esi, dword [esp + 0x24]
mov eax, esi
pop esi
pop ebp
pop edi
pop ebx
add esp, 0x5c
ret
push esi
jmp 0x100cf1f8