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

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
mov esi, dword [esp + 0x6c]
push edi
mov edi, dword [esp + 0x68]
push 0xc40
push 0
push esi
mov ebx, dword [edi + 0x1c]
mov dword [esp + 0x20], ebx
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
mov dword [esp + 0x44], 0
push edi
movups xmmword [esp + 0x28], xmm0
movups xmmword [esp + 0x38], xmm0
call fcn.100e3e20
mov ecx, dword [esp + 0x74]
mov ebp, eax
push esi
mov dword [esi + 8], ebx
mov ebx, dword [esp + 0x90]
push 0x101562f4
push edi
mov dword [esp + 0x2c], ebp
mov dword [esi], ecx
mov dword [esi + 4], edi
mov dword [esp + 0x8c], ebx
mov byte [esi + 0x20], bl
mov dword [esi + 0xc], ebp
call fcn.100e44d0
mov ecx, eax
add esp, 0x1c
mov dword [esp + 0x68], ecx
test ecx, ecx
jne 0x101071f3
test bl, bl
je 0x10106c9e
cmp byte [esi + 0x18], 2
jne 0x101071ea
cmp byte [esi + 0x1a], 5
jb 0x101071ea
lea eax, [esp + 0x68]
push eax
push edi
call fcn.100e4280
mov ecx, dword [esp + 0x70]
add esp, 8
movzx eax, ax
mov dword [esi + 0x1c], eax
test ecx, ecx
jne 0x101071f3
mov al, byte [esi + 0x1a]
jmp 0x10106cd8
lea eax, [esp + 0x68]
push eax
push edi
call fcn.100e4220
mov ecx, dword [esp + 0x70]
add esp, 8
mov dl, al
test ecx, ecx
jne 0x101071f3
cmp byte [esi + 0x18], 1
jne 0x101071ea
mov al, byte [esi + 0x1a]
cmp al, 4
jb 0x101071ea
cmp dl, 4
ja 0x101071ea
movzx eax, al
add eax, ebp
push eax
push edi
call fcn.100e3d90
mov ecx, eax
add esp, 8
mov dword [esp + 0x68], ecx
test ecx, ecx
jne 0x101071e3
test bl, bl
je 0x10106d5f
lea ebx, [esi + 0x4d8]
xorps xmm0, xmm0
movups xmmword [ebx], xmm0
push edi
movups xmmword [ebx + 0x10], xmm0
mov dword [ebx + 0x20], eax
call fcn.100e3e20
mov dword [esi + 0x4ec], eax
mov eax, dword [esi + 0x1c]
push eax
push edi
mov dword [esi + 0x4f0], eax
call fcn.100e3dd0
mov ecx, eax
add esp, 0xc
mov dword [esp + 0x68], ecx
test ecx, ecx
jne 0x101071f3
push dword [esp + 0x70]
lea eax, [esi + 0x6c]
push 1
push edi
push eax
call fcn.10108990
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x68], ecx
test ecx, ecx
jne 0x101071f3
jmp 0x10106e38
push 0
push 0
lea eax, [esi + 0x24]
push edi
push eax
call fcn.10108990
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x68], ecx
test ecx, ecx
jne 0x101071e3
mov eax, dword [esi + 0x30]
cmp eax, 1
jbe 0x10106d9a
cmp dword [esi + 0x3c], eax
jae 0x10106d9a
cmp byte [esp + 0x78], cl
sete cl
add ecx, 2
jmp 0x101071ef
push 0
push 0
lea ebx, [esi + 0x4d8]
push edi
push ebx
call fcn.10108990
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x68], ecx
test ecx, ecx
jne 0x101071f3
push eax
push 1
lea eax, [esp + 0x20]
push edi
push eax
call fcn.10108990
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x68], ecx
test ecx, ecx
jne 0x101071f3
push ecx
push 1
lea eax, [esi + 0x6c]
push edi
push eax
call fcn.10108990
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x68], ecx
test ecx, ecx
jne 0x101071f3
lea eax, [esi + 0x558]
push eax
lea eax, [esi + 0x554]
push eax
lea eax, [esi + 0x550]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.10108cf0
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x68], ecx
test ecx, ecx
jne 0x101071f3
mov eax, dword [esi + 0x30]
cmp eax, dword [esi + 0x4e4]
ja 0x101071dc
cmp byte [esp + 0x78], 0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x6c]
mov dword [esi + 0x54c], eax
je 0x10106e6f
movzx eax, dx
mov dword [esp + 0x7c], eax
test edx, edx
jle 0x10106e67
cmp eax, dword [esi + 0x30]
jb 0x10106e67
mov ecx, 6
jmp 0x101071ef
mov eax, dword [esi + 0x30]
mov dword [esi + 0x10], eax
jmp 0x10106e81
cmp dword [esi + 0x30], 1
mov dword [esp + 0x7c], 0
ja 0x101071dc
test edx, edx
js 0x101071f3
push dword [esp + 0x74]
cmp byte [esp + 0x74], 0
mov ecx, 0x3000
push esi
mov eax, 0x1000
cmovne eax, ecx
push eax
push ebp
push edi
push dword [esp + 0x90]
lea eax, [esi + 0x55c]
push ebx
push eax
call fcn.10109a70
mov ecx, eax
add esp, 0x20
mov dword [esp + 0x68], ecx
test ecx, ecx
jne 0x101071f3
mov eax, dword [esi + 0x5cc]
add eax, ebp
push eax
push edi
call fcn.100e3d90
mov ecx, eax
add esp, 8
mov dword [esp + 0x68], ecx
test ecx, ecx
jne 0x101071f3
mov ebx, dword [esp + 0x70]
push ebx
push eax
lea eax, [esi + 0x4b4]
push edi
push eax
call fcn.10108990
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x68], ecx
test ecx, ecx
jne 0x101071f3
cmp dword [esi + 0x5e0], 0xffff
jne 0x10106f27
test bl, bl
jne 0x10106f27
mov dword [esi + 0x7e8], eax
jmp 0x1010710a
push dword [esi + 0x610]
lea eax, [esi + 0xc28]
push ebp
push edi
push eax
call fcn.10109300
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x68], ecx
test ecx, ecx
jne 0x101071f3
mov eax, dword [esi + 0x600]
add eax, ebp
push eax
push edi
call fcn.100e3d90
mov ecx, eax
add esp, 8
mov dword [esp + 0x68], ecx
test ecx, ecx
jne 0x101071f3
push ebx
push eax
lea eax, [esp + 0x44]
push edi
push eax
call fcn.10108990
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x68], ecx
test ecx, ecx
jne 0x101071f3
mov eax, dword [esp + 0x48]
cmp eax, 0x100
ja 0x101070ed
lea ecx, [esp + 0x68]
mov dword [esi + 0x7e8], eax
push ecx
push 0
push eax
push 0
push 0x28c
push dword [esp + 0x28]
call fcn.100e1b50
add esp, 0x18
cmp dword [esp + 0x68], 0
jne 0x101070ed
mov ecx, dword [esp + 0x48]
test ecx, ecx
je 0x10106fe4
lea edx, [esi + 0x7ec]
mov ebx, ecx
mov dword [edx], eax
lea edx, [edx + 4]
add eax, 0x28c
sub ebx, 1
jne 0x10106fd5
xor ebx, ebx
test ecx, ecx
je 0x10107041
cmp byte [esp + 0x70], bl
lea ebp, [esi + 0x7ec]
mov ecx, 0x4000
mov eax, 0x1000
cmovne eax, ecx
mov dword [esp + 0x64], eax
push dword [esp + 0x74]
push esi
push eax
push dword [esp + 0x1c]
lea eax, [esp + 0x4c]
push edi
push ebx
push eax
push dword [ebp]
call fcn.10109a70
add esp, 0x20
mov dword [esp + 0x68], eax
test eax, eax
jne 0x101070e9
mov ecx, dword [esp + 0x48]
inc ebx
mov eax, dword [esp + 0x64]
add ebp, 4
cmp ebx, ecx
jb 0x10107005
mov ebp, dword [esp + 0x10]
mov ebx, dword [esp + 0x70]
test bl, bl
je 0x10107052
cmp ecx, 1
jbe 0x101070ed
mov eax, dword [esi + 0x604]
mov ebx, dword [esi + 0x4c0]
add eax, ebp
push eax
push edi
call fcn.100e3d90
add esp, 8
mov dword [esp + 0x64], eax
test eax, eax
jne 0x101070e5
lea eax, [esp + 0x64]
push eax
push edi
call fcn.100e4220
mov cl, al
add esp, 8
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x101070e5
mov byte [esi + 0xbec], cl
mov dword [esi + 0xc00], eax
test cl, cl
je 0x101070ce
cmp cl, 3
je 0x101070a6
mov eax, 3
jmp 0x101070e5
lea eax, [esp + 0x64]
push eax
push edi
call fcn.100e4280
movzx ecx, ax
add esp, 8
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x101070e5
test ecx, ecx
jne 0x101070c8
lea eax, [ecx + 3]
jmp 0x101070e5
lea ebx, [ecx + 1]
lea ebx, [ecx + ebx*2]
lea eax, [esi + 0xbf4]
mov dword [esi + 0xbf8], ebx
push eax
push ebx
push edi
call fcn.100e4090
add esp, 0xc
mov dword [esp + 0x68], eax
mov ebx, dword [esp + 0x70]
lea eax, [esp + 0x3c]
push eax
call fcn.10108b10
mov ecx, dword [esp + 0x6c]
add esp, 4
test ecx, ecx
jne 0x101071f3
mov ebp, dword [esp + 0x10]
cmp dword [esi + 0x5cc], 0
je 0x101071dc
mov eax, dword [esi + 0x4c0]
push 0
mov dword [esi + 0x14], eax
lea eax, [esi + 0x548]
push 0
push eax
lea eax, [esi + 0x6c]
push eax
call fcn.10108cf0
mov ecx, eax
add esp, 0x10
mov dword [esp + 0x68], ecx
test ecx, ecx
jne 0x101071f3
test bl, bl
jne 0x101071c3
mov eax, dword [esi + 0x14]
test eax, eax
je 0x101071c3
cmp dword [esi + 0x5e0], 0xffff
je 0x10107167
mov byte [esp + 0x70], 1
cmp byte [esp + 0x78], bl
jne 0x1010716c
mov byte [esp + 0x70], 0
push dword [esp + 0x70]
lea ebx, [esi + 0x49c]
push dword [esi + 0x5c4]
push ebp
push edi
push eax
push ebx
call fcn.10108f80
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x68], ecx
test ecx, ecx
jne 0x101071f3
cmp dword [esi + 0x5e0], 0xffff
jne 0x101071c3
push dword [esi + 0x5c8]
lea eax, [esi + 0x90]
push ebp
push edi
push dword [esi + 0x14]
push ebx
push eax
call fcn.101096f0
mov ecx, eax
add esp, 0x18
mov dword [esp + 0x68], ecx
test ecx, ecx
jne 0x101071f3
push dword [esp + 0x7c]
push esi
call fcn.10106b40
mov ecx, dword [esp + 0x70]
add esp, 8
mov dword [esi + 0x544], eax
jmp 0x101071f3
mov ecx, 3
jmp 0x101071ef
cmp byte [esp + 0x78], 0
je 0x101071f3
mov ecx, 2
mov dword [esp + 0x68], ecx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1010722c
cmp dword [esp + 0x38], 0
mov esi, dword [eax + 0x1c]
je 0x10107213
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.100e40c0
add esp, 8
push dword [esp + 0x34]
push esi
call fcn.100e1d40
mov eax, dword [esp + 0x70]
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x50
ret