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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
mov eax, dword [ebp + 8]
test byte [edx + 0xb], 1
mov edi, edx
mov ebx, ecx
jne 0x1005d374
mov ecx, dword [eax + 8]
mov esi, dword [eax + 0xc]
cmp ecx, esi
jae 0x1005d41f
inc ecx
mov dword [esp + 0x10], ecx
mov dword [eax + 8], ecx
jmp 0x1005d38a
mov ecx, dword [eax + 8]
mov esi, dword [eax + 0xc]
cmp ecx, esi
jae 0x1005d41f
dec esi
mov dword [esp + 0x10], ecx
mov dword [eax + 0xc], esi
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
push eax
call fcn.100580b0
add esp, 4
movsd xmm1, qword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
movsd xmm2, qword [esp + 0x34]
mov eax, dword [esp + 0x18]
movsd xmm0, qword [esp + 0x24]
mov edx, dword [esp + 0x20]
movsd qword [esp + 0x68], xmm1
movsd xmm1, qword [esp + 0x3c]
mov dword [esp + 4], ecx
movsd qword [esp + 0x70], xmm2
movsd xmm2, qword [esp + 0x44]
mov ecx, dword [esp + 0x54]
cmp eax, 0x2a
movsd qword [esp + 0x60], xmm0
movsd qword [esp + 0x78], xmm1
movsd xmm1, qword [esp + 0x4c]
movsd qword [esp + 0x80], xmm2
mov dword [esp + 0x90], ecx
movsd qword [esp + 0x88], xmm1
je 0x1005d4ca
cmp eax, 0x2b
jne 0x1005d5e3
cmp dword [edi + 0x20], 0
jne 0x1005d742
lea edx, [edi + 0x24]
lea eax, [esp + 0xcc]
lea ecx, [esp + 0x18]
mov dword [edi + 0x20], 0xffffffff
mov dword [esp + 0xd0], 0
mov dword [esp + 0xcc], 0
push eax
call fcn.10056090
add esp, 4
inc dword [edi + 0x20]
lea edx, [ebx + 8]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
cmp eax, 0x2a
jne 0x1005d474
mov dword [edx], ecx
jmp 0x1005d4c0
movsd xmm2, qword [esp + 0x48]
movsd xmm1, qword [esp + 0x40]
movsd xmm0, qword [esp + 0x50]
movsd qword [edx + 0x28], xmm2
movsd qword [edx + 0x20], xmm1
movsd xmm2, qword [esp + 0x38]
movsd xmm1, qword [esp + 0x30]
movsd qword [edx + 0x30], xmm0
movsd qword [edx + 0x18], xmm2
movsd qword [edx + 0x10], xmm1
movsd xmm2, qword [esp + 0x20]
movsd xmm1, qword [esp + 0x28]
movsd qword [edx + 8], xmm1
movsd qword [edx], xmm2
mov dword [ebx + 4], ecx
mov dword [ebx], eax
jmp 0x1005d730
mov dword [esp], ebx
lea ebx, [esp + 0x24]
lea eax, [edi + 0x24]
mov dword [esp + 0x5c], eax
nop dword [eax + eax]
test byte [edi + 0xb], 1
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x58], edx
jne 0x1005d510
cmp ecx, esi
jae 0x1005d64f
inc ecx
mov dword [esp + 0x10], ecx
mov dword [eax + 8], ecx
jmp 0x1005d51c
cmp ecx, esi
jae 0x1005d64f
dec esi
mov dword [eax + 0xc], esi
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x18]
push dword [esp + 8]
call fcn.100580b0
add esp, 4
movsd xmm1, qword [ebx + 8]
mov edx, dword [esp + 0x20]
movsd xmm2, qword [ebx + 0x10]
mov ecx, dword [esp + 0x18]
movsd xmm0, qword [ebx]
mov eax, dword [esp + 0x1c]
movsd qword [esp + 0xa0], xmm1
movsd xmm1, qword [ebx + 0x18]
mov dword [esp + 0x14], edx
movsd qword [esp + 0xa8], xmm2
movsd xmm2, qword [ebx + 0x20]
mov edx, dword [ebx + 0x30]
cmp ecx, 0x2a
movsd qword [esp + 0x98], xmm0
movsd qword [esp + 0xb0], xmm1
movsd xmm1, qword [ebx + 0x28]
movsd qword [esp + 0xb8], xmm2
mov dword [esp + 0xc8], edx
movsd qword [esp + 0xc0], xmm1
jne 0x1005d646
cmp dword [edi + 0x20], 0
jne 0x1005d738
mov edx, dword [esp + 0x5c]
mov dword [edi + 0x20], 0xffffffff
lea ecx, [esp + 0x18]
push eax
push dword [esp + 0x5c]
call fcn.10056590
add esp, 8
inc dword [edi + 0x20]
cmp dword [esp + 0x18], 0x2a
jne 0x1005d6d6
mov edx, dword [esp + 0x14]
jmp 0x1005d4e0
movsd xmm1, qword [esp + 0x80]
mov ecx, dword [esp + 0x90]
movsd xmm2, qword [esp + 0x78]
movsd xmm0, qword [esp + 0x88]
movsd qword [ebx + 0x2c], xmm1
movsd xmm1, qword [esp + 0x70]
mov dword [ebx + 0x3c], ecx
movsd qword [ebx + 0x24], xmm2
movsd xmm2, qword [esp + 0x60]
mov ecx, dword [esp + 4]
movsd qword [ebx + 0x34], xmm0
movsd qword [ebx + 0x1c], xmm1
movsd xmm1, qword [esp + 0x68]
movsd qword [ebx + 0xc], xmm2
movsd qword [ebx + 0x14], xmm1
mov dword [ebx], eax
mov dword [ebx + 4], ecx
mov dword [ebx + 8], edx
jmp 0x1005d730
mov edx, dword [esp + 0x58]
cmp ecx, 0x2b
jne 0x1005d667
mov eax, dword [esp]
mov ecx, dword [esp + 4]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
mov dword [eax], 0x2a
jmp 0x1005d730
mov esi, dword [esp]
movsd xmm1, qword [esp + 0xb8]
movsd xmm2, qword [esp + 0xb0]
mov edx, dword [esp + 0xc8]
movsd xmm0, qword [esp + 0xc0]
movsd qword [esi + 0x2c], xmm1
movsd xmm1, qword [esp + 0xa8]
movsd qword [esi + 0x24], xmm2
movsd xmm2, qword [esp + 0x98]
mov dword [esi + 0x3c], edx
movsd qword [esi + 0x34], xmm0
movsd qword [esi + 0x1c], xmm1
movsd xmm1, qword [esp + 0xa0]
movsd qword [esi + 0xc], xmm2
movsd qword [esi + 0x14], xmm1
mov dword [esi], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
jmp 0x1005d730
mov eax, dword [esp]
movsd xmm1, qword [esp + 0x48]
movsd xmm2, qword [esp + 0x40]
movsd xmm0, qword [esp + 0x50]
movsd qword [eax + 0x30], xmm1
movsd xmm1, qword [esp + 0x38]
movsd qword [eax + 0x28], xmm2
movsd xmm2, qword [esp + 0x30]
movsd qword [eax + 0x38], xmm0
movsd qword [eax + 0x20], xmm1
movsd xmm1, qword [esp + 0x28]
movsd qword [eax + 0x18], xmm2
movsd xmm2, qword [esp + 0x18]
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [esp + 0x20]
movsd qword [eax], xmm2
movsd qword [eax + 8], xmm1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, 0x1012a39c
call fcn.1010d260
mov ecx, 0x1012a3cc
call fcn.1010d260
int3