Function at 0x442810
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57a442
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x5bafe0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push esi
push edi
mov eax, dword [0x5bafe0]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x28], eax
mov eax, dword [ecx + 0x48]
push eax
lea esi, [esp + 0x24]
call fcn.004d1420
mov edx, dword [ebx + 0x30]
mov eax, dword [edx + 0x4764]
test eax, eax
mov eax, dword [esp + 0x20]
push eax
setne byte [esp + 0x1b]
call fcn.004d1370
cmp byte [esp + 0x17], 0
jne 0x44289a
mov ecx, dword [ebx + 0x30]
cmp dword [ecx + 0x4b6c], 0
je 0x442a6e
cmp byte [ebx + 0x39], 0
je 0x442a6e
mov edx, dword [ebx + 0x30]
cmp byte [edx + 0x4b73], 0
jne 0x442a6e
lea eax, [ebx + 0x54]
mov dword [esp + 0x1c], eax
mov dword [eax], 0
lea edi, [ebx + 0x60]
mov dword [esp + 0x138], 0
mov dword [esp + 0x2c], edi
call fcn.00443250
mov byte [esp + 0x30], 1
lea esi, [esp + 0x6c]
mov byte [esp + 0x138], 2
call fcn.00436da0
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x138], 3
test ecx, ecx
jne 0x44290b
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x50]
test eax, eax
je 0x44290b
mov ecx, dword [eax + 4]
mov eax, dword [ebx + 0x4c]
push eax
push ecx
lea edi, [esp + 0x74]
call fcn.00442ec0
mov ecx, edi
mov dword [ebx + 0x54], eax
call fcn.00442d20
test eax, eax
setne byte [esp + 0x17]
cmp byte [esp + 0x118], 0
je 0x442a12
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x48]
push eax
lea esi, [esp + 0x1c]
call fcn.004d1420
mov byte [esp + 0x138], 4
mov ecx, dword [ebx + 0x30]
xor edi, edi
push edi
lea edx, [esp + 0x28]
mov byte [ecx + 0x4b73], 1
push edx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x2c], str.settingsdb
call fcn.004095b0
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x54]
push 0x5be2cc
push ecx
mov byte [esp + 0x144], 5
call fcn.00412940
add esp, 0xc
mov byte [esp + 0x138], 6
mov edx, dword [ebx + 0x30]
add edx, 0x40e4
push 1
mov ecx, eax
call fcn.00457480
mov esi, 8
add esp, 4
cmp dword [esp + 0x64], esi
jb 0x4429c7
mov edx, dword [esp + 0x50]
push edx
call fcn.0052b74a
add esp, 4
xor eax, eax
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], edi
mov word [esp + 0x50], ax
cmp dword [esp + 0x48], esi
jb 0x4429ed
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0052b74a
add esp, 4
mov byte [esp + 0x138], 3
mov eax, dword [esp + 0x18]
xor edx, edx
push eax
mov dword [esp + 0x4c], 7
mov dword [esp + 0x48], edi
mov word [esp + 0x38], dx
call fcn.004d1370
mov byte [esp + 0x138], 2
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], vtable.uibr::CuiDialogYesNoRemember.0
mov dword [esp + 0x94], vtable.uibr::CuiDialogYesNoRemember.1.0
mov dword [esp + 0xc0], vtable.uibr::CuiDialogYesNoRemember.2.0
call fcn.00437220
lea eax, [esp + 0x2c]
mov byte [esp + 0x138], 0
call fcn.00442c40
cmp byte [esp + 0x17], 0
mov dword [esp + 0x138], 0xffffffff
mov ecx, dword [esp + 0x1c]
mov dword [ecx], 0
jne 0x442a7a
call fcn.004424c0
mov edi, ebx
call fcn.00441350
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.0052b755
mov esp, ebp
pop ebp
ret 4