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

Disassembly:
sub esp, 0x50
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x68]
mov ebp, edx
push 0xc40
push 0
push edi
mov ebx, dword [ebp + 0x1c]
mov esi, ecx
mov dword [esp + 0x20], ebx
call fcn.100fde00
mov eax, dword [ebp + 8]
add esp, 0xc
mov ecx, dword [esp + 0x74]
xorps xmm0, xmm0
mov byte [edi + 0x20], cl
mov edx, 0x101353dc
mov ecx, ebp
mov dword [esp + 0x5c], 0
push edi
movups xmmword [esp + 0x40], xmm0
mov dword [esp + 0x14], eax
movups xmmword [esp + 0x50], xmm0
mov dword [edi], esi
mov dword [edi + 4], ebp
mov dword [edi + 8], ebx
mov dword [edi + 0xc], eax
call fcn.1000d730
mov ebx, eax
test ebx, ebx
jne 0x10013d8b
mov ebx, dword [esp + 0x74]
test bl, bl
je 0x10013dc6
cmp byte [edi + 0x18], 2
jne 0x10013eaf
cmp byte [edi + 0x1a], 5
jb 0x10013eaf
mov edx, dword [ebp + 8]
lea eax, [edx + 1]
cmp eax, dword [ebp + 4]
jae 0x10013d7f
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10013d56
push 2
lea ecx, [esp + 0x6c]
push ecx
mov ecx, ebp
call eax
cmp eax, 2
jne 0x10013d7f
mov edx, dword [ebp + 8]
lea eax, [esp + 0x68]
jmp 0x10013d62
mov eax, dword [ebp]
mov ecx, 0
add eax, edx
je 0x10013d6e
movzx ecx, byte [eax]
movzx eax, byte [eax + 1]
shl ecx, 8
or ecx, eax
lea eax, [edx + 2]
mov dword [ebp + 8], eax
mov al, byte [edi + 0x1a]
mov dword [edi + 0x1c], ecx
jmp 0x10013e1f
mov dword [edi + 0x1c], 0
mov ebx, 0x55
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10013dba
mov edx, dword [esp + 0x5c]
mov esi, dword [eax + 0x1c]
test edx, edx
je 0x10013dab
cmp dword [eax + 0x14], 0
je 0x10013dab
mov eax, dword [esi + 8]
mov ecx, esi
call eax
mov edx, dword [esp + 0x58]
test edx, edx
je 0x10013dba
mov eax, dword [esi + 8]
mov ecx, esi
call eax
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x50
ret 0x14
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 8]
mov byte [esp + 0x68], 0
test eax, eax
je 0x10013df0
push 1
lea edx, [esp + 0x6c]
push edx
mov edx, ecx
mov ecx, ebp
call eax
cmp eax, 1
jne 0x10013d86
mov ecx, dword [ebp + 8]
mov dl, byte [esp + 0x68]
jmp 0x10013dfb
cmp ecx, dword [ebp + 4]
jae 0x10013d86
mov eax, dword [ebp]
mov dl, byte [ecx + eax]
lea eax, [ecx + 1]
mov dword [ebp + 8], eax
cmp byte [edi + 0x18], 1
jne 0x10013eaf
mov al, byte [edi + 0x1a]
cmp al, 4
jb 0x10013eaf
cmp dl, 4
ja 0x10013eaf
movzx esi, al
add esi, dword [esp + 0x10]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10013e9a
push 0
push 0
mov edx, esi
mov ecx, ebp
call eax
test eax, eax
jne 0x10013e9f
mov dword [ebp + 8], esi
test bl, bl
je 0x10013f1d
xorps xmm0, xmm0
movups xmmword [edi + 0x4d8], xmm0
movups xmmword [edi + 0x4e8], xmm0
mov dword [edi + 0x4f8], 0
mov eax, dword [ebp + 8]
mov dword [edi + 0x4ec], eax
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x4f0], eax
test eax, eax
js 0x10013d86
mov esi, dword [ebp + 8]
add esi, eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10013eb9
push 0
push 0
mov edx, esi
mov ecx, ebp
call eax
test eax, eax
je 0x10013ec2
jmp 0x10013d86
cmp esi, dword [ebp + 4]
jbe 0x10013e3b
cmp byte [esp + 0x70], 0
mov ebx, 0x55
je 0x10013d8b
mov ebx, 2
jmp 0x10013d8b
cmp esi, dword [ebp + 4]
ja 0x10013d86
push ebx
lea ecx, [edi + 0x6c]
mov dword [ebp + 8], esi
push 1
mov edx, ebp
call fcn.10011150
mov ebx, eax
test ebx, ebx
jne 0x10013d8b
lea esi, [edi + 0x4d8]
cmp byte [esp + 0x70], 0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x64]
mov dword [edi + 0x54c], eax
je 0x10014055
movzx edx, cx
mov dword [esp + 0x64], edx
test ecx, ecx
jle 0x10013ff0
cmp edx, dword [edi + 0x30]
jb 0x10013ff0
mov ebx, 6
jmp 0x10013d8b
push 0
push 0
lea ecx, [edi + 0x24]
mov edx, ebp
call fcn.10011150
mov ebx, eax
test ebx, ebx
je 0x10013f46
cmp byte [esp + 0x70], 0
je 0x10013d8b
mov ebx, 2
jmp 0x10013d8b
mov eax, dword [edi + 0x30]
cmp eax, 1
jbe 0x10013f64
cmp dword [edi + 0x3c], eax
jae 0x10013f64
xor ebx, ebx
cmp byte [esp + 0x70], bl
sete bl
add ebx, 2
jmp 0x10013d8b
push 0
lea esi, [edi + 0x4d8]
mov edx, ebp
push 0
mov ecx, esi
call fcn.10011150
mov ebx, eax
test ebx, ebx
jne 0x10013d8b
push eax
push 1
mov edx, ebp
lea ecx, [esp + 0x44]
call fcn.10011150
mov ebx, eax
test ebx, ebx
jne 0x10013d8b
push eax
lea ecx, [edi + 0x6c]
mov edx, ebp
push 1
call fcn.10011150
mov ebx, eax
test ebx, ebx
jne 0x10013d8b
lea eax, [edi + 0x558]
push eax
lea eax, [edi + 0x554]
push eax
lea edx, [edi + 0x550]
lea ecx, [esp + 0x44]
call fcn.10011590
mov ebx, eax
test ebx, ebx
jne 0x10013d8b
mov eax, dword [edi + 0x30]
cmp eax, dword [edi + 0x4e4]
jbe 0x10013ee2
mov ebx, 3
jmp 0x10013d8b
mov eax, dword [edi + 0x30]
mov dword [edi + 0x10], eax
test ecx, ecx
js 0x10013d8b
push dword [esp + 0x6c]
cmp byte [esp + 0x78], 0
lea ecx, [edi + 0x55c]
push edi
mov eax, 0x1000
mov ebx, 0x3000
cmovne eax, ebx
push eax
push dword [esp + 0x1c]
push ebp
push edx
mov edx, esi
call fcn.10013840
mov ebx, eax
test ebx, ebx
jne 0x10013d8b
mov esi, dword [edi + 0x5cc]
add esi, dword [esp + 0x10]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x10014069
push ebx
push ebx
mov edx, esi
mov ecx, ebp
call eax
test eax, eax
je 0x10014072
jmp 0x10013d86
xor edx, edx
cmp dword [edi + 0x30], 1
mov dword [esp + 0x64], edx
jbe 0x10013ff6
lea ebx, [edx + 3]
jmp 0x10013d8b
cmp esi, dword [ebp + 4]
ja 0x10013d86
push dword [esp + 0x74]
lea ecx, [edi + 0x4b4]
mov dword [ebp + 8], esi
push 0
mov edx, ebp
call fcn.10011150
mov ebx, eax
test ebx, ebx
jne 0x10013d8b
cmp dword [edi + 0x5e0], 0xffff
jne 0x100140af
cmp byte [esp + 0x74], al
jne 0x100140af
mov dword [edi + 0x7e8], eax
jmp 0x1001425d
push dword [edi + 0x610]
lea ecx, [edi + 0xc28]
mov edx, ebp
push dword [esp + 0x14]
call fcn.10012340
mov ebx, eax
test ebx, ebx
jne 0x10013d8b
mov esi, dword [edi + 0x600]
add esi, dword [esp + 0x10]
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x100140f2
push ebx
push ebx
mov edx, esi
mov ecx, ebp
call eax
test eax, eax
je 0x100140fb
jmp 0x10013d86
cmp esi, dword [ebp + 4]
ja 0x10013d86
push dword [esp + 0x74]
mov edx, ebp
mov dword [ebp + 8], esi
push 0
lea ecx, [esp + 0x20]
call fcn.10011150
mov ebx, eax
test ebx, ebx
jne 0x10013d8b
mov eax, dword [esp + 0x24]
cmp eax, 0x100
ja 0x10014226
lea ecx, [esp + 0x68]
mov dword [edi + 0x7e8], eax
push ecx
mov ecx, dword [esp + 0x18]
mov edx, 0x28c
push ebx
push eax
push ebx
mov dword [esp + 0x78], ebx
call fcn.1000dac0
mov ebx, dword [esp + 0x68]
mov esi, eax
mov ecx, dword [esp + 0x24]
test ebx, ebx
jne 0x10014226
test esi, esi
je 0x10014177
test ecx, ecx
jle 0x10014177
imul eax, ecx, 0x28c
push eax
push ebx
push esi
call fcn.100fde00
mov ecx, dword [esp + 0x30]
add esp, 0xc
test ebx, ebx
jne 0x10014226
test ecx, ecx
je 0x100141a0
lea eax, [edi + 0x7ec]
mov edx, ecx
nop dword [eax + eax]
mov dword [eax], esi
lea eax, [eax + 4]
add esi, 0x28c
sub edx, 1
jne 0x10014190
xor esi, esi
test ecx, ecx
je 0x100141fb
cmp byte [esp + 0x74], 0
mov eax, 0x4000
mov edx, 0x1000
cmovne edx, eax
lea eax, [edi + 0x7ec]
mov dword [esp + 0x14], edx
mov dword [esp + 0x68], eax
push dword [esp + 0x6c]
mov ecx, dword [eax]
push edi
push edx
push dword [esp + 0x1c]
lea edx, [esp + 0x28]
push ebp
push esi
call fcn.10013840
mov ebx, eax
test ebx, ebx
jne 0x10014226
mov eax, dword [esp + 0x68]
inc esi
mov ecx, dword [esp + 0x24]
add eax, 4
mov edx, dword [esp + 0x14]
mov dword [esp + 0x68], eax
cmp esi, ecx
jb 0x100141c6
cmp byte [esp + 0x74], 0
je 0x10014207
cmp ecx, 1
jbe 0x10014226
mov eax, dword [edi + 0x604]
lea ecx, [edi + 0xbec]
add eax, dword [esp + 0x10]
mov edx, dword [edi + 0x4c0]
push eax
push ebp
call fcn.10011a40
mov ebx, eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10014255
mov edx, dword [esp + 0x38]
mov esi, dword [eax + 0x1c]
test edx, edx
je 0x10014246
cmp dword [eax + 0x14], 0
je 0x10014246
mov eax, dword [esi + 8]
mov ecx, esi
call eax
mov edx, dword [esp + 0x34]
test edx, edx
je 0x10014255
mov eax, dword [esi + 8]
mov ecx, esi
call eax
test ebx, ebx
jne 0x10013d8b
cmp dword [edi + 0x5cc], 0
jne 0x10014270
mov ebx, 3
jmp 0x10013d8b
mov eax, dword [edi + 0x4c0]
lea edx, [edi + 0x548]
push 0
push 0
lea ecx, [edi + 0x6c]
mov dword [edi + 0x14], eax
call fcn.10011590
mov ebx, eax
test ebx, ebx
jne 0x10013d8b
cmp byte [esp + 0x74], al
jne 0x1001431b
mov edx, dword [edi + 0x14]
test edx, edx
je 0x1001431b
cmp dword [edi + 0x5e0], 0xffff
je 0x100142bd
cmp byte [esp + 0x70], al
mov byte [esp + 0x70], 1
jne 0x100142c2
mov byte [esp + 0x70], 0
push dword [esp + 0x70]
lea ecx, [edi + 0x49c]
push dword [edi + 0x5c4]
push dword [esp + 0x18]
push ebp
call fcn.10011d40
mov ebx, eax
test ebx, ebx
jne 0x10013d8b
cmp dword [edi + 0x5e0], 0xffff
jne 0x1001431b
push dword [edi + 0x5c8]
lea ecx, [edi + 0x90]
push dword [esp + 0x14]
lea edx, [edi + 0x49c]
push ebp
push dword [edi + 0x14]
call fcn.10013100
mov ebx, eax
test ebx, ebx
jne 0x10013d8b
mov edx, dword [esp + 0x64]
mov ecx, edi
call fcn.100119a0
mov dword [edi + 0x544], eax
jmp 0x10013d8b