Function at 0x405390
Capabilities:
Access peb ldr_data
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 0x45032b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x10
push esi
push edi
mov eax, dword [0x46900c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 0xc]
call fcn.00401510
lea ecx, [esi + 0x14]
call fcn.00401510
lea ecx, [esi + 0x1c]
call fcn.00401510
lea ecx, [esi + 0x24]
call fcn.00401510
lea ecx, [esi + 0x2c]
call fcn.00401510
lea ecx, [esi + 0x34]
call fcn.00401510
lea ecx, [esi + 0x50]
call fcn.00401510
lea ecx, [esi + 0x58]
call fcn.00401510
lea ecx, [esi + 0x60]
call fcn.00401510
lea ecx, [esi + 0x68]
call fcn.00401510
lea ecx, [esi + 0x70]
call fcn.00401510
lea ecx, [esi + 0xac]
call fcn.00401510
lea ecx, [esi + 0xb4]
call fcn.00401510
lea edi, [esi + 0xbc]
mov ecx, edi
call fcn.00411a70
lea ecx, [esi + 0xc8]
mov dword [ebp - 4], 0
call fcn.00402ca0
lea ecx, [esi + 0x1ec]
call fcn.00401da0
lea ecx, [esi + 0x1fc]
call fcn.00401da0
lea ecx, [esi + 0x20c]
call fcn.00401da0
lea ecx, [esi + 0x21c]
call fcn.00401da0
lea ecx, [esi + 0x22c]
call fcn.00401da0
lea ecx, [esi + 0x23c]
call fcn.00401da0
lea ecx, [esi + 0x258]
call fcn.00401640
lea ecx, [esi + 0x264]
call fcn.00411a70
mov eax, dword [ebx + 8]
lea ecx, [esi + 0x27c]
add eax, 0x18e4
push eax
call fcn.00401770
push fcn.00401da0
lea ecx, [esi + 0x334]
mov byte [ebp - 4], 4
push 2
mov edx, 0x10
call fcn.00403430
mov ecx, dword [ebx + 0xc]
call fcn.00403b90
mov ecx, dword [ebx + 0xc]
xor edx, edx
mov dword [esi], eax
add esi, 4
push 0
call fcn.00403d90
add esp, 4
mov dword [esi], eax
mov ecx, edi
push esi
call fcn.00411b10
mov esi, dword [ebp - 0x14]
xorps xmm2, xmm2
xorps xmm1, xmm1
mov dword [esi + 8], 0
lea ecx, [ebp - 0x18]
call fcn.00401520
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0xc], ecx
lea ecx, [ebp - 0x18]
mov dword [esi + 0x10], eax
call fcn.00401520
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x20], eax
mov eax, ecx
mov dword [esi + 0x1c], ecx
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x18], ecx
lea ecx, [ebp - 0x18]
mov dword [esi + 0x14], eax
call fcn.00401520
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x30], eax
mov eax, ecx
mov dword [esi + 0x2c], ecx
mov ecx, dword [esi + 0x30]
mov dword [esi + 0x28], ecx
lea ecx, [ebp - 0x18]
mov dword [esi + 0x24], eax
call fcn.00401520
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x34], ecx
mov ecx, dword [ebx + 0xc]
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x405590
sub ecx, edx
push ecx
push str.MOVE
lea eax, [ecx + 1]
mov ecx, esi
mov dword [esi + 0x44], eax
call fcn.00405900
xorps xmm2, xmm2
mov dword [esi + 0x48], eax
xorps xmm1, xmm1
mov dword [esi + 0x4c], 0
lea ecx, [ebp - 0x18]
call fcn.00401520
movss xmm0, dword [0x46024c]
movaps xmm2, xmm0
movaps xmm1, xmm0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x50], ecx
lea ecx, [ebp - 0x18]
mov dword [esi + 0x54], eax
call fcn.00401520
movss xmm2, dword [0x4600ec]
movaps xmm1, xmm2
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x60], ecx
lea ecx, [ebp - 0x18]
mov dword [esi + 0x64], eax
call fcn.00401520
xorps xmm2, xmm2
xorps xmm1, xmm1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x68], ecx
lea ecx, [ebp - 0x18]
mov dword [esi + 0x6c], eax
call fcn.00401520
movaps xmm2, xmm0
movaps xmm1, xmm0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0x74], eax
xor eax, eax
mov word [esi + 0x86], ax
or eax, 0xffffffff
mov dword [esi + 0x70], ecx
lea ecx, [ebp - 0x18]
mov dword [esi + 0x78], 0
mov dword [esi + 0x7c], 0
mov dword [esi + 0x80], 0
mov byte [esi + 0x84], 0xff
mov word [esi + 0x88], ax
mov word [esi + 0x8a], ax
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0xffff
mov dword [esi + 0x94], eax
mov dword [esi + 0x9c], 0
mov dword [esi + 0x98], 0
mov dword [esi + 0xa8], 0xf
mov dword [esi + 0xa4], 0xf
mov dword [esi + 0xa0], 0xf
call fcn.00401520
xorps xmm3, xmm3
xorps xmm2, xmm2
xorps xmm1, xmm1
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esi + 0xb8], eax
mov eax, ecx
mov dword [esi + 0xb4], ecx
mov ecx, dword [esi + 0xb8]
push ecx
mov dword [esi + 0xb0], ecx
lea ecx, [ebp - 0x20]
mov dword [esi + 0xac], eax
mov dword [esp], 0
call fcn.00401e20
movups xmm0, xmmword [eax]
mov dword [esi + 0x24c], 0xffffffff
movups xmmword [esi + 0x1fc], xmm0
mov eax, dword [esi]
lea ecx, [esi + 0x27c]
mov dword [esi + 0x278], ecx
mov dword [esi + 0x250], 0xbf800000
mov dword [esi + 0x254], 0
mov dword [esi + 0x270], 0x3f800000
mov dword [esi + 0x274], 0xffffffff
mov dword [ecx + 0x2c], eax
lea ecx, [ebp - 0x20]
mov dword [esi + 0x318], 0
mov dword [esi + 0x31c], 0
mov dword [esi + 0x320], 0
mov dword [esi + 0x324], 0
mov dword [esi + 0x330], 0
mov dword [esi + 0x32c], 0
call fcn.00401da0
movups xmm0, xmmword [eax]
mov eax, esi
movups xmmword [esi + 0x344], xmm0
movups xmm0, xmmword [esi + 0x344]
movups xmmword [esi + 0x334], xmm0
mov dword [esi + 0x328], 0
mov byte [esi + 0x354], 0
mov dword [esi + 0x35c], 0
mov dword [esi + 0x358], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8