Function at 0x418b80
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43bdfd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x10
push esi
push edi
mov edi, ecx
xorps xmm0, xmm0
mov dword [ebp - 0x18], edi
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x40], 0x7f7fffff
mov dword [edi + 0x44], 0x7f7fffff
mov dword [edi + 0x48], 0xff7fffff
mov dword [edi + 0x4c], 0xff7fffff
mov dword [edi + 0x54], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x70], 0
mov dword [edi + 0x6c], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xb8], 0
mov dword [edi + 0xf8], 0x7f7fffff
mov dword [edi + 0xfc], 0xff7fffff
mov dword [edi + 0x100], 0xff7fffff
mov dword [edi + 0x110], 0
mov dword [edi + 0x10c], 0
mov dword [edi + 0x114], 0
mov dword [edi + 0x130], 0
mov dword [edi + 0x12c], 0
mov dword [edi + 0x134], 0
mov dword [edi + 0x13c], 0
mov dword [edi + 0x138], 0
mov dword [edi + 0x140], 0
mov dword [edi + 0x148], 0
mov dword [edi + 0x144], 0
mov dword [edi + 0x14c], 0
mov dword [edi + 0x154], 0
mov dword [edi + 0x150], 0
mov dword [edi + 0x158], 0
mov dword [edi + 0x160], 0
mov dword [edi + 0x15c], 0
mov dword [edi + 0x164], 0
mov dword [edi + 0x1b8], 0
mov dword [edi + 0x1b4], 0
mov dword [edi + 0x1bc], 0
mov dword [edi + 0xc0], 0
mov eax, dword [edi + 0xc0]
mov dword [edi + 0xc4], 0
mov ecx, dword [edi + 0xc4]
mov dword [edi + 0xd0], 0
mov dword [edi + 0xd4], 0
mov dword [edi + 0xc8], 0
mov dword [edi + 0xcc], 0
mov dword [edi + 0xb8], eax
mov dword [edi + 0xbc], ecx
mov dword [edi + 0xe0], 0
mov dword [edi + 0xd8], 0
mov dword [edi + 0xe4], 0
mov dword [edi + 0xdc], 0
mov dword [edi + 0xe8], 0xbf800000
mov dword [edi + 0xec], 0
mov dword [edi + 0xf0], 0
movups xmmword [edi + 0xf4], xmm0
mov word [edi + 0x104], 0
mov byte [edi + 0x106], 0
mov dword [edi + 0x108], 0
mov dword [edi + 0x118], 0
mov dword [edi + 0x11c], 0
mov dword [edi + 0x120], 0
mov word [edi + 0x128], 1
mov dword [edi + 0x124], 0xbf800000
mov dword [edi + 0x168], 0
movups xmmword [edi + 0x16c], xmm0
movq qword [edi + 0x17c], xmm0
mov dword [edi + 0x184], 0
mov dword [edi + 0x188], 0
mov dword [edi + 0x18c], 0
mov dword [edi + 0x190], 0
mov dword [edi + 0x194], 1
mov dword [edi + 0x19c], 0
mov dword [edi + 0x198], 0
mov dword [edi + 0x1a0], 0
mov dword [edi + 0x1a8], 0
mov dword [edi + 0x1a4], 0
mov byte [edi + 0x1ac], 1
mov dword [edi + 0x1b0], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x1c4], 0
mov dword [edi + 0x1c0], 0
mov dword [edi + 0x1c8], 0
mov dword [edi + 0x1cc], 0x7f7fffff
mov dword [edi + 0x1d0], 0x7f7fffff
mov dword [edi + 0x1d4], 0xff7fffff
mov dword [edi + 0x1d8], 0xff7fffff
mov dword [edi + 0x1dc], 0x7f7fffff
mov dword [edi + 0x1e0], 0x7f7fffff
mov dword [edi + 0x1e4], 0xff7fffff
mov dword [edi + 0x1e8], 0xff7fffff
mov dword [edi + 0x1f4], 0
mov dword [edi + 0x200], 0
mov dword [edi + 0x1fc], 0
mov dword [edi + 0x1f8], 0
movups xmmword [edi + 0x204], xmm0
movups xmmword [edi + 0x214], xmm0
movups xmmword [edi + 0x224], xmm0
movups xmmword [edi + 0x234], xmm0
mov dword [edi + 0x248], 0
mov dword [edi + 0x244], 0
mov dword [edi + 0x24c], 0
mov esi, dword [ebx + 8]
mov byte [ebp - 4], 2
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x418fd0
mov eax, dword [0x45c7f4]
sub esi, ecx
inc esi
push esi
inc dword [eax + 0x310]
mov eax, dword [eax + 0xbc]
call eax
add esp, 4
push esi
mov esi, dword [ebx + 8]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [edi], eax
xor edx, edx
mov ecx, esi
push 0
call fcn.00418330
lea esi, [edi + 0x1c0]
mov dword [edi + 4], eax
mov ecx, dword [esi]
add esp, 4
mov eax, dword [esi + 4]
cmp ecx, eax
jne 0x419042
inc ecx
test eax, eax
je 0x419030
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x419035
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.0042b390
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [edi + 4]
mov dword [ecx + edx*4], eax
inc dword [esi]
cmp dword [esi], 0
jg 0x41906c
push 0x37b
push 0x44c6e8
push str.Size___0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ecx, dword [esi]
xor edx, edx
mov eax, dword [esi + 8]
push dword [eax + ecx*4 - 4]
mov ecx, str.MOVE
call fcn.00418330
mov ecx, eax
add esp, 4
mov eax, dword [0x45c7f4]
cmp dword [eax + 0x1754], ecx
jne 0x41909a
mov byte [eax + 0x175c], 1
mov dword [edi + 0x58], ecx
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x50], 0
mov dword [edi + 0x54], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0x7f7fffff
mov dword [edi + 0x68], 0x7f7fffff
mov dword [edi + 0x6c], 0x3f000000
mov dword [edi + 0x70], 0x3f000000
mov word [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov byte [edi + 0x88], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x98], 0xffffffff
mov dword [edi + 0x94], 0xffffffff
mov byte [edi + 0x9c], 0
mov dword [edi + 0xa0], 0xffffffff
mov dword [edi + 0xa4], 0
mov dword [edi + 0xb0], 0xf
mov dword [edi + 0xac], 0xf
mov dword [edi + 0xa8], 0xf
mov byte [edi + 0xb4], 0
mov dword [edi + 0x1ec], 0xffffffff
mov dword [edi + 0x1f0], 0
mov dword [edi + 0x250], 0x3f800000
inc dword [eax + 0x310]
mov eax, dword [eax + 0xbc]
push 0x70
call eax
lea ecx, [ebp - 0x11]
mov dword [edi + 0x254], eax
add esp, 4
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x41921d
mov ecx, eax
call fcn.004170c0
mov ecx, dword [edi + 0x254]
mov eax, dword [edi]
mov dword [ecx + 0x28], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x258], 0
mov dword [edi + 0x25c], 0
mov dword [edi + 0x260], 0
mov dword [edi + 0x268], 0xffffffff
mov dword [edi + 0x264], 0xffffffff
mov dword [edi + 0x270], closesocket
mov dword [edi + 0x26c], closesocket
mov dword [edi + 0x278], closesocket
mov dword [edi + 0x274], closesocket
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4