Function at 0x41bd50
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x140
mov esi, esp
mov dword [esi + 0x128], ebp
mov dword [esi + 0x12c], esp
mov dword [esi + 0x138], 0xffffffff
mov dword [esi + 0x134], 0x41c240
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x130]
mov edx, dword fs:[0]
mov dword [esi + 0x130], edx
mov dword fs:[0], ecx
mov edi, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
mov ecx, dword [eax]
mov ebx, dword [eax + 8]
mov dword [esi + 0x30], edi
mov edi, dword [eax + 0xc]
mov dword [esi + 0x28], edx
cmp edx, 0x80000000
mov edx, dword [eax + 4]
mov dword [esi + 4], ecx
mov dword [esi + 0x2c], edi
mov edi, dword [eax + 0x28]
mov dword [esi + 0x24], edx
mov dword [esi + 0x34], edi
mov edi, dword [eax + 0x24]
mov dword [esi + 0x38], edi
mov edi, dword [eax + 0x34]
mov dword [esi + 0x3c], edi
mov edi, dword [eax + 0x30]
mov dword [esi + 0x40], edi
mov edi, dword [eax + 0x40]
mov dword [esi + 0x44], edi
mov edi, dword [eax + 0x3c]
mov dword [esi + 0x48], edi
mov edi, dword [eax + 0x4c]
mov dword [esi + 0x4c], edi
mov edi, dword [eax + 0x48]
mov dword [esi + 0x50], edi
mov edi, dword [eax + 0x58]
mov dword [esi + 0x54], edi
mov edi, dword [eax + 0x54]
mov dword [esi + 0x58], edi
jne 0x41be2e
test ebx, ebx
mov edi, ebx
je 0x41be5f
js 0x41bf96
movzx eax, byte [0x472181]
mov ebx, edx
push 1
push edi
call fcn.0040b8c0
add esp, 8
test eax, eax
je 0x41bf9a
mov edx, ebx
jmp 0x41be64
mov edi, dword [eax + 0x50]
mov dword [esi + 0x20], edi
mov edi, dword [eax + 0x44]
mov dword [esi + 0x1c], edi
mov edi, dword [eax + 0x38]
mov dword [esi + 0x18], edi
mov edi, dword [eax + 0x2c]
mov dword [esi + 0xc], edi
mov edi, dword [eax + 0x20]
mov dword [esi + 0x10], edi
mov edi, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov dword [esi + 0x14], edi
mov edi, ebx
mov ebx, dword [esi + 0x28]
mov dword [esi + 8], eax
jmp 0x41bea1
mov eax, 1
mov dword [esi + 0x14], eax
push edi
push edx
push eax
mov ebx, edx
call fcn.00457b70
mov edx, ebx
add esp, 0xc
mov ecx, dword [esi + 4]
mov ebx, edi
mov dword [esi + 0x10], 0x80000003
mov dword [esi + 8], edi
mov dword [esi + 0xc], 0x80000003
mov dword [esi + 0x18], 0x80000003
mov dword [esi + 0x1c], 0x80000003
mov dword [esi + 0x20], 0x80000003
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], edx
mov dword [esi + 0x64], edi
lea edi, [esi + 0x70]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x6c], eax
push 0x70
push dword [ebp + 0xc]
push edi
call fcn.00457b70
add esp, 0xc
mov eax, dword [esi + 8]
mov dword [esi + 0xe0], ebx
mov byte [esi + 3], 0
mov dword [esi + 0x138], 0
mov dword [esi + 0xe8], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0xe4], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0xec], eax
mov eax, dword [esi + 0x34]
mov dword [esi + 0xf4], eax
mov eax, dword [esi + 0x38]
mov dword [esi + 0xf0], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0xf8], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x100], eax
mov eax, dword [esi + 0x40]
mov dword [esi + 0xfc], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x104], eax
mov eax, dword [esi + 0x44]
mov dword [esi + 0x10c], eax
mov eax, dword [esi + 0x48]
mov dword [esi + 0x108], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x110], eax
mov eax, dword [esi + 0x4c]
mov dword [esi + 0x118], eax
mov eax, dword [esi + 0x50]
mov dword [esi + 0x114], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x11c], eax
mov eax, dword [esi + 0x54]
mov dword [esi + 0x124], eax
mov eax, dword [esi + 0x58]
mov dword [esi + 0x120], eax
lea eax, [esi + 0x5c]
push edi
push eax
call fcn.0042d130
add esp, 8
mov ecx, dword [esi + 0x130]
mov dword fs:[0], ecx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x41bf9f
mov eax, 1
mov byte [esi + 3], 1
mov dword [esi + 0x138], 0
push edi
push eax
call fcn.0045d9b0
add esp, 8
ud2