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

Disassembly:
sub esp, 0x5c
mov eax, dword [0x10423820]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x7c]
mov esi, edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x10], ecx
mov al, byte [edi]
test al, al
je 0x10138346
cmp al, 0x25
jne 0x1013833e
cmp byte [esi + 1], al
jne 0x10138346
inc esi
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10138334
cmp byte [esi], 0x25
jne 0x1013838a
mov ecx, esi
call fcn.10138200
cmp byte [eax], 0
jne 0x1013835b
mov edi, esi
jmp 0x1013838a
sub eax, esi
mov edi, 0x20
inc eax
cmp eax, edi
cmovb edi, eax
cmp edi, 1
jb 0x10138386
jbe 0x10138381
lea eax, [edi - 1]
push eax
lea eax, [esp + 0x4c]
push esi
push eax
call fcn.1016bbc0
add esp, 0xc
mov byte [esp + edi + 0x47], 0
lea edi, [esp + 0x48]
mov esi, dword [esp + 0x78]
lea ecx, [esp + 0x28]
push edi
push esi
push dword [esp + 0x7c]
mov edx, 0x20
call fcn.101360f0
lea edi, [esp + 0x28]
mov al, byte [edi]
cmp al, 0x20
je 0x101383b0
cmp al, 9
jne 0x101383b3
inc edi
jmp 0x101383a6
mov ebx, edi
test al, al
je 0x101383e0
nop dword [eax]
inc edi
cmp byte [edi], 0
jne 0x101383c0
cmp edi, ebx
jbe 0x101383e0
nop word [eax + eax]
mov al, byte [edi - 1]
cmp al, 0x20
je 0x101383db
cmp al, 9
jne 0x101383e0
dec edi
cmp edi, ebx
ja 0x101383d0
lea eax, [esp + 0x28]
cmp ebx, eax
je 0x101383fb
mov eax, edi
sub eax, ebx
push eax
lea eax, [esp + 0x2c]
push ebx
push eax
call fcn.10161360
add esp, 0xc
sub edi, ebx
mov ebx, dword [esp + 0x74]
mov byte [esp + edi + 0x28], 0
cmp ebx, 8
je 0x10138415
mov ebp, 0x200011
cmp ebx, 9
jne 0x1013841a
mov ebp, 0x220010
mov edi, dword [0x10423820]
mov byte [esp + 0x7c], 0
mov eax, dword [edi + 0x2e74]
mov dword [esp + 0x78], eax
cmp eax, dword [esp + 0x18]
je 0x1013843a
call fcn.1011ad10
mov eax, dword [esp + 0x10]
push 0
push 0
push ebp
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 + 0x1c]
mov ecx, dword [esp + 0x7c]
movss xmm0, dword [eax + 8]
subss xmm0, dword [eax]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [eax + 0xc]
subss xmm0, dword [eax + 4]
lea eax, [esp + 0x1c]
push eax
push 0x20
lea eax, [esp + 0x3c]
push eax
movss dword [esp + 0x2c], xmm0
call fcn.1013a790
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x78], ecx
je 0x101384aa
mov ecx, dword [edi + 0x1c10]
mov dword [edi + 0x2e74], ecx
test al, al
je 0x10138783
mov eax, ebx
shl eax, 4
mov ebp, dword [eax + 0x101eb360]
lea eax, [esp + 0x20]
push ebp
push esi
push eax
call fcn.10161360
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x34]
add esp, 0xc
mov edx, dword [edx + 0x1fcc]
push 0
push esi
push ebx
call fcn.101368d0
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0x84]
test ebx, ebx
jne 0x101384ff
test edi, edi
je case.default.0x10138526
jmp 0x10138519
test edi, edi
je 0x10138519
mov ecx, dword [esp + 0x74]
mov edx, ebx
push edi
call fcn.10136d40
test eax, eax
jle 0x10138519
mov eax, ebx
mov ebx, edi
mov edi, eax
mov eax, dword [esp + 0x74]
cmp eax, 9
ja case.default.0x10138526
jmp dword [eax*4 + 0x10138794]
test ebx, ebx
je 0x1013853e
mov al, byte [ebx]
cmp byte [esi], al
jge 0x1013853e
mov byte [esi], al
jmp case.default.0x10138526
test edi, edi
je case.default.0x10138526
mov al, byte [edi]
cmp byte [esi], al
jle case.default.0x10138526
mov byte [esi], al
jmp case.default.0x10138526
test ebx, ebx
je 0x10138568
mov al, byte [ebx]
cmp byte [esi], al
jae 0x10138568
mov byte [esi], al
jmp case.default.0x10138526
test edi, edi
je case.default.0x10138526
mov al, byte [edi]
cmp byte [esi], al
jbe case.default.0x10138526
mov byte [esi], al
jmp case.default.0x10138526
test ebx, ebx
je 0x10138595
movzx eax, word [ebx]
cmp word [esi], ax
jge 0x10138595
mov word [esi], ax
jmp case.default.0x10138526
test edi, edi
je case.default.0x10138526
movzx eax, word [edi]
cmp word [esi], ax
jle case.default.0x10138526
mov word [esi], ax
jmp case.default.0x10138526
test ebx, ebx
je 0x101385c5
movzx eax, word [ebx]
cmp word [esi], ax
jae 0x101385c5
mov word [esi], ax
jmp case.default.0x10138526
test edi, edi
je case.default.0x10138526
movzx eax, word [edi]
cmp word [esi], ax
jbe case.default.0x10138526
mov word [esi], ax
jmp case.default.0x10138526
test ebx, ebx
je 0x101385f2
mov eax, dword [ebx]
cmp dword [esi], eax
jge 0x101385f2
mov dword [esi], eax
jmp case.default.0x10138526
test edi, edi
je case.default.0x10138526
mov eax, dword [edi]
cmp dword [esi], eax
jle case.default.0x10138526
mov dword [esi], eax
jmp case.default.0x10138526
test ebx, ebx
je 0x1013861c
mov eax, dword [ebx]
cmp dword [esi], eax
jae 0x1013861c
mov dword [esi], eax
jmp case.default.0x10138526
test edi, edi
je case.default.0x10138526
mov eax, dword [edi]
cmp dword [esi], eax
jbe case.default.0x10138526
mov dword [esi], eax
jmp case.default.0x10138526
test ebx, ebx
je 0x10138653
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
cmp dword [esi + 4], ecx
jg 0x10138653
jl 0x10138673
cmp dword [esi], eax
jae 0x10138653
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp case.default.0x10138526
test edi, edi
je case.default.0x10138526
mov ecx, dword [edi + 4]
mov eax, dword [edi]
cmp dword [esi + 4], ecx
jl case.default.0x10138526
jg 0x10138673
cmp dword [esi], eax
jbe case.default.0x10138526
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp case.default.0x10138526
test ebx, ebx
je 0x10138698
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
cmp dword [esi + 4], ecx
ja 0x10138698
jb 0x10138673
cmp dword [esi], eax
jae 0x10138698
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp case.default.0x10138526
test edi, edi
je case.default.0x10138526
mov ecx, dword [edi + 4]
mov eax, dword [edi]
cmp dword [esi + 4], ecx
jb case.default.0x10138526
ja 0x10138673
cmp dword [esi], eax
jbe case.default.0x10138526
mov dword [esi], eax
mov dword [esi + 4], ecx
jmp case.default.0x10138526
test ebx, ebx
je 0x101386c6
movss xmm0, dword [ebx]
comiss xmm0, dword [esi]
jbe 0x101386c6
movss dword [esi], xmm0
jmp case.default.0x10138526
test edi, edi
je case.default.0x10138526
movss xmm1, dword [edi]
movss xmm0, dword [esi]
comiss xmm0, xmm1
jbe case.default.0x10138526
movss dword [esi], xmm1
jmp case.default.0x10138526
test ebx, ebx
je 0x101386f1
movsd xmm0, qword [ebx]
comisd xmm0, xmmword [esi]
jbe 0x101386f1
movsd qword [esi], xmm0
jmp case.default.0x10138526
test edi, edi
je case.default.0x10138526
movsd xmm1, qword [edi]
movsd xmm0, qword [esi]
comisd xmm0, xmm1
jbe case.default.0x10138526
movsd qword [esi], xmm1
lea ecx, [esp + 0x20]
sub ebp, 4
jb 0x10138721
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x10138726
add ecx, 4
add esi, 4
sub ebp, 4
jae 0x10138710
cmp ebp, 0xfffffffc
je 0x10138757
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x10138753
cmp ebp, 0xfffffffd
je 0x10138757
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x10138753
cmp ebp, 0xfffffffe
je 0x10138757
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x10138753
cmp ebp, 0xffffffff
je 0x10138757
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x10138757
mov al, 1
jmp 0x10138759
xor al, al
test al, al
je 0x10138787
mov ecx, dword [0x10423820]
mov word [ecx + 0x1c20], 0x101
mov ecx, dword [ecx + 0x1bdc]
or dword [ecx + 0x11c], 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x18
mov al, byte [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0x18