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

Disassembly:
sub esp, 0x74
mov eax, dword [0x101f90c0]
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 [0x103d8bec]
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 0x10165e92
nop dword [eax]
cmp al, 0x25
jne 0x10165e8a
cmp byte [edi + 1], al
jne 0x10165e92
inc edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10165e80
cmp byte [edi], 0x25
jne 0x10165ed6
mov ecx, edi
call fcn.10165d20
cmp byte [eax], 0
jne 0x10165ea7
mov ecx, edi
jmp 0x10165ed6
sub eax, edi
mov ebx, 0x20
inc eax
cmp eax, ebx
cmovb ebx, eax
cmp ebx, 1
jb 0x10165ed2
jbe 0x10165ecd
lea eax, [ebx - 1]
push eax
lea eax, [esp + 0x60]
push edi
push eax
call fcn.1019a150
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.10163bd0
lea edi, [esp + 0x3c]
nop dword [eax + eax]
mov al, byte [edi]
cmp al, 0x20
je 0x10165efa
cmp al, 9
jne 0x10165efd
inc edi
jmp 0x10165ef0
mov ebx, edi
test al, al
je 0x10165f20
inc edi
cmp byte [edi], 0
jne 0x10165f03
cmp edi, ebx
jbe 0x10165f20
nop dword [eax]
mov al, byte [edi - 1]
cmp al, 0x20
je 0x10165f1b
cmp al, 9
jne 0x10165f20
dec edi
cmp edi, ebx
ja 0x10165f10
lea eax, [esp + 0x3c]
cmp ebx, eax
je 0x10165f3b
mov eax, edi
sub eax, ebx
push eax
lea eax, [esp + 0x40]
push ebx
push eax
call fcn.1018f8f0
add esp, 0xc
sub edi, ebx
mov byte [esp + edi + 0x3c], 0
cmp ebp, 8
je 0x10165f51
mov ebx, 0x200011
cmp ebp, 9
jne 0x10165f56
mov ebx, 0x220010
mov edi, dword [0x103d8bec]
mov byte [esp + 0x17], 0
mov eax, dword [edi + 0x2e74]
mov dword [esp + 0x2c], eax
cmp eax, dword [esp + 0x24]
je 0x10165f76
call fcn.101476b0
mov eax, dword [esp + 0x1c]
push 0
push 0
push ebx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [edi + 0x1bdc]
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xd0], 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.101682e0
mov ecx, dword [esp + 0x24]
cmp dword [esp + 0x2c], ecx
je 0x10165fe6
mov ecx, dword [edi + 0x1c10]
mov dword [edi + 0x2e74], ecx
test al, al
je 0x101662ce
mov eax, ebp
shl eax, 4
mov ebp, dword [eax + 0x101e9ae8]
lea eax, [esp + 0x34]
push ebp
push esi
push eax
call fcn.1018f8f0
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x48]
add esp, 0xc
mov edx, dword [edx + 0x1fcc]
push 0
push esi
push dword [esp + 0x20]
call fcn.101643b0
mov ebx, dword [esp + 0x98]
mov edi, dword [esp + 0x9c]
test ebx, ebx
jne 0x1016603e
test edi, edi
je case.default.0x10166065
jmp 0x10166058
test edi, edi
je 0x10166058
mov ecx, dword [esp + 0x18]
mov edx, ebx
push edi
call fcn.10164840
test eax, eax
jle 0x10166058
mov eax, ebx
mov ebx, edi
mov edi, eax
mov eax, dword [esp + 0x18]
cmp eax, 9
ja case.default.0x10166065
jmp dword [eax*4 + 0x101662e8]
test ebx, ebx
je 0x1016607d
mov al, byte [ebx]
cmp byte [esi], al
jge 0x1016607d
mov byte [esi], al
jmp case.default.0x10166065
test edi, edi
je case.default.0x10166065
mov al, byte [edi]
cmp byte [esi], al
jle case.default.0x10166065
mov byte [esi], al
jmp case.default.0x10166065
test ebx, ebx
je 0x101660a7
mov al, byte [ebx]
cmp byte [esi], al
jae 0x101660a7
mov byte [esi], al
jmp case.default.0x10166065
test edi, edi
je case.default.0x10166065
mov al, byte [edi]
cmp byte [esi], al
jbe case.default.0x10166065
mov byte [esi], al
jmp case.default.0x10166065
test ebx, ebx
je 0x101660d4
movzx eax, word [ebx]
cmp word [esi], ax
jge 0x101660d4
mov word [esi], ax
jmp case.default.0x10166065
test edi, edi
je case.default.0x10166065
movzx eax, word [edi]
cmp word [esi], ax
jle case.default.0x10166065
mov word [esi], ax
jmp case.default.0x10166065
test ebx, ebx
je 0x10166104
movzx eax, word [ebx]
cmp word [esi], ax
jae 0x10166104
mov word [esi], ax
jmp case.default.0x10166065
test edi, edi
je case.default.0x10166065
movzx eax, word [edi]
cmp word [esi], ax
jbe case.default.0x10166065
mov word [esi], ax
jmp case.default.0x10166065
test ebx, ebx
je 0x10166131
mov eax, dword [ebx]
cmp dword [esi], eax
jge 0x10166131
mov dword [esi], eax
jmp case.default.0x10166065
test edi, edi
je case.default.0x10166065
mov eax, dword [edi]
cmp dword [esi], eax
jle case.default.0x10166065
mov dword [esi], eax
jmp case.default.0x10166065
test ebx, ebx
je 0x1016615b
mov eax, dword [ebx]
cmp dword [esi], eax
jae 0x1016615b
mov dword [esi], eax
jmp case.default.0x10166065
test edi, edi
je case.default.0x10166065
mov eax, dword [edi]
cmp dword [esi], eax
jbe case.default.0x10166065
mov dword [esi], eax
jmp case.default.0x10166065
test ebx, ebx
je 0x10166192
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
cmp dword [esi + 4], ecx
jg 0x10166192
jl 0x101661b2
cmp dword [esi], eax
jae 0x10166192
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp case.default.0x10166065
test edi, edi
je case.default.0x10166065
mov ecx, dword [edi + 4]
mov eax, dword [edi]
cmp dword [esi + 4], ecx
jl case.default.0x10166065
jg 0x101661b2
cmp dword [esi], eax
jbe case.default.0x10166065
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp case.default.0x10166065
test ebx, ebx
je 0x101661d7
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
cmp dword [esi + 4], ecx
ja 0x101661d7
jb 0x101661b2
cmp dword [esi], eax
jae 0x101661d7
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp case.default.0x10166065
test edi, edi
je case.default.0x10166065
mov ecx, dword [edi + 4]
mov eax, dword [edi]
cmp dword [esi + 4], ecx
jb case.default.0x10166065
ja 0x101661b2
cmp dword [esi], eax
jbe case.default.0x10166065
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp case.default.0x10166065
test ebx, ebx
je 0x10166205
movss xmm0, dword [ebx]
comiss xmm0, dword [esi]
jbe 0x10166205
movss dword [esi], xmm0
jmp case.default.0x10166065
test edi, edi
je case.default.0x10166065
movss xmm1, dword [edi]
movss xmm0, dword [esi]
comiss xmm0, xmm1
jbe case.default.0x10166065
movss dword [esi], xmm1
jmp case.default.0x10166065
test ebx, ebx
je 0x10166230
movsd xmm0, qword [ebx]
comisd xmm0, xmmword [esi]
jbe 0x10166230
movsd qword [esi], xmm0
jmp case.default.0x10166065
test edi, edi
je case.default.0x10166065
movsd xmm1, qword [edi]
movsd xmm0, qword [esi]
comisd xmm0, xmm1
jbe case.default.0x10166065
movsd qword [esi], xmm1
lea ecx, [esp + 0x34]
sub ebp, 4
jb 0x10166261
nop
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10166266
add ecx, 4
add esi, 4
sub ebp, 4
jae 0x10166250
cmp ebp, 0xfffffffc
je 0x10166297
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x10166293
cmp ebp, 0xfffffffd
je 0x10166297
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x10166293
cmp ebp, 0xfffffffe
je 0x10166297
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x10166293
cmp ebp, 0xffffffff
je 0x10166297
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x10166297
mov al, 1
jmp 0x10166299
xor al, al
test al, al
je 0x101662d2
mov ecx, dword [0x103d8bec]
mov word [ecx + 0x1c20], 0x101
mov ecx, dword [ecx + 0x1bdc]
or dword [ecx + 0x11c], 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.1018e0ca
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.1018e0ca
add esp, 0x74
ret 0x18