Function at 0x470a40
Capabilities:
Access peb ldr_data
Check os version
Get ntdll base address
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c0
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x578410
mov dword [ebp - 0x120], ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x24], edx
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov esi, dword [edx + 0x124]
mov eax, dword [edx + 0x11c]
mov ecx, dword [edx + 0x120]
cmp dword [edx + 0x8c], 0x80000000
mov edi, dword [edx + 0x128]
mov dword [ebp - 0x114], esi
mov esi, dword [edx + 0x1c]
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x110], esi
jne 0x470adc
mov edi, 0x80000000
cmp dword [edx + 0x98], 0x80000000
mov dword [ebp - 0x5c], edi
jne 0x470b3a
mov edi, 0x80000000
jmp 0x470b95
mov edi, dword [edx + 0x94]
mov esi, dword [edx + 0x90]
test edi, edi
je 0x470b12
js 0x47222d
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, edi
call fcn.0056a9f0
test eax, eax
jne 0x470b17
mov ecx, 1
mov edx, edi
call fcn.0057f230
mov eax, 1
push edi
push esi
mov dword [ebp - 0xd8], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x98], 0x80000000
mov dword [ebp - 0x5c], edi
je 0x470ad2
mov edi, dword [edx + 0xa0]
mov esi, dword [edx + 0x9c]
test edi, edi
je 0x470b7c
js 0x472232
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, edi
call fcn.0056a9f0
test eax, eax
jne 0x470b81
mov ecx, 1
mov edx, edi
mov dword [ebp - 0x10], 0
call fcn.0057f230
jmp 0x4722cd
mov eax, 1
push edi
push esi
mov dword [ebp - 0xd4], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x24]
mov ebx, dword [edx + 0x134]
mov esi, dword [edx + 0x138]
mov eax, dword [edx + 0x12c]
mov ecx, dword [edx + 0x130]
cmp dword [edx + 0xa4], 0x80000000
mov dword [ebp - 0xe4], edi
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0xfc], esi
mov ebx, dword [edx + 0x13c]
mov esi, dword [edx + 0x140]
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x108], eax
mov dword [ebp - 0xf8], ebx
mov dword [ebp - 0xf4], esi
jne 0x470c6e
mov dword [ebp - 0x48], 0x80000000
mov dword [ebp - 0x74], 0x80000000
cmp dword [edx + 0xb0], 0x80000000
jne 0x470cea
cmp dword [edx + 0xbc], 0x80000000
jne 0x470d58
mov dword [ebp - 0x44], 0x80000000
mov dword [ebp - 0x70], 0x80000000
cmp dword [edx + 0xc8], 0x80000000
jne 0x470dd4
cmp dword [edx + 0xd4], 0x80000000
jne 0x470e42
mov dword [ebp - 0x40], 0x80000000
mov dword [ebp - 0x6c], 0x80000000
cmp dword [edx + 0xe0], 0x80000000
jne 0x470ebe
jmp 0x470f1c
mov esi, dword [edx + 0xa8]
mov edx, dword [edx + 0xac]
test edx, edx
je 0x470cb7
mov dword [ebp - 0x48], 0x80000000
js 0x472243
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov ebx, edx
call fcn.0056a9f0
mov edx, ebx
test eax, eax
jne 0x470cc3
mov ecx, 1
mov dword [ebp - 0x10], 1
call fcn.0057f230
jmp 0x4722cd
mov eax, 1
mov dword [ebp - 0x48], 0x80000000
mov dword [ebp - 0x74], edx
push edx
push esi
mov dword [ebp - 0xd0], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0xb0], 0x80000000
je 0x470c0d
mov esi, dword [edx + 0xb4]
mov edx, dword [edx + 0xb8]
test edx, edx
je 0x470d2c
js 0x472251
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov ebx, edx
call fcn.0056a9f0
mov edx, ebx
test eax, eax
jne 0x470d31
mov ecx, 1
mov dword [ebp - 0x10], 2
call fcn.0057f230
jmp 0x4722cd
mov eax, 1
mov dword [ebp - 0x48], edx
push edx
push esi
mov dword [ebp - 0xcc], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0xbc], 0x80000000
je 0x470c1d
mov esi, dword [edx + 0xc0]
mov edx, dword [edx + 0xc4]
test edx, edx
je 0x470da1
mov dword [ebp - 0x44], 0x80000000
js 0x47225f
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov ebx, edx
call fcn.0056a9f0
mov edx, ebx
test eax, eax
jne 0x470dad
mov ecx, 1
mov dword [ebp - 0x10], 3
call fcn.0057f230
jmp 0x4722cd
mov eax, 1
mov dword [ebp - 0x44], 0x80000000
mov dword [ebp - 0x70], edx
push edx
push esi
mov dword [ebp - 0xc8], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0xc8], 0x80000000
je 0x470c3b
mov esi, dword [edx + 0xcc]
mov edx, dword [edx + 0xd0]
test edx, edx
je 0x470e16
js 0x47226d
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov ebx, edx
call fcn.0056a9f0
mov edx, ebx
test eax, eax
jne 0x470e1b
mov ecx, 1
mov dword [ebp - 0x10], 4
call fcn.0057f230
jmp 0x4722cd
mov eax, 1
mov dword [ebp - 0x44], edx
push edx
push esi
mov dword [ebp - 0xc4], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0xd4], 0x80000000
je 0x470c4b
mov esi, dword [edx + 0xd8]
mov edx, dword [edx + 0xdc]
test edx, edx
je 0x470e8b
mov dword [ebp - 0x40], 0x80000000
js 0x47227b
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov ebx, edx
call fcn.0056a9f0
mov edx, ebx
test eax, eax
jne 0x470e97
mov ecx, 1
mov dword [ebp - 0x10], 5
call fcn.0057f230
jmp 0x4722cd
mov eax, 1
mov dword [ebp - 0x40], 0x80000000
mov dword [ebp - 0x6c], edx
push edx
push esi
mov dword [ebp - 0xc0], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0xe0], 0x80000000
je 0x470c69
mov esi, dword [edx + 0xe4]
mov edx, dword [edx + 0xe8]
test edx, edx
je 0x470f00
js 0x472289
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov ebx, edx
call fcn.0056a9f0
mov edx, ebx
test eax, eax
jne 0x470f05
mov ecx, 1
mov dword [ebp - 0x10], 6
call fcn.0057f230
jmp 0x4722cd
mov eax, 1
mov dword [ebp - 0x40], edx
push edx
push esi
mov dword [ebp - 0xbc], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x28]
mov dword [ebp - 0x58], 4
test eax, eax
mov dword [ebp - 0x80], eax
je 0x470fbd
cmp eax, 0xaaaaaaa
ja 0x472083
lea eax, [eax*4]
lea esi, [eax + eax*2]
test esi, esi
js 0x472094
mov edi, dword [edx + 0x24]
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, esi
xor ebx, ebx
call fcn.0056a9f0
test eax, eax
mov dword [ebp - 0x58], eax
je 0x4720a5
mov eax, dword [ebp - 0x80]
nop word cs:[eax + eax]
nop dword [eax + eax]
cmp esi, ebx
je 0x470fba
mov ecx, dword [edi]
dec eax
mov dword [ebp - 0x20], ecx
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], ecx
movzx ecx, byte [edi + 8]
lea edi, [edi + 0xc]
mov byte [ebp - 0x34], cl
mov ecx, esi
mov esi, dword [ebp - 0x58]
mov dword [esi + ebx], edx
mov edx, dword [ebp - 0x2c]
mov dword [esi + ebx + 4], edx
mov dh, byte [ebp - 0x34]
mov byte [esi + ebx + 8], dh
mov esi, ecx
lea ebx, [ebx + 0xc]
jne 0x470f80
mov edx, dword [ebp - 0x24]
mov ecx, dword [edx + 0x34]
mov edi, dword [edx + 0x30]
test ecx, ecx
mov dword [ebp - 0xe0], ecx
je 0x471014
cmp ecx, 0xfffffff
ja 0x4720bd
lea esi, [ecx*8]
test esi, esi
js 0x4720ce
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, esi
call fcn.0056a9f0
test eax, eax
jne 0x47101b
mov ecx, 4
mov edx, esi
mov dword [ebp - 0x10], 8
call fcn.0057f230
jmp 0x4722cd
xor esi, esi
mov eax, 4
push esi
push edi
mov dword [ebp - 0xdc], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx + 0x40]
test eax, eax
mov dword [ebp - 0x8c], eax
je 0x47111a
cmp eax, 0xaaaaaaa
ja 0x4720df
lea eax, [eax*4]
lea esi, [eax + eax*2]
test esi, esi
js 0x4720f0
mov edi, dword [ecx + 0x3c]
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, esi
xor ebx, ebx
call fcn.0056a9f0
test eax, eax
mov dword [ebp - 0x54], eax
je 0x472101
mov eax, dword [ebp - 0x8c]
nop word cs:[eax + eax]
nop dword [eax]
cmp esi, ebx
je 0x4710ca
mov ecx, dword [edi]
dec eax
mov dword [ebp - 0x20], ecx
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], ecx
movzx ecx, byte [edi + 8]
lea edi, [edi + 0xc]
mov byte [ebp - 0x34], cl
mov ecx, esi
mov esi, dword [ebp - 0x54]
mov dword [esi + ebx], edx
mov edx, dword [ebp - 0x2c]
mov dword [esi + ebx + 4], edx
mov dh, byte [ebp - 0x34]
mov byte [esi + ebx + 8], dh
mov esi, ecx
lea ebx, [ebx + 0xc]
jne 0x471090
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0xec], 0x80000000
mov dword [ebp - 0x7c], 0x80000000
jne 0x471134
mov dword [ebp - 0x68], 0x80000000
cmp dword [ecx + 0xf8], 0x80000000
jne 0x4711a2
cmp dword [ecx + 0x104], 0x80000000
mov dword [ebp - 0x78], 0x80000000
jne 0x471217
mov dword [ebp - 0x64], 0x80000000
jmp 0x471275
mov dword [ebp - 0x54], 4
cmp dword [ecx + 0xec], 0x80000000
mov dword [ebp - 0x7c], 0x80000000
je 0x4710e0
mov edi, dword [ecx + 0xf4]
mov esi, dword [ecx + 0xf0]
test edi, edi
je 0x471176
js 0x472297
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, edi
call fcn.0056a9f0
test eax, eax
jne 0x47117b
mov ecx, 1
mov edx, edi
mov dword [ebp - 0x10], 0xa
call fcn.0057f230
jmp 0x4722cd
mov eax, 1
mov dword [ebp - 0x68], edi
push edi
push esi
mov dword [ebp - 0xb8], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0xf8], 0x80000000
je 0x4710f7
mov edi, dword [ecx + 0x100]
mov esi, dword [ecx + 0xfc]
test edi, edi
je 0x4711e4
js 0x4722a5
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, edi
call fcn.0056a9f0
test eax, eax
jne 0x4711e9
mov ecx, 1
mov edx, edi
mov dword [ebp - 0x10], 0xb
call fcn.0057f230
jmp 0x4722cd
mov eax, 1
mov dword [ebp - 0x7c], edi
push edi
push esi
mov dword [ebp - 0xb4], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + 0x104], 0x80000000
mov dword [ebp - 0x78], 0x80000000
je 0x47110e
mov edi, dword [ecx + 0x10c]
mov esi, dword [ecx + 0x108]
test edi, edi
je 0x471259
js 0x4722b3
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, edi
call fcn.0056a9f0
test eax, eax
jne 0x47125e
mov ecx, 1
mov edx, edi
mov dword [ebp - 0x10], 0xc
call fcn.0057f230
jmp 0x4722cd
mov eax, 1
mov dword [ebp - 0x64], edi
push edi
push esi
mov dword [ebp - 0xb0], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
cmp dword [ecx + 0x110], 0x80000000
mov dword [ebp - 0xf0], eax
mov dword [ebp - 0xec], edx
jne 0x471294
jmp 0x4712f2
mov edi, dword [ecx + 0x118]
mov esi, dword [ecx + 0x114]
test edi, edi
je 0x4712d6
js 0x4722c1
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, edi
call fcn.0056a9f0
test eax, eax
jne 0x4712db
mov ecx, 1
mov edx, edi
mov dword [ebp - 0x10], 0xd
call fcn.0057f230
jmp 0x4722cd
mov eax, 1
mov dword [ebp - 0x78], edi
push edi
push esi
mov dword [ebp - 0xac], eax
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ecx + 0x4c]
movsd xmm0, qword [ecx + 0x144]
mov edi, dword [ecx + 0x48]
test ebx, ebx
movups xmmword [ebp - 0x160], xmm0
je 0x471357
cmp ebx, 0x73615a
ja 0x472119
imul esi, ebx, 0x11c
test esi, esi
js 0x47212a
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, esi
call fcn.0056a9f0
mov ecx, dword [ebp - 0x24]
test eax, eax
mov dword [ebp - 0x28], eax
jne 0x47135e
mov ecx, 4
mov edx, esi
mov dword [ebp - 0x10], 0xe
call fcn.0057f230
jmp 0x4722cd
mov dword [ebp - 0x28], 4
imul eax, ebx, 0x11c
mov edx, edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x30], ebx
add eax, edi
lea edi, [ebp - 0x2cc]
mov dword [ebp - 0x38], eax
mov eax, ebx
sub eax, 1
jb 0x4713f0
nop word cs:[eax + eax]
nop dword [eax]
cmp edx, dword [ebp - 0x38]
je 0x4713f0
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], 0x1a
jae 0x471f90
mov ecx, edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], edx
call fcn.0047af20
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x34]
imul eax, ecx, 0x11c
inc ecx
add esi, 0x11c
add eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], ecx
push 0x11c
lea edi, [ebp - 0x2cc]
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
mov edx, esi
sub eax, 1
jae 0x471390
mov esi, dword [ecx + 0x58]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2cc], ebx
mov edx, ecx
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x2c8], eax
test esi, esi
mov eax, 4
mov dword [ebp - 0x2c4], ebx
je 0x4714d0
cmp esi, 0x7ffffff
ja 0x47213b
mov dword [ebp - 0x3c], esi
shl esi, 4
js 0x47214c
mov ebx, dword [edx + 0x54]
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, esi
xor edi, edi
call fcn.0056a9f0
test eax, eax
je 0x47215d
mov ecx, dword [ebp - 0x3c]
mov edx, ebx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x30], eax
jmp 0x4714a5
mov ebx, dword [ebx + edi + 4]
mov dword [ebp - 0x20], ebx
mov esi, dword [ebp - 0x30]
mov ebx, dword [edx + 0xc]
dec ecx
add edx, 0x10
mov dword [esi + edi], eax
mov eax, esi
mov esi, dword [ebp - 0x20]
mov dword [eax + edi + 4], esi
mov esi, dword [ebp - 0x2c]
mov dword [eax + edi + 8], esi
mov dword [eax + edi + 0xc], ebx
mov esi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x28]
add edi, 0x10
test ecx, ecx
je 0x4714c4
cmp esi, edi
je 0x4714c4
mov eax, dword [edx]
test eax, eax
je 0x471470
cmp eax, 1
jne 0x471470
mov esi, dword [ebx + edi + 4]
mov ebx, dword [ebx + edi + 8]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x2c], ebx
jmp 0x471477
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x3c]
lea edi, [ebp - 0x2cc]
mov ecx, dword [ebp - 0x2c4]
movsd xmm0, qword [ebp - 0x2cc]
mov dword [ebp - 0x148], ecx
mov ecx, dword [edx + 0x64]
movsd qword [ebp - 0x150], xmm0
mov dword [ebp - 0x144], esi
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x13c], esi
mov esi, dword [edx + 0x60]
test ecx, ecx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], ecx
je 0x471548
cmp dword [ebp - 0x28], 0x5a05a0
ja 0x472175
imul esi, dword [ebp - 0x28], 0x16c
test esi, esi
js 0x472186
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, esi
call fcn.0056a9f0
mov edx, dword [ebp - 0x24]
test eax, eax
mov dword [ebp - 0x38], eax
je 0x472197
mov ebx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x38]
mov ecx, edx
mov edx, dword [ebp - 0x20]
xor esi, esi
mov dword [ebp - 0xa8], ebx
mov dword [ebp - 0xa4], eax
imul eax, ebx, 0x16c
add eax, edx
mov dword [ebp - 0x30], eax
mov eax, ebx
sub eax, 1
jb 0x4715dd
nop word cs:[eax + eax]
nop dword [eax]
cmp edx, dword [ebp - 0x30]
je 0x4715dd
cmp esi, dword [ebp - 0x28]
mov dword [ebp - 0x10], 0x18
mov dword [ebp - 0x2c], esi
jae 0x471fa7
mov ecx, edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x20], edx
call fcn.00470a40
mov esi, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x20]
imul eax, esi, 0x16c
inc esi
add ebx, 0x16c
add eax, dword [ebp - 0x38]
push 0x16c
lea edi, [ebp - 0x2cc]
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x34]
mov edx, ebx
sub eax, 1
jae 0x471580
mov eax, dword [ebp - 0x28]
movsd xmm0, qword [ebp - 0xa8]
mov ebx, dword [ecx + 0x6c]
mov dword [ebp - 0x124], eax
mov eax, dword [ecx + 0x70]
movsd qword [ebp - 0x12c], xmm0
test eax, eax
mov dword [ebp - 0x50], eax
je 0x47164b
cmp eax, 0x2aaaaaa
ja 0x4721af
shl eax, 4
lea edi, [eax + eax*2]
test edi, edi
js 0x4721c0
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, edi
call fcn.0056a9f0
mov edx, dword [ebp - 0x24]
test eax, eax
jne 0x471652
mov ecx, 4
mov edx, edi
mov dword [ebp - 0x10], 0x10
call fcn.0057f230
jmp 0x4722cd
mov edx, ecx
mov eax, 4
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x4c], 0
lea esi, [ecx + ecx*2]
mov dword [ebp - 0x2cc], ecx
mov dword [ebp - 0x2c8], eax
shl esi, 4
add esi, ebx
mov dword [ebp - 0x88], esi
jmp 0x471718
mov dword [ebp - 0x3c], 4
movzx eax, byte [ebx + 0x2d]
mov esi, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x84]
add ebx, 0x30
mov byte [ebp - 0x30], al
mov eax, dword [ebp - 0x20]
lea ecx, [esi + esi*2]
inc esi
shl ecx, 4
mov dword [ebp - 0x4c], esi
mov dword [edx + ecx], edi
mov dword [edx + ecx + 4], eax
mov dword [edx + ecx + 8], edi
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov dword [edx + ecx + 0xc], edi
mov dword [edx + ecx + 0x10], eax
mov dword [edx + ecx + 0x14], edi
mov eax, dword [ebp - 0x38]
mov edi, dword [ebp - 0x3c]
mov dword [edx + ecx + 0x18], eax
mov dword [edx + ecx + 0x1c], edi
mov dword [edx + ecx + 0x20], eax
mov eax, dword [ebp - 0x98]
mov dword [edx + ecx + 0x24], eax
mov eax, dword [ebp - 0x94]
mov dword [edx + ecx + 0x28], eax
movzx eax, byte [ebp - 0x90]
mov ah, byte [ebp - 0x30]
mov byte [edx + ecx + 0x2c], al
mov byte [edx + ecx + 0x2d], ah
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ebp - 0x24]
sub ecx, 1
jb 0x471a3f
cmp ebx, dword [ebp - 0x88]
je 0x471a3f
mov eax, dword [ebx + 0x24]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x9c], ecx
mov ecx, 4
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x98], eax
mov eax, dword [ebx + 0x28]
test esi, esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x94], eax
mov eax, 4
je 0x471842
cmp esi, 0xfffffff
ja 0x472016
lea edi, [esi*8]
test edi, edi
js 0x472072
mov ebx, dword [ebx + 4]
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, edi
call fcn.0056a9f0
test eax, eax
mov dword [ebp - 0x20], eax
je 0x471fe6
mov edx, esi
lea eax, [esi - 1]
mov edi, esi
and edx, 0x1fffffff
mov esi, eax
cmp edx, eax
cmovb esi, edx
xor ecx, ecx
cmp esi, 0xa
jae 0x4717c0
mov eax, edi
mov edi, dword [ebp - 0x20]
mov edx, ebx
jmp 0x47180f
mov edi, dword [ebp - 0x20]
cmp edx, eax
cmovb eax, edx
lea edx, [ebx + eax*8 + 8]
cmp edi, edx
jae 0x4717dd
lea eax, [edi + eax*8 + 8]
mov edx, ebx
cmp ebx, eax
mov eax, dword [ebp - 0x34]
jb 0x47180f
inc esi
mov ecx, 2
mov eax, esi
and eax, 1
cmove eax, ecx
mov ecx, esi
xor esi, esi
sub ecx, eax
mov eax, dword [ebp - 0x34]
lea edx, [ebx + ecx*8]
sub eax, ecx
nop dword [eax]
movups xmm0, xmmword [ebx + esi*8]
movups xmmword [edi + esi*8], xmm0
add esi, 2
cmp ecx, esi
jne 0x471800
mov esi, dword [ebp - 0x34]
lea ecx, [edi + ecx*8 + 4]
lea esi, [ebx + esi*8]
nop dword [eax]
cmp edx, esi
je 0x471837
mov edi, dword [edx]
mov ebx, dword [edx + 4]
add edx, 8
dec eax
mov dword [ecx - 4], edi
mov dword [ecx], ebx
lea ecx, [ecx + 8]
jne 0x471820
mov ebx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
mov ecx, 4
mov esi, dword [ebx + 0x14]
movzx edx, byte [ebx + 0x2c]
mov dword [ebp - 0x20], eax
test esi, esi
mov byte [ebp - 0x90], dl
mov dword [ebp - 0x28], esi
je 0x47193d
cmp esi, 0xfffffff
ja 0x472061
lea edi, [esi*8]
test edi, edi
js 0x472038
mov ebx, dword [ebx + 0x10]
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, edi
call fcn.0056a9f0
test eax, eax
mov dword [ebp - 0x2c], eax
je 0x472049
mov edx, esi
lea eax, [esi - 1]
mov edi, esi
and edx, 0x1fffffff
mov esi, eax
cmp edx, eax
cmovb esi, edx
xor ecx, ecx
cmp esi, 0xa
jae 0x4718c0
mov eax, edi
mov edi, dword [ebp - 0x2c]
mov edx, ebx
jmp 0x47190f
mov edi, dword [ebp - 0x2c]
cmp edx, eax
cmovb eax, edx
lea edx, [ebx + eax*8 + 8]
cmp edi, edx
jae 0x4718dd
lea eax, [edi + eax*8 + 8]
mov edx, ebx
cmp ebx, eax
mov eax, dword [ebp - 0x28]
jb 0x47190f
inc esi
mov ecx, 2
mov eax, esi
and eax, 1
cmove eax, ecx
mov ecx, esi
xor esi, esi
sub ecx, eax
mov eax, dword [ebp - 0x28]
lea edx, [ebx + ecx*8]
sub eax, ecx
nop dword [eax]
movups xmm0, xmmword [ebx + esi*8]
movups xmmword [edi + esi*8], xmm0
add esi, 2
cmp ecx, esi
jne 0x471900
mov esi, dword [ebp - 0x28]
lea ecx, [edi + ecx*8 + 4]
lea esi, [ebx + esi*8]
nop dword [eax]
cmp edx, esi
je 0x471937
mov edi, dword [edx]
mov ebx, dword [edx + 4]
add edx, 8
dec eax
mov dword [ecx - 4], edi
mov dword [ecx], ebx
lea ecx, [ecx + 8]
jne 0x471920
mov ebx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebx + 0x20]
mov dword [ebp - 0x2c], ecx
test eax, eax
mov dword [ebp - 0x38], eax
je 0x471690
cmp eax, 0xfffffff
ja 0x472027
lea edi, [eax*8]
test edi, edi
js 0x471fd5
mov esi, dword [ebx + 0x1c]
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, edi
call fcn.0056a9f0
test eax, eax
mov dword [ebp - 0x3c], eax
je 0x471ffe
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x60], 0
mov edi, eax
lea ecx, [eax - 1]
and edi, 0x1fffffff
mov ebx, ecx
cmp edi, ecx
cmovb ebx, edi
cmp ebx, 0xa
jae 0x4719c0
mov edi, esi
mov edx, esi
mov esi, dword [ebp - 0x3c]
mov ecx, eax
jmp 0x471a15
cmp edi, ecx
mov edx, esi
cmovb ecx, edi
lea edi, [esi + ecx*8 + 8]
mov esi, dword [ebp - 0x3c]
cmp esi, edi
jae 0x4719de
lea ecx, [esi + ecx*8 + 8]
mov edi, edx
cmp edx, ecx
mov ecx, eax
jb 0x471a15
inc ebx
mov eax, 2
mov ecx, ebx
and ecx, 1
cmove ecx, eax
mov eax, ebx
xor ebx, ebx
sub eax, ecx
mov ecx, dword [ebp - 0x38]
lea edi, [edx + eax*8]
sub ecx, eax
nop word [eax + eax]
movups xmm0, xmmword [edx + ebx*8]
movups xmmword [esi + ebx*8], xmm0
add ebx, 2
cmp eax, ebx
jne 0x471a00
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x38]
lea eax, [edx + eax*8]
mov edx, dword [ebp - 0x60]
lea edx, [esi + edx*8 + 4]
nop
cmp edi, eax
je 0x471a37
mov ebx, dword [edi]
mov esi, dword [edi + 4]
add edi, 8
dec ecx
mov dword [edx - 4], ebx
mov dword [edx], esi
lea edx, [edx + 8]
jne 0x471a20
mov ebx, dword [ebp - 0x30]
jmp 0x471697
mov esi, dword [edx + 0x14c]
mov ecx, dword [edx + 0x150]
mov edi, dword [edx + 0x154]
movsd xmm0, qword [ebp - 0x2cc]
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x4c], esi
mov esi, dword [edx + 8]
mov dword [ebp - 0x9c], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x84], edi
mov edi, dword [edx + 0x15c]
movsd qword [ebp - 0x138], xmm0
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x98], esi
mov esi, dword [edx + 0x158]
mov dword [ebp - 0x94], ecx
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x88], esi
mov esi, dword [edx + 0x160]
cmp ecx, 5
mov dword [ebp - 0x90], esi
jne 0x471ac0
mov dword [ebp - 0xa8], 5
jmp 0x471af7
cmp ecx, 4
jb 0x471ae2
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], 0x11
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
push eax
call dword [ecx + 0x24]
add esp, 4
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], edx
mov edx, dword [ebp - 0x24]
mov esi, dword [edx + 0x7c]
movzx eax, byte [edx + 0x168]
mov ecx, dword [edx + 0x164]
mov edi, dword [edx + 0x78]
test esi, esi
mov dword [ebp - 0x30], esi
mov byte [ebp - 0x50], al
mov dword [ebp - 0xe8], ecx
je 0x471b55
cmp esi, 0x7ffffff
ja 0x4721d1
shl esi, 4
js 0x4721e2
movzx eax, byte [0x5fd2ec]
lea edx, [esi + 0x10]
xor ecx, ecx
call fcn.0056a9f0
test eax, eax
je 0x4721f3
mov ecx, eax
and ecx, 0xfffffff0
mov dword [ecx + 0xc], eax
add ecx, 0x10
jmp 0x471b5c
mov ecx, 0x10
xor esi, esi
push esi
push edi
mov dword [ebp - 0x3c], ecx
push ecx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax + 0x88]
mov edi, dword [eax + 0x84]
test ebx, ebx
je 0x471bcd
cmp ebx, 0xfffffff
ja 0x47220b
lea esi, [ebx*8]
mov dword [ebp - 0x24], edi
test esi, esi
js 0x47221c
movzx eax, byte [0x5fd2ec]
xor ecx, ecx
mov edx, esi
call fcn.0056a9f0
mov edi, dword [ebp - 0x24]
mov edx, dword [ebp - 0x5c]
test eax, eax
jne 0x471bd5
mov ecx, 4
mov edx, esi
mov dword [ebp - 0x10], 0x13
call fcn.0057f230
jmp 0x4722cd
mov edx, dword [ebp - 0x5c]
mov eax, 4
lea esi, [edi + ebx*8]
mov dword [ebp - 0x2cc], ebx
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], esi
mov esi, ebx
sub esi, 1
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x8c]
jb 0x471c61
nop word cs:[eax + eax]
nop
cmp edi, dword [ebp - 0x34]
je 0x471c61
cmp dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], 0x14
jae 0x471fbe
mov eax, dword [edi + 4]
push dword [edi]
mov dword [ebp - 0x24], edi
call dword [eax + 0x1c]
add esp, 4
mov ecx, dword [ebp - 0x38]
mov esi, dword [ebp - 0x20]
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x28]
mov dword [ecx + esi*8], eax
inc esi
add edi, 8
mov dword [ecx + esi*8 - 4], edx
mov dword [ebp - 0x20], esi
mov edx, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x2c]
sub esi, 1
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x8c]
jae 0x471c10
mov dword [ebp - 0x2c4], ebx
mov eax, edx
mov edx, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x11c]
movsd xmm1, qword [ebp - 0x148]
movsd xmm0, qword [ebp - 0x2cc]
mov dword [edx + 0x88], ebx
movzx ebx, byte [ebp - 0x50]
movsd qword [edx + 0x80], xmm0
mov dword [edx + 0x11c], ecx
mov ecx, dword [ebp - 0x118]
movups xmm0, xmmword [ebp - 0x160]
mov dword [edx + 0x120], ecx
mov ecx, dword [ebp - 0x114]
mov dword [edx + 0x124], ecx
mov ecx, dword [ebp - 0x10c]
mov dword [edx + 0x128], ecx
mov ecx, dword [ebp - 0x110]
mov dword [edx + 0x1c], ecx
mov ecx, dword [ebp - 0xd8]
mov dword [edx + 0x8c], eax
mov dword [edx + 0x90], ecx
mov dword [edx + 0x94], eax
mov eax, dword [ebp - 0xe4]
mov ecx, dword [ebp - 0xd4]
mov dword [edx + 0x98], eax
mov dword [edx + 0x9c], ecx
mov dword [edx + 0xa0], eax
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0xd0]
mov dword [edx + 0x12c], eax
mov eax, dword [ebp - 0x104]
mov dword [edx + 0x130], eax
mov eax, dword [ebp - 0x100]
mov dword [edx + 0x134], eax
mov eax, dword [ebp - 0xfc]
mov dword [edx + 0x138], eax
mov eax, dword [ebp - 0xf8]
mov dword [edx + 0x13c], eax
mov eax, dword [ebp - 0xf4]
mov dword [edx + 0x140], eax
mov eax, dword [ebp - 0x74]
mov dword [edx + 0xa4], eax
mov dword [edx + 0xa8], ecx
mov dword [edx + 0xac], eax
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xcc]
mov dword [edx + 0xb0], eax
mov dword [edx + 0xb4], ecx
mov dword [edx + 0xb8], eax
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0xc8]
mov dword [edx + 0xbc], eax
mov dword [edx + 0xc0], ecx
mov dword [edx + 0xc4], eax
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc4]
mov dword [edx + 0xc8], eax
mov dword [edx + 0xcc], ecx
mov dword [edx + 0xd0], eax
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc0]
mov dword [edx + 0xd4], eax
mov dword [edx + 0xd8], ecx
mov dword [edx + 0xdc], eax
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xbc]
mov dword [edx + 0xe0], eax
mov dword [edx + 0xe4], ecx
mov dword [edx + 0xe8], eax
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp - 0x58]
mov dword [edx + 0x20], eax
mov dword [edx + 0x24], ecx
mov dword [edx + 0x28], eax
mov ecx, dword [ebp - 0xe0]
mov eax, dword [ebp - 0xdc]
mov dword [edx + 0x2c], ecx
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x54]
mov dword [edx + 0x34], ecx
mov dword [edx + 0x38], esi
mov ecx, dword [ebp - 0xb8]
mov dword [edx + 0x3c], eax
mov eax, dword [ebp - 0x68]
mov dword [edx + 0x40], esi
mov esi, dword [ebp - 0x4c]
mov dword [edx + 0xec], eax
mov dword [edx + 0xf0], ecx
mov dword [edx + 0xf4], eax
mov eax, dword [ebp - 0x7c]
mov ecx, dword [ebp - 0xb4]
mov dword [edx + 0xf8], eax
mov dword [edx + 0xfc], ecx
mov dword [edx + 0x100], eax
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0xb0]
mov dword [edx + 0x104], eax
mov dword [edx + 0x108], ecx
mov dword [edx + 0x10c], eax
mov eax, dword [ebp - 0xf0]
mov ecx, dword [ebp - 0xac]
mov dword [edx], eax
mov eax, dword [ebp - 0xec]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x78]
mov dword [edx + 0x110], eax
mov dword [edx + 0x114], ecx
mov dword [edx + 0x118], eax
movlps qword [edx + 0x144], xmm0
movsd xmm0, qword [ebp - 0x140]
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x130]
movsd qword [edx + 0x4c], xmm1
movsd qword [edx + 0x54], xmm0
movsd xmm0, qword [ebp - 0x150]
movsd qword [edx + 0x44], xmm0
movsd xmm0, qword [ebp - 0x12c]
mov dword [edx + 0x64], eax
movsd qword [edx + 0x5c], xmm0
mov dword [edx + 0x70], ecx
movsd xmm0, qword [ebp - 0x138]
mov ecx, dword [ebp - 0x9c]
movsd qword [edx + 0x68], xmm0
mov dword [edx + 0x14c], esi
mov dword [edx + 0x150], ecx
mov esi, dword [ebp - 0x98]
mov ecx, dword [ebp - 0x94]
movsd xmm0, qword [ebp - 0xa8]
mov dword [edx + 8], esi
mov dword [edx + 0xc], ecx
mov esi, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x88]
mov dword [edx + 0x154], esi
mov dword [edx + 0x158], ecx
mov esi, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x90]
mov dword [edx + 0x15c], esi
mov dword [edx + 0x160], ecx
mov esi, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xe8]
movsd qword [edx + 0x10], xmm0
mov dword [edx + 0x18], esi
mov byte [edx + 0x168], bl
mov dword [edx + 0x164], ecx
mov esi, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x74], esi
mov dword [edx + 0x78], ecx
mov ecx, dword [ebp - 0x18]
mov dword [edx + 0x7c], esi
mov dword fs:[0], ecx
add esp, 0x2c0
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, dword [ebp - 0x20]
mov edx, ebx
push 0x58eb90
call fcn.0057f710
add esp, 4
jmp 0x4722cd
mov edx, dword [ebp - 0x28]
mov ecx, esi
push 0x58eb90
call fcn.0057f710
add esp, 4
jmp 0x4722cd
mov ecx, dword [ebp - 0x20]
mov edx, ebx
push 0x58eb90
call fcn.0057f710
add esp, 4
jmp 0x4722cd
mov dword [ebp - 0x10], 0x17
call fcn.004634e0
jmp 0x4722cd
mov ecx, 4
mov edx, edi
mov dword [ebp - 0x10], 0x15
call fcn.0057f230
jmp 0x4722cd
mov ecx, 4
mov edx, edi
mov dword [ebp - 0x10], 0x17
call fcn.0057f230
jmp 0x4722cd
mov dword [ebp - 0x10], 0x15
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 0x17
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 0x16
call fcn.004634e0
jmp 0x4722cd
mov ecx, 4
mov edx, edi
mov dword [ebp - 0x10], 0x16
call fcn.0057f230
jmp 0x4722cd
mov dword [ebp - 0x10], 0x16
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 0x15
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 7
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 7
call fcn.004634e0
jmp 0x4722cd
mov ecx, 4
mov edx, esi
mov dword [ebp - 0x10], 7
call fcn.0057f230
jmp 0x4722cd
mov dword [ebp - 0x10], 8
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 8
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 9
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 9
call fcn.004634e0
jmp 0x4722cd
mov ecx, 4
mov edx, esi
mov dword [ebp - 0x10], 9
call fcn.0057f230
jmp 0x4722cd
mov dword [ebp - 0x10], 0xe
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 0xe
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 0x19
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 0x19
call fcn.004634e0
jmp 0x4722cd
mov ecx, 4
mov edx, esi
mov dword [ebp - 0x10], 0x19
call fcn.0057f230
jmp 0x4722cd
mov dword [ebp - 0x10], 0xf
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 0xf
call fcn.004634e0
jmp 0x4722cd
mov ecx, 4
mov edx, esi
mov dword [ebp - 0x10], 0xf
call fcn.0057f230
jmp 0x4722cd
mov dword [ebp - 0x10], 0x10
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 0x10
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 0x12
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 0x12
call fcn.004634e0
jmp 0x4722cd
mov ecx, 0x10
mov edx, esi
mov dword [ebp - 0x10], 0x12
call fcn.0057f230
jmp 0x4722cd
mov dword [ebp - 0x10], 0x13
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 0x13
call fcn.004634e0
jmp 0x4722cd
call fcn.004634e0
mov dword [ebp - 0x10], 0
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 1
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 2
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 3
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 4
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 5
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 6
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 0xa
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 0xb
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 0xc
call fcn.004634e0
jmp 0x4722cd
mov dword [ebp - 0x10], 0xd
call fcn.004634e0
ud2