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

Disassembly:
sub esp, 0x5c
mov eax, dword [0x100a1040]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
push ebx
push ebp
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x78]
lea ebx, [ebp + 8]
push esi
mov esi, dword [ebp + 0xdc]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0xe0]
push edi
mov edi, dword [esp + 0x84]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x5c]
push 0xc
push eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x2c], edi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x24], esi
call fcn.10005890
xor ecx, ecx
mov dword [esi + 0x80], 0
add esp, 8
mov dword [esi + 0x88], 0
mov dword [esi + 0x8c], 0
mov dword [esp + 0x10], ecx
cmp dword [ebx + 0xc], ecx
jle 0x10006ccb
mov edi, dword [esp + 0x2c]
lea eax, [ebx + 0x10]
mov edx, 0xe98
mov dword [esp + 0x18], eax
sub edx, edi
mov ebp, esi
mov dword [esp + 0x34], edx
mov edx, 0x40
sub edx, edi
mov dword [esp + 0x38], edx
mov edx, edi
sub edx, esi
mov dword [esp + 0x20], edx
nop
movups xmm1, xmmword [eax]
movq xmm0, qword [eax + 0x10]
movd eax, xmm1
movups xmmword [esp + 0x44], xmm1
movq qword [esp + 0x54], xmm0
test eax, eax
je 0x10006ab9
cmp eax, 1
je 0x10006ab9
cmp eax, 3
jne 0x10006ca7
mov edx, dword [esp + 0x4c]
xor ebx, ebx
test edx, edx
jle 0x10006b2d
xor esi, esi
xor edi, edi
mov eax, dword [esp + 0x20]
lea esi, [esi + 4]
inc ebx
lea edi, [edi + 4]
mov eax, dword [eax + ebp]
mov edx, dword [esi + eax - 4]
mov eax, dword [ebp]
mov ecx, dword [edi + eax + 0x7cc]
mov dword [edx + 0x830], ecx
lea eax, [ecx + 0x2460]
mov dword [edx + 0x838], eax
lea eax, [ecx + 0x2190]
mov dword [edx + 0x834], eax
lea eax, [ecx + 0x20a0]
mov dword [edx + 0x844], eax
lea eax, [ecx + 0x1fb0]
mov dword [edx + 0x840], eax
lea eax, [ecx + 0x1ec0]
mov dword [edx + 0x83c], eax
mov edx, dword [esp + 0x4c]
cmp ebx, edx
jl 0x10006ac7
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
add eax, 0xc
add edi, ebp
push dword [esi + 0xc]
mov ecx, dword [esi + 0xe4]
push eax
push dword [esp + 0x84]
push dword [esp + 0x3c]
lea eax, [ecx + edi]
push dword [edi]
push ecx
push dword [ecx + 0xed8]
mov ecx, dword [esp + 0x50]
push dword [eax + ecx]
push edx
call fcn.10011220
add esp, 0x24
test eax, eax
jne 0x10006f5d
mov ecx, dword [esi]
movzx eax, byte [ecx + 0x34]
push eax
push dword [ecx + 0x30]
mov eax, dword [esi + 0xd8]
push dword [esi + 0x108]
mov ecx, dword [esp + 0x44]
push dword [ebp]
mov eax, dword [eax + 0x58]
push dword [edi]
add eax, edi
push dword [eax + ecx]
lea eax, [esp + 0x5c]
push eax
call fcn.10014440
add esp, 0x1c
test eax, eax
jne 0x10006f5d
mov eax, dword [ebp]
push 0xc
mov dword [eax + 8], 0
mov eax, dword [ebp]
mov dword [eax + 0xc], 0
mov eax, dword [ebp]
add eax, 0x10
push eax
call fcn.10005890
mov esi, dword [esp + 0x2c]
add esp, 8
xor ebx, ebx
add esi, 4
cmp byte [esp + ebx + 0x5c], 0
mov ecx, dword [esp + 0x10]
jne 0x10006c6c
cmp dword [esi + 8], ecx
jne 0x10006c6c
cmp dword [esi], 0
jbe 0x10006c6c
cmp dword [esi - 4], 0
je 0x10006c6c
mov ecx, dword [ebp]
mov edx, dword [ecx + 0xc]
lea eax, [edx + 1]
mov dword [ecx + 0xc], eax
lea edi, [edx + edx*2]
mov ecx, dword [ebp]
lea edx, [edx + edx*2]
mov eax, dword [esi + 4]
shl edi, 2
mov dword [edi + ecx + 0x10], eax
mov ecx, dword [ebp]
mov eax, dword [esi]
mov dword [edi + ecx + 0x14], eax
mov ecx, dword [ebp]
mov eax, dword [esi - 4]
mov dword [ecx + edx*4 + 0x18], eax
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
movzx eax, byte [ecx + 0x34]
push eax
push dword [edx + 0x108]
mov eax, dword [ebp]
push dword [ecx + 0x30]
add eax, 0x10
push 0
push 0
add eax, edi
push eax
push 0
call fcn.10010560
mov ecx, dword [ebp]
add esp, 0x1c
add dword [ecx + 8], eax
mov ecx, dword [esp + 0x10]
mov byte [esp + ebx + 0x5c], 1
inc ebx
add esi, 0x10
cmp ebx, 0xc
jl 0x10006be1
mov eax, dword [ebp]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x3c]
mov eax, dword [eax + 8]
add dword [esi + 0x80], eax
mov eax, dword [ebp]
mov eax, dword [eax]
add dword [esi + 0x88], eax
mov eax, dword [ebp]
mov eax, dword [eax + 0x7c0]
add dword [esi + 0x8c], eax
mov eax, dword [esp + 0x18]
inc ecx
add eax, 0x18
mov dword [esp + 0x10], ecx
add ebp, 4
mov dword [esp + 0x18], eax
cmp ecx, dword [ebx + 0xc]
jl 0x10006a90
mov ebp, dword [esp + 0x14]
mov edi, dword [esp + 0x24]
lea eax, [esi + 0x40]
mov dword [esi + 0x70], 0
push 0x30
push eax
mov dword [esi + 0x84], 0
call fcn.10005890
xor eax, eax
add esp, 8
mov dword [esp + 0x14], eax
add edi, 4
cmp byte [esp + eax + 0x5c], 0
jne 0x10006da1
cmp dword [edi + 8], 0xffffffff
jne 0x10006da1
cmp dword [edi - 4], 0
je 0x10006da1
cmp dword [edi + 4], 2
jne 0x10006d38
mov ebx, dword [ebp + 4]
test ebx, ebx
jne 0x10006d2d
mov eax, dword [ebp]
mov ecx, dword [edi]
shr ecx, 3
cmp ecx, dword [eax + 0x3c]
cmovbe ebx, dword [edi]
cmp dword [edi], ebx
mov eax, dword [esp + 0x14]
cmovb ebx, dword [edi]
jmp 0x10006d3a
mov ebx, dword [edi]
test ebx, ebx
je 0x10006da1
mov edx, dword [esi + 0x70]
lea eax, [edx + 1]
mov dword [esi + 0x70], eax
lea eax, [edx + edx*2]
lea ecx, [esi + eax*4]
mov eax, dword [edi + 4]
mov dword [ecx + 0x44], ebx
lea esi, [ecx + 0x40]
lea ecx, [edx + edx*2]
mov dword [esi], eax
mov edx, dword [esp + 0x1c]
mov eax, dword [edi - 4]
mov dword [edx + ecx*4 + 0x48], eax
mov ecx, dword [ebp]
movzx eax, byte [ecx + 0x34]
push eax
push dword [ebp + 0x108]
push dword [ecx + 0x30]
push 0
push 0
push esi
push 0
call fcn.10010560
mov esi, dword [esp + 0x38]
add esp, 0x1c
add dword [esi + 0x84], eax
cmp dword [edi + 4], 2
jne 0x10006d98
sub dword [edi], ebx
mov eax, dword [esp + 0x14]
mov byte [esp + eax + 0x5c], 1
inc eax
add edi, 0x10
mov dword [esp + 0x14], eax
cmp eax, 0xc
jl 0x10006cf3
mov eax, dword [ebp]
test byte [eax + 0x30], 0x48
jne 0x10006dc2
add dword [esi + 0x84], 3
mov eax, dword [ebp]
lea ebx, [ebp + 8]
mov dword [esp + 0x10], 0
push dword [eax + 0x2c]
push dword [eax]
push dword [eax + 4]
lea eax, [esp + 0x1c]
push eax
push ebx
push dword [ebp + 0xd8]
call fcn.10013510
mov eax, dword [ebp]
mov edi, dword [esp + 0x40]
mov ecx, dword [eax + 0xc]
imul ecx, dword [esp + 0x28]
mov eax, dword [ebp + 0xd8]
mov dword [esp + 0x28], ecx
mov eax, dword [eax + 0x18]
add eax, ecx
push eax
push edi
call fcn.10006060
mov ecx, dword [ebp + 0xd8]
mov dword [ecx], eax
mov ecx, dword [ebp]
movzx eax, byte [ecx + 0x34]
push eax
push dword [ecx + 0x30]
lea eax, [ebp + 0xdc]
push dword [ebp + 0x108]
push ebx
push dword [esp + 0x40]
push eax
lea eax, [ebp + 0xe0]
push eax
push dword [ebp + 0xd8]
call fcn.10013af0
add esp, 0x40
test eax, eax
jne 0x10006f5d
mov ecx, dword [ebp + 0xd8]
lea eax, [ebp + 0xdc]
push eax
lea eax, [ecx + 0x34]
push eax
push ecx
push ebx
call fcn.10015030
add esp, 0x10
test eax, eax
jne 0x10006f5d
mov ecx, dword [ebp]
movzx eax, byte [ecx + 0x34]
push eax
push dword [ecx + 0x30]
push dword [ebp + 0x108]
push edi
push esi
push esi
push dword [ebp + 0xd8]
push ebx
call fcn.100137c0
add esp, 0x20
test eax, eax
jne 0x10006f5d
mov edi, dword [esi + 0x9c]
lea eax, [ebp + 0xdc]
push eax
push dword [ebp + 0xd8]
push ebx
call fcn.10014fd0
mov eax, dword [ebp + 0xf0]
add esp, 0xc
inc eax
cmp eax, 8
ja case.0x10006ec6.6
jmp dword [eax*4 + 0x10006f70]
mov eax, dword [ebp + 0xd8]
mov ecx, dword [eax + 0x18]
jmp 0x10006ee1
mov ecx, 0x7fffffff
jmp 0x10006ee1
xor ecx, ecx
mov eax, dword [ebp]
cmp dword [eax + 0x48], 2
jne 0x10006ef1
imul ecx, dword [ebp + 0x10], 0x1800
push dword [ebx + 8]
push ecx
push edi
mov edi, dword [esp + 0x34]
push edi
call fcn.10006360
add esp, 0x10
test eax, eax
jne 0x10006f58
mov ecx, dword [ebp]
movzx eax, byte [ecx + 0x34]
push eax
push dword [ecx + 0x30]
push dword [ebp + 0x108]
push dword [ebp + 0xd8]
push dword [esp + 0x3c]
push esi
push ebx
push edi
call fcn.1000efb0
add esp, 0x20
test eax, eax
jne 0x10006f5d
push dword [esp + 0x40]
push edi
call fcn.10005ec0
add esp, 8
neg eax
sbb eax, eax
and eax, 2
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.1003b025
add esp, 0x5c
ret
mov eax, 2
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b025
add esp, 0x5c
ret