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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x134
mov eax, dword [0x10178d58]
xor eax, esp
mov dword [esp + 0x130], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
xor eax, eax
cmp ebx, eax
push edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x2c], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], eax
je 0x100cf521
cmp dword [ebx], 2
je 0x100cf53a
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.100db39a
mov esp, ebp
pop ebp
ret 0xc
push esi
call sym.pe.dll_pe_unit_p
test eax, eax
jne 0x100cf56b
push edi
call sym.pe.dll_pe_unit_p
test eax, eax
jne 0x100cf56b
push ebx
call sym.pe.dll_pe_projcs_clone
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.100db39a
mov esp, ebp
pop ebp
ret 0xc
push esi
call sym.pe.dll_pe_unit_p
test eax, eax
je 0x100cf602
cmp dword [ebx], 2
jne 0x100cf586
mov eax, dword [ebx + 0xa0]
jmp 0x100cf588
xor eax, eax
push eax
call sym.pe.dll_pe_unit_factor
fstp qword [esp + 0x20]
push esi
call sym.pe.dll_pe_unit_factor
fld qword [esp + 0x20]
fld st(0)
fsub st(2)
fldz
fcom st(1)
fnstsw ax
fxch st(1)
test ah, 0x41
jne 0x100cf5af
fchs
fxch st(2)
fcom st(1)
fnstsw ax
fld st(0)
test ah, 5
jp 0x100cf5be
fchs
fxch st(2)
fcomp st(4)
fnstsw ax
fld st(3)
test ah, 0x41
jne 0x100cf5cd
fchs
faddp st(2)
fxch st(1)
fmul qword [0x100dc320]
fadd qword [0x100dc310]
fmul qword [0x100dc318]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 1
je 0x100cf5fe
fdivrp st(1)
mov dword [esp + 0x1c], 1
fstp qword [esp + 0x30]
jmp 0x100cf602
fstp st(1)
fstp st(0)
push edi
call sym.pe.dll_pe_unit_p
test eax, eax
je 0x100cf699
cmp dword [ebx], 2
jne 0x100cf61a
mov eax, dword [ebx + 0x58]
jmp 0x100cf61c
xor eax, eax
push eax
call sym.pe.dll_pe_geogcs_unit
push eax
call sym.pe.dll_pe_unit_factor
fstp qword [esp + 0x20]
push edi
call sym.pe.dll_pe_unit_factor
fld qword [esp + 0x20]
fld st(0)
fsub st(2)
fldz
fcom st(1)
fnstsw ax
fxch st(1)
test ah, 0x41
jne 0x100cf649
fchs
fxch st(2)
fcom st(1)
fnstsw ax
fld st(0)
test ah, 5
jp 0x100cf658
fchs
fxch st(2)
fcomp st(4)
fnstsw ax
fld st(3)
test ah, 0x41
jne 0x100cf667
fchs
faddp st(2)
fxch st(1)
fmul qword [0x100dc320]
fadd qword [0x100dc310]
fmul qword [0x100dc318]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 1
je 0x100cf695
fdivrp st(1)
mov edi, 1
fstp qword [esp + 0x20]
jmp 0x100cf69d
fstp st(1)
fstp st(0)
mov edi, dword [esp + 0x18]
cmp dword [esp + 0x1c], 0
jne 0x100cf6ac
test edi, edi
je 0x100cf54e
lea eax, [esp + 0xb8]
push eax
push ebx
call sym.pe.dll_pe_projcs_name
cmp dword [ebx], 2
jne 0x100cf6c4
mov eax, dword [ebx + 0x5c]
jmp 0x100cf6c6
xor eax, eax
push eax
call sym.pe.dll_pe_projection_clone
lea ecx, [esp + 0x78]
push ecx
push ebx
mov dword [esp + 0x20], eax
call sym.pe.dll_pe_projcs_parameters
xor esi, esi
lea ecx, [ecx]
mov edx, dword [esp + esi + 0x78]
push edx
call sym.pe.dll_pe_parameter_clone
mov dword [esp + esi + 0x38], eax
add esi, 4
cmp esi, 0x40
jl 0x100cf6e0
test edi, edi
je 0x100cf78e
xor edi, edi
cmp dword [0x10178264], edi
jle 0x100cf73c
mov esi, dword [edi*4 + 0x10178268]
mov eax, dword [esp + esi*4 + 0x78]
test eax, eax
je 0x100cf731
push eax
call sym.pe.dll_pe_parameter_value
fmul qword [esp + 0x20]
mov eax, dword [esp + esi*4 + 0x38]
sub esp, 8
fstp qword [esp]
push eax
call sym.pe.dll_pe_parameter_value_set
add edi, 1
cmp edi, dword [0x10178264]
jl 0x100cf708
cmp dword [ebx], 2
jne 0x100cf746
mov esi, dword [ebx + 0x58]
jmp 0x100cf748
xor esi, esi
lea ecx, [esp + 0xf8]
push ecx
push esi
call sym.pe.dll_pe_geogcs_name
push esi
call sym.pe.dll_pe_geogcs_datum
push eax
call sym.pe.dll_pe_datum_clone
push esi
mov edi, eax
call sym.pe.dll_pe_geogcs_primem
push eax
call sym.pe.dll_pe_primem_clone
mov edx, dword [esp + 0x14]
push edx
mov esi, eax
call sym.pe.dll_pe_unit_clone
push eax
push esi
push edi
lea eax, [esp + 0x104]
push eax
call sym.pe.dll_pe_geogcs_new
jmp 0x100cf7a0
cmp dword [ebx], 2
jne 0x100cf798
mov eax, dword [ebx + 0x58]
jmp 0x100cf79a
xor eax, eax
push eax
call sym.pe.dll_pe_geogcs_clone
cmp dword [esp + 0x1c], 0
mov dword [esp + 0x14], eax
je 0x100cf818
xor edi, edi
cmp dword [0x10178258], edi
jle 0x100cf7f4
jmp 0x100cf7c0
mov esi, dword [edi*4 + 0x1017825c]
mov eax, dword [esp + esi*4 + 0x78]
test eax, eax
je 0x100cf7e9
push eax
call sym.pe.dll_pe_parameter_value
fmul qword [esp + 0x30]
mov ecx, dword [esp + esi*4 + 0x38]
sub esp, 8
fstp qword [esp]
push ecx
call sym.pe.dll_pe_parameter_value_set
add edi, 1
cmp edi, dword [0x10178258]
jl 0x100cf7c0
mov edx, dword [esp + 0x2c]
push edx
call sym.pe.dll_pe_unit_clone
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
push edx
lea eax, [esp + 0xc8]
push eax
jmp 0x100cf845
cmp dword [ebx], 2
jne 0x100cf825
mov ebx, dword [ebx + 0xa0]
jmp 0x100cf827
xor ebx, ebx
push ebx
call sym.pe.dll_pe_unit_clone
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
push ecx
push edx
push eax
lea ecx, [esp + 0xc8]
push ecx
call sym.pe.dll_pe_projcs_new
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100db39a
mov esp, ebp
pop ebp
ret 0xc