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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x134
mov esi, edx
mov edx, dword [edx]
mov edi, dword [esp + 0x148]
mov ebx, ecx
test edx, edx
je 0x42bacf
mov ebp, ebx
lea ebx, [esp + 0x4c]
mov ecx, ebx
push dword [edi + 0x18]
push dword [edi + 0x14]
push dword [esi + 4]
call fcn.0042b3fe
add esp, 0xc
cmp dword [ebx], 0
je 0x42bb47
mov eax, dword [edi + 0x18]
movsd xmm1, qword [edi + 8]
movsd xmm0, qword [edi + 0x10]
movsd xmm2, qword [edi]
mov dword [esp + 0x38], eax
movsd qword [esp + 0x28], xmm1
movsd xmm1, qword [ebx + 4]
mov eax, dword [ebx + 0xc]
mov ebx, ebp
movsd qword [esp + 0x30], xmm0
movsd qword [esp + 0x20], xmm2
mov dword [esp + 0x3c], esi
movsd qword [esp + 0x40], xmm1
mov dword [esp + 0x48], eax
jmp 0x42baff
mov eax, dword [edi + 0x18]
movsd xmm0, qword [edi + 0x10]
movsd xmm2, qword [edi]
movsd xmm1, qword [edi + 8]
mov dword [esp + 0x38], eax
movsd qword [esp + 0x30], xmm0
movsd qword [esp + 0x28], xmm1
movsd qword [esp + 0x20], xmm2
mov dword [esp + 0x3c], esi
and dword [esp + 0x40], 0
cmp dword [esp + 0x20], 0x80000000
je 0x42bb62
mov ebp, dword [esp + 0x40]
test ebp, ebp
je 0x42bbb9
cmp word [ebp + 0x1ea], 0xb
lea eax, [esp + 0x20]
mov dword [esp + 0x18], ebx
jae 0x42bc43
lea edx, [esp + 0x40]
lea ecx, [esp + 0x4c]
push dword [esp + 0x14c]
push eax
call fcn.0042c39a
pop eax
pop ecx
jmp 0x42c1d9
mov eax, dword [ebx + 0xc]
movsd xmm0, qword [ebx + 4]
mov ecx, edi
mov dword [esp + 0x2c], eax
movsd qword [esp + 0x24], xmm0
call fcn.0042a831
mov ebx, ebp
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x14c]
shl ecx, 4
movsd xmm0, qword [eax + ecx]
movsd xmm1, qword [eax + ecx + 8]
movsd qword [esp + 0x54], xmm1
movsd qword [esp + 0x4c], xmm0
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
movsd qword [eax + ecx + 8], xmm1
movsd qword [eax + ecx], xmm0
movsd xmm0, qword [esp + 0x4c]
movsd xmm1, qword [esp + 0x54]
movsd qword [ebx + 8], xmm1
movsd qword [ebx], xmm0
jmp 0x42c1ea
call fcn.0042c3f2
movzx ecx, word [eax + 0x1ea]
cmp ecx, 0xb
jae 0x42c1f5
mov edi, dword [esp + 0x38]
movsd xmm0, qword [esp + 0x30]
lea edx, [ecx + 1]
movsd xmm1, qword [esp + 0x28]
mov dword [esi], eax
and dword [esi + 4], 0
mov dword [esi + 8], 1
mov word [eax + 0x1ea], dx
imul edx, ecx, 0x1c
shl ecx, 4
mov dword [eax + edx + 0xcc], edi
movsd qword [eax + edx + 0xc4], xmm0
movsd xmm0, qword [esp + 0x20]
mov edi, dword [esp + 0x14c]
movsd qword [eax + edx + 0xbc], xmm1
movsd qword [eax + edx + 0xb4], xmm0
movsd xmm0, qword [edi]
movsd xmm1, qword [edi + 8]
movsd qword [eax + ecx + 8], xmm1
movsd qword [eax + ecx], xmm0
jmp 0x42c1e4
mov eax, dword [esp + 0x48]
cmp eax, 5
jae 0x42bc5a
mov cl, 1
mov dword [esp], eax
mov dword [esp + 4], ecx
push 4
pop esi
jmp 0x42bc93
je 0x42bc75
cmp eax, 6
jne 0x42bc82
push 5
pop esi
mov dword [esp + 4], 0
mov dword [esp], 0
jmp 0x42bc93
mov cl, 1
mov dword [esp], eax
mov esi, eax
mov dword [esp + 4], ecx
jmp 0x42bc93
push 6
pop esi
add eax, 0xfffffff9
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
call fcn.0042c3f2
movzx edx, word [ebp + 0x1ea]
mov edi, esi
imul ecx, esi, 0x1c
mov dword [esp + 8], eax
not edi
add edi, edx
mov word [eax + 0x1ea], di
movsd xmm0, qword [ebp + ecx + 0xc8]
mov eax, dword [ebp + ecx + 0xb4]
movsd qword [esp + 0x98], xmm0
movsd xmm0, qword [ebp + ecx + 0xc0]
movsd qword [esp + 0x90], xmm0
movsd xmm0, qword [ebp + ecx + 0xb8]
mov ecx, esi
shl ecx, 4
cmp edi, 0xc
movsd qword [esp + 0x88], xmm0
movsd xmm0, qword [ebp + ecx]
movsd xmm1, qword [ebp + ecx + 8]
movsd qword [esp + 0x10c], xmm0
movsd qword [esp + 0x114], xmm1
jae 0x42c1f5
lea ebx, [esi + 1]
mov dword [esp + 0x1c], eax
sub edx, ebx
cmp edx, edi
jne 0x42c1f5
mov ecx, dword [esp + 8]
lea eax, [ebp + 0xb4]
imul edx, ebx, 0x1c
add edx, eax
imul eax, edi, 0x1c
add ecx, 0xb4
push eax
push edx
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
shl ebx, 4
shl edi, 4
add ebx, ebp
push edi
push ebx
mov ebx, dword [esp + 0x10]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov word [ebp + 0x1ea], si
lea edx, [esp + 0x88]
lea eax, [esp + 0x4c]
movsd xmm1, qword [edx + 8]
movsd xmm0, qword [edx]
movsd xmm2, qword [esp + 0x10c]
movsd qword [eax + 8], xmm1
movsd xmm1, qword [edx + 0x10]
movsd qword [eax], xmm0
movsd qword [eax + 0x10], xmm1
movsd xmm1, qword [esp + 0x114]
movsd qword [eax + 0x18], xmm2
movsd qword [eax + 0x20], xmm1
push 0xa
pop ecx
lea edi, [esp + 0xe0]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
cmp byte [esp + 4], 0
cmovne ecx, ebp
mov dword [eax], ecx
mov ecx, 0
cmovne ecx, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov ecx, dword [esp]
mov dword [eax + 8], ecx
mov ecx, edx
mov edx, eax
push dword [esp + 0x14c]
lea eax, [esp + 0x24]
push eax
call fcn.0042c39a
pop eax
pop ecx
mov eax, dword [esp + 0x1c]
cmp eax, 0x80000000
je 0x42c1d9
lea edi, [esp + 0x8c]
mov dword [esp], 0
mov dword [edi - 4], eax
push 0xa
pop ecx
lea esi, [esp + 0xe0]
rep movsd dword es:[edi], dword [esi]
mov ebx, dword [ebp + 0xb0]
test ebx, ebx
je 0x42c0db
mov eax, dword [esp]
cmp dword [esp + 0x14], eax
jne 0x42c1f5
movzx eax, word [ebx + 0x1ea]
movzx edx, word [ebp + 0x1e8]
cmp eax, 0xb
jb 0x42c1bb
cmp dx, 5
mov dword [esp + 0x1c], eax
jae 0x42be6e
mov dword [esp + 0x10], edx
push 4
pop edi
jmp 0x42be8a
cmp edx, 5
je 0x42be84
cmp edx, 6
jne 0x42be8e
mov dword [esp + 0x10], 0
push 5
jmp 0x42be97
mov edi, edx
mov dword [esp + 0x10], edx
push 0x2c
jmp 0x42be9a
add edx, 0xfffffff9
mov dword [esp + 0x10], edx
push 6
pop edi
push 0x34
pop eax
mov dword [esp + 0xc], eax
call fcn.0042c1f7
movzx esi, word [ebx + 0x1ea]
mov ebp, edi
imul ecx, edi, 0x1c
mov dword [esp], eax
not ebp
add ebp, esi
mov word [eax + 0x1ea], bp
mov edx, dword [ebx + ecx + 0xcc]
mov dword [esp + 0xcc], edx
movsd xmm0, qword [ebx + ecx + 0xc4]
movsd qword [esp + 0xc4], xmm0
movsd xmm0, qword [ebx + ecx + 0xb4]
movsd xmm1, qword [ebx + ecx + 0xbc]
mov ecx, edi
shl ecx, 4
cmp ebp, 0xc
movsd qword [esp + 0xbc], xmm1
movsd qword [esp + 0xb4], xmm0
movsd xmm0, qword [ebx + ecx]
movsd xmm1, qword [ebx + ecx + 8]
movsd qword [esp + 0xd0], xmm0
movsd qword [esp + 0xd8], xmm1
jae 0x42c1f5
mov ecx, edi
mov dword [esp + 4], edi
inc edi
sub esi, edi
cmp esi, ebp
jne 0x42c1f5
mov edx, dword [esp]
lea eax, [ebx + 0xb4]
lea ecx, [edx + 0xb4]
mov esi, edx
imul edx, edi, 0x1c
add edx, eax
imul eax, ebp, 0x1c
push eax
push edx
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
shl edi, 4
shl ebp, 4
add edi, ebx
push ebp
push edi
mov edi, esi
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [esp + 4]
lea esi, [esp + 0xe0]
mov word [ebx + 0x1ea], cx
movsd xmm1, qword [esp + 0xbc]
mov eax, dword [esp + 0xcc]
movsd xmm0, qword [esp + 0xb4]
movsd xmm2, qword [esp + 0xd0]
movsd qword [esp + 0xe8], xmm1
movsd xmm1, qword [esp + 0xc4]
mov dword [esp + 0xf8], eax
movzx eax, word [edi + 0x1ea]
movsd qword [esp + 0xe0], xmm0
movsd qword [esp + 0xf0], xmm1
movsd xmm1, qword [esp + 0xd8]
cmp eax, 0xc
movsd qword [esi + 0x1c], xmm2
movsd qword [esi + 0x24], xmm1
jae 0x42c1f5
mov edx, dword [esp + 0x1c]
inc eax
sub edx, ecx
cmp edx, eax
jne 0x42c1f5
mov ebp, dword [esp]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 4]
shl edx, 2
mov eax, ebp
inc edi
lea ecx, [ebx + ecx*4 + 0x1f0]
add eax, 0x1ec
push edx
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, ebp
mov edx, edi
call fcn.0042c21a
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], edi
push 0xb
pop ecx
lea edi, [esp + 0x4c]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + eax + 0x4c]
push dword [esp + 8]
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.0042c253
add esp, 0xc
mov eax, dword [esp + 0x4c]
push 0xa
pop edx
lea ebx, [esp + 0x10c]
mov ecx, edx
lea esi, [esp + 0x50]
cmp eax, 0x80000000
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
je 0x42c1d9
mov ecx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x78]
mov dword [esp + 0x88], eax
lea edi, [esp + 0x8c]
mov esi, ebx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x84]
mov dword [esp], ecx
mov ecx, edx
jmp 0x42be27
push 0xb
pop ecx
lea edi, [esp + 0x4c]
lea esi, [esp + 0x88]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x3c]
mov ebp, dword [edi]
test ebp, ebp
je 0x42c1f5
mov esi, dword [edi + 4]
call fcn.0042c1f7
inc esi
mov ecx, eax
mov dword [eax + 0x1ec], ebp
mov edx, esi
call fcn.0042c21a
mov dword [edi], eax
mov dword [edi + 4], edx
dec edx
cmp edx, dword [esp]
jne 0x42c1f5
movzx ecx, word [eax + 0x1ea]
mov ebx, dword [esp + 0x18]
cmp ecx, 0xb
jae 0x42c1f5
lea edx, [ecx + 1]
imul esi, ecx, 0x1c
mov word [eax + 0x1ea], dx
movsd xmm0, qword [esp + 0x88]
movsd xmm1, qword [esp + 0x90]
movsd xmm2, qword [esp + 0x98]
mov edi, dword [esp + 0xa0]
mov dword [eax + esi + 0xcc], edi
movsd qword [eax + esi + 0xc4], xmm2
movsd qword [eax + esi + 0xbc], xmm1
movsd qword [eax + esi + 0xb4], xmm0
mov edi, dword [esp + 8]
mov esi, ecx
movsd xmm0, qword [esp + 0x68]
movsd xmm1, qword [esp + 0x70]
shl esi, 4
movsd qword [eax + esi + 8], xmm1
movsd qword [eax + esi], xmm0
mov dword [eax + ecx*4 + 0x1f0], edi
mov dword [edi + 0xb0], eax
mov word [edi + 0x1e8], dx
jmp 0x42c1dd
mov ecx, ebx
push dword [esp + 8]
lea eax, [esp + 0xa8]
push eax
lea eax, [esp + 0x90]
push eax
call fcn.0042c253
add esp, 0xc
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x3c]
inc dword [eax + 8]
mov dword [ebx], 0x80000000
add esp, 0x134
pop esi
pop edi
pop ebx
pop ebp
ret
ud2