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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x1039b040]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov eax, dword [ecx + 0x78]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x100], ecx
mov dword [ebp - 0xf8], esi
mov dword [ebp - 0xf4], eax
push edi
mov edi, dword [ebp + 0xc]
cmp eax, 0xffffffff
je 0x1013ba8a
test bl, 8
jne 0x1013ba8a
mov edx, dword [edi + 4]
test dword [edx + 4], 0x7fff0000
jne 0x1013ba8a
test dword [edx + 8], 0x8000
jne 0x1013ba8a
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0x108], eax
mov eax, dword [ecx + 0x14]
mov ecx, dword [edx + 0x21c]
mov dword [ebp - 0x104], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [edi + 0x4c]
push eax
push dword [edx + 0x68]
mov eax, dword [ecx + 0x48]
push ebx
push esi
push dword [ebp - 0xf4]
push edx
call eax
mov edx, eax
add esp, 0x1c
test edx, edx
jne 0x1013b6d8
movzx ecx, word [ebp - 0x12]
mov dword [edi + 0x6c], eax
movzx eax, word [ebp - 0x14]
shl eax, 6
mov dword [edi + 0x1c], eax
shl ecx, 6
mov dword [edi + 0x18], ecx
movsx ecx, word [ebp - 0x10]
mov eax, ecx
mov dword [edi + 0x48], 0x62697473
shl eax, 6
mov dword [edi + 0x20], eax
movsx eax, word [ebp - 0xe]
shl eax, 6
mov dword [edi + 0x24], eax
movzx eax, word [ebp - 0xc]
shl eax, 6
mov dword [edi + 0x28], eax
movsx eax, word [ebp - 0xa]
shl eax, 6
mov dword [edi + 0x2c], eax
movsx eax, word [ebp - 8]
shl eax, 6
mov dword [edi + 0x30], eax
movzx eax, word [ebp - 6]
shl eax, 6
mov dword [edi + 0x34], eax
test bl, 0x10
je 0x1013b6ce
movsx eax, word [ebp - 0xa]
mov dword [edi + 0x64], eax
movsx eax, word [ebp - 8]
jmp 0x1013b6d5
movsx eax, word [ebp - 0xe]
mov dword [edi + 0x64], ecx
mov dword [edi + 0x68], eax
mov eax, dword [edi + 4]
cmp dl, 0x9d
jne 0x1013b8aa
test byte [eax + 8], 1
mov dword [ebp - 0xf4], eax
jne 0x1013ba84
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0x100], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0x10c], 0
cmp dword [eax + 0x2f0], 0
je 0x1013b8bf
lea ecx, [ebp - 0xf8]
push ecx
lea ecx, [ebp - 0xfc]
push ecx
push esi
push eax
call fcn.1013ac10
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x100]
push eax
push 0
push esi
push dword [ebp - 0xf4]
call fcn.1013ac40
xor eax, eax
add esp, 0x24
mov dword [edi + 0x6c], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
movsx eax, word [ebp - 0xfc]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
mov edx, dword [ebp - 0x108]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [edi + 0x20], eax
movzx eax, word [ebp - 0xf8]
mov dword [edi + 0x24], 0
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov edx, dword [ebp - 0x108]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
mov dword [edi + 0x28], eax
movsx eax, word [ebp - 0x100]
mov dword [edi + 0x2c], 0
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov edx, dword [ebp - 0x104]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
mov dword [edi + 0x30], eax
movzx eax, word [ebp - 0x10c]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov edx, dword [ebp - 0x104]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
mov dword [edi + 0x34], eax
xor eax, eax
mov dword [edi + 0x48], 0x62697473
mov byte [edi + 0x5e], 1
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012583c
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0xf0], eax
mov eax, dword [eax + 8]
test edx, edx
je 0x1013b8d2
test al, 1
jne 0x1013ba84
pop edi
pop esi
mov eax, edx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012583c
mov esp, ebp
pop ebp
ret
test eax, 0x20001
je 0x1013ba71
push 1
push ebx
push edi
push dword [ebp - 0x100]
lea eax, [ebp - 0xec]
push eax
call fcn.10143e80
push 1
push 0
lea eax, [ebp - 0xec]
push esi
push eax
call fcn.10141ff0
lea eax, [ebp - 0xec]
push eax
call fcn.10143e60
mov eax, dword [ebp - 0xb0]
add esp, 0x28
mov dword [edi + 0x38], eax
mov eax, dword [ebp - 0x3c]
mov dword [edi + 0x3c], eax
mov eax, dword [ebp - 0xf0]
cmp dword [eax + 0x31c], 3
jne 0x1013b9e1
cmp word [ebp - 0xcc], 0
jle 0x1013b9e1
test bl, 0x10
je 0x1013b959
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x40]
jmp 0x1013b96b
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0xfc]
mov edx, dword [ebp - 0x108]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
sar eax, 6
add dword [edi + 0x64], eax
mov eax, dword [ebp - 0xf8]
mov edx, dword [ebp - 0x104]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
sar eax, 6
add dword [edi + 0x68], eax
cmp dword [edi + 0x28], 0
jne 0x1013ba29
mov eax, dword [edi + 0x38]
test eax, eax
je 0x1013ba29
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov edx, dword [ebp - 0x108]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
mov dword [edi + 0x28], eax
cmp dword [edi + 0x34], 0
jne 0x1013ba71
mov eax, dword [edi + 0x3c]
test eax, eax
je 0x1013ba71
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov edx, dword [ebp - 0x104]
imul edx
mov ecx, edx
sar ecx, 0x1f
add ecx, 0x8000
add eax, ecx
adc edx, 0
shr eax, 0x10
shl edx, 0x10
add eax, edx
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0xf4]
mov dword [edi + 0x34], eax
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012583c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x100]
test ebx, 0x4000
je 0x1013baaa
mov esi, 6
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012583c
mov esp, ebp
pop ebp
ret
mov eax, ebx
and eax, 1
mov dword [ebp - 0xf0], eax
jne 0x1013bad5
cmp byte [ecx + 0x70], 0
jne 0x1013bad5
mov esi, 0x24
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012583c
mov esp, ebp
pop ebp
ret
test ebx, 0x100000
je 0x1013bbd1
mov eax, dword [edi + 4]
cmp dword [eax + 0x36c], 0
je 0x1013bbd1
mov eax, dword [eax + 0x21c]
mov dword [ebp - 0xf4], eax
push esi
push edi
mov eax, dword [eax + 0xb4]
call eax
add esp, 8
test eax, eax
jne 0x1013bbd1
mov ebx, dword [ebp - 0xf8]
lea eax, [ebp - 0xfc]
mov esi, dword [edi + 4]
push eax
lea eax, [ebp - 0x104]
mov dword [edi + 0x48], 0x53564720
push eax
mov eax, dword [ebp - 0xf4]
push ebx
push 0
push esi
mov eax, dword [eax + 0xa0]
call eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 0xf4]
push ebx
push 1
push esi
mov eax, dword [eax + 0xa0]
call eax
mov ecx, dword [edi + 4]
movzx eax, word [ecx + 0x44]
push eax
mov eax, dword [ecx + 0x58]
movzx eax, word [eax + 0xc]
push eax
movzx eax, word [ebp - 0xfc]
push eax
call fcn.10128e40
movzx eax, ax
mov dword [ebp - 0xfc], eax
mov eax, dword [edi + 4]
movzx ecx, word [eax + 0x44]
mov eax, dword [eax + 0x58]
push ecx
movzx edx, word [eax + 0xe]
movzx eax, word [ebp - 0x10c]
push edx
push eax
call fcn.10128e40
movzx ecx, ax
add esp, 0x40
movzx eax, word [ebp - 0xfc]
shl eax, 6
shl ecx, 6
mov dword [edi + 0x28], eax
xor eax, eax
mov dword [edi + 0x34], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012583c
mov esp, ebp
pop ebp
ret
test ebx, 0x800000
jne 0x1013ba92
push 0
push ebx
push edi
push dword [ebp - 0x100]
lea eax, [ebp - 0xec]
push eax
call fcn.10143e80
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x1013bd49
mov ecx, ebx
and ecx, 0x110
cmp ecx, 0x100
jne 0x1013bc2c
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1013bc2c
mov eax, dword [ebp - 0xf8]
movzx eax, byte [eax + ecx]
shl eax, 6
mov dword [edi + 0x28], eax
jmp 0x1013bd30
mov eax, dword [ebp - 0xf8]
push 0
push 0
push eax
lea eax, [ebp - 0xec]
mov dword [edi + 0x48], 0x6f75746c
push eax
mov dword [edi + 0x80], 0
mov dword [edi + 0x7c], 0
call fcn.10141ff0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x1013bd10
cmp dword [edi + 0x48], 0x636f6d70
jne 0x1013bc8b
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ecx + 0x30]
mov dword [edi + 0x80], eax
mov eax, dword [ecx + 0x34]
mov dword [edi + 0x84], eax
jmp 0x1013bcc0
mov eax, dword [ebp - 0xe0]
lea ecx, [edi + 0x6c]
movups xmm0, xmmword [eax + 0x14]
movups xmmword [ecx], xmm0
mov eax, dword [eax + 0x24]
mov dword [ecx + 0x10], eax
and dword [edi + 0x7c], 0xfffffdff
mov eax, dword [ebp - 0xa8]
test eax, eax
je 0x1013bcc0
push 0
neg eax
push eax
push ecx
call fcn.10129df0
add esp, 0xc
test bl, 2
jne case.0x1013bcdc.1
mov eax, dword [ebp - 0x50]
cmp byte [eax + 0x155], 0
je case.0x1013bcdc.2
mov eax, dword [eax + 0x158]
cmp eax, 5
ja case.0x1013bcdc.2
jmp dword [eax*4 + 0x1013bd5c]
or dword [edi + 0x7c], 0x20
jmp case.0x1013bcdc.1
or dword [edi + 0x7c], 0x30
jmp case.0x1013bcdc.1
or dword [edi + 0x7c], 0x10
jmp case.0x1013bcdc.1
or dword [edi + 0x7c], 8
push dword [ebp - 0xf8]
lea eax, [ebp - 0xec]
push eax
call fcn.10140310
add esp, 8
mov esi, eax
cmp dword [ebp - 0xf0], 0
jne 0x1013bd30
mov eax, dword [ebp - 0x100]
mov eax, dword [eax + 0x2c]
cmp word [eax + 2], 0x18
jae 0x1013bd30
or dword [edi + 0x7c], 0x100
mov eax, dword [ebp - 0xec]
push 0
push dword [eax + 0x64]
lea eax, [ebp - 0x20]
push 0
push eax
call fcn.10128030
add esp, 0x10
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1012583c
mov esp, ebp
pop ebp
ret