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

Disassembly:
sub esp, 0x34
push ebx
mov ebx, dword [esp + 0x40]
push ebp
mov ebp, dword [esp + 0x40]
push esi
mov esi, dword [esp + 0x4c]
push edi
mov al, byte [ebp + 0x8f214]
lea edi, [ebp + 0x3abf0]
push esi
push edi
mov dword [esp + 0x34], edi
mov byte [esp + 0x1b], al
call fcn.100b86a0
mov ecx, dword [edi + 0x3bb8]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x3c], eax
push 0x60
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x34], eax
mov eax, edi
sub eax, dword [esi]
sar eax, cl
mov dword [esp + 0x44], eax
mov eax, dword [ebp + 0x5d0a0]
mov dword [esp + 0x4c], eax
lea eax, [ebx + 0x10f8]
push 0
push eax
call fcn.10513d40
lea edx, [ebx + 0xe0]
xorps xmm0, xmm0
movups xmmword [edx + 0x107c], xmm0
add esp, 0x14
movups xmmword [edx + 0x108c], xmm0
movaps xmm0, xmmword [0x105a7620]
movups xmmword [edx + 0x10a4], xmm0
movups xmmword [edx + 0x10b4], xmm0
cmp edi, dword [esi]
je 0x1011166b
cmp byte [esp + 0x13], 0
je 0x101116a8
cmp dword [ebp + 0x3e674], 0
je 0x10111680
mov eax, dword [ebp + 0x3ae08]
mov dword [edx + 0x1abc], eax
cmp dword [ebp + 0x3e67c], 0
je 0x101116a8
mov eax, dword [ebp + 0x3e7a8]
xor ecx, ecx
cmp byte [eax + 0x4d], cl
sete cl
lea ecx, [ecx*2 + 1]
push ecx
push edx
call fcn.100b8970
add esp, 8
lea edi, [ebx + 0x17bc4]
mov ecx, 0xe86
mov eax, 0x20
xor edx, edx
rep stosd dword es:[edi], eax
mov edi, dword [esi + 8]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edx
cmp edi, dword [esi + 0xc]
jge 0x10111d86
mov al, byte [ebp + 0x3eeb8]
test al, al
je 0x1011172f
cmp al, 2
jne 0x10111700
cmp dword [ebp + 0x5cefc], 1
jg 0x1011172f
cmp dword [ebp + 0x5cf00], 1
jg 0x1011172f
cmp dword [ebp + 0x5cfa0], 1
jg 0x1011172f
mov ecx, 1
jmp 0x10111731
cmp al, 1
jne 0x1011172f
cmp dword [ebp + 0x5cefc], 1
jg 0x1011172f
cmp dword [ebp + 0x5cf00], 1
jg 0x1011172f
cmp dword [ebp + 0x5cfa0], 1
jg 0x1011172f
cmp dword [ebp + 0x5cef8], 1
jg 0x1011172f
mov ecx, 1
jmp 0x10111731
xor ecx, ecx
sub edx, ecx
lea eax, [esi + 0x5cd0]
push edx
push dword [esp + 0x3c]
push eax
mov eax, dword [ebp + 0x8f33c]
call eax
mov al, byte [esp + 0x1f]
add esp, 0xc
test al, al
je 0x10111780
push dword [ebp + 0x8f334]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 0x8f334]
mov bl, byte [ebp + 0x8f330]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
jne 0x10111d86
mov ebx, dword [esp + 0x4c]
mov al, byte [esp + 0x13]
cmp byte [esi + 0x5328], 0
je 0x1011182f
test al, al
je 0x1011182f
mov eax, dword [esp + 0x50]
mov esi, 1
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x14], esi
cmp dword [eax], ecx
je 0x10111839
cmp dword [eax + 8], edi
jne 0x101117d6
push 0x52fc
push dword [ebx + 0x3178]
push dword [ebx + 0x1b54]
call fcn.105137c0
mov dword [esp + 0x20], esi
add esp, 0xc
mov esi, dword [esp + 0x50]
jmp 0x1011183b
imul ecx, dword [esp + 0x1c], 0x52fc
mov ebp, dword [esp + 0x50]
mov eax, dword [esp + 0x28]
mov edx, dword [ebx + 0x1b54]
add eax, edi
push 1
add ecx, dword [ebx + 0x3178]
cmp dword [ebp + 0xc], eax
mov ebp, dword [esp + 0x4c]
push 3
jle 0x10111815
push ecx
push edx
call fcn.1009dda0
mov dword [esp + 0x24], esi
add esp, 0x10
mov esi, dword [esp + 0x50]
jmp 0x1011183b
lea eax, [ecx - 0x52fc]
push eax
push edx
call fcn.1009dda0
mov dword [esp + 0x24], esi
add esp, 0x10
mov esi, dword [esp + 0x50]
jmp 0x1011183b
mov dword [esp + 0x14], 0
jmp 0x1011183b
mov esi, eax
push edi
push dword [esp + 0x58]
push esi
push ebx
push ebp
call fcn.1009fae0
xor eax, eax
add esp, 0x14
mov dword [ebx + 0x2438c], eax
mov dword [ebx + 0x24390], eax
mov dword [ebx + 0x14d10], 3
mov dword [ebx + 0x14d14], 3
mov dword [ebx + 0x14d18], eax
mov dword [ebx + 0x14d1c], eax
mov dword [ebx + 0x141ec], eax
mov dword [ebx + 0x243b0], eax
mov dword [ebx + 0x243ac], eax
mov dword [ebx + 0x243b4], eax
cmp byte [ebp + 0x3eeb8], 2
jne 0x101118a4
mov dword [ebx + 0x31d0], 0x80
movzx eax, byte [ebp + 0x3adaa]
push edi
push dword [esp + 0x58]
mov dword [ebx + 0x1ba0], eax
push ebp
mov dword [ebx + 0x243a4], 0xffffffff
call fcn.100bd640
lea ecx, [ebp + 0x3abf0]
mov dword [ebx + 0x3180], eax
add esp, 0xc
xor edi, edi
cmp byte [ecx + 0x2640], 0
je 0x101119c9
cmp byte [ecx + 0x2641], 0
je 0x101118f5
mov edx, dword [ebp + 0x6d648]
jmp 0x101118fb
mov edx, dword [ecx + 0x26ec]
test edx, edx
je 0x101119b3
mov ebx, dword [ecx + 0x1e8]
mov esi, ebx
imul esi, dword [esp + 0x54]
mov edi, ebx
mov ecx, dword [esp + 0x20]
mov bl, 8
sub edi, dword [esp + 0x18]
movzx eax, byte [ecx + 0x1070eea0]
add esi, dword [esp + 0x18]
cmp edi, eax
movzx ecx, byte [ecx + 0x1070eeb8]
cmovge edi, eax
mov dword [esp + 0x3c], edi
mov edi, dword [ebp + 0x3add4]
sub edi, dword [esp + 0x54]
cmp edi, ecx
cmovge edi, ecx
mov dword [esp + 0x30], edi
test edi, edi
jle 0x101119ab
mov ebp, dword [esp + 0x3c]
lea eax, [esi + edx]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x24], eax
nop dword [eax]
test ebp, ebp
jle 0x10111992
mov esi, eax
mov edi, ebp
nop dword [eax + eax]
cmp bl, byte [esi]
lea esi, [esi + 1]
movzx eax, byte [esi - 1]
movzx edx, bl
cmovae edx, eax
mov bl, dl
sub edi, 1
jne 0x10111970
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
add eax, dword [ecx + 0x1e8]
sub edi, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x30], edi
jne 0x10111960
mov ebp, dword [esp + 0x48]
jmp 0x101119b5
lea ecx, [ebp + 0x3abf0]
jmp 0x101119b5
xor bl, bl
movzx eax, bl
mov ebx, dword [esp + 0x4c]
mov edi, dword [ecx + eax*4 + 0x26c4]
shr edi, 6
and edi, 1
mov esi, dword [esp + 0x14]
mov word [ebx + 0x1e43c], 0
mov al, byte [ecx]
test al, al
je 0x101119e4
cmp al, 2
jne 0x10111af1
cmp dword [ebp + 0x5d0a0], 0
mov dword [esp + 0x14], esi
jne 0x10111af1
cmp byte [ebp + 0x5cd38], 0
mov dword [esp + 0x14], esi
jne 0x10111af1
cmp dword [ebp + 0x5cf80], 0
jne 0x10111a20
cmp dword [ebp + 0x5cf84], 0
mov dword [esp + 0x14], esi
je 0x10111af1
mov eax, dword [ebp + 0x3e7a8]
push dword [esp + 0x20]
mov bl, byte [eax + 0x4d]
xor eax, eax
test bl, bl
sete al
lea eax, [eax*2 + 1]
push eax
push dword [esp + 0x20]
mov eax, dword [esp + 0x58]
push dword [esp + 0x60]
push dword [ebp + 0x3eee0]
push eax
call fcn.1010fb10
add esp, 0x18
cmp dword [ebp + 0x5cf80], 0
je 0x10111a94
mov ecx, dword [esp + 0x4c]
push 0
push dword [esp + 0x24]
mov eax, dword [ecx + 0x10e8]
push ecx
test byte [eax + 0x8c], 8
je 0x10111a81
call fcn.10112440
jmp 0x10111a86
call fcn.10112c20
mov eax, dword [esp + 0x58]
add esp, 0xc
mov byte [eax + 0x1e43c], 1
cmp dword [ebp + 0x5cf84], 0
mov dword [esp + 0x14], esi
je 0x10111aed
test bl, bl
mov dword [esp + 0x14], esi
mov ebx, dword [esp + 0x4c]
jne 0x10111af1
mov eax, dword [ebx + 0x10e8]
push 1
push dword [esp + 0x24]
test byte [eax + 0x8c], 8
push ebx
je 0x10111ad8
call fcn.10112440
add esp, 0xc
mov byte [ebx + 0x1e43d], 1
mov dword [esp + 0x14], esi
jmp 0x10111af1
call fcn.10112c20
add esp, 0xc
mov byte [ebx + 0x1e43d], 1
mov dword [esp + 0x14], esi
jmp 0x10111af1
mov ebx, dword [esp + 0x4c]
cmp byte [ebp + 0x3eeb8], 2
mov ecx, dword [ebx + 0x243dc]
jne 0x10111b84
cmp byte [ebp + 0x5cd38], 0
je 0x10111b48
movd xmm0, dword [ebp + 0x3ee80]
movsd xmm1, qword [0x1059ba70]
cvtdq2pd xmm0, xmm0
mulsd xmm0, qword [0x105c1460]
subsd xmm1, xmm0
xorps xmm0, xmm0
comisd xmm0, xmm1
jae 0x10111b84
cmp dword [ebp + 0x5d0a0], 0
je 0x10111b48
cmp dword [ebp + 0x5d0d0], 0
je 0x10111b84
mov eax, dword [esp + 0x20]
movzx edx, byte [eax + 0x1070eeb8]
movzx eax, byte [eax + 0x1070eea0]
imul edx, eax
test edx, edx
je 0x10111b84
movsd xmm0, qword [0x1059bab8]
nop dword [eax]
mov dword [ecx + 8], 0xffffffff
lea ecx, [ecx + 0x10]
movsd qword [ecx - 0x10], xmm0
sub edx, 1
jne 0x10111b70
mov esi, dword [esp + 0x18]
push esi
push dword [esp + 0x58]
push dword [esp + 0x58]
push ebx
push ebp
call fcn.101121c0
add esp, 0x14
cmp dword [esp + 0x40], 0
je 0x10111cd1
mov ecx, dword [ebp + 0x3adf4]
imul ecx, dword [esp + 0x54]
mov eax, dword [ebp + 0x3adec]
add ecx, esi
lea edx, [eax + ecx*4]
mov eax, dword [ebp + 0x3e7a8]
mov dword [esp + 0x24], edx
mov esi, dword [eax + 0x1c]
mov eax, dword [ebx + 0x25ad8]
mov dword [esp + 0x30], eax
mov al, byte [ebp + 0x5cd38]
mov dword [esp + 0x3c], esi
cmp al, 1
je 0x10111c14
test edi, edi
jne 0x10111c14
mov edi, dword [esp + 0x18]
cmp al, 2
jne 0x10111c56
push esi
push edi
push dword [esp + 0x5c]
push ebx
push dword [esp + 0x60]
push ebp
call fcn.10457520
push edi
push dword [esp + 0x70]
push ebx
push ebx
push dword [esp + 0x78]
push ebp
call fcn.101559d0
add esp, 0x30
jmp 0x10111c52
push esi
push dword [esp + 0x1c]
push dword [esp + 0x5c]
push ebx
push dword [esp + 0x60]
push ebp
call fcn.10457520
add esp, 0x18
mov eax, esi
test edi, edi
jne 0x10111c37
mov eax, dword [ebp + 0x5cd3c]
mov edi, dword [esp + 0x18]
push eax
push edi
push dword [esp + 0x5c]
push dword [esp + 0x30]
push dword [esp + 0x60]
push ebp
call fcn.1009fca0
add esp, 0x18
mov edx, dword [esp + 0x24]
xor eax, eax
mov dword [ebx + 0x3184], eax
cmp dword [ebp + 0x5d134], eax
je 0x10111cae
xor ebx, ebx
cmp esi, 0xf
sete bl
inc ebx
xor esi, esi
xor ecx, ecx
mov eax, dword [ebp + 0x3adf4]
imul eax, esi
add eax, ecx
shl eax, 6
mov edx, dword [eax + edx]
test edx, edx
je 0x10111c98
mov al, byte [edx + 0xa0]
and al, 0x8f
or al, 8
mov byte [edx + 0xa0], al
mov edx, dword [esp + 0x24]
inc ecx
cmp ecx, ebx
jl 0x10111c73
inc esi
cmp esi, ebx
jl 0x10111c71
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x3c]
push dword [esp + 0x30]
push esi
mov esi, dword [esp + 0x58]
push edi
push dword [esp + 0x60]
push dword [esp + 0x68]
push dword [esp + 0x38]
push esi
push ebx
push ebp
call fcn.104547b0
add esp, 0x24
jmp 0x10111cee
mov esi, dword [esp + 0x50]
push edi
mov edi, dword [esp + 0x1c]
push edi
push dword [esp + 0x5c]
push dword [esp + 0x64]
push esi
push ebx
push ebp
call fcn.10110ff0
add esp, 0x1c
cmp dword [esp + 0x14], 0
je 0x10111d4d
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0x28]
cmp dword [esi + 4], eax
jle 0x10111d4d
cmp dword [esp + 0x34], 1
jne 0x10111d1c
push 0x52fc
push dword [ebx + 0x1b54]
push dword [ebx + 0x3178]
jmp 0x10111d45
mov eax, dword [esp + 0x1c]
cmp eax, 1
jl 0x10111d51
imul ecx, eax, 0x52fc
mov eax, dword [ebx + 0x3178]
push 0x52fc
push dword [ebx + 0x1b54]
add ecx, 0xffffad04
add eax, ecx
push eax
call fcn.105137c0
add esp, 0xc
mov eax, dword [esp + 0x1c]
push dword [esp + 0x34]
push eax
push dword [esp + 0x40]
lea eax, [esi + 0x5cd0]
push eax
mov eax, dword [ebp + 0x8f340]
call eax
mov edx, dword [esp + 0x2c]
add esp, 0x10
add edi, dword [esp + 0x28]
inc edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edx
cmp edi, dword [esi + 0xc]
jl 0x101116d0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret