Function at 0x40d950
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512915
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x573054]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
lea ecx, [esi + 0x48]
mov dword [ebp - 0x14], esi
movzx eax, byte [edi]
mov byte [esi], al
movzx eax, byte [edi + 1]
mov byte [esi + 1], al
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [edi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [edi + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [edi + 0x3c]
mov dword [esi + 0x3c], eax
mov eax, dword [edi + 0x40]
mov dword [esi + 0x40], eax
mov eax, dword [edi + 0x44]
mov dword [esi + 0x44], eax
lea eax, [edi + 0x48]
push eax
call fcn.0040e6e0
lea eax, [edi + 0x50]
mov dword [ebp - 4], 0
push eax
lea ecx, [esi + 0x50]
call fcn.0040e6e0
lea eax, [edi + 0x58]
mov byte [ebp - 4], 1
push eax
lea ecx, [esi + 0x58]
call fcn.0040e5f0
lea eax, [edi + 0x60]
mov byte [ebp - 4], 2
push eax
lea ecx, [esi + 0x60]
call fcn.0040e500
lea eax, [edi + 0x68]
mov byte [ebp - 4], 3
push eax
lea ecx, [esi + 0x68]
call fcn.0040e500
lea eax, [edi + 0x70]
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0x70]
call fcn.0040e410
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 5
lea eax, [edi + 0x78]
mov dword [ebp + 8], ecx
push ecx
push eax
call fcn.0040f220
lea eax, [edi + 0x80]
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 0x80]
call fcn.0040e870
mov dword [ebp - 4], 7
lea eax, [edi + 0xc8]
movups xmm0, xmmword [edi + 0x98]
push eax
lea ecx, [esi + 0xc8]
movups xmmword [esi + 0x98], xmm0
movups xmm0, xmmword [edi + 0xa8]
movups xmmword [esi + 0xa8], xmm0
movups xmm0, xmmword [edi + 0xb8]
movups xmmword [esi + 0xb8], xmm0
call fcn.0040d8e0
mov byte [ebp - 4], 8
add esi, 0x118
mov dword [ebp + 8], esi
mov eax, dword [edi + 0x118]
mov dword [esi], eax
lea ecx, [esi + 8]
mov eax, dword [edi + 0x11c]
mov dword [esi + 4], eax
lea eax, [edi + 0x120]
push eax
call fcn.00405990
lea eax, [edi + 0x138]
mov byte [ebp - 4], 9
push eax
lea ecx, [esi + 0x20]
call fcn.00405990
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x3c]
mov eax, dword [edi + 0x150]
mov dword [esi + 0x38], eax
lea eax, [edi + 0x154]
push eax
call fcn.00405990
mov byte [ebp - 4], 0xb
mov esi, dword [ebp - 0x10]
mov eax, dword [edi + 0x170]
mov dword [esi + 0x170], eax
lea ecx, [esi + 0x178]
mov eax, dword [edi + 0x174]
mov dword [esi + 0x174], eax
lea eax, [edi + 0x178]
push eax
mov dword [ebp + 8], ecx
call fcn.00405990
lea eax, [edi + 0x190]
mov byte [ebp - 4], 0xc
push eax
lea ecx, [esi + 0x190]
call fcn.0040dbc0
movups xmm0, xmmword [edi + 0x330]
movups xmmword [esi + 0x330], xmm0
movq xmm0, qword [edi + 0x340]
movq qword [esi + 0x340], xmm0
mov eax, dword [edi + 0x348]
mov dword [esi + 0x348], eax
mov eax, dword [edi + 0x34c]
mov dword [esi + 0x34c], eax
mov eax, dword [edi + 0x350]
mov dword [esi + 0x350], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4