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

Disassembly:
sub esp, 0x74
mov eax, dword [0x102060c0]
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 [0x1034f0f0]
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 0x101708a2
nop dword [eax]
cmp al, 0x25
jne 0x1017089a
cmp byte [edi + 1], al
jne 0x101708a2
inc edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10170890
cmp byte [edi], 0x25
jne 0x101708e6
mov ecx, edi
call fcn.10170730
cmp byte [eax], 0
jne 0x101708b7
mov ecx, edi
jmp 0x101708e6
sub eax, edi
mov ebx, 0x20
inc eax
cmp eax, ebx
cmovb ebx, eax
cmp ebx, 1
jb 0x101708e2
jbe 0x101708dd
lea eax, [ebx - 1]
push eax
lea eax, [esp + 0x60]
push edi
push eax
call fcn.101a5320
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.1016e090
lea edi, [esp + 0x3c]
nop dword [eax + eax]
mov al, byte [edi]
cmp al, 0x20
je 0x1017090a
cmp al, 9
jne 0x1017090d
inc edi
jmp 0x10170900
mov ebx, edi
test al, al
je 0x10170930
inc edi
cmp byte [edi], 0
jne 0x10170913
cmp edi, ebx
jbe 0x10170930
nop dword [eax]
mov al, byte [edi - 1]
cmp al, 0x20
je 0x1017092b
cmp al, 9
jne 0x10170930
dec edi
cmp edi, ebx
ja 0x10170920
lea eax, [esp + 0x3c]
cmp ebx, eax
je 0x1017094b
mov eax, edi
sub eax, ebx
push eax
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.1019aac0
add esp, 0xc
sub edi, ebx
mov byte [esp + edi + 0x3c], 0
cmp ebp, 8
je 0x10170961
mov ebx, 0x200011
cmp ebp, 9
jne 0x10170966
mov ebx, 0x220010
mov edi, dword [0x1034f0f0]
mov byte [esp + 0x17], 0
mov eax, dword [edi + 0x2e84]
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x24]
je 0x10170986
call fcn.10151c60
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.10172cf0
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x2c], ecx
je 0x101709f6
mov ecx, dword [edi + 0x1c24]
mov dword [edi + 0x2e84], ecx
test al, al
je 0x10170cde
mov eax, ebp
shl eax, 4
mov ebp, dword [eax + 0x101f5c18]
lea eax, [esp + 0x34]
push ebp
push esi
push eax
call fcn.1019aac0
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.1016e870
mov ebx, dword [esp + 0x98]
mov edi, dword [esp + 0x9c]
test ebx, ebx
jne 0x10170a4e
test edi, edi
je case.default.0x10170a75
jmp 0x10170a68
test edi, edi
je 0x10170a68
mov ecx, dword [esp + 0x18]
mov edx, ebx
push edi
call fcn.1016ed00
test eax, eax
jle 0x10170a68
mov eax, ebx
mov ebx, edi
mov edi, eax
mov eax, dword [esp + 0x18]
cmp eax, 9
ja case.default.0x10170a75
jmp dword [eax*4 + 0x10170cf8]
test ebx, ebx
je 0x10170a8d
mov al, byte [ebx]
cmp byte [esi], al
jge 0x10170a8d
mov byte [esi], al
jmp case.default.0x10170a75
test edi, edi
je case.default.0x10170a75
mov al, byte [edi]
cmp byte [esi], al
jle case.default.0x10170a75
mov byte [esi], al
jmp case.default.0x10170a75
test ebx, ebx
je 0x10170ab7
mov al, byte [ebx]
cmp byte [esi], al
jae 0x10170ab7
mov byte [esi], al
jmp case.default.0x10170a75
test edi, edi
je case.default.0x10170a75
mov al, byte [edi]
cmp byte [esi], al
jbe case.default.0x10170a75
mov byte [esi], al
jmp case.default.0x10170a75
test ebx, ebx
je 0x10170ae4
movzx eax, word [ebx]
cmp word [esi], ax
jge 0x10170ae4
mov word [esi], ax
jmp case.default.0x10170a75
test edi, edi
je case.default.0x10170a75
movzx eax, word [edi]
cmp word [esi], ax
jle case.default.0x10170a75
mov word [esi], ax
jmp case.default.0x10170a75
test ebx, ebx
je 0x10170b14
movzx eax, word [ebx]
cmp word [esi], ax
jae 0x10170b14
mov word [esi], ax
jmp case.default.0x10170a75
test edi, edi
je case.default.0x10170a75
movzx eax, word [edi]
cmp word [esi], ax
jbe case.default.0x10170a75
mov word [esi], ax
jmp case.default.0x10170a75
test ebx, ebx
je 0x10170b41
mov eax, dword [ebx]
cmp dword [esi], eax
jge 0x10170b41
mov dword [esi], eax
jmp case.default.0x10170a75
test edi, edi
je case.default.0x10170a75
mov eax, dword [edi]
cmp dword [esi], eax
jle case.default.0x10170a75
mov dword [esi], eax
jmp case.default.0x10170a75
test ebx, ebx
je 0x10170b6b
mov eax, dword [ebx]
cmp dword [esi], eax
jae 0x10170b6b
mov dword [esi], eax
jmp case.default.0x10170a75
test edi, edi
je case.default.0x10170a75
mov eax, dword [edi]
cmp dword [esi], eax
jbe case.default.0x10170a75
mov dword [esi], eax
jmp case.default.0x10170a75
test ebx, ebx
je 0x10170ba2
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
cmp dword [esi + 4], ecx
jg 0x10170ba2
jl 0x10170bc2
cmp dword [esi], eax
jae 0x10170ba2
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp case.default.0x10170a75
test edi, edi
je case.default.0x10170a75
mov ecx, dword [edi + 4]
mov eax, dword [edi]
cmp dword [esi + 4], ecx
jl case.default.0x10170a75
jg 0x10170bc2
cmp dword [esi], eax
jbe case.default.0x10170a75
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp case.default.0x10170a75
test ebx, ebx
je 0x10170be7
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
cmp dword [esi + 4], ecx
ja 0x10170be7
jb 0x10170bc2
cmp dword [esi], eax
jae 0x10170be7
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp case.default.0x10170a75
test edi, edi
je case.default.0x10170a75
mov ecx, dword [edi + 4]
mov eax, dword [edi]
cmp dword [esi + 4], ecx
jb case.default.0x10170a75
ja 0x10170bc2
cmp dword [esi], eax
jbe case.default.0x10170a75
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp case.default.0x10170a75
test ebx, ebx
je 0x10170c15
movss xmm0, dword [ebx]
comiss xmm0, dword [esi]
jbe 0x10170c15
movss dword [esi], xmm0
jmp case.default.0x10170a75
test edi, edi
je case.default.0x10170a75
movss xmm1, dword [edi]
movss xmm0, dword [esi]
comiss xmm0, xmm1
jbe case.default.0x10170a75
movss dword [esi], xmm1
jmp case.default.0x10170a75
test ebx, ebx
je 0x10170c40
movsd xmm0, qword [ebx]
comisd xmm0, xmmword [esi]
jbe 0x10170c40
movsd qword [esi], xmm0
jmp case.default.0x10170a75
test edi, edi
je case.default.0x10170a75
movsd xmm1, qword [edi]
movsd xmm0, qword [esi]
comisd xmm0, xmm1
jbe case.default.0x10170a75
movsd qword [esi], xmm1
lea ecx, [esp + 0x34]
sub ebp, 4
jb 0x10170c71
nop
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10170c76
add ecx, 4
add esi, 4
sub ebp, 4
jae 0x10170c60
cmp ebp, 0xfffffffc
je 0x10170ca7
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x10170ca3
cmp ebp, 0xfffffffd
je 0x10170ca7
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x10170ca3
cmp ebp, 0xfffffffe
je 0x10170ca7
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x10170ca3
cmp ebp, 0xffffffff
je 0x10170ca7
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x10170ca7
mov al, 1
jmp 0x10170ca9
xor al, al
test al, al
je 0x10170ce2
mov ecx, dword [0x1034f0f0]
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.10199294
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.10199294
add esp, 0x74
ret 0x18