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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
cmp dword [ebp + 0x1c], 0
push esi
push edi
mov esi, edx
mov dword [esp + 0x34], ecx
je 0x1005e63c
mov eax, dword [0x11d0c5b8]
mov ecx, dword fs:[0x2c]
mov eax, dword [ecx + eax*4]
mov eax, dword [eax + 0x10]
test byte [eax + 0xd29d], 9
jne 0x1005ee92
mov eax, dword [esi + 0x18c]
mov edi, dword [ebp + 0x14]
mov dword [esp + 0x14], 0
mov dword [esp + 0x38], 0
mov ecx, dword [eax + 8]
mov edx, ecx
neg edx
sbb edx, edx
lea eax, [ecx + 8]
and edx, eax
mov dword [esp + 0x30], edx
test edi, edi
je 0x1005e69e
mov edx, dword [edi]
lea eax, [esi + 0x54]
movzx ecx, byte [esi + 0x61]
imul edx, ecx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], edx
mov edx, dword [edi + 4]
mov dword [esp + 0x38], edx
mov edx, dword [edi + 8]
sub edx, dword [edi]
mov edi, dword [edi + 0xc]
imul edx, ecx
sub edi, dword [esp + 0x38]
mov dword [esp + 0x24], edx
jmp 0x1005e738
test ecx, ecx
je 0x1005e6f9
test byte [ecx + 0xb8], 0x20
je 0x1005e6f9
mov ecx, dword [esi + 0x54]
lea edx, [esi + 0x54]
mov eax, ecx
mov dword [esp + 0x2c], edx
and eax, 0xf8ffffff
cmp eax, 0x30545844
je 0x1005e6e3
cmp ecx, 0x32495441
je 0x1005e6e3
cmp ecx, 0x31495441
je 0x1005e6e3
movzx ecx, byte [esi + 0x61]
mov eax, dword [esi + 0xc]
imul ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x1005e706
mov eax, dword [esi + 0xc]
movzx ecx, byte [esi + 0x61]
add eax, 3
shr eax, 2
imul ecx, eax
mov dword [esp + 0x24], ecx
jmp 0x1005e706
mov eax, dword [esi]
lea edx, [esi + 0x54]
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], edx
mov ecx, dword [edx]
mov eax, ecx
and eax, 0xf8ffffff
cmp eax, 0x30545844
je 0x1005e72b
cmp ecx, 0x32495441
je 0x1005e72b
cmp ecx, 0x31495441
je 0x1005e72b
mov edi, dword [esi + 0x10]
jmp 0x1005e738
mov edi, dword [esi + 0x10]
add edi, 3
mov dword [esp + 0x2c], edx
shr edi, 2
mov ecx, dword fs:[0x2c]
mov eax, dword [0x11d0c5b8]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0x1c], eax
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x7a68]
mov eax, dword [ecx]
mov eax, dword [eax + 0x188]
call eax
mov ecx, dword [ebp + 0x10]
mov edx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x80], eax
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0xa0], eax
mov byte [esp + 0xb4], al
movzx eax, byte [esi + 0x61]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0xa8], ecx
mov dword [esp + 0x28], edx
mov dword [esp + 0x84], 0
mov ecx, dword [eax]
mov eax, ecx
and eax, 0xf8ffffff
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xb8], 0x42
mov dword [esp + 0xbc], 0xef
mov dword [esp + 0x18], eax
cmp eax, 0x30545844
je 0x1005e824
cmp ecx, 0x32495441
je 0x1005e824
cmp ecx, 0x31495441
je 0x1005e824
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x2c], eax
jmp 0x1005e85d
mov eax, dword [esi + 0x10]
add eax, 3
shr eax, 2
cmp dword [esp + 0x18], 0x30545844
mov dword [esp + 0x2c], eax
je 0x1005e854
cmp ecx, 0x32495441
je 0x1005e854
cmp ecx, 0x31495441
je 0x1005e854
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x2c], eax
jmp 0x1005e85d
mov ecx, dword [esi + 0xc]
add ecx, 3
shr ecx, 2
mov eax, dword [esp + 0x30]
imul ecx, dword [esp + 0x3c]
movq xmm0, qword [esi + 0x24]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x70], eax
mov eax, dword [esi + 0x18c]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], 1
mov dword [esp + 0x54], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
movq qword [esp + 0x68], xmm0
mov byte [esp + 0x74], 1
mov dword [esp + 0x78], 0x42
mov dword [esp + 0x7c], 0xef
mov eax, dword [eax + 8]
mov dword [esp + 0x18], ecx
test eax, eax
je 0x1005e914
test byte [eax + 0xb8], 0x20
je 0x1005e914
cmp byte [ebp + 8], 0
jne 0x1005e914
mov eax, dword [esi + 0x14]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x4c], eax
mov eax, dword [esi + 0x188]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x54], 0
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], eax
jmp 0x1005e969
mov eax, dword [esi + 0x18c]
mov byte [esp + 0x74], 0
mov eax, dword [eax + 8]
test eax, eax
je 0x1005e94e
test byte [eax + 0xb8], 0x20
je 0x1005e94e
mov eax, dword [esp + 0x1c]
dec ecx
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x7a68]
mov eax, dword [eax + 0x2dac]
add ecx, eax
neg eax
and ecx, eax
jmp 0x1005e950
mov ecx, dword [esi]
mov eax, ecx
mov dword [esp + 0x68], ecx
imul eax, dword [esp + 0x38]
add eax, dword [esi + 0x188]
add eax, dword [esp + 0x14]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x64], eax
mov dword [esp + 0xa4], eax
mov esi, dword [edx + 4]
test esi, esi
je 0x1005ee92
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + 0x162c]
shr eax, 7
test al, 1
je 0x1005e9f1
mov eax, dword [ebp + 0x1c]
test eax, 0x800000
je 0x1005e9f1
push esi
push dword [esi + 0xb4c]
push eax
mov eax, dword [esp + 0x28]
push dword [esp + 0x40]
mov ecx, dword [eax + 0x10]
mov ecx, dword [ecx + 0x7a68]
call fcn.100b9a30
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0x68]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x28]
mov dword [ebp + 0x10], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 0x20], eax
jmp 0x1005e9f5
mov esi, dword [esp + 0x18]
cmp byte [edx + 0x10], 0
je 0x1005ecab
cmp byte [esp + 0xb4], 0
je 0x1005ecab
cmp byte [esp + 0x74], 0
je 0x1005ecab
cmp dword [esp + 0x9c], 0
jne 0x1005ecab
cmp dword [esp + 0x5c], 0
jne 0x1005ecab
mov eax, dword [esp + 0x24]
cmp eax, dword [esp + 0x84]
jne 0x1005ecab
cmp eax, esi
jne 0x1005ecab
mov eax, dword [esp + 0x60]
cmp dword [esp + 0x20], eax
jne 0x1005ecab
cmp dword [esp + 0x8c], 1
jne 0x1005ecab
cmp dword [esp + 0x4c], 1
jne 0x1005ecab
cmp dword [ebp + 0x10], ecx
jne 0x1005ecab
mov eax, dword [esp + 0xac]
cmp eax, dword [esp + 0x6c]
jne 0x1005ecab
mov ecx, dword [ebp + 0x10]
mov esi, 1
mov eax, esi
shl eax, cl
imul eax, dword [edx + 8]
mov ecx, dword [esp + 0xac]
shl esi, cl
imul esi, dword [edx + 0xc]
xor edx, edx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov eax, ecx
div esi
mov eax, esi
sub eax, edx
xor edx, edx
div esi
cmp edx, edi
cmovae edx, edi
mov dword [esp + 0x30], edx
test edx, edx
je 0x1005eafc
mov ecx, dword [esp + 0x28]
push edx
push dword [esp + 0x28]
lea edx, [esp + 0x48]
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x8c]
push edx
call dword [eax + 0x10]
mov ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x30]
mov dword [esp + 0x20], ecx
sub edi, dword [esp + 0x30]
je 0x1005ecc4
neg esi
and esi, edi
je 0x1005ec07
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
dec edx
movaps xmm2, xmmword [esp + 0x90]
add edx, ecx
movaps xmm1, xmmword [esp + 0x50]
neg ecx
movaps xmm0, xmmword [esp + 0x80]
and edx, ecx
mov ecx, edx
movaps xmmword [esp + 0x110], xmm2
imul ecx, dword [esp + 0x20]
psrldq xmm2, 8
movd eax, xmm2
movaps xmmword [esp + 0x100], xmm0
movaps xmm0, xmmword [esp + 0xa0]
add eax, ecx
movaps xmmword [esp + 0xd0], xmm1
movaps xmmword [esp + 0x120], xmm0
movaps xmm0, xmmword [esp + 0xb0]
mov dword [esp + 0x118], eax
psrldq xmm1, 8
imul edx, esi
movd eax, xmm1
movaps xmmword [esp + 0x130], xmm0
movaps xmm0, xmmword [esp + 0x40]
add eax, ecx
movaps xmmword [esp + 0xc0], xmm0
mov ecx, dword [esp + 0x28]
movaps xmm0, xmmword [esp + 0x60]
push 1
push edx
lea edx, [esp + 0xc8]
movaps xmmword [esp + 0xe8], xmm0
movaps xmm0, xmmword [esp + 0x78]
mov dword [esp + 0xe0], eax
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x10c]
movaps xmmword [esp + 0xfc], xmm0
push edx
mov byte [esp + 0x144], 0
mov dword [esp + 0x138], 0
mov byte [esp + 0x104], 0
mov dword [esp + 0xf8], 0
call dword [eax + 0x10]
mov ecx, dword [esp + 0x20]
add ecx, esi
sub edi, esi
je 0x1005ecc4
movaps xmm0, xmmword [esp + 0x80]
mov esi, dword [esp + 0x28]
movaps xmmword [esp + 0xc0], xmm0
movaps xmm0, xmmword [esp + 0x90]
movaps xmmword [esp + 0xd0], xmm0
movaps xmm0, xmmword [esp + 0xa0]
mov eax, dword [esi]
movaps xmmword [esp + 0xe0], xmm0
movaps xmm0, xmmword [esp + 0xb0]
movaps xmmword [esp + 0xf0], xmm0
movaps xmm0, xmmword [esp + 0x40]
movaps xmmword [esp + 0x100], xmm0
movaps xmm0, xmmword [esp + 0x50]
movaps xmmword [esp + 0x110], xmm0
movaps xmm0, xmmword [esp + 0x60]
push edi
push dword [esp + 0x28]
movaps xmmword [esp + 0x128], xmm0
movaps xmm0, xmmword [esp + 0x78]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0x128], ecx
lea ecx, [esp + 0x108]
push ecx
lea ecx, [esp + 0xcc]
movaps xmmword [esp + 0x13c], xmm0
push ecx
mov ecx, esi
call dword [eax + 0x10]
jmp 0x1005ecc8
mov eax, dword [edx]
lea ecx, [esp + 0x40]
push edi
push dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x8c]
push ecx
mov ecx, edx
call dword [eax + 0x10]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + 0x10]
mov eax, dword [edx + 0x162c]
shr eax, 7
test al, 1
je 0x1005ee92
test dword [esp + 0xa4], 0x800000
jne 0x1005ee92
mov esi, dword [esi + 4]
mov edx, dword [edx + 0x7a68]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x18], edx
mov eax, dword [esi + 0xb4c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x34], eax
mov eax, dword [edx + 4]
test dword [eax + 0x140], 0x40000
je 0x1005ee92
mov eax, dword [eax + 0x15bc]
mov dword [esp + 0x30], eax
test eax, eax
je 0x1005ee92
test edi, edi
je 0x1005ee92
mov eax, dword [edi + 0xa0]
mov ecx, eax
and ecx, 0x30
cmp ecx, 0x10
je 0x1005ed5e
and al, 0xc
cmp al, 4
jne 0x1005ee92
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1005ee73
cmp ecx, 0x10
jne 0x1005ee73
cmp dword [esp + 0x30], 2
je 0x1005ee73
test eax, 0x800000
jne 0x1005ee73
mov eax, dword [esi + 0xb50]
mov ecx, dword [esp + 0x1c]
push 1
mov dword [esp + 0x18], esi
mov dword [esi + eax*4 + 0xb54], ecx
lea ecx, [esp + 0x18]
inc dword [esi + 0xb50]
call fcn.1001e7f0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
push esi
push 0
mov dword [ecx + 0xb4c], edx
mov ecx, dword [ecx + edx*4 + 0x74c]
or ecx, 0x1000
shl ecx, 4
mov dword [eax], ecx
lea ecx, [eax + 4]
mov eax, dword [esp + 0x1c]
push 0
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x24]
push dword [edi + 0x74]
push 0
mov eax, dword [ecx]
push edi
push 1
mov eax, dword [eax + 0x134]
call eax
dec dword [esi + 0xb50]
mov ecx, dword [esi + 0xb50]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], esi
push 1
mov eax, dword [esi + ecx*4 + 0xb54]
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], eax
cmp eax, 0xffffffff
jne 0x1005ee39
call fcn.1001e7f0
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0xb4c], 0xffffffff
mov dword [eax], 0x1fff0
jmp 0x1005ee5e
call fcn.1001e7f0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
mov dword [ecx + 0xb4c], edx
mov ecx, dword [ecx + edx*4 + 0x74c]
or ecx, 0x1000
shl ecx, 4
mov dword [eax], ecx
cmp dword [esp + 0x3c], 0
lea ecx, [eax + 4]
mov eax, dword [esp + 0x14]
mov dword [eax + 0x20], ecx
jne 0x1005ee92
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0xa0]
and al, 0xc
cmp al, 4
jne 0x1005ee92
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x34]
push esi
push ecx
push eax
push edi
mov ecx, edx
call fcn.100b9e70
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x18