Function at 0x409c90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4226c1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x150
mov eax, dword [0x42b48c]
xor eax, ebp
mov dword [esp + 0x148], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [esp + 0x2c], eax
push esi
push edi
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x30], ebx
xor eax, eax
mov byte [esp + 0x48], bl
mov ecx, 0x40
lea edi, [esp + 0x49]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, 0x104
lea ecx, [esp + 0x48]
call fcn.00404320
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x28]
call fcn.00409be0
push 0x1f
push str.BackupRSDRSSetupRSSetup.xml
lea ecx, [esp + 0x2c]
mov dword [esp + 0x16c], ebx
call fcn.00405e10
mov edx, dword [0x42c534]
mov ecx, 0x42c534
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x450]
cmp eax, ebx
mov byte [esp + 0x164], 1
je 0x409f47
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ecx, [esp + 0x24]
mov byte [esp + 0x164], 2
call fcn.00405700
mov ecx, dword [esi + 0x450]
mov dword [esp + 0x40], eax
lea eax, [esp + 0x28]
push eax
sub esp, 0x10
mov word [esp + 0x4c], 8
mov edi, dword [esp + 0x4c]
mov edx, dword [ecx]
mov eax, esp
mov dword [eax], edi
mov edi, dword [esp + 0x50]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x54]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x58]
push ecx
mov dword [eax + 0xc], edi
call dword [edx + 0xe8]
test eax, eax
jne 0x409f34
cmp word [esp + 0x28], 0xffff
jne 0x409f34
mov dword [esp + 0x20], ebx
push str.COMPONENT
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], 3
call fcn.00404830
mov eax, dword [eax]
mov esi, dword [esi + 0x450]
mov ecx, dword [esi]
lea edx, [esp + 0x20]
push edx
push eax
push esi
mov byte [esp + 0x170], 4
mov dword [esp + 0x3c], 1
call dword [ecx + 0x94]
test eax, eax
jne 0x409e02
cmp dword [esp + 0x20], ebx
mov byte [esp + 0x13], 1
jne 0x409e06
mov byte [esp + 0x13], bl
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push eax
mov dword [esp + 0x168], 3
call esi
cmp byte [esp + 0x13], bl
je 0x409f1e
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push edx
push eax
mov byte [esp + 0x16c], 5
call dword [ecx + 0x44]
test eax, eax
jne 0x409f08
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x409f0c
mov dword [esp + 0x1c], ebx
push str.VERSION
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], 6
call fcn.00404830
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
lea edi, [esp + 0x1c]
push edi
push eax
push ecx
mov byte [esp + 0x170], 7
mov dword [esp + 0x3c], 2
call dword [edx + 0x1c]
test eax, eax
jne 0x409ea2
cmp dword [esp + 0x1c], ebx
mov byte [esp + 0x13], 1
jne 0x409ea6
mov byte [esp + 0x13], bl
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x168], 6
call esi
cmp byte [esp + 0x13], bl
je 0x409ef2
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov byte [esp + 0x16c], 8
call dword [ecx + 0x68]
test eax, eax
jne 0x409eeb
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x30]
call fcn.004071c0
mov ecx, dword [esp + 0x14]
push ecx
call esi
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov byte [esp + 0x164], 5
je 0x409f08
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov byte [esp + 0x164], 3
je 0x409f1e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov byte [esp + 0x164], 2
je 0x409f34
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea eax, [esp + 0x38]
push eax
mov byte [esp + 0x168], 1
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [esp + 0x2c]
add esi, 0xfffffff0
push esi
call fcn.00404e70
mov edi, dword [esp + 0x38]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov byte [esp + 0x164], bl
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409f7e
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x164], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409fa7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x15c]
mov eax, edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x154]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415d1a
mov esp, ebp
pop ebp
ret 4