Function at 0x59df90
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x745554
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x857060]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], ebx
mov dword [ebx + 4], eax
mov dword [ebx + 8], 0
mov byte [ebx + 0xc], 0
mov dword [ebp - 4], 0
lea esi, [ebx + 0x10]
xor eax, eax
mov dword [ebx], vtable.WorkflowManager.0
mov dword [ebp - 0x2c], esi
mov ecx, esi
push eax
push 0x799430
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
call fcn.00426d40
xor eax, eax
mov byte [ebp - 4], 1
lea ecx, [esi + 0x18]
mov dword [ecx + 0x10], 0
push eax
push 0x799430
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00426d40
xor eax, eax
mov byte [ebp - 4], 2
lea ecx, [esi + 0x30]
mov dword [ecx + 0x10], 0
push eax
push 0x799430
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00426d40
mov eax, dword [ebp + 8]
lea esi, [ebx + 0x64]
mov dword [ebx + 0x58], eax
mov ecx, esi
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x5c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x2c], esi
mov dword [ebx + 0x60], eax
mov dword [ebp - 0x2c], esi
call fcn.0055a5e0
mov dword [esi], vtable.IMSUserProfile.0
mov dword [esi + 0x1b4], 0
mov dword [esi + 0x1b8], 0xf
mov byte [esi + 0x1a4], 0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
push 4
xor eax, eax
mov dword [ebp - 0x18], 0
push str.PROD
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00426d40
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 6
push eax
mov ecx, esi
call fcn.00552380
lea ecx, [ebp - 0x28]
call fcn.00426ce0
lea ecx, [esi + 0x1bc]
call fcn.0055a5e0
mov dword [ecx], vtable.NGLUserProfile.0
xor eax, eax
mov dword [ebx + 0x3d4], 0
mov dword [ebx + 0x3d8], 7
mov word [ebx + 0x3c4], ax
mov dword [ebx + 0x3ec], eax
mov dword [ebx + 0x3f0], 7
mov word [ebx + 0x3dc], ax
lea ecx, [ebx + 0x3f4]
mov byte [ebp - 4], 9
push 5
push str.false
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00426d40
xor eax, eax
mov dword [ebx + 0x41c], 0
mov dword [ebx + 0x420], 7
mov word [ebx + 0x40c], ax
mov dword [ebx + 0x434], eax
mov dword [ebx + 0x438], 7
mov word [ebx + 0x424], ax
mov dword [ebx + 0x44c], eax
mov dword [ebx + 0x450], 7
mov word [ebx + 0x43c], ax
mov dword [ebx + 0x454], eax
mov byte [ebx + 0x458], al
mov eax, dword [ebp + 0x14]
lea edi, [ebx + 0x460]
mov byte [ebp - 4], 0xe
lea esi, [edi + 0xc]
mov dword [ebp - 0x2c], edi
mov dword [ebx + 0x45c], eax
mov dword [edi], vtable.HDStateMachine.0
mov dword [ebp - 0x10], esi
push 0x18
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006d0976
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov byte [ebp - 4], 0xf
lea esi, [edi + 0x14]
mov dword [ebp - 0x10], esi
push 0x1c
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.006d0976
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov word [edi + 8], 0
mov byte [ebp - 4], 0x10
sub esp, 0x10
mov ecx, esp
mov dword [ebx + 0x47c], 0
mov dword [ebx + 0x480], 0xffffffff
xor eax, eax
mov word [ebx + 0x484], 0
mov byte [ebx + 0x486], 0
mov word [ebx + 0x498], 0
mov byte [ebx + 0x49a], 0
mov dword [ebx + 0x49c], 0
push 0x2d
push 0x7fb770
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
mov word [ecx], ax
call fcn.00426d40
lea ecx, [ebx + 0x4a8]
call fcn.00671090
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x28]
push 0x2d
xor eax, eax
mov dword [ebp - 0x18], 0
push str.GlobalA5841EB4_52AA_403B_A912_9755F616D226
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00426d40
lea esi, [ebx + 0x4cc]
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x13
cmp esi, eax
je 0x59e2da
cmp dword [ebp - 0x14], 8
mov ecx, esi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00426d40
lea ecx, [ebp - 0x28]
mov dword [esi + 0x1c], 1
mov byte [esi + 0x20], 0
mov dword [esi + 0x18], 0
call fcn.00426ce0
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x28]
push 0x2d
xor eax, eax
mov dword [ebp - 0x18], 0
push str.GlobalD14718B7_BC31_4F09_9E3C_75D933967967
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00426d40
lea esi, [ebx + 0x4f0]
mov dword [ebp - 0x10], esi
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x16
cmp esi, eax
je 0x59e355
cmp dword [ebp - 0x14], 8
mov ecx, esi
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00426d40
lea ecx, [ebp - 0x28]
mov dword [esi + 0x1c], 1
mov byte [esi + 0x20], 0
mov dword [esi + 0x18], 0
call fcn.00426ce0
mov byte [ebp - 4], 0x17
mov dword [ebx + 0x514], 0
call fcn.00663750
mov dword [ebx + 0x4a0], eax
call fcn.00663750
mov esi, dword [ebx + 0x58]
lea ecx, [ebp - 0x28]
mov dword [ebx + 0x4a4], eax
mov eax, dword [ebx + 0x5c]
push 0xb
push str.environment
mov dword [ebp - 0x18], 0
mov edi, dword [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00426d40
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x18
push eax
mov ecx, esi
call fcn.005541a0
push eax
lea ecx, [ebp - 0x48]
call fcn.00449230
lea ecx, [ebp - 0x28]
call fcn.00426ce0
mov byte [ebp - 4], 0x19
lea esi, [ebx + 0x64]
mov dword [esi + 0x35c], edi
test edi, edi
jne 0x59e3fd
mov ecx, str.NGL_Workflow_is_enabled
lea edx, [esi + 0x1bc]
jmp 0x59e404
mov ecx, str.IMS_Workflow_is_enabled
mov edx, esi
push ecx
push 0x799430
push 0x799430
push str.UserProfileWrapper
push 0x799430
push 0x1e
mov dword [esi + 0x358], edx
call fcn.0056c500
mov ecx, dword [esi + 0x358]
lea edx, [ebp - 0x48]
add esp, 0x18
mov eax, dword [ecx]
push edx
call dword [eax + 4]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x17
call fcn.00426ce0
mov eax, dword [ebx + 0x45c]
push 0x38
mov dword [eax + 8], esi
call fcn.006d0976
push 0x38
mov edi, eax
push 0
push edi
mov dword [ebp - 0x10], edi
call fcn.006e9470
mov eax, dword [ebx + 0x60]
add esp, 0x10
mov esi, dword [ebx + 0x5c]
mov ecx, dword [ebx + 0x45c]
mov edx, dword [ebx + 4]
mov dword [edi], eax
mov eax, ebx
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov dword [edi + 0xc], esi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0x2710
mov dword [edi + 0x24], 0x2712
mov dword [edi + 0x28], 0x3e99999a
mov byte [edi + 0x2c], 1
mov dword [edi + 0x30], 0xffffffff
mov dword [edi + 0x34], 0
mov dword [ebx + 0x49c], edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14