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

Disassembly:
sub esp, 0x1a0
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1b4]
xor ebx, ebx
mov ecx, dword [edi + 0x5cbc8]
test ecx, ecx
mov eax, dword [edi + 0x3ac20]
mov ebp, dword [edi]
sete bl
mov esi, dword [edi + 0x917d8]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x3ac24]
mov dword [esp + 0x30], eax
xor eax, eax
cmp dword [edi + 0x3ebb8], 1
mov dword [esp + 0x20], esi
setg al
mov dword [esp + 0x14], ebx
mov dword [ebp + 0xf8], eax
test ecx, ecx
je 0x1014acc6
mov eax, dword [edi]
push 0x58f0
add eax, 0x100
push 0
push eax
call fcn.10513d40
add esp, 0xc
mov byte [edi + 0x6d660], 0
mov ecx, dword [edi + 0x3eea8]
test ecx, ecx
jne 0x1014ae15
mov eax, dword [edi]
cmp dword [eax + 0x59f4], ecx
jne 0x1014ae15
cmp byte [edi + 0x3eb60], 3
mov esi, eax
jne 0x1014acf8
push edi
call fcn.10133df0
add esp, 4
jmp 0x1014ad17
mov eax, dword [esi + 0x8994]
mov eax, dword [esi + eax*4 + 0x8958]
mov dword [esi + 0xaa78], eax
dec dword [edi + 0x5cbb4]
inc dword [esi + 0x8994]
push edi
call fcn.1014abe0
mov ecx, dword [esi + 0xaa78]
add esp, 4
mov eax, dword [edi + 0x5cbc4]
cmp ecx, eax
jle 0x1014ad38
mov dword [esi + 0xaa78], eax
mov ecx, eax
xor eax, eax
mov dword [esi + 0x8954], 0x7d0
cmp ecx, dword [edi + 0x5cbc4]
setge al
mov dword [esi + 0xaa7c], eax
mov eax, dword [edi + 0x3ebb8]
mov dword [esi + 0xbc4], eax
mov eax, dword [esi + 0xaa78]
mov ecx, dword [edi + 0x3eba8]
cmp eax, ecx
jg 0x1014ad85
cmp ecx, 3
jl 0x1014ad85
cmp byte [edi + 0x3ebbc], 0
je 0x1014ad85
cmp eax, dword [edi + 0x5cbb8]
jge 0x1014ad8f
mov dword [esi + 0xbc4], 0
push edi
call fcn.1045f9e0
xor ebx, ebx
add esp, 4
cmp dword [esi + 0x1978], ebx
jle 0x1014b289
lea ebp, [esi + 0x1398]
nop dword [eax]
cmp dword [edi + 0x3eb3c], 1
mov al, byte [esi + ebx + 0x100]
mov byte [esp + 0x14], al
jne 0x1014addf
test al, al
jne 0x1014add3
push edi
call fcn.100c95b0
add esp, 4
jmp 0x1014adfb
push dword [esp + 0x14]
push edi
call fcn.100c96f0
jmp 0x1014adf8
test al, al
jne 0x1014adee
push edi
call fcn.100c96d0
add esp, 4
jmp 0x1014adfb
push dword [esp + 0x14]
push edi
call fcn.100c98c0
add esp, 8
mov dword [ebp], eax
inc ebx
add ebp, 4
cmp ebx, dword [esi + 0x1978]
jl 0x1014adb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a0
ret
cmp dword [edi + 0x917f8], 0
lea edx, [edi + 0x917f8]
je 0x1014af14
cmp ecx, 3
jne 0x1014af14
mov eax, dword [edi + 0x917d8]
mov esi, edx
mov ecx, dword [edi + 0x5cbc8]
mov ebx, dword [edi]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0x3ac20]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x3ac24]
mov dword [esp + 0x24], eax
xor eax, eax
test ecx, ecx
mov dword [esp + 0x1c], edx
sete al
mov dword [esp + 0x2c], eax
xor eax, eax
cmp dword [edi + 0x3ebb8], 1
setg al
mov dword [ebx + 0xf8], eax
test ecx, ecx
je 0x1014aea6
mov eax, dword [edi]
push 0x58f0
add eax, 0x100
push 0
push eax
call fcn.10513d40
lea esi, [edi + 0x917f8]
mov byte [edi + 0x6d660], 0
add esp, 0xc
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0xd4]
push eax
push dword [esp + 0x34]
push dword [esp + 0x2c]
push dword [esp + 0x44]
push edi
call fcn.10146950
mov eax, dword [edi + 0x3ebb4]
push dword [edi + 0x917f8]
mov dword [esp + 0x3c], eax
call fcn.1013b430
add esp, 0x24
mov dword [esp + 0x24], eax
test eax, eax
jne 0x1014afec
cmp dword [esp + 0x18], eax
je 0x1014afe8
push dword [esi]
call fcn.100a5020
mov ebx, dword [esp + 0x18]
add esp, 4
mov dword [esi], 0
mov esi, dword [esp + 0x20]
mov eax, dword [edi]
cmp dword [eax + 0x59f4], 0
je 0x1014af28
push edi
call fcn.1014abe0
add esp, 4
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
lea eax, [esp + 0xd4]
push eax
push dword [esp + 0x40]
push dword [esp + 0x48]
push ebx
push edi
call fcn.10146950
mov ecx, dword [edi + 0x3ebb4]
add esp, 0x20
mov eax, dword [edi + 0x5cbb8]
movsd xmm1, qword [esp + 0x68]
mov dword [esp + 0x28], eax
cmp ecx, 1
jg 0x1014afa4
comisd xmm1, xmmword [0x10633bf0]
jbe 0x1014afa4
movsd xmm0, qword [0x107bc188]
comisd xmm0, xmmword [esp + 0x98]
jbe 0x1014afa4
movsd xmm0, qword [0x107bc1b8]
comisd xmm0, xmmword [esp + 0xb8]
jbe 0x1014afa4
mov eax, dword [edi]
mov dword [eax + 0xf8], 0
mov esi, dword [esp + 0x10]
test ecx, ecx
jne 0x1014b0bd
mov eax, dword [edi]
cmp dword [eax + 0x59f4], ecx
je 0x1014b07a
xor eax, eax
comisd xmm1, xmmword [0x107bc128]
setae al
test eax, eax
je 0x1014b091
xor ebx, ebx
test ebx, ebx
je 0x1014b0e2
mov eax, dword [edi + 0x3ebb8]
jmp 0x1014b0e4
xor eax, eax
jmp 0x1014aff2
mov eax, dword [edi + 0x3ebb8]
mov ebp, dword [esp + 0x1bc]
mov dword [ebx + 0xbc4], eax
test ebp, ebp
je 0x1014b00f
dec dword [edi + 0x5cbb4]
inc dword [ebx + 0x8994]
mov esi, dword [esp + 0x28]
xor eax, eax
cmp esi, dword [edi + 0x5cbc4]
mov dword [ebx + 0xaa78], esi
setge al
mov dword [ebx + 0xaa7c], eax
push edi
mov dword [edi + 0x5cbb0], esi
call fcn.1045f9e0
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x18]
push 0
push dword [esp + 0x34]
push ebp
push dword [esp + 0x44]
push esi
push edi
call fcn.1014e000
mov edx, dword [esp + 0x40]
add esp, 0x24
mov ecx, dword [esp + 0x1b8]
mov eax, dword [edx]
pop edi
pop esi
pop ebp
mov al, byte [eax + 0x78]
mov byte [ecx + 4], al
mov eax, dword [edx]
pop ebx
mov eax, dword [eax + 0x5c]
mov dword [ecx + 0x10], eax
add esp, 0x1a0
ret
comisd xmm1, xmmword [0x107bc120]
jb 0x1014b091
cmp dword [ebp + 0x8934], 0x63
jge 0x1014afd3
cmp dword [ebp + 0xaabc], 0
je 0x1014afd3
cmp esi, dword [edi + 0x3eba8]
jge 0x1014afd3
cmp esi, 4
jl 0x1014afd3
mov ebx, 1
jmp 0x1014afd5
cmp dword [ebp + 0xaabc], 0
je 0x1014b0e0
cmp esi, dword [edi + 0x3eba8]
jge 0x1014b0e0
cmp esi, 2
jle 0x1014b0e0
mov eax, dword [edi + 0x3ebb8]
mov ebx, 1
jmp 0x1014b0e4
xor ebx, ebx
xor eax, eax
mov dword [ebp + 0xbc4], eax
cmp dword [edi + 0x3eb3c], 3
mov dword [esp + 0x1c], 0
jne 0x1014b107
cmp dword [edi + 0x3eb38], 0x80
jle 0x1014b116
mov eax, dword [edi]
cmp dword [eax + 0xf8], 0
jne 0x1014b1eb
cmp dword [edi + 0x3eb34], 0
jne 0x1014b12c
cmp dword [edi + 0x3eb30], 0
je 0x1014b1eb
mov eax, ebx
mov dword [esp + 0x18], eax
test eax, eax
je 0x1014b1eb
mov ecx, dword [edi + 0x5cbc4]
sub ecx, esi
jne 0x1014b14e
cmp esi, 4
jle 0x1014b14e
lea edx, [ecx + 1]
jmp 0x1014b150
xor edx, edx
cmp esi, 9
jle 0x1014b16a
inc ecx
cmp ecx, 9
jge 0x1014b16a
cmp ecx, dword [edi + 0x5cbb8]
jl 0x1014b16a
mov ecx, 1
jmp 0x1014b16c
xor ecx, ecx
test edx, edx
jne 0x1014b176
mov ebx, eax
test ecx, ecx
je 0x1014b1eb
mov ebx, eax
lea ecx, [esi - 1]
mov eax, dword [esp + 0x28]
inc eax
cmp ecx, eax
jl 0x1014b1eb
cmp dword [esp + 0x1bc], 0
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x10], ecx
je 0x1014b1a4
mov dword [edi + 0x5cbb4], 0
mov eax, dword [ebp + 0x8994]
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x3c]
push ecx
dec dword [ebp + eax*4 + 0x8958]
mov eax, dword [esp + 0x28]
push eax
mov dword [edi + 0x917d8], eax
lea eax, [esp + 0xd4]
push eax
push dword [esp + 0x40]
push dword [esp + 0x48]
push dword [esp + 0x2c]
push edi
call fcn.10146950
mov ebx, dword [esp + 0x38]
add esp, 0x20
mov esi, dword [esp + 0x10]
cmp dword [esp + 0x1bc], 0
je 0x1014b201
dec dword [edi + 0x5cbb4]
inc dword [ebp + 0x8994]
xor eax, eax
cmp esi, dword [edi + 0x5cbc4]
mov dword [ebp + 0xaa78], esi
setge al
mov dword [ebp + 0xaa7c], eax
push edi
mov dword [edi + 0x5cbb0], esi
call fcn.1045f9e0
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x28]
push dword [esp + 0x28]
push ebx
push dword [esp + 0x1d0]
push dword [esp + 0x2c]
push esi
push edi
call fcn.1014e000
mov ecx, dword [esp + 0x1dc]
add esp, 0x24
cmp dword [edi + 0x5cbc8], 0
setne al
mov byte [ecx + 4], al
movzx eax, byte [edi + 0x6d660]
mov al, byte [eax + ebp + 0x100]
cmp al, 3
je 0x1014b284
cmp al, 6
je 0x1014b284
pop edi
pop esi
mov eax, 1
pop ebp
mov dword [ecx + 0x10], eax
pop ebx
add esp, 0x1a0
ret
xor eax, eax
mov dword [ecx + 0x10], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1a0
ret