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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x108
mov esi, dword [ebp + 8]
cmp dword [edx + 0xc], 0
mov ebx, ecx
je 0x41f242
movsd xmm1, qword [edx + 0x30]
movsd xmm2, qword [edx + 0x18]
movsd xmm0, qword [edx + 0x38]
movsd xmm3, qword [edx + 0x20]
lea edi, [esp + 0xa8]
mov ecx, 0x12
movsd qword [ebx + 0x10], xmm1
movsd xmm1, qword [edx + 0x28]
movsd qword [esp + 0xa0], xmm2
movsd xmm2, qword [edx]
movsd qword [ebx + 0x18], xmm0
movsd qword [ebx], xmm3
movsd qword [ebx + 8], xmm1
movsd xmm1, qword [edx + 0x10]
movsd qword [esp + 0x88], xmm2
add ebx, 0x20
movsd qword [esp + 0x98], xmm1
movsd xmm1, qword [edx + 8]
movsd qword [esp + 0x90], xmm1
rep movsd dword es:[edi], dword [esi]
lea esi, [esp + 0x88]
mov ecx, 0x1a
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
jmp 0x41f545
mov edi, dword [edx + 0x1c]
lea eax, [edx + 0x20]
mov ecx, dword [edx + 0x14]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 8], edi
mov edi, dword [edx + 0x20]
mov dword [esp + 0xc], edi
mov edi, dword [edx + 0x28]
mov dword [esp + 0x28], edi
mov edi, dword [edx + 0x18]
mov dword [esp + 0x14], edi
mov edi, dword [edx + 0x24]
mov dword [esp + 0x24], edi
mov edi, dword [edx + 0x2c]
mov dword [esp + 4], edi
test eax, eax
jne 0x41f54d
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
test ecx, ecx
jne 0x41f567
mov ecx, dword [esp + 0x14]
cmp ecx, 2
jne 0x41f6bb
cmp byte [esi + 0x38], 0
mov dword [esp + 0x14], 3
jne 0x41f4e8
mov eax, dword [esi + 0x20]
mov dword [esp + 8], eax
mov eax, esi
mov esi, dword [esi + 0x24]
mov ecx, dword [eax + 8]
mov ebx, dword [eax + 0xc]
mov edi, dword [eax + 0x34]
mov edx, dword [eax + 0x30]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x24], ebx
mov dword [esp + 4], ecx
mov dword [esp + 0x28], eax
nop word cs:[eax + eax]
cmp esi, dword [esp + 8]
je 0x41f4e8
mov ecx, dword [ebp + 8]
mov eax, esi
add esi, 0xffffffe0
mov dword [ecx + 0x24], esi
mov ecx, edi
cmp edx, dword [eax - 0x10]
sbb ecx, dword [eax - 0xc]
jae 0x41f4e1
mov ecx, dword [esp + 0xc]
cmp ecx, dword [esi + 8]
mov ecx, ebx
sbb ecx, dword [esi + 0xc]
jae 0x41f2f0
mov ebx, edx
mov edx, edi
mov edi, dword [esp + 0x28]
mov ecx, dword [esi + 4]
cmp dword [esi], edi
mov edi, edx
mov edx, ebx
mov ebx, dword [esp + 0x24]
sbb ecx, dword [esp + 4]
jae 0x41f2f0
mov esi, dword [ebp + 8]
mov ecx, dword [eax - 8]
mov eax, dword [esi + 0x18]
mov edx, dword [eax + 0x10]
cmp ecx, edx
jae 0x41f72d
mov ebx, dword [esi + 4]
imul edi, ecx, 0x150
add edi, dword [eax + 0xc]
mov eax, dword [esi]
mov dword [esp + 0xc], ebx
mov ebx, dword [esi + 0x44]
mov dword [esp + 8], eax
mov edx, edi
lea ecx, [esp + 0x88]
push ebx
call fcn.0041b8b0
mov edx, dword [esp + 0x10]
add esp, 4
cmp dword [esp + 0x88], 0
mov eax, dword [esp + 8]
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], eax
mov dword [esp + 0x84], ebx
je 0x41f3e6
lea eax, [esp + 0x90]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0xf8], xmm1
movsd qword [esp + 0xf0], xmm0
lea eax, [esp + 0xf0]
lea ecx, [esp + 0x48]
lea edx, [esp + 0x78]
push eax
call fcn.0041bd60
add esp, 4
mov dword [esp], 0
jmp 0x41f43d
lea ecx, [esp + 0x90]
lea eax, [esp + 0x58]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], edi
mov dword [esp], ebx
movsd xmm0, qword [ecx + 0x20]
movsd xmm1, qword [ecx + 0x10]
movsd qword [eax + 0x18], xmm0
movsd xmm0, qword [ecx + 0x18]
movsd qword [eax + 8], xmm1
movsd qword [eax + 0x10], xmm0
movsd xmm0, qword [ecx + 8]
movsd qword [eax], xmm0
mov eax, dword [ecx + 4]
movsd xmm0, qword [ecx - 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0x50], eax
movsd qword [esp + 0x48], xmm0
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x48]
mov edi, dword [esp + 0x4c]
movsd xmm0, qword [esp + 0x68]
mov ebx, dword [esp + 0x34]
cmp dword [esp], 0
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x10]
mov dword [edx], ecx
mov ecx, dword [esp + 0x18]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edx + 8], ecx
mov ecx, dword [esp]
mov dword [edx + 0xc], ecx
mov ecx, dword [esp + 0x14]
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], edi
mov dword [edx + 0x18], ecx
mov ecx, dword [esp + 8]
mov dword [edx + 0x1c], ecx
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xc], ecx
mov dword [edx + 0x20], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x24], ecx
mov dword [edx + 0x24], ecx
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x28], ecx
mov dword [edx + 0x28], ecx
mov ecx, dword [esp + 0x64]
mov dword [edx + 0x2c], ecx
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x74]
movsd qword [edx + 0x30], xmm0
mov dword [edx + 0x3c], ecx
mov ecx, dword [esp + 0x70]
mov dword [edx + 0x38], ecx
mov ecx, edi
je 0x41f281
jmp 0x41f1be
mov eax, dword [ebp + 8]
mov byte [eax + 0x38], 1
mov dword [esp], 0
xor edi, edi
mov ebx, dword [esp + 0x34]
mov eax, dword [esp + 0x14]
mov dword [ebx], edi
mov dword [ebx + 4], eax
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], edx
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x24]
mov dword [ebx + 0x10], edx
mov edx, dword [esp + 0x28]
mov dword [ebx + 0x14], esi
mov esi, dword [esp + 4]
mov dword [ebx + 0x18], edx
mov edx, dword [esp + 0x18]
mov dword [ebx + 0x1c], esi
mov esi, dword [esp]
mov dword [ebx + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ebx + 0x24], esi
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x2c], edx
mov dword [ebx + 0x30], ecx
mov ecx, dword [esp + 0x30]
mov dword [ebx + 0x34], ecx
mov byte [ebx + 0x78], 2
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [esp + 0x14]
mov edi, 1
mov dword [esp], ecx
mov dword [esp + 0x20], eax
jmp 0x41f4f1
mov dword [esp + 0x88], 4
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
mov dword [esp], ecx
mov edi, dword [esi]
mov esi, dword [esi + 4]
mov ebx, dword [esp + 4]
mov eax, 0
mov ecx, dword [ecx + 0xc]
test ecx, ecx
je 0x41f6db
mov eax, dword [esp]
mov dword [esp + 0x2c], 4
mov dword [esp + 0x1c], edi
mov dword [esp + 0x18], esi
mov ebx, dword [eax]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0x40], ebx
mov ebx, dword [esp + 4]
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x10], edx
mov dword [esp + 4], ebx
mov edi, ecx
mov dword [esp + 0x44], ecx
mov edx, ecx
mov ecx, dword [esp + 0x10]
xor ebx, ebx
mov dword [esp + 0x3c], eax
jmp 0x41f5fd
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
mov edx, edi
mov edi, edx
sub edi, ebx
jbe 0x41f6d7
shr edi, 1
add edi, ebx
lea esi, [edi + edi*2]
cmp dword [ecx + esi*8 + 0x10], eax
ja 0x41f5f1
jb 0x41f636
mov eax, dword [esp + 0x1c]
lea ecx, [ecx + esi*8]
cmp eax, dword [ecx]
mov eax, dword [esp + 0x18]
sbb eax, dword [ecx + 4]
jb 0x41f5e9
mov eax, dword [esp + 0x1c]
cmp eax, dword [ecx + 8]
mov eax, dword [esp + 0x18]
sbb eax, dword [ecx + 0xc]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
jb 0x41f644
inc edi
mov ebx, edi
mov edi, edx
sub edi, ebx
ja 0x41f5fd
jmp 0x41f6d7
mov esi, dword [ecx + esi*8 + 0x14]
cmp esi, dword [esp + 0x38]
jae 0x41f73c
cmp eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x2c]
jne 0x41f67d
lea ecx, [esp + 0x88]
mov edx, eax
call fcn.004016a0
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x90]
jmp 0x41f67f
mov edx, eax
lea eax, [esi + esi*4]
mov esi, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov ebx, dword [esp + 4]
inc edi
lea eax, [esi + eax*8]
mov esi, dword [esp + 0x10]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x44]
inc edx
lea eax, [edi + edi*2]
mov dword [esp + 0x90], edx
lea esi, [esi + eax*8]
mov eax, edx
sub ecx, edi
mov dword [esp + 0x10], esi
jne 0x41f5d5
jmp 0x41f6db
mov dword [esp + 0x20], edx
mov edx, eax
mov esi, ecx
mov dword [esp], 0
mov dword [esp + 0x14], 4
jmp 0x41f4ef
mov ebx, dword [esp + 4]
mov ecx, dword [esp + 0x88]
mov esi, dword [esp + 0x28]
mov edi, dword [ebp + 8]
mov dword [esp + 0x28], ebx
lea edx, [ecx + eax*4]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x24], esi
mov esi, dword [edi + 0x40]
mov edi, dword [edi + 0x44]
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0x8c]
mov eax, dword [edi]
mov dword [esp + 4], esi
mov esi, dword [esp + 8]
xor edi, edi
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xc]
add eax, 8
mov dword [esp + 0x18], eax
jmp 0x41f4f1
push 0x8f8048
call fcn.00403c60
add esp, 4
ud2
mov edx, dword [esp + 0x38]
mov ecx, esi
push 0x8f80f4
call fcn.00403c60
add esp, 4
ud2