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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x70
mov dword [esp + 8], edx
mov edi, ecx
mov eax, dword [0x1008e00c]
xor eax, ebp
mov dword [esp + 0x68], eax
xor ebx, ebx
mov byte [esp + 0x28], bl
mov byte [esp + 0x48], bl
mov byte [esp + 0x27], bl
mov byte [esp + 0x26], bl
cmp dword [ecx + 0x3c], 0
je 0x1005d8bd
mov dword [esp + 0xc], edi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
push dword [eax + 0xc]
call fcn.1005d9e0
add esp, 4
mov ecx, dword [esi]
mov dword [ecx], eax
mov eax, dword [esi]
mov eax, dword [eax]
mov ecx, eax
mov edx, eax
movzx ebx, bl
inc ebx
shr edx, 7
cmp ecx, 0x7f
mov ecx, edx
ja 0x1005d720
movzx edi, bl
add edi, eax
mov ebx, dword [esp + 0xc]
mov ecx, ebx
push dword [ebp + 0x10]
call fcn.10050550
test eax, eax
je 0x1005d962
mov esi, eax
mov eax, dword [eax + 0x38]
sub eax, dword [esi + 4]
cmp edi, eax
jbe 0x1005d84d
mov dword [esp + 4], edi
mov byte [esp + 0x27], 1
mov ecx, ebx
push dword [ebp + 0x10]
call fcn.10050640
mov edi, ebx
test eax, eax
je 0x1005d983
mov ebx, eax
mov eax, dword [esi + 0x38]
sub eax, dword [esi + 4]
lea edx, [esp + 0x10]
mov ecx, esi
push eax
push edx
call fcn.100505e0
movsd xmm0, qword [edi + 0x50]
movsd qword [ebx + 0x40], xmm0
mov eax, dword [ebx + 0x38]
add dword [edi + 0x50], eax
adc dword [edi + 0x54], 0
mov edi, dword [esp + 4]
mov esi, edi
lea eax, [esp + 0x10]
sub esi, dword [eax]
mov dword [ebx], esi
mov dword [ebx + 4], esi
lea eax, [esp + 0x50]
push 1
push eax
call fcn.100246d0
add esp, 8
lea eax, [esp + 0x50]
movsd xmm0, qword [eax + 0x10]
movsd qword [ebx + 0x18], xmm0
movups xmm0, xmmword [eax]
movups xmmword [ebx + 8], xmm0
cmp esi, 0xffffffff
je 0x1005d9a8
mov byte [esp + 0x26], 1
cmp byte [esp + 0x48], 0
jne 0x1005d96e
add ebx, 0x58
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], ebx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
add eax, edi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
adc edx, 0
mov dword [esp + 0x44], edx
test ecx, ecx
jne 0x1005d831
test esi, esi
jne 0x1005d993
mov byte [esp + 0x48], 1
mov eax, edi
mov edi, dword [esp + 0xc]
add dword [edi + 0x60], eax
adc dword [edi + 0x64], 0
add dword [edi + 0x68], 1
adc dword [edi + 0x6c], 0
jmp 0x1005d8bd
sete byte [esp + 0x27]
lea eax, [esp + 0x50]
mov ecx, esi
push edi
push eax
call fcn.100505e0
cmp byte [esp + 0x48], 0
jne 0x1005d96e
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 1
mov dword [esp + 0x38], eax
add eax, edi
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
adc ecx, 0
mov dword [esp + 0x44], ecx
mov byte [esp + 0x48], 1
add dword [ebx + 0x60], edi
adc dword [ebx + 0x64], 0
add dword [ebx + 0x68], 1
adc dword [ebx + 0x6c], 0
mov edi, ebx
lea eax, [esp + 0x27]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edi
lea eax, [esp + 0x26]
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x5c], eax
mov byte [esp + 0x60], 1
cmp byte [esp + 0x48], 0
je 0x1005d8fe
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
lea edi, [esp + 0x28]
push edi
push dword [eax]
call fcn.10050d30
add esp, 8
cmp byte [edi + 0x20], 0
jne 0x1005d927
xor eax, eax
mov esi, dword [esp + 8]
mov dword [esi + 4], eax
mov dword [esi], eax
lea ecx, [esp + 0x50]
call fcn.10050f10
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.10039ea0
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x14]
movups xmm0, xmmword [eax + 4]
mov edx, dword [eax]
sub esp, 0x14
mov dword [esp + 0x10], ecx
movups xmmword [esp], xmm0
lea esi, [esp + 0x3c]
mov ecx, esi
call fcn.1005dd40
add esp, 0x14
cmp byte [esi + 0x20], 0
je 0x1005d9bd
movsd xmm0, qword [esp + 0x38]
mov esi, dword [esp + 8]
movsd qword [esi], xmm0
jmp 0x1005d909
add dword [ebx + 0x78], edi
adc dword [ebx + 0x7c], 0
jmp 0x1005d8bb
mov dword [0x1008f8f4], 0x1008373c
int3
mov eax, dword [esp + 4]
add dword [edi + 0x78], eax
adc dword [edi + 0x7c], 0
jmp 0x1005d8bd
mov dword [0x1008f8f4], 0x10083516
int3
mov dword [0x1008f8f4], 0x10082d42
int3
mov dword [0x1008f8f4], 0x1008371f
int3