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

Disassembly:
sub esp, 0x7c
mov eax, dword [0x10583760]
xor eax, esp
mov dword [esp + 0x78], eax
cmp dword [esp + 0x84], 0
push edi
mov edi, ecx
mov ecx, dword [esp + 0x9c]
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], ecx
jne 0x101c4323
mov eax, dword [edi + 0x14]
mov dword [ecx], eax
xor eax, eax
pop edi
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.101f6477
add esp, 0x7c
ret 0x1c
mov ecx, dword [esp + 0x94]
cmp dword [edi + 0x20], ecx
mov eax, dword [esp + 0x8c]
cmovl ecx, dword [edi + 0x20]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x98]
cmp dword [edi + 0x24], ecx
push ebx
cmovl ecx, dword [edi + 0x24]
mov ebx, dword [edi + 0x10]
push ebp
mov ebp, dword [esp + 0x98]
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebp
push esi
cmp ebp, ecx
jg 0x101c4619
nop
mov ecx, dword [edi + 0x18]
lea eax, [esp + 0x10]
push eax
call fcn.10176050
mov ecx, dword [edi + 0x18]
lea eax, [esp + 0x40]
push eax
call fcn.10176070
mov esi, dword [esp + 0x10]
cmp esi, dword [eax]
je 0x101c460a
mov ecx, dword [esi + 0x118]
test ebp, ebp
js 0x101c43a9
mov eax, ebp
cdq
idiv ecx
mov edx, eax
jmp 0x101c43bf
mov eax, ecx
test ecx, ecx
js 0x101c43b4
sub eax, ebp
dec eax
jmp 0x101c43b8
not eax
sub eax, ebp
cdq
idiv ecx
mov edx, eax
neg edx
imul edx, ecx
mov eax, ebp
sub eax, edx
jne 0x101c45a1
push dword [esp + 0x38]
push dword [esp + 0x40]
push dword [esi + 0x114]
call fcn.1018b610
mov edx, eax
xor ebp, ebp
mov eax, dword [esi + 0x110]
add esp, 0xc
mov dword [esp + 0x1c], ebp
sub eax, ebp
je 0x101c4533
sub eax, 1
je 0x101c44ea
sub eax, 1
jne 0x101c4599
lea eax, [edx + ebx]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], eax
add eax, edx
mov dword [esp + 0x1c], eax
add eax, edx
mov dword [esp + 0x14], eax
test edx, edx
jle 0x101c4599
mov ebx, dword [esp + 0x90]
mov eax, dword [ebx]
add ebx, 4
mov dword [esp + 0x20], eax
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x20], xmm0
mov ecx, dword [esp + 0x20]
mov eax, ecx
mov edi, ecx
and eax, 0x7f800000
and edi, 0x80000000
and ecx, 0x7fffff
cmp eax, 0x7f800000
jne 0x101c4483
test ecx, ecx
je 0x101c447c
shr ecx, 8
xor eax, eax
test ecx, ecx
sete al
or eax, ecx
or eax, 0x7f8000
jmp 0x101c449f
mov eax, 0x7f8000
jmp 0x101c449f
mov esi, ecx
or esi, eax
mov eax, ecx
and eax, 0x80
add eax, esi
shr eax, 8
cmp eax, 0x7f8000
jb 0x101c449f
mov eax, esi
shr eax, 8
shr edi, 8
or edi, eax
mov ecx, edi
sub ecx, ebp
mov ebp, edi
mov edi, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x10
mov byte [edi], al
inc edi
mov dword [esp + 0x24], edi
mov eax, ecx
mov edi, dword [esp + 0x28]
shr eax, 8
mov byte [edi], al
inc edi
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x28], edi
mov byte [eax], cl
inc eax
mov dword [esp + 0x1c], eax
sub edx, 1
jne 0x101c4430
mov dword [esp + 0x90], ebx
jmp 0x101c4599
lea esi, [edx + ebx]
mov edi, ebx
lea eax, [esi + edx]
mov dword [esp + 0x14], eax
test edx, edx
jle 0x101c4599
mov ebx, dword [esp + 0x90]
mov ax, word [ebx]
lea edi, [edi + 1]
movzx eax, ax
lea esi, [esi + 1]
mov ecx, eax
add ebx, 2
sub ecx, ebp
mov ebp, eax
mov eax, ecx
shr eax, 8
mov byte [edi - 1], al
mov byte [esi - 1], cl
sub edx, 1
jne 0x101c4505
mov dword [esp + 0x90], ebx
jmp 0x101c4599
lea esi, [edx + ebx]
mov ebp, ebx
lea edi, [esi + edx]
lea ebx, [edi + edx]
lea eax, [ebx + edx]
mov dword [esp + 0x14], eax
test edx, edx
jle 0x101c4599
nop dword [eax]
mov ecx, dword [esp + 0x90]
lea ebp, [ebp + 1]
lea esi, [esi + 1]
lea edi, [edi + 1]
lea ebx, [ebx + 1]
mov eax, dword [ecx]
add ecx, 4
mov dword [esp + 0x90], ecx
mov ecx, eax
sub ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], eax
mov eax, ecx
shr eax, 0x18
mov byte [ebp - 1], al
mov eax, ecx
shr eax, 0x10
mov byte [esi - 1], al
mov eax, ecx
shr eax, 8
mov byte [edi - 1], al
mov byte [ebx - 1], cl
sub edx, 1
jne 0x101c4550
mov ebp, dword [esp + 0x18]
mov esi, dword [esp + 0x10]
cmp byte [esi + 0xd], 0
jne 0x101c45e9
mov ecx, dword [esi + 8]
cmp byte [ecx + 0xd], 0
jne 0x101c45c8
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
jne 0x101c45c2
mov ecx, eax
mov eax, dword [ecx]
cmp byte [eax + 0xd], 0
je 0x101c45b8
mov dword [esp + 0x10], ecx
jmp 0x101c45e9
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x101c45e5
cmp esi, dword [eax + 8]
jne 0x101c45e5
mov esi, eax
mov dword [esp + 0x10], esi
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x101c45d1
mov dword [esp + 0x10], eax
mov edi, dword [esp + 0x44]
lea eax, [esp + 0x40]
push eax
mov ecx, dword [edi + 0x18]
call fcn.10176070
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
cmp esi, dword [eax]
jne 0x101c4396
inc ebp
mov dword [esp + 0x18], ebp
cmp ebp, dword [esp + 0x30]
jle 0x101c4370
mov esi, dword [edi + 0x10]
sub esp, 8
sub ebx, esi
movd xmm0, ebx
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x1036fa30]
movsd qword [esp + 0x38], xmm0
fld qword [esp + 0x38]
fstp qword [esp]
call fcn.102094f0
fstp qword [esp + 0x38]
cvttsd2si eax, qword [esp + 0x38]
push ebx
push esi
add eax, 0x64
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x3c]
push eax
push dword [edi + 0x14]
call fcn.101d73e0
add esp, 0x18
pop esi
pop ebp
pop ebx
test eax, eax
jne 0x101c468c
mov ecx, dword [esp + 0x3c]
mov eax, dword [edi + 0x14]
pop edi
mov dword [ecx], eax
mov ecx, dword [esp + 0x78]
mov eax, dword [esp + 0x1c]
xor ecx, esp
call fcn.101f6477
add esp, 0x7c
ret 0x1c
push 0x1036f790
lea ecx, [esp + 0x44]
call fcn.1018aab0
push 0x103f2ec4
lea eax, [esp + 0x44]
push eax
call fcn.101f94fb
int3