Function at 0x40df0f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [0x4c1280]
xor eax, esp
mov dword [esp + 0x70], eax
and dword [esp + 0x10], 0
and dword [esp + 0x14], 0
push ebx
push esi
push edi
mov ebx, ecx
mov edi, edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
call fcn.004146fe
mov dword [esp + 0x1c], eax
xor esi, esi
push dword [esi + 0x4a3b80]
lea ecx, [esp + 0x6c]
call fcn.004389a0
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x6c]
call fcn.0043aee4
lea ecx, [esp + 0x54]
call fcn.0043634f
movzx eax, byte [0x4c5b4b]
lea ecx, [esp + 0x1c]
push eax
lea eax, [esp + 0x6c]
push eax
push 0
lea eax, [esp + 0x44]
push eax
call fcn.00414866
lea ecx, [esp + 0x68]
call fcn.00438cda
add esi, 4
cmp esi, 0x58
jb 0x40df4b
lea esi, [edi + 0x78]
mov eax, dword [esi]
mov dword [esp + 0x18], esi
mov edi, dword [eax]
mov dword [esp + 0x14], edi
cmp edi, eax
je 0x40e0a2
mov ebx, esi
lea ecx, [esp + 0x14]
call fcn.00405181
lea eax, [edi + 0x10]
push eax
lea ecx, [esp + 0x6c]
call fcn.00438449
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x6c]
call fcn.0043aee4
lea ecx, [esp + 0x54]
call fcn.0043634f
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x24]
call fcn.00413f39
cmp dword [eax], esi
jne 0x40e085
lea ecx, [edi + 0x24]
call fcn.0043fcdc
push eax
lea ecx, [edi + 0x10]
call fcn.0043fcdc
push eax
push str.unsupported_argument:__s_s
push 0
push 0
push 2
call fcn.00404b89
add esp, 0x18
lea eax, [esp + 0x38]
mov ecx, ebx
push edi
push eax
call fcn.00407222
lea ecx, [esp + 0x54]
call fcn.00438a1f
lea ecx, [esp + 0x68]
call fcn.0043fcdc
push eax
push str.UnexpectedParam__s_
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x60]
push eax
call fcn.0043a3c2
add esp, 0x10
lea ecx, [esp + 0x40]
call fcn.0043634f
lea ecx, [esp + 0x54]
call fcn.0043fcdc
mov ecx, dword [esp + 0x2c]
push eax
call fcn.00408a4d
lea ecx, [esp + 0x54]
call fcn.00438cda
lea ecx, [esp + 0x68]
call fcn.00438cda
mov edi, dword [esp + 0x14]
cmp edi, dword [ebx]
jne 0x40dfb8
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 0x18]
call fcn.004196cc
test al, al
je 0x40e0ed
push str.found_multi_user_installation__enforcing_persist0
push 0
push 0
push 1
call fcn.00404b89
add esp, 0x10
lea ecx, [esp + 0x54]
push 0x4a527c
call fcn.004389d2
push 0x4a6468
lea eax, [esp + 0x58]
mov ecx, esi
push eax
call fcn.00405630
mov ecx, eax
call fcn.00438d6a
lea ecx, [esp + 0x54]
call fcn.00438cda
and dword [esp + 0x24], 0
lea ecx, [esp + 0x24]
and dword [esp + 0x28], 0
call fcn.004146fe
push dword [0x4a3b6c]
lea ecx, [esp + 0x58]
mov dword [esp + 0x28], eax
call fcn.004389a0
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x58]
call fcn.0043aee4
lea ecx, [esp + 0x40]
call fcn.0043634f
movzx eax, byte [0x4c5b4b]
lea ecx, [esp + 0x24]
push eax
lea eax, [esp + 0x58]
push eax
push 0
lea eax, [esp + 0x44]
push eax
call fcn.00414866
lea ecx, [esp + 0x54]
call fcn.00438cda
mov eax, dword [esp + 0x2c]
xor cl, cl
add eax, 0x88
mov byte [esp + 0x13], cl
mov dword [esp + 0x18], eax
mov eax, dword [eax]
mov edi, dword [eax]
mov dword [esp + 0x14], edi
cmp edi, eax
je 0x40e239
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x14]
call fcn.00405181
lea eax, [edi + 0x10]
push eax
lea ecx, [esp + 0x58]
call fcn.00438449
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x58]
call fcn.0043aee4
lea ecx, [esp + 0x40]
call fcn.0043634f
mov esi, dword [esp + 0x24]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x2c]
call fcn.00413f39
cmp dword [eax], esi
je 0x40e1f6
lea ecx, [edi + 0x24]
mov byte [esp + 0x13], 1
call fcn.0043fcdc
push eax
lea ecx, [edi + 0x10]
call fcn.0043fcdc
push eax
push str.unsupported_argument:__s_s
push 0
push 0
push 2
call fcn.00404b89
add esp, 0x18
lea eax, [esp + 0x34]
mov ecx, ebx
push edi
push eax
call fcn.00407222
lea ecx, [esp + 0x54]
call fcn.00438cda
mov edi, dword [esp + 0x14]
cmp edi, dword [ebx]
jne 0x40e177
mov cl, byte [esp + 0x13]
mov ebx, dword [esp + 0x30]
test cl, cl
je 0x40e239
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x40]
push 0
call fcn.0040de4f
push eax
mov ecx, ebx
call fcn.0043630b
lea ecx, [esp + 0x40]
call fcn.0043634f
jmp 0x40e245
push 0x4a4694
mov ecx, ebx
call fcn.004362eb
lea ecx, [esp + 0x24]
call fcn.00413f17
lea ecx, [esp + 0x1c]
call fcn.00413f17
mov ecx, dword [esp + 0x7c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0046a6d5
mov esp, ebp
pop ebp
ret