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

Disassembly:
sub esp, 0x64
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x3c]
push eax
call fcn.10022250
mov ebx, dword [esp + 0x3c]
lea esi, [esp + 0x14]
mov dword [esp + 0x14], ebx
call fcn.1003add0
mov esi, dword [esp + 0x14]
mov al, byte [esi]
or ebp, 0xffffffff
test al, al
mov dword [esp + 0x1c], ebp
mov edi, esi
je 0x1003af32
movsx ecx, al
push ecx
call fcn.102f484c
add esp, 4
test eax, eax
jne 0x1003af18
movsx edx, byte [esi]
push edx
call fcn.102f4943
add esp, 4
test eax, eax
jne 0x1003aef3
cmp byte [esi], 0x28
je 0x1003aef3
add esi, 1
mov dword [esp + 0x14], esi
jmp 0x1003af12
sub esi, edi
cmp esi, 3
jl 0x1003af03
mov eax, edi
call fcn.1003ae20
mov ebp, eax
lea esi, [esp + 0x14]
call fcn.1003add0
mov esi, dword [esp + 0x14]
mov edi, esi
mov al, byte [esi]
test al, al
jne 0x1003aec5
cmp ebp, 0xffffffff
mov dword [esp + 0x1c], ebp
jne 0x1003af32
cmp edi, esi
je 0x1003af32
mov eax, edi
call fcn.1003ae20
mov ebp, eax
mov dword [esp + 0x1c], ebp
lea esi, [esp + 0x14]
call fcn.1003add0
mov esi, dword [esp + 0x14]
cmp byte [esi], 0
jne 0x1003af4a
push ebx
jmp 0x1003b5fa
call fcn.102f4f17
xor ebx, ebx
mov dword [eax], ebx
push 0xa
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.1030ad1f
mov esi, eax
add esp, 0xc
mov dword [esp + 0x24], esi
call fcn.102f4f17
cmp dword [eax], ebx
je 0x1003af7c
mov ecx, dword [esp + 0x3c]
push ecx
jmp 0x1003b5fa
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
test cl, cl
mov dword [esp + 0x14], eax
je 0x1003b5f5
cmp esi, ebx
jl 0x1003b08a
xor edi, edi
cmp esi, 0x1f
mov dword [esp + 0x20], edi
jle 0x1003b029
cmp cl, 0x2f
jne 0x1003af72
add eax, 1
cmp byte [eax], bl
je 0x1003b5f5
push 0xa
lea ecx, [esp + 0x1c]
push ecx
mov edi, esi
push eax
mov dword [esp + 0x2c], edi
call fcn.1030ad1f
mov ebp, eax
sub ebp, 1
add esp, 0xc
mov dword [esp + 0x1c], ebp
call fcn.102f4f17
cmp dword [eax], ebx
jne 0x1003b5f5
mov ecx, dword [esp + 0x18]
cmp byte [ecx], 0x2f
lea eax, [ecx + 1]
jne 0x1003b08a
cmp byte [eax], bl
je 0x1003b08a
push 0xa
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.1030ad1f
add esp, 0xc
mov dword [esp + 0x24], eax
call fcn.102f4f17
cmp dword [eax], ebx
jne 0x1003b5f5
mov eax, dword [esp + 0x18]
mov esi, eax
mov dword [esp + 0x14], esi
jmp 0x1003b139
cmp cl, 0x2f
jne 0x1003b094
cmp ebp, 0xffffffff
jne 0x1003b094
push 0xa
lea ecx, [esp + 0x1c]
add eax, 1
push ecx
lea ebp, [esi - 1]
push eax
mov dword [esp + 0x28], ebp
call fcn.1030ad1f
mov esi, eax
add esp, 0xc
mov dword [esp + 0x24], esi
call fcn.102f4f17
cmp dword [eax], ebx
jne 0x1003b5f5
add esi, 0xffffffff
cmp esi, 0x1e
ja 0x1003af72
mov eax, dword [esp + 0x18]
cmp byte [eax], 0x2f
mov esi, eax
mov dword [esp + 0x14], esi
jne 0x1003b082
lea esi, [eax + 1]
mov dword [esp + 0x14], esi
cmp byte [esi], bl
jne 0x1003b139
mov eax, dword [esp + 0x3c]
push eax
jmp 0x1003b5fa
cmp cl, 0x2d
jne 0x1003b0a0
add eax, 1
mov dword [esp + 0x14], eax
lea esi, [esp + 0x14]
call fcn.1003add0
mov esi, dword [esp + 0x14]
cmp byte [esi], 0x2c
jne 0x1003b0b9
add esi, 1
mov dword [esp + 0x14], esi
cmp ebp, 0xffffffff
jne 0x1003b135
mov eax, esi
call fcn.1003ae20
mov ebp, eax
cmp ebp, 0xffffffff
mov dword [esp + 0x1c], ebp
je 0x1003b5f5
mov al, byte [esi]
test al, al
je 0x1003af72
mov edi, edi
cmp al, 0x2d
je 0x1003b108
movsx eax, al
push eax
call fcn.102f4943
add esp, 4
test eax, eax
jne 0x1003b108
mov al, byte [esi + 1]
add esi, 1
test al, al
jne 0x1003b0e0
mov ecx, dword [esp + 0x3c]
push ecx
jmp 0x1003b5fa
mov al, byte [esi]
test al, al
je 0x1003af72
cmp al, 0x2d
je 0x1003b12e
cmp al, 0x2f
je 0x1003b12e
movsx edx, al
push edx
call fcn.102f4943
add esp, 4
test eax, eax
je 0x1003b08a
add esi, 1
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x18]
cmp ebp, 0xb
ja 0x1003b5f5
cmp edi, ebx
jg 0x1003b16f
cmp byte [esi], bl
je 0x1003b16f
push 0xa
lea ecx, [esp + 0x1c]
push ecx
push esi
call fcn.1030ad1f
add esp, 0xc
mov dword [esp + 0x20], eax
call fcn.102f4f17
cmp dword [eax], ebx
jne 0x1003b5f5
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
xor ebp, ebp
test cl, cl
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
jne 0x1003b221
mov esi, eax
mov dword [esp + 0x14], esi
cmp byte [esi], bl
mov byte [esp + 0x13], bl
mov dword [esp + 0x28], ebx
je 0x1003b48d
push 3
push 0x10c16144
push esi
call fcn.1030ad1f
add esp, 0xc
test eax, eax
je 0x1003b1c1
push 3
push 0x10c16110
push esi
call fcn.1030ad1f
add esp, 0xc
test eax, eax
jne 0x1003b1cd
add esi, 3
mov dword [esp + 0x14], esi
mov byte [esp + 0x13], 1
mov al, byte [esi]
cmp al, 0x2b
je 0x1003b3d6
cmp al, 0x2d
je 0x1003b3d6
xor ebx, ebx
mov edi, 0x10c11de8
mov eax, edi
lea edx, [eax + 1]
jmp 0x1003b1f0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1003b1f0
sub eax, edx
push eax
push edi
push esi
call fcn.1030ad1f
add esp, 0xc
test eax, eax
je 0x1003b3a6
add edi, 8
add ebx, 1
cmp edi, 0x10c11e38
jl 0x1003b1e6
jmp 0x1003b48d
movsx eax, cl
push eax
call fcn.102f4943
add esp, 4
test eax, eax
jne 0x1003b248
mov ecx, dword [esp + 0x18]
cmp byte [ecx], 0x3a
jne 0x1003b5f5
mov dword [esp + 0x20], 0xffffffff
jmp 0x1003b264
mov eax, dword [esp + 0x18]
add eax, 1
lea esi, [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
call fcn.1003add0
mov esi, dword [esp + 0x14]
push 0xa
lea eax, [esp + 0x1c]
push eax
push esi
call fcn.1030ad1f
mov ebp, eax
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, esi
je 0x1003b189
cmp ebp, 0x17
ja 0x1003b08a
mov cl, byte [eax]
test cl, cl
je 0x1003af72
add eax, 1
cmp cl, 0x3a
jne 0x1003b5f5
push 0xa
lea ecx, [esp + 0x1c]
push ecx
push eax
call fcn.1030ad1f
mov edi, eax
add esp, 0xc
mov dword [esp + 0x30], edi
call fcn.102f4f17
cmp dword [eax], ebx
jne 0x1003b5f5
cmp edi, 0x3b
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], esi
ja 0x1003b5f5
mov al, byte [esi]
test al, al
je 0x1003b2f3
cmp al, 0x3a
je 0x1003b2f3
movsx eax, al
push eax
call fcn.102f4943
add esp, 4
test eax, eax
je 0x1003af72
cmp byte [esi], 0x3a
jne 0x1003b337
push 0xa
lea edx, [esp + 0x1c]
push edx
add esi, 1
push esi
call fcn.1030ad1f
mov esi, eax
add esp, 0xc
mov dword [esp + 0x2c], esi
call fcn.102f4f17
cmp dword [eax], ebx
jne 0x1003b08a
cmp esi, ebx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
jl 0x1003b5f5
cmp esi, 0x3b
jg 0x1003b5f5
lea esi, [esp + 0x14]
call fcn.1003add0
mov esi, dword [esp + 0x14]
push 2
push 0x10c1613c
push esi
call fcn.1030ad1f
add esp, 0xc
test eax, eax
jne 0x1003b37e
cmp ebp, 0xc
jg 0x1003b08a
jne 0x1003b365
xor ebp, ebp
add esi, 2
mov dword [esp + 0x14], esi
lea esi, [esp + 0x14]
call fcn.1003add0
mov esi, dword [esp + 0x14]
jmp 0x1003b189
push 2
push 0x10c16140
push esi
call fcn.1030ad1f
add esp, 0xc
test eax, eax
jne 0x1003b189
cmp ebp, 0xc
jg 0x1003af72
je 0x1003b365
add ebp, 0xc
jmp 0x1003b365
mov ecx, dword [ebx*8 + 0x10c11dec]
lea eax, [ebx*8 + 0x10c11de8]
mov dword [esp + 0x28], ecx
lea edx, [eax + 1]
jmp 0x1003b3c0
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x1003b3c0
sub eax, edx
add esi, eax
mov dword [esp + 0x14], esi
jmp 0x1003b488
push 0xa
lea edx, [esp + 0x1c]
push edx
push esi
call fcn.1030ad1f
add esp, 0xc
mov esi, eax
call fcn.102f4f17
cmp dword [eax], ebx
jne 0x1003b08a
mov ecx, dword [esp + 0x18]
lea edx, [esi + 0x26e7]
cmp edx, 0x4dce
mov dword [esp + 0x14], ecx
ja 0x1003af72
xor eax, eax
test esi, esi
setge al
lea eax, [eax + eax - 1]
mov edi, eax
mov eax, esi
cdq
mov esi, eax
xor esi, edx
sub esi, edx
cmp byte [ecx], 0x3a
je 0x1003b44f
mov eax, 0x51eb851f
imul esi
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
add ecx, ecx
add ecx, ecx
add ecx, ecx
sub esi, ecx
imul esi, edi
mov dword [esp + 0x28], esi
jmp 0x1003b488
push 0xa
lea edx, [esp + 0x1c]
push edx
push ecx
call fcn.1030ad1f
add esp, 0xc
mov ebx, eax
call fcn.102f4f17
cmp dword [eax], 0
jne 0x1003b08a
mov ecx, dword [esp + 0x18]
mov edx, esi
shl edx, 4
sub edx, esi
lea eax, [ebx + edx*4]
imul eax, edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x28], eax
mov byte [esp + 0x13], 1
lea esi, [esp + 0x14]
call fcn.1003add0
mov eax, dword [esp + 0x14]
cmp byte [eax], 0
mov edi, dword [esp + 0x20]
je 0x1003b4d0
cmp edi, 0xffffffff
jne 0x1003b4d0
push 0xa
lea edx, [esp + 0x1c]
push edx
push eax
call fcn.1030ad1f
add esp, 0xc
mov edi, eax
call fcn.102f4f17
cmp dword [eax], 0
jne 0x1003b08a
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x14], ecx
lea esi, [esp + 0x14]
call fcn.1003add0
mov edx, dword [esp + 0x14]
cmp byte [edx], 0
jne 0x1003b08a
cmp edi, 0x63
ja 0x1003b4fe
cmp edi, 0x32
jge 0x1003b4f8
add edi, 0x7d0
jmp 0x1003b4fe
add edi, 0x76c
cmp byte [esp + 0x13], 0
jne 0x1003b5ae
lea eax, [esp + 0x44]
call fcn.100391f0
fldz
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
sub esp, 8
mov dword [esp + 0x58], eax
fstp qword [esp]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x38]
add edi, 0xfffff894
push 0
lea esi, [esp + 0x50]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], 0xffffffff
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], ebp
call fcn.10052ef0
fstp qword [esp + 0x3c]
mov edx, dword [esp + 0x78]
add esp, 0xc
push edx
call fcn.102f353f
mov eax, dword [esp + 0x40]
add esp, 4
push eax
call fcn.102f353f
fld qword [esp + 0x34]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.102f353f
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
add esp, 4
push edx
push eax
mov eax, dword [esp + 0x24]
push ebp
push ecx
add eax, 1
push edi
call fcn.1003ace0
fild dword [esp + 0x3c]
add esp, 0x14
fmul qword [0x10c10ef8]
fsubp st(1)
fmul qword [0x10c10f10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret
mov edx, dword [esp + 0x3c]
push edx
call fcn.102f353f
fld qword [0x10c881e0]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret