Function at 0x40b190
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x47319c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov eax, 0xa
push edi
mov dword [esp + 0xc], esi
mov dword [esi + 0xd4], 0x47a16c
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xd8], ebx
mov dword [esi + 0xe8], ebx
mov dword [esi + 0xec], eax
mov dword [esp + 0x3c], ebx
mov dword [esi + 0xf0], 0x47a160
mov dword [esi + 0xfc], ebx
mov dword [esi + 0x100], ebx
mov dword [esi + 0xf8], ebx
mov dword [esi + 0xf4], ebx
mov dword [esi + 0x104], ebx
mov dword [esi + 0x108], eax
lea eax, [esp + 0x10]
mov byte [esp + 0x3c], 1
push eax
mov dword [esi], 0x47a158
call dword [0x4793e0]
mov ecx, dword [esp + 0x24]
lea edi, [esi + 0x134]
xor eax, eax
lea edx, [ecx + ecx + 2]
mov ecx, 8
mov dword [esi + 0x158], edx
rep stosd dword es:[edi], eax
mov dword [esi + 0x110], ebx
mov edi, dword [0x4793e4]
lea eax, [esi + 0xa8]
push eax
call edi
lea ecx, [esi + 0x48]
push ecx
call edi
lea edx, [esi + 0x60]
push edx
call edi
lea eax, [esi + 0x78]
push eax
call edi
lea ecx, [esi + 0x90]
push ecx
call edi
mov edi, dword [0x4793e8]
push ebx
lea edx, [esi + 0x34]
push ebx
lea eax, [esi + 0x30]
push edx
push eax
call edi
test eax, eax
push ebx
push ebx
jne 0x40b2b1
push str.CreatePipe_m_hCmdPipe_error__
call fcn.0045ef2c
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret
lea ecx, [esi + 0x3c]
lea edx, [esi + 0x38]
push ecx
push edx
call edi
test eax, eax
push ebx
push ebx
jne 0x40b2df
push str.CreatePipe_m_hWaiterPipe_error__
call fcn.0045ef2c
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret
lea eax, [esi + 0x44]
lea ecx, [esi + 0x40]
push eax
push ecx
call edi
test eax, eax
jne 0x40b30d
push ebx
push ebx
push str.CreatePipe_m_hFluxLimitPipe_error__
call fcn.0045ef2c
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret
mov dword [esi + 0xcc], ebx
mov dword [esi + 0xc8], ebx
mov dword [esi + 0xd0], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0x114], ebx
mov eax, dword [esi + 0xd8]
cmp eax, ebx
je 0x40b35c
mov eax, dword [eax]
cmp eax, ebx
jne 0x40b356
mov ecx, dword [esi + 0xe8]
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xdc], ebx
mov dword [esi + 0xd8], ebx
call fcn.0044e054
mov dword [esi + 0xe8], ebx
mov eax, dword [esi + 0xf4]
cmp eax, ebx
je 0x40b395
mov eax, dword [eax]
cmp eax, ebx
jne 0x40b38f
mov ecx, dword [esi + 0x104]
mov dword [esi + 0xfc], ebx
mov dword [esi + 0x100], ebx
mov dword [esi + 0xf8], ebx
mov dword [esi + 0xf4], ebx
call fcn.0044e054
mov ecx, dword [esp + 0x34]
mov dword [esi + 0x104], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret