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

Disassembly:
sub esp, 0x74
mov eax, dword [0x1020f0c0]
xor eax, esp
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x78]
push ebx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x88]
push ebp
mov ebp, dword [esp + 0x84]
mov dword [esp + 0x20], eax
mov eax, dword [0x10456c08]
push esi
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x2c], eax
mov al, byte [ecx]
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], ebp
push edi
mov edi, ecx
test al, al
je 0x10178db2
nop dword [eax]
cmp al, 0x25
jne 0x10178daa
cmp byte [edi + 1], al
jne 0x10178db2
inc edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10178da0
cmp byte [edi], 0x25
jne 0x10178df6
mov ecx, edi
call fcn.10178c40
cmp byte [eax], 0
jne 0x10178dc7
mov ecx, edi
jmp 0x10178df6
sub eax, edi
mov ebx, 0x20
inc eax
cmp eax, ebx
cmovb ebx, eax
cmp ebx, 1
jb 0x10178df2
jbe 0x10178ded
lea eax, [ebx - 1]
push eax
lea eax, [esp + 0x60]
push edi
push eax
call fcn.101addb0
add esp, 0xc
mov byte [esp + ebx + 0x5b], 0
lea ecx, [esp + 0x5c]
push ecx
push esi
push ebp
mov edx, 0x20
lea ecx, [esp + 0x48]
call fcn.101765b0
lea edi, [esp + 0x3c]
nop dword [eax + eax]
mov al, byte [edi]
cmp al, 0x20
je 0x10178e1a
cmp al, 9
jne 0x10178e1d
inc edi
jmp 0x10178e10
mov ebx, edi
test al, al
je 0x10178e40
inc edi
cmp byte [edi], 0
jne 0x10178e23
cmp edi, ebx
jbe 0x10178e40
nop dword [eax]
mov al, byte [edi - 1]
cmp al, 0x20
je 0x10178e3b
cmp al, 9
jne 0x10178e40
dec edi
cmp edi, ebx
ja 0x10178e30
lea eax, [esp + 0x3c]
cmp ebx, eax
je 0x10178e5b
mov eax, edi
sub eax, ebx
push eax
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.101a3550
add esp, 0xc
sub edi, ebx
mov byte [esp + edi + 0x3c], 0
cmp ebp, 8
je 0x10178e71
mov ebx, 0x200011
cmp ebp, 9
jne 0x10178e76
mov ebx, 0x220010
mov edi, dword [0x10456c08]
mov byte [esp + 0x17], 0
mov eax, dword [edi + 0x2e84]
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x24]
je 0x10178e96
call fcn.1015b290
mov eax, dword [esp + 0x1c]
push 0
push 0
push ebx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [edi + 0x1bec]
mov dword [eax + 0xec], ecx
mov dword [eax + 0xf0], edx
xor edx, edx
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x34]
movss xmm0, dword [eax + 8]
subss xmm0, dword [eax]
movss dword [esp + 0x28], xmm0
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 4]
lea eax, [esp + 0x28]
push eax
push 0x20
lea eax, [esp + 0x50]
push eax
movss dword [esp + 0x38], xmm0
call fcn.1017b200
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x2c], ecx
je 0x10178f06
mov ecx, dword [edi + 0x1c24]
mov dword [edi + 0x2e84], ecx
test al, al
je 0x101791ee
mov eax, ebp
shl eax, 4
mov ebp, dword [eax + 0x101ff3a8]
lea eax, [esp + 0x34]
push ebp
push esi
push eax
call fcn.101a3550
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x48]
add esp, 0xc
mov edx, dword [edx + 0x1fdc]
push 0
push esi
push dword [esp + 0x20]
call fcn.10176d90
mov ebx, dword [esp + 0x98]
mov edi, dword [esp + 0x9c]
test ebx, ebx
jne 0x10178f5e
test edi, edi
je case.default.0x10178f85
jmp 0x10178f78
test edi, edi
je 0x10178f78
mov ecx, dword [esp + 0x18]
mov edx, ebx
push edi
call fcn.10177220
test eax, eax
jle 0x10178f78
mov eax, ebx
mov ebx, edi
mov edi, eax
mov eax, dword [esp + 0x18]
cmp eax, 9
ja case.default.0x10178f85
jmp dword [eax*4 + 0x10179208]
test ebx, ebx
je 0x10178f9d
mov al, byte [ebx]
cmp byte [esi], al
jge 0x10178f9d
mov byte [esi], al
jmp case.default.0x10178f85
test edi, edi
je case.default.0x10178f85
mov al, byte [edi]
cmp byte [esi], al
jle case.default.0x10178f85
mov byte [esi], al
jmp case.default.0x10178f85
test ebx, ebx
je 0x10178fc7
mov al, byte [ebx]
cmp byte [esi], al
jae 0x10178fc7
mov byte [esi], al
jmp case.default.0x10178f85
test edi, edi
je case.default.0x10178f85
mov al, byte [edi]
cmp byte [esi], al
jbe case.default.0x10178f85
mov byte [esi], al
jmp case.default.0x10178f85
test ebx, ebx
je 0x10178ff4
movzx eax, word [ebx]
cmp word [esi], ax
jge 0x10178ff4
mov word [esi], ax
jmp case.default.0x10178f85
test edi, edi
je case.default.0x10178f85
movzx eax, word [edi]
cmp word [esi], ax
jle case.default.0x10178f85
mov word [esi], ax
jmp case.default.0x10178f85
test ebx, ebx
je 0x10179024
movzx eax, word [ebx]
cmp word [esi], ax
jae 0x10179024
mov word [esi], ax
jmp case.default.0x10178f85
test edi, edi
je case.default.0x10178f85
movzx eax, word [edi]
cmp word [esi], ax
jbe case.default.0x10178f85
mov word [esi], ax
jmp case.default.0x10178f85
test ebx, ebx
je 0x10179051
mov eax, dword [ebx]
cmp dword [esi], eax
jge 0x10179051
mov dword [esi], eax
jmp case.default.0x10178f85
test edi, edi
je case.default.0x10178f85
mov eax, dword [edi]
cmp dword [esi], eax
jle case.default.0x10178f85
mov dword [esi], eax
jmp case.default.0x10178f85
test ebx, ebx
je 0x1017907b
mov eax, dword [ebx]
cmp dword [esi], eax
jae 0x1017907b
mov dword [esi], eax
jmp case.default.0x10178f85
test edi, edi
je case.default.0x10178f85
mov eax, dword [edi]
cmp dword [esi], eax
jbe case.default.0x10178f85
mov dword [esi], eax
jmp case.default.0x10178f85
test ebx, ebx
je 0x101790b2
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
cmp dword [esi + 4], ecx
jg 0x101790b2
jl 0x101790d2
cmp dword [esi], eax
jae 0x101790b2
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp case.default.0x10178f85
test edi, edi
je case.default.0x10178f85
mov ecx, dword [edi + 4]
mov eax, dword [edi]
cmp dword [esi + 4], ecx
jl case.default.0x10178f85
jg 0x101790d2
cmp dword [esi], eax
jbe case.default.0x10178f85
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp case.default.0x10178f85
test ebx, ebx
je 0x101790f7
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
cmp dword [esi + 4], ecx
ja 0x101790f7
jb 0x101790d2
cmp dword [esi], eax
jae 0x101790f7
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp case.default.0x10178f85
test edi, edi
je case.default.0x10178f85
mov ecx, dword [edi + 4]
mov eax, dword [edi]
cmp dword [esi + 4], ecx
jb case.default.0x10178f85
ja 0x101790d2
cmp dword [esi], eax
jbe case.default.0x10178f85
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp case.default.0x10178f85
test ebx, ebx
je 0x10179125
movss xmm0, dword [ebx]
comiss xmm0, dword [esi]
jbe 0x10179125
movss dword [esi], xmm0
jmp case.default.0x10178f85
test edi, edi
je case.default.0x10178f85
movss xmm1, dword [edi]
movss xmm0, dword [esi]
comiss xmm0, xmm1
jbe case.default.0x10178f85
movss dword [esi], xmm1
jmp case.default.0x10178f85
test ebx, ebx
je 0x10179150
movsd xmm0, qword [ebx]
comisd xmm0, xmmword [esi]
jbe 0x10179150
movsd qword [esi], xmm0
jmp case.default.0x10178f85
test edi, edi
je case.default.0x10178f85
movsd xmm1, qword [edi]
movsd xmm0, qword [esi]
comisd xmm0, xmm1
jbe case.default.0x10178f85
movsd qword [esi], xmm1
lea ecx, [esp + 0x34]
sub ebp, 4
jb 0x10179181
nop
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10179186
add ecx, 4
add esi, 4
sub ebp, 4
jae 0x10179170
cmp ebp, 0xfffffffc
je 0x101791b7
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x101791b3
cmp ebp, 0xfffffffd
je 0x101791b7
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x101791b3
cmp ebp, 0xfffffffe
je 0x101791b7
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x101791b3
cmp ebp, 0xffffffff
je 0x101791b7
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x101791b7
mov al, 1
jmp 0x101791b9
xor al, al
test al, al
je 0x101791f2
mov ecx, dword [0x10456c08]
mov word [ecx + 0x1c35], 0x101
mov ecx, dword [ecx + 0x1bec]
or dword [ecx + 0x13c], 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.101a1d25
add esp, 0x74
ret 0x18
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101a1d25
add esp, 0x74
ret 0x18