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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb8
mov edi, dword [edx]
mov esi, dword [ebp + 8]
test edi, edi
je 0x4076b8
mov dword [esp + 0x20], ecx
mov eax, dword [edx + 4]
mov dword [esp + 0x28], edx
mov edx, dword [esi + 4]
mov ecx, dword [esi + 8]
mov dword [esp + 0x10], eax
mov dword [esp], edx
mov dword [esp + 0x18], ecx
movzx eax, word [edi + 0x192]
lea ecx, [edi + 0x10c]
mov dword [esp + 0x14], edi
mov ebx, 0xffffffff
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
lea eax, [eax*4]
lea edi, [eax + eax*2]
test edi, edi
je 0x407670
lea eax, [ecx + 0xc]
mov edx, dword [esp + 0x18]
mov dword [esp + 4], eax
mov eax, dword [ecx + 8]
mov esi, edx
sub esi, eax
cmovb eax, edx
push eax
push dword [ecx + 4]
push dword [esp + 8]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
mov ecx, 0xff
cmovne esi, eax
xor eax, eax
test esi, esi
setne al
cmovs eax, ecx
mov ecx, dword [esp + 4]
inc ebx
add edi, 0xfffffff4
cmp al, 1
je 0x407610
movzx eax, al
test eax, eax
jne 0x407674
jmp 0x407695
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
sub eax, 1
jb 0x4077cd
mov edi, dword [edi + ebx*4 + 0x198]
mov dword [esp + 0x10], eax
jmp 0x4075e8
mov eax, dword [ebp + 8]
mov edi, dword [esp + 0x14]
cmp dword [eax], 0
je 0x4076b2
push dword [esp]
push 0
push dword [0x903200]
call dword [sym.imp.kernel32.dll_HeapFree]
mov ecx, dword [esp + 0x20]
jmp 0x4076c7
mov ebx, edx
mov edx, esi
mov esi, dword [esi]
mov edi, dword [edx + 4]
mov eax, esi
neg eax
jno 0x407743
lea eax, [ebx + ebx*2]
mov edx, dword [ebp + 0xc]
movsd xmm0, qword [edi + eax*8 + 0x10]
movsd qword [esp + 0x88], xmm0
movsd xmm0, qword [edi + eax*8]
movsd xmm1, qword [edi + eax*8 + 8]
movsd qword [esp + 0x78], xmm0
movsd xmm0, qword [edx + 0x10]
movsd qword [esp + 0x80], xmm1
movsd qword [edi + eax*8 + 0x10], xmm0
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
movsd qword [edi + eax*8 + 8], xmm1
movsd qword [edi + eax*8], xmm0
movsd xmm0, qword [esp + 0x88]
movsd xmm2, qword [esp + 0x78]
movsd xmm1, qword [esp + 0x80]
movsd qword [ecx + 0x10], xmm0
movsd qword [ecx], xmm2
movsd qword [ecx + 8], xmm1
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [edx + 8]
mov dword [esp + 0x20], ecx
xor ecx, ecx
mov edx, 0x198
mov dword [esp + 4], eax
movzx eax, byte [0x90320d]
call fcn.0049d570
test eax, eax
je 0x408498
mov ecx, dword [esp + 4]
mov dword [eax + 0x108], 0
mov word [eax + 0x192], 1
mov dword [eax + 0x10c], esi
mov dword [eax + 0x110], edi
mov dword [eax + 0x114], ecx
mov ecx, dword [ebp + 0xc]
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
movsd qword [eax], xmm0
movsd qword [eax + 8], xmm1
movsd xmm0, qword [ecx + 0x10]
mov ecx, dword [esp + 0x20]
movsd qword [eax + 0x10], xmm0
mov dword [ebx], eax
mov dword [ebx + 4], 0
mov dword [ebx + 8], 1
mov byte [ecx], 6
jmp 0x40773b
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x20]
mov edx, dword [eax]
mov eax, edx
neg eax
jno 0x4077e8
mov edi, dword [esp]
mov ebx, dword [esp + 0x28]
jmp 0x4076c7
mov eax, dword [esp + 0xc]
cmp ax, 0xb
jae 0x40785f
mov edi, eax
mov eax, dword [esp + 8]
lea esi, [ebx + ebx*2]
sub edi, ebx
lea ebx, [eax + esi*4]
jbe 0x407970
lea ecx, [edi*4]
lea eax, [eax + esi*4 + 0xc]
lea ecx, [ecx + ecx*2]
push ecx
push ebx
push eax
mov dword [esp + 0x30], edx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov eax, dword [esp + 0x24]
shl edi, 3
lea edx, [edi + edi*2]
mov dword [ebx], eax
mov eax, dword [esp]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x18]
mov dword [ebx + 8], eax
mov ebx, dword [esp + 0x14]
lea eax, [ebx + esi*8]
lea ecx, [ebx + esi*8 + 0x18]
push edx
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [esp + 0x2c]
add esp, 0xc
mov eax, dword [esp + 0x28]
jmp 0x407987
cmp ebx, 5
mov dword [esp + 0x24], edx
jae 0x4079ba
movzx eax, byte [0x90320d]
xor ecx, ecx
mov edx, 0x198
call fcn.0049d570
test eax, eax
je 0x408498
mov dword [eax + 0x108], 0
mov dword [esp + 0x1c], ebx
mov ebx, edi
movzx edi, word [edi + 0x192]
add edi, 0xfffffffb
mov word [eax + 0x192], di
cmp edi, 0xc
movsd xmm1, qword [ebx + 0x68]
mov ecx, dword [ebx + 0x13c]
mov esi, dword [ebx + 0x144]
mov edx, dword [ebx + 0x140]
movsd xmm0, qword [ebx + 0x60]
movsd qword [esp + 0x38], xmm1
mov dword [esp + 4], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edx
movsd xmm1, qword [ebx + 0x70]
movsd qword [esp + 0x30], xmm0
movsd qword [esp + 0x40], xmm1
jae 0x408498
lea edx, [edi*4]
lea ecx, [ebx + 0x148]
mov esi, eax
mov dword [esp + 8], ecx
mov ecx, eax
lea edx, [edx + edx*2]
add ecx, 0x10c
push edx
push dword [esp + 0xc]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
shl edi, 3
lea eax, [ebx + 0x78]
lea ecx, [edi + edi*2]
push ecx
push eax
mov dword [esp + 0x10], esi
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov word [ebx + 0x192], 4
mov eax, dword [esp + 0x1c]
movsd xmm1, qword [esp + 0x38]
movsd xmm0, qword [esp + 0x30]
movsd qword [esp + 0x84], xmm1
movsd xmm1, qword [esp + 0x40]
movsd qword [esp + 0x7c], xmm0
movsd qword [esp + 0x8c], xmm1
jmp 0x407cf2
mov eax, dword [esp]
mov dword [ebx], edx
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x18]
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
mov edx, dword [ebp + 0xc]
mov edi, dword [esp + 0xc]
movsd xmm0, qword [edx + 0x10]
inc edi
movsd qword [ebx + esi*8 + 0x10], xmm0
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
movsd qword [ebx + esi*8 + 8], xmm1
movsd qword [ebx + esi*8], xmm0
mov word [ebx + 0x192], di
jmp 0x408326
je 0x407a99
cmp ebx, 6
jne 0x407be9
movzx eax, byte [0x90320d]
xor ecx, ecx
mov edx, 0x198
call fcn.0049d570
test eax, eax
je 0x408498
mov dword [eax + 0x108], 0
mov ebx, eax
movzx esi, word [edi + 0x192]
add esi, 0xfffffffa
mov word [eax + 0x192], si
cmp esi, 0xc
movsd xmm1, qword [edi + 0x80]
mov eax, dword [edi + 0x148]
mov edx, dword [edi + 0x150]
mov ecx, dword [edi + 0x14c]
movsd xmm0, qword [edi + 0x78]
movsd qword [esp + 0x38], xmm1
mov dword [esp + 4], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
movsd xmm1, qword [edi + 0x88]
movsd qword [esp + 0x30], xmm0
movsd qword [esp + 0x40], xmm1
jae 0x408498
lea edx, [esi*4]
mov ecx, ebx
lea eax, [edi + 0x154]
lea edx, [edx + edx*2]
add ecx, 0x10c
push edx
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
shl esi, 3
lea eax, [edi + 0x90]
lea ecx, [esi + esi*2]
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov word [edi + 0x192], 5
xor eax, eax
jmp 0x407cc4
movzx eax, byte [0x90320d]
xor ecx, ecx
mov edx, 0x198
call fcn.0049d570
test eax, eax
je 0x408498
mov dword [eax + 0x108], 0
mov ebx, edi
movzx edi, word [edi + 0x192]
add edi, 0xfffffffa
mov word [eax + 0x192], di
cmp edi, 0xc
movsd xmm1, qword [ebx + 0x80]
mov ecx, dword [ebx + 0x148]
mov esi, dword [ebx + 0x150]
mov edx, dword [ebx + 0x14c]
movsd xmm0, qword [ebx + 0x78]
movsd qword [esp + 0x38], xmm1
mov dword [esp + 4], ecx
mov dword [esp + 0x10], esi
mov dword [esp + 0xc], edx
movsd xmm1, qword [ebx + 0x88]
movsd qword [esp + 0x30], xmm0
movsd qword [esp + 0x40], xmm1
jae 0x408498
lea ecx, [ebx + 0x78]
lea edx, [edi*4]
mov esi, eax
mov dword [esp + 0x1c], ecx
lea ecx, [ebx + 0x154]
lea edx, [edx + edx*2]
mov dword [esp + 8], ecx
mov ecx, eax
add ecx, 0x10c
push edx
push dword [esp + 0xc]
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
shl edi, 3
lea eax, [ebx + 0x90]
lea ecx, [edi + edi*2]
push ecx
push eax
mov dword [esp + 0x10], esi
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x38]
mov eax, dword [esp + 0x24]
mov edx, dword [esp]
mov ecx, dword [esp + 0x18]
movsd qword [esp + 0x7c], xmm0
movsd xmm0, qword [esp + 0x40]
movsd qword [esp + 0x84], xmm1
movsd qword [esp + 0x8c], xmm0
mov dword [ebx + 0x148], eax
mov dword [ebx + 0x14c], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 0x150], ecx
mov ecx, dword [esp + 0x1c]
movsd xmm0, qword [edx + 0x10]
movsd qword [ecx + 0x10], xmm0
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
mov ecx, dword [esp + 0x20]
mov word [ebx + 0x192], 6
jmp 0x407dac
mov dword [esp + 0x1c], ebx
xor ecx, ecx
mov edx, 0x198
movzx eax, byte [0x90320d]
call fcn.0049d570
test eax, eax
je 0x408498
mov dword [eax + 0x108], 0
mov esi, edi
mov ebx, eax
movzx edi, word [edi + 0x192]
add edi, 0xfffffff9
mov word [eax + 0x192], di
cmp edi, 0xc
movsd xmm1, qword [esi + 0x98]
mov eax, dword [esi + 0x154]
mov edx, dword [esi + 0x15c]
mov ecx, dword [esi + 0x158]
movsd xmm0, qword [esi + 0x90]
movsd qword [esp + 0x38], xmm1
mov dword [esp + 4], eax
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
movsd xmm1, qword [esi + 0xa0]
movsd qword [esp + 0x30], xmm0
movsd qword [esp + 0x40], xmm1
jae 0x408498
add dword [esp + 0x1c], 0xfffffff9
lea edx, [edi*4]
mov ecx, ebx
lea eax, [esi + 0x160]
lea edx, [edx + edx*2]
add ecx, 0x10c
push edx
push eax
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
shl edi, 3
lea eax, [esi + 0xa8]
lea ecx, [edi + edi*2]
push ecx
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov word [esi + 0x192], 6
mov eax, dword [esp + 0x1c]
movsd xmm1, qword [esp + 0x38]
movsd xmm0, qword [esp + 0x30]
movsd qword [esp + 0x84], xmm1
movsd xmm1, qword [esp + 0x40]
movsd qword [esp + 0x7c], xmm0
movsd qword [esp + 0x8c], xmm1
mov dword [esp + 8], ebx
movzx edx, word [ebx + 0x192]
lea ecx, [eax + eax*2]
lea esi, [ebx + ecx*4 + 0x10c]
mov edi, edx
sub edi, eax
jbe 0x407d65
lea eax, [ebx + 0x10c]
mov dword [esp + 0x2c], ecx
lea eax, [eax + ecx*4 + 0xc]
lea ecx, [edi*4]
lea ecx, [ecx + ecx*2]
push ecx
push esi
push eax
mov dword [esp + 0x28], edx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov eax, dword [esp + 0x24]
shl edi, 3
lea edx, [edi + edi*2]
mov dword [esi], eax
mov eax, dword [esp]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 8], eax
mov esi, dword [esp + 0x2c]
lea eax, [ebx + esi*8]
lea ecx, [ebx + esi*8 + 0x18]
push edx
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov edx, dword [esp + 0x28]
add esp, 0xc
jmp 0x407d7a
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
mov dword [esi], eax
mov eax, dword [esp]
mov dword [esi + 4], eax
mov dword [esi + 8], edi
mov esi, ecx
mov eax, dword [ebp + 0xc]
inc edx
mov ecx, dword [esp + 0x20]
movsd xmm0, qword [eax + 0x10]
movsd qword [ebx + esi*8 + 0x10], xmm0
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [ebx + esi*8 + 8], xmm1
movsd qword [ebx + esi*8], xmm0
mov word [ebx + 0x192], dx
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 4]
movsd xmm0, qword [esp + 0x88]
movsd xmm2, qword [esp + 0x78]
movsd xmm1, qword [esp + 0x80]
mov dword [esp + 0x70], eax
mov eax, edx
movsd qword [esp + 0x68], xmm0
movsd qword [esp + 0x60], xmm1
movsd qword [esp + 0x58], xmm2
neg eax
mov eax, dword [esp + 0x28]
jo 0x408326
mov eax, dword [esp + 0x70]
movsd xmm0, qword [esp + 0x68]
movsd xmm2, qword [esp + 0x58]
movsd xmm1, qword [esp + 0x60]
xor esi, esi
mov dword [esp + 4], edx
mov dword [esp + 0x48], eax
movsd qword [esp + 0x40], xmm0
movsd qword [esp + 0x38], xmm1
movsd qword [esp + 0x30], xmm2
mov edi, dword [ebx + 0x108]
test edi, edi
je 0x40825f
xor eax, eax
cmp eax, esi
jne 0x408498
mov ecx, dword [esp + 0x14]
movzx ebx, word [edi + 0x192]
movzx esi, word [ecx + 0x190]
cmp ebx, 0xb
jb 0x408331
inc eax
cmp si, 5
jae 0x407e74
mov dword [esp + 0x4c], edi
mov ecx, 4
lea edi, [esp + 0xa0]
jmp 0x407f93
cmp esi, 5
je 0x407e92
cmp esi, 6
jne 0x407f80
xor esi, esi
mov ecx, 5
mov dword [esp + 0x4c], edi
jmp 0x407f8c
lea ecx, [esp + 0x78]
lea edx, [esp + 0x4c]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 5
call fcn.004086f0
mov edi, dword [esp + 0xa0]
movzx esi, word [edi + 0x192]
lea ecx, [esi + 1]
cmp esi, 6
jb 0x4081c3
lea ebx, [esi*4 - 0x14]
mov dword [esp], ecx
lea eax, [edi + 0x148]
lea ecx, [edi + 0x154]
lea edx, [ebx + ebx*2]
push edx
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov eax, dword [esp + 4]
lea edx, [esi*8 - 0x28]
lea ecx, [edi + 0x90]
lea edx, [edx + edx*2]
mov dword [edi + 0x148], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0x150], eax
mov eax, dword [esp + 0xc]
mov dword [edi + 0x14c], eax
lea eax, [edi + 0x78]
push edx
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
lea eax, [esp + 0x34]
lea ecx, [edi + 0x1b4]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [edi + 0x78], xmm0
movsd qword [edi + 0x80], xmm1
movsd xmm0, qword [eax + 0x10]
lea eax, [edi + 0x1b0]
movsd qword [edi + 0x88], xmm0
push ebx
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov eax, dword [esp + 8]
mov dword [edi + 0x1b0], eax
mov eax, dword [esp]
mov word [edi + 0x192], ax
jmp 0x40821e
add esi, 0xfffffff9
mov dword [esp + 0x4c], edi
mov ecx, 6
lea edi, [esp + 0xa8]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x78]
lea edx, [esp + 0x4c]
call fcn.004086f0
mov edi, dword [edi]
lea eax, [esi + 1]
lea ecx, [esi + esi*2]
mov dword [esp], eax
movzx ebx, word [edi + 0x192]
lea edx, [edi + ecx*4 + 0x10c]
mov dword [esp + 0x18], edx
mov eax, ebx
sub eax, esi
jbe 0x40808d
mov edx, dword [esp]
mov dword [esp + 0x24], eax
lea eax, [edi + 0x10c]
mov dword [esp + 0x14], ecx
lea edx, [edx + edx*2]
mov dword [esp + 0x2c], edx
lea edx, [eax + edx*4]
mov eax, dword [esp + 0x24]
lea eax, [eax*4]
lea ecx, [eax + eax*2]
mov dword [esp + 0x1c], eax
push ecx
push dword [esp + 0x1c]
push edx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
shl edx, 3
lea edx, [edx + edx*2]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
lea eax, [edi + eax*8]
lea ecx, [edi + ecx*8]
push edx
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
lea eax, [esp + 0x34]
mov ecx, dword [esp + 0x14]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [edi + ecx*8], xmm0
movsd qword [edi + ecx*8 + 8], xmm1
movsd xmm0, qword [eax + 0x10]
mov eax, dword [esp]
movsd qword [edi + ecx*8 + 0x10], xmm0
lea eax, [edi + eax*4 + 0x198]
lea ecx, [edi + esi*4 + 0x1a0]
push dword [esp + 0x1c]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
jmp 0x4080c8
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x18]
mov dword [edx], eax
mov eax, dword [esp + 0xc]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x10]
mov dword [edx + 8], eax
lea edx, [esp + 0x34]
movsd xmm0, qword [edx + 0x10]
movsd qword [edi + ecx*8 + 0x10], xmm0
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
movsd qword [edi + ecx*8 + 8], xmm1
movsd qword [edi + ecx*8], xmm0
lea eax, [ebx + 2]
mov ecx, dword [esp + 8]
cmp dword [esp], eax
lea eax, [ebx + 1]
mov dword [edi + esi*4 + 0x19c], ecx
mov word [edi + 0x192], ax
jae 0x40810c
dec esi
nop word cs:[eax + eax]
mov eax, dword [edi + esi*4 + 0x1a0]
lea ecx, [esi + 2]
inc esi
cmp ebx, esi
mov dword [eax + 0x108], edi
mov word [eax + 0x190], cx
jne 0x4080f0
lea eax, [esp + 0xa0]
mov esi, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
mov edi, dword [esp + 0xa0]
movsd xmm1, qword [eax - 0x14]
movsd xmm0, qword [eax - 0x1c]
movsd qword [esp + 0x60], xmm1
movsd xmm1, qword [eax - 0xc]
mov eax, dword [eax - 4]
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x68], xmm1
mov dword [esp + 0x70], eax
mov eax, esi
neg eax
jo 0x40831e
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0xa8]
movsd xmm0, qword [esp + 0x68]
movsd xmm2, qword [esp + 0x58]
movsd xmm1, qword [esp + 0x60]
mov dword [esp + 0x14], edi
mov dword [esp + 4], esi
mov eax, dword [esp + 0xa4]
mov esi, dword [esp + 0xac]
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x70]
movsd qword [esp + 0x40], xmm0
movsd qword [esp + 0x38], xmm1
movsd qword [esp + 0x30], xmm2
mov dword [esp + 0x48], ecx
mov edi, dword [edi + 0x108]
test edi, edi
jne 0x407e35
jmp 0x40825f
mov eax, dword [esp + 4]
cmp esi, 5
mov dword [edi + 0x148], eax
mov eax, dword [esp + 0xc]
mov dword [edi + 0x14c], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0x150], eax
lea eax, [esp + 0x34]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [edi + 0x78], xmm0
movsd qword [edi + 0x80], xmm1
movsd xmm0, qword [eax + 0x10]
mov eax, dword [esp + 8]
movsd qword [edi + 0x88], xmm0
mov dword [edi + 0x1b0], eax
mov word [edi + 0x192], cx
jne 0x408244
lea eax, [edi + 0x1b0]
add esi, 0xfffffffc
mov ecx, 6
mov edx, dword [eax]
add eax, 4
dec esi
mov dword [edx + 0x108], edi
mov word [edx + 0x190], cx
lea ecx, [ecx + 1]
jne 0x40822c
lea eax, [esp + 0xa0]
mov esi, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x80]
jmp 0x408129
mov eax, dword [esp + 0x28]
mov edi, dword [eax]
test edi, edi
je 0x408498
mov ebx, dword [eax + 4]
movzx eax, byte [0x90320d]
xor ecx, ecx
mov edx, 0x1c8
call fcn.0049d570
test eax, eax
je 0x408498
mov edx, dword [esp + 0x28]
cmp ebx, esi
lea ecx, [ebx + 1]
mov dword [eax + 0x108], 0
mov dword [eax + 0x198], edi
mov dword [edi + 0x108], eax
mov word [edi + 0x190], 0
mov dword [edx], eax
mov dword [edx + 4], ecx
jne 0x408498
mov ecx, dword [esp + 4]
mov word [eax + 0x192], 1
mov dword [eax + 0x10c], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0x110], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x114], ecx
mov ecx, dword [esp + 8]
movsd xmm0, qword [esp + 0x34]
movsd xmm1, qword [esp + 0x3c]
movsd qword [eax], xmm0
movsd qword [eax + 8], xmm1
movsd xmm0, qword [esp + 0x44]
movsd qword [eax + 0x10], xmm0
mov dword [eax + 0x19c], ecx
mov dword [ecx + 0x108], eax
mov word [ecx + 0x190], 1
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
inc dword [eax + 8]
mov byte [ecx], 6
jmp 0x40773b
lea eax, [esi + 1]
lea ecx, [ebx + 1]
cmp si, bx
mov dword [esp], eax
lea eax, [esi + esi*2]
mov dword [esp + 0x18], eax
lea eax, [edi + eax*4 + 0x10c]
mov dword [esp + 0x14], eax
jae 0x40841d
mov edx, dword [esp]
lea eax, [edi + 0x10c]
mov dword [esp + 0x24], ecx
lea edx, [edx + edx*2]
mov dword [esp + 0x2c], edx
lea edx, [eax + edx*4]
mov eax, ebx
sub eax, esi
mov dword [esp + 0xb0], eax
lea eax, [eax*4]
lea ecx, [eax + eax*2]
mov dword [esp + 0x1c], eax
push ecx
push dword [esp + 0x18]
push edx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xb0]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
shl edx, 3
lea edx, [edx + edx*2]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xc]
mov dword [ecx + 4], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
lea ecx, [edi + ecx*8]
lea eax, [edi + eax*8]
push edx
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
lea eax, [esp + 0x34]
mov ecx, dword [esp + 0x18]
movsd xmm0, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [edi + ecx*8], xmm0
movsd qword [edi + ecx*8 + 8], xmm1
movsd xmm0, qword [eax + 0x10]
mov eax, dword [esp]
movsd qword [edi + ecx*8 + 0x10], xmm0
lea ecx, [edi + esi*4 + 0x1a0]
lea eax, [edi + eax*4 + 0x198]
push dword [esp + 0x1c]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
mov ecx, dword [esp + 0x30]
add esp, 0xc
jmp 0x40845c
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x14]
mov dword [edx], eax
mov eax, dword [esp + 0xc]
mov dword [edx + 4], eax
mov eax, dword [esp + 0x10]
mov dword [edx + 8], eax
lea edx, [esp + 0x34]
mov eax, dword [esp + 0x18]
movsd xmm0, qword [edx + 0x10]
movsd qword [edi + eax*8 + 0x10], xmm0
movsd xmm0, qword [edx]
movsd xmm1, qword [edx + 8]
movsd qword [edi + eax*8 + 8], xmm1
movsd qword [edi + eax*8], xmm0
add ebx, 2
mov eax, dword [esp + 8]
cmp dword [esp], ebx
mov dword [edi + esi*4 + 0x19c], eax
mov word [edi + 0x192], cx
jae 0x40831e
mov eax, dword [edi + esi*4 + 0x19c]
inc esi
cmp ecx, esi
mov dword [eax + 0x108], edi
mov word [eax + 0x190], si
jne 0x40847a
jmp 0x40831e
ud2