Function at 0x537200
Capabilities:
Access peb ldr_data
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x86a940
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebp
push esi
push edi
mov eax, dword [0x8ce6f4]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
call fcn.007c9a2f
mov eax, dword [eax + 4]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0xc]
mov byte [esp + 0x13], 0
test eax, eax
je 0x5373bd
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebp, eax
test ebp, ebp
jne 0x537275
cmp byte [esp + 0x34], al
je 0x5373bd
push 0x30
push 0x40c718
push 0x411430
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x5373bd
mov ecx, dword [edi + 0xc]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.005cb460
add esp, 8
mov dword [esp + 0x28], 0
call fcn.007c9a2f
mov esi, dword [eax + 4]
mov eax, dword [esi + 0x1e4]
push 0x2e
push eax
call fcn.00806ba1
add esp, 8
test eax, eax
jne 0x5372b0
or eax, 0xffffffff
jmp 0x5372b8
sub eax, dword [esi + 0x1e4]
sar eax, 1
inc eax
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esi + 0x1e4]
call fcn.004ac570
push 0x30
push eax
lea ecx, [esp + 0x38]
push ecx
mov byte [esp + 0x34], 1
call fcn.00528750
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
add esp, 0xc
mov byte [esp + 0x28], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x537304
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.004b0120
add esp, 8
test al, al
je 0x537330
mov ax, word [edi + 4]
mov ecx, dword [esp + 0x18]
mov word [ecx + 0x1078], ax
mov byte [esp + 0x13], 1
jmp 0x537371
cmp byte [esp + 0x34], 0
je 0x537368
push 0x34
push 0x40c718
push 0x411310
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x537368
push 0xa
push 0
push 0
push 0x4112b8
push 0x4027e8
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor ebp, ebp
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x537391
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5373b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test ebp, ebp
jne 0x5373df
call fcn.007c9a2f
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x18]
mov ebp, dword [eax + 0x44]
xor ecx, ecx
mov word [edx + 0x1078], cx
cmp dword [edi + 0xc], ecx
sete byte [esp + 0x13]
jmp 0x537405
cmp dword [edi], 0x8029
jne 0x537405
push 1
call dword [sym.imp.USER32.dll_SetProcessDefaultLayout]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x533c10
push 5
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
call fcn.007c9a2f
mov esi, dword [eax + 0xc]
call fcn.007c9a2f
mov eax, dword [eax + 4]
cmp esi, dword [eax + 0x44]
je 0x537429
call fcn.007c9a2f
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call fcn.007c9a2f
mov dword [eax + 0xc], ebp
mov al, byte [esp + 0x13]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x1c
ret