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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x88
mov eax, dword [ecx + 8]
mov dword [esp + 0x34], ecx
lea ecx, [edx + 0x20]
mov ebx, edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x64], ecx
mov edi, dword [eax + 0x4c]
imul eax, dword [eax + 0x54], 0x11c
add eax, edi
mov dword [esp + 0x68], eax
cmp edi, dword [esp + 0x68]
je 0x42fceb
mov esi, dword [edi + 0xdc]
mov dword [esp + 0x1c], edi
test esi, esi
je 0x42fa84
mov eax, dword [edi + 0x3c]
mov edi, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x28]
mov edi, dword [edi + 0x40]
mov dword [esp], eax
mov dword [esp + 4], edi
mov edi, dword [esp + 0x1c]
call fcn.004208bb
test al, al
je 0x42fb86
mov esi, dword [edi + 0xd0]
test esi, esi
je 0x42fce0
mov eax, dword [edi + 0x3c]
mov edi, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x20]
mov edx, dword [ebx + 0x28]
mov edi, dword [edi + 0x40]
mov dword [esp], eax
mov dword [esp + 4], edi
mov edi, dword [esp + 0x1c]
call fcn.004208bb
test al, al
jne 0x42fce0
mov edi, dword [edi + 0xc8]
mov ecx, esi
call fcn.004370e9
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
and dword [esp + 0x30], 0
lea ecx, [esp + 0x28]
mov edx, esi
call fcn.00437129
mov eax, dword [esp + 0x30]
xor ebx, ebx
mov ebp, eax
add eax, esi
shl ebp, 4
mov dword [esp + 0x24], eax
add ebp, dword [esp + 0x28]
mov edx, dword [edi + ebx]
mov eax, dword [edi + ebx + 4]
lea ecx, [esp + 0x38]
mov dword [esp], eax
call fcn.004189a1
movsd xmm0, qword [esp + 0x38]
movsd xmm1, qword [esp + 0x40]
movsd qword [ebp + ebx*2 + 8], xmm1
movsd qword [ebp + ebx*2], xmm0
add ebx, 8
dec esi
jne 0x42faf4
movsd xmm0, qword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x34]
and dword [esp + 0x10], 0
and dword [esp + 4], 0
lea ecx, [esp + 0x7c]
lea esi, [esp + 0x38]
mov dword [esp], 3
mov dword [esp + 0xc], ecx
mov ecx, esi
movsd qword [esp + 0x7c], xmm0
mov dword [esp + 0x84], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 8], edi
call fcn.0042dc94
cmp dword [esp + 0x38], 9
je 0x42fcef
mov ecx, esi
jmp 0x42fcdb
mov edi, dword [edi + 0xd4]
imul esi, esi, 0x18
add esi, edi
mov dword [esp + 0x60], esi
mov ebp, edi
cmp edi, esi
mov edi, dword [esp + 0x1c]
je 0x42fa84
mov edx, dword [ebp]
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x64]
lea edi, [ebp + 0x18]
mov dword [esp], eax
call fcn.004212a1
test eax, eax
je 0x42fb95
cmp dword [ebp + 8], 0
je 0x42fc57
lea ecx, [ebp + 8]
mov dword [esp + 0x6c], ecx
mov ecx, dword [eax + 0x30]
imul esi, dword [eax + 0x38], 0xc
lea eax, [ecx + esi]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
and dword [esp + 0x48], 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x28], eax
test esi, esi
je 0x42fc21
lea ebx, [ecx + 0xc]
mov eax, dword [ecx]
mov ecx, dword [ecx + 8]
lea edx, [esp + 0x40]
shl ecx, 4
mov dword [esp + 0x40], eax
add ecx, eax
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x28]
call fcn.00436870
add esi, 0xfffffff4
test al, al
mov ecx, ebx
je 0x42fbf0
jmp 0x42fc53
mov eax, dword [esp + 0x24]
mov dword [esp + 0x38], eax
and dword [esp + 0x40], 0
cmp dword [esp + 0x48], 0
je 0x42fc46
lea ecx, [esp + 0x28]
lea edx, [esp + 0x48]
call fcn.00436870
test al, al
jne 0x42fc53
mov ebx, dword [esp + 0x20]
mov esi, dword [esp + 0x60]
jmp 0x42fb95
mov ebx, dword [esp + 0x20]
cmp dword [ebp + 0x10], 0
mov edi, dword [esp + 0x1c]
je 0x42fce0
push 0x10
pop ecx
push 4
pop edx
call fcn.004fc1d3
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x10]
lea ebp, [esp + 0x38]
mov esi, eax
mov dword [esp], ecx
mov ecx, ebp
call fcn.004189a1
movsd xmm0, qword [esp + 0x38]
movsd xmm1, qword [esp + 0x40]
mov edx, dword [esp + 0x34]
xor eax, eax
mov ecx, ebp
inc eax
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm0
and dword [esp + 0x10], 0
and dword [esp + 4], 0
mov dword [esp + 0x70], esi
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x18], ebx
mov dword [esp + 8], edi
mov dword [esp], 3
mov dword [esp + 0xc], eax
call fcn.0042dc94
cmp dword [esp + 0x38], 9
je 0x42fcef
mov ecx, ebp
call fcn.0042f5ac
add edi, 0x11c
jmp 0x42fa44
xor eax, eax
jmp 0x42fcf3
mov eax, dword [esp + 0x3c]
add esp, 0x88
pop esi
pop edi
pop ebx
pop ebp
ret