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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x8c
mov eax, dword [esp + 0xa8]
mov esi, dword [esp + 0xa0]
mov edx, dword [eax]
mov edi, dword [eax + 8]
mov ecx, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov dword [esp + 0x68], ecx
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0xc]
lea eax, [esp + 0x38]
push 0x10
push ecx
push eax
call fcn.1008e0d0
add esp, 0xc
cmp dword [esp + 0x38], 0
je 0x1005dfff
movq xmm0, qword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
lea edx, [esp + 0x5c]
movd ebp, xmm0
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0xc], eax
movq qword [esp + 0x14], xmm0
sub ebp, edi
push ebp
push edx
push ecx
call fcn.1008d480
add esp, 0xc
mov edi, dword [esp + 0xc]
movsd xmm0, qword [esp + 0x1c]
mov ebx, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
test edi, edi
movsd qword [esp + 0x2c], xmm0
mov dword [esp + 0x34], ebx
je 0x1005e01f
mov ebp, dword [esp + 0x34]
movq xmm0, qword [esp + 0x2c]
mov ebx, dword [esp + 0x28]
test edx, edx
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x88], ebp
movq qword [esp + 0x80], xmm0
mov dword [esp + 0x34], ebp
movq qword [esp + 0x2c], xmm0
je 0x1005e272
mov ebx, dword [esp + 0xa4]
mov ebx, dword [ebx]
mov dword [esp + 8], ebx
movzx ebx, byte [edi]
movzx ebp, bl
test bl, bl
js 0x1005e04f
mov ebx, dword [esp + 8]
cmp ebp, ebx
je 0x1005e0c8
jmp 0x1005e272
movsd xmm0, qword [esp + 0x48]
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
movsd qword [esp + 0x2c], xmm0
mov dword [esp + 0x34], edi
mov edi, dword [esp + 0x34]
movq xmm0, qword [esp + 0x2c]
mov dword [esp + 0x88], edi
movq qword [esp + 0x80], xmm0
mov dword [esi + 0x28], edi
movq qword [esi + 0x20], xmm0
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], eax
jmp 0x1005e28c
movzx esi, byte [edi + 1]
and ebp, 0x1f
and esi, 0x3f
cmp bl, 0xdf
mov dword [esp + 4], esi
jbe 0x1005e0ae
movzx esi, byte [edi + 2]
mov dword [esp], esi
mov esi, dword [esp + 4]
and dword [esp], 0x3f
shl esi, 6
add dword [esp], esi
mov esi, dword [esp + 0xa0]
cmp bl, 0xf0
jb 0x1005e260
movzx ebx, byte [edi + 3]
shl dword [esp], 6
and ebp, 7
shl ebp, 0x12
and ebx, 0x3f
add ebx, dword [esp]
or ebp, ebx
mov ebx, dword [esp + 8]
cmp ebp, 0x110000
jne 0x1005e0c0
jmp 0x1005e272
shl ebp, 6
mov ebx, dword [esp + 8]
mov esi, dword [esp + 0xa0]
add ebp, dword [esp + 4]
cmp ebp, ebx
jne 0x1005e272
mov eax, 1
cmp ebx, 0x80
jb 0x1005e0f0
mov eax, 2
cmp ebx, 0x800
jb 0x1005e0f0
cmp ebx, 0x10000
mov eax, 4
sbb eax, 0
push eax
lea ebx, [esp + 0x3c]
push ebx
lea ebp, [esp + 0x14]
push ebp
call fcn.1008d3b0
add esp, 0xc
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edi
mov dword [esp + 0x68], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ecx
mov dword [esp + 0x70], edx
mov dword [esp + 0x18], edx
push 0x10
push ebp
push ebx
call fcn.1008e0d0
add esp, 0xc
cmp dword [esp + 0x38], 0
lea edx, [esp + 0x1c]
je 0x1005e1c7
mov eax, dword [esp + 0x38]
movq xmm0, qword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
movd eax, xmm0
mov dword [esp + 0x10], ecx
movq qword [esp + 0x14], xmm0
sub eax, edi
push eax
lea eax, [esp + 0x60]
push eax
push edx
call fcn.1008d480
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c]
mov dword [esp], ecx
mov ecx, dword [esp + 0x14]
test edx, edx
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x20]
je 0x1005e238
mov dword [esp + 0x6c], ecx
mov edi, dword [esp + 0x28]
mov ebp, dword [esp + 0x58]
mov ecx, dword [esp]
jmp 0x1005e1f7
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov dword [esp], edx
mov edx, dword [esp + 0x50]
cmp eax, 1
jne 0x1005e249
mov ecx, dword [esp + 0x70]
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov ebp, edi
xor ebx, ebx
mov dword [esi + 4], eax
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x6c]
mov dword [esi + 8], ebp
mov dword [esi + 0x24], ebx
mov ebx, dword [esp + 4]
movq xmm0, qword [esp + 0x2c]
mov dword [esi + 0x28], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x2c], ebx
movq qword [esi + 0x14], xmm0
mov dword [esi + 0x1c], ecx
mov dword [esi], edx
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x7c]
mov dword [esi + 0x10], edx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x30], edi
jmp 0x1005e293
mov ebp, ebx
mov ebx, ecx
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0x58]
cmp eax, 1
je 0x1005e1e7
mov edi, dword [esp]
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], ebp
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], edx
jmp 0x1005e28c
shl ebp, 0xc
mov ebx, dword [esp + 8]
add ebp, dword [esp]
cmp ebp, ebx
je 0x1005e0c8
mov dword [esi + 0x14], 1
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], 0x1c
mov dword [esi + 0x10], 0x110000
mov eax, esi
add esp, 0x8c
pop esi
pop edi
pop ebx
pop ebp
ret