Function at 0x40b0a0
Capabilities:
Access peb ldr_data
Check if file exists
Create process on windows
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5a18e7
mov eax, dword fs:[0]
push eax
sub esp, 0x888
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x880], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x89c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x8ac]
mov eax, dword [eax]
mov ebx, dword [esp + 0x8b4]
mov ebp, dword [esp + 0x8b8]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x8bc]
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x8c0]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x8c4]
sub eax, 0x10
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
call fcn.004073f0
lea esi, [eax + 0x10]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x8a4], 0
mov edx, dword [0x6285c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x6285c4
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push 0
push str.__updateidAF868A92_0866_45d4_9BD8_A8EE2BB2033F__SECTIONIDDCEC36FC_64A3_471f_9DEE_7D01310E1E2C__NOTIFYWINDOW_d__NAME51FA7BCF_DF17_4b1a_8052_C4D98AA5F93D___UPDATETYPEE7CF2847_EEE7_4dc3_9BD5_23902EBF1D89
lea edi, [esp + 0x20]
mov byte [esp + 0x8ac], 1
call fcn.00407710
add esp, 8
cmp dword [esp + 0x8b0], 0
je 0x40b1ba
lea ecx, [esp + 0x20]
push 0x5d86cc
push ecx
mov ecx, edi
call fcn.0040cf30
add esp, 8
mov byte [esp + 0x8a4], 2
call fcn.00406fe0
mov byte [esp + 0x8a4], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40b1ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
push eax
push str.AF868A92_0866_45d4_9BD8_A8EE2BB2033F
lea edx, [esp + 0x20]
push edx
call fcn.00406840
mov ebx, dword [ebx]
push ebx
push str.DCEC36FC_64A3_471f_9DEE_7D01310E1E2C
lea eax, [esp + 0x20]
push eax
call fcn.00406840
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
push eax
push str.51FA7BCF_DF17_4b1a_8052_C4D98AA5F93D
lea edx, [esp + 0x20]
push edx
call fcn.00406840
mov ebp, dword [ebp]
push ebp
push str.E7CF2847_EEE7_4dc3_9BD5_23902EBF1D89
lea eax, [esp + 0x20]
push eax
call fcn.00406840
push 0xa
push str.__execarg
lea ecx, [esp + 0x20]
push ecx
call fcn.00409a20
mov edx, dword [esp + 0x2c]
mov eax, dword [edx]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00409a20
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebp, dword [esp + 0x18]
test eax, eax
je 0x40b3e7
push 0
push ecx
lea eax, [esi - 0x10]
mov dword [esp + 0x30], esp
mov edi, esp
call fcn.004073f0
add eax, 0x10
mov dword [edi], eax
call fcn.0049da57
add esp, 8
test eax, eax
je 0x40b3e7
push 0x40
lea ecx, [esp + 0x54]
push 0
push ecx
call fcn.004fe380
xor eax, eax
add esp, 0xc
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
lea ecx, [esp + 0x28]
push 0x5d8490
mov eax, 5
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x80], 1
mov word [esp + 0x84], ax
call fcn.0040cf30
push eax
lea edx, [esp + 0x2c]
push edx
mov ebx, 0x5d8490
mov byte [esp + 0x8b4], 3
call fcn.00409940
add esp, 0x10
lea edi, [esp + 0x1c]
mov byte [esp + 0x8a4], 4
call fcn.00406fe0
mov byte [esp + 0x8a4], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b323
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x8a4], 1
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b34b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x1c]
push 0x400
lea ecx, [esp + 0x98]
push esi
push ecx
call fcn.004f8077
add esp, 0xc
push 0x400
lea edx, [esp + 0x98]
push 0x5d8494
push edx
call fcn.004f80c1
add esp, 0xc
push 0x400
lea eax, [esp + 0x98]
push ebp
push eax
call fcn.004f80c1
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x50]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0xb4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
test edi, edi
je 0x40b3cf
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40b3cf
mov ecx, dword [esp + 0x3c]
mov dword [eax], ecx
push 0x32
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
push edx
call fcn.0040ad40
jmp 0x40b3e9
xor edi, edi
lea eax, [ebp - 0x10]
mov byte [esp + 0x8a4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b40d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 0xfffffff0
mov dword [esp + 0x8a4], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40b434
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [esp + 0x89c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x880]
xor ecx, esp
call fcn.004f673f
add esp, 0x894
ret 0x1c