Function at 0x440470
Capabilities:
Accept command line arguments
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583cd8
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
push ebx
push esi
push edi
mov eax, dword [0x5ebdb0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [ebp - 0x14]
push eax
call fcn.00434830
push str.ThemeManager.LoadTheme___start
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.00401d90
push edi
push eax
lea ecx, [ebp - 0x58]
push ecx
mov byte [ebp - 4], 1
call fcn.0041bac0
add esp, 0xc
mov esi, eax
push str.core
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.00401d90
mov ebx, eax
push 0x5b3ee0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.00401d90
push esi
push ebx
push eax
mov byte [ebp - 4], 4
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x14]
push eax
mov ebx, 9
call fcn.00435800
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44052e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x50]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440551
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440574
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440597
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push edi
lea ecx, [ebp - 0x28]
push str._nTheme_path:
push ecx
call fcn.0041bc60
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 5
call fcn.00434f10
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4405d7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401d90
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
jl 0x4406c4
push str._debug
push eax
call fcn.0055125b
add esp, 8
test eax, eax
je 0x4406c4
sub eax, dword [ebp - 0x18]
sar eax, 1
cmp eax, 0xffffffff
je 0x4406c4
push 0x44
lea ecx, [ebp - 0xb4]
push 0
push ecx
call fcn.00554b70
add esp, 0xc
xor eax, eax
push edi
lea edx, [ebp - 0x40]
push str.explorer.exe
push edx
mov dword [ebp - 0xb4], 0x44
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
call fcn.0041bc60
add esp, 0xc
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax - 0xc]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
jne 0x440673
call fcn.004022c0
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0xb4]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0
push 0
push str._Waiting_for_file_updates...
call fcn.0046e05c
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4406c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00405320
lea ebx, [eax + 0x10]
add esp, 4
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 8
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x28]
lea ecx, [esi + 0x4c]
push edx
call fcn.004050b0
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44070b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi]
sub eax, 0x10
push eax
call fcn.00405320
lea ebx, [eax + 0x10]
add esp, 4
mov dword [ebp + 8], ebx
lea edx, [ebp + 8]
lea ecx, [esi + 0x40]
push edx
mov byte [ebp - 4], 9
call fcn.004050b0
lea eax, [ebx - 0x10]
or ebx, 0xffffffff
mov byte [ebp - 4], 6
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440751
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.config_settings.xml
lea ecx, [ebp - 0x20]
push edi
push ecx
call fcn.0041bb80
add esp, 0xc
lea edx, [ebp - 0x20]
push edx
push esi
mov byte [ebp - 4], 0xa
call fcn.0044aa00
push str.htmlheader.html
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.0041bb80
add esp, 0xc
lea ecx, [esi + 0x68]
push ecx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call fcn.0044aed0
test al, al
jne 0x440836
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4407bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
mov edx, ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4407df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov edx, ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440801
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x440820
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push str.html_footer.html
lea ecx, [ebp - 0x24]
push edi
push ecx
call fcn.0041bb80
add esp, 0xc
lea edx, [esi + 0x6c]
push edx
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xc
call fcn.0044aed0
test al, al
jne 0x440899
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44087e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4407b1
push str.htmlintropage.html
lea ecx, [ebp - 0x2c]
push edi
push ecx
call fcn.0041bb80
add esp, 0xc
lea edx, [esi + 0x70]
mov bl, 0xd
push edx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.0044aed0
test al, al
jne 0x440992
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4408e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44090a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44092d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440950
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440973
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x440814
push str.htmlofferheader.html
lea ecx, [ebp - 0x30]
push edi
push ecx
call fcn.0041bb80
add esp, 0xc
lea eax, [esi + 0x74]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xe
call fcn.0044aed0
test al, al
jne 0x440ab0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x30]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4409de
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xc
mov eax, dword [ebp - 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440a01
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440a24
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440a47
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440a6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440973
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x440814
push str.htmlofferfooter.html
lea ecx, [ebp - 0x34]
push edi
push ecx
call fcn.0041bb80
add esp, 0xc
lea eax, [esi + 0x78]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xf
call fcn.0044aed0
test al, al
je 0x440d43
push str.htmlcancelheader.html
lea edx, [ebp - 0x3c]
push edi
push edx
call fcn.0041bb80
add esp, 0xc
lea ebx, [esi + 0x7c]
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x10
call fcn.0044aed0
test al, al
jne 0x440b5b
mov eax, dword [esi + 0x74]
sub eax, 0x10
push eax
call fcn.00405320
add eax, 0x10
add esp, 4
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
mov ecx, ebx
mov byte [ebp - 4], 0x11
call fcn.004050b0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x10
call fcn.00401e50
push str._table_cellspacing20__tr__td__br__br__br__font_size3_Process_not_complete___br__br___b_Did_you_mean_to_stop_the_installation___b__br__br_If_you_quit_now___b___SOFTWARE_NAME____b___and_the_program_s__you_selected_will_not_be_installed._br__br_Click__Next__to_install_the_software_and_other_offers_you_have_selected._Click_the__X__on_the_top_righ_hand_of_the_screen_to_leave_and_not_install_any_of_the_selected_offers_or_the_product_you_came_for.___font___td___tr___table_
lea ecx, [ebp + 8]
call fcn.0041b840
mov byte [ebp - 4], 0x12
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, ebx
call fcn.00405260
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x10
call fcn.00401e50
push str.htmlcancelfooter.html
lea ecx, [ebp - 0x38]
push edi
push ecx
call fcn.0041bb80
add esp, 0xc
lea ebx, [esi + 0x80]
push ebx
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0x13
call fcn.0044aed0
test al, al
jne 0x440bb4
mov eax, dword [esi + 0x78]
sub eax, 0x10
push eax
call fcn.00405320
add eax, 0x10
add esp, 4
mov dword [ebp + 8], eax
lea edx, [ebp + 8]
push edx
mov ecx, ebx
mov byte [ebp - 4], 0x14
call fcn.004050b0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x13
call fcn.00401e50
push str.htmlinstalloptionspage.html
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.0041bb80
add esp, 0xc
lea ecx, [esi + 0x8c]
push ecx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x15
call fcn.0044aed0
test al, al
je 0x440d2b
push str.htmldownloadpage.html
lea edx, [ebp - 0x48]
push edi
push edx
call fcn.0041bb80
add esp, 0xc
lea eax, [esi + 0x84]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x16
call fcn.0044aed0
test al, al
je 0x440d23
push str.html_summarypage.html
lea ecx, [ebp - 0x4c]
push edi
push ecx
call fcn.0041bb80
add esp, 0xc
lea edx, [esi + 0x88]
mov bl, 0x17
push edx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], bl
call fcn.0044aed0
test al, al
je 0x440d1b
call fcn.0044b0b0
test al, al
jne 0x440d93
push str._software_title.png
lea eax, [ebp + 8]
push edi
push eax
call fcn.0041bb80
add esp, 0xc
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x18
call fcn.0041baa0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x440d88
push edi
lea ecx, [ebp - 0x54]
push str.Theme:
push ecx
call fcn.0041bc60
add esp, 0xc
push 0x5b7f10
push eax
lea edx, [ebp - 0x40]
push edx
mov byte [ebp - 4], 0x19
call fcn.0041bb80
add esp, 0xc
mov esi, eax
push str.installer_missing_software_theme_page
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 0x1a
call fcn.00401d90
mov edi, eax
push str.error
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x1b
call fcn.00401d90
mov ebx, eax
push 0x5b0bc8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1c
call fcn.00401d90
push 1
push esi
push edi
push ebx
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0x1d
call fcn.004351d0
lea ecx, [ebp - 0x28]
call fcn.00401e50
lea ecx, [ebp - 0x58]
call fcn.00401e50
lea ecx, [ebp - 0x50]
call fcn.00401e50
lea ecx, [ebp - 0x40]
call fcn.00401e50
lea ecx, [ebp - 0x54]
call fcn.00401e50
lea ecx, [ebp + 8]
call fcn.00401e50
lea ecx, [ebp - 0x4c]
call fcn.00401e50
lea ecx, [ebp - 0x48]
call fcn.00401e50
lea ecx, [ebp - 0x44]
call fcn.00401e50
lea ecx, [ebp - 0x38]
call fcn.00401e50
lea ecx, [ebp - 0x3c]
call fcn.00401e50
lea ecx, [ebp - 0x34]
call fcn.00401e50
lea ecx, [ebp - 0x30]
call fcn.00401e50
lea ecx, [ebp - 0x2c]
call fcn.00401e50
lea ecx, [ebp - 0x24]
call fcn.00401e50
lea ecx, [ebp - 0x1c]
call fcn.00401e50
lea ecx, [ebp - 0x20]
call fcn.00401e50
lea ecx, [ebp - 0x18]
call fcn.00401e50
lea eax, [ebp - 0x14]
call fcn.00407cf0
jmp 0x440820
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.00401e50
push str.ThemeManager.LoadTheme___done
lea ecx, [ebp - 0x28]
call fcn.00401d90
mov edi, eax
push str.core
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0x1e
call fcn.00401d90
mov ebx, eax
push 0x5b3ee0
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0x1f
call fcn.00401d90
push edi
push ebx
push eax
push esi
lea ecx, [ebp - 0x14]
push ecx
mov ebx, 9
mov byte [ebp - 4], 0x20
call fcn.00435800
lea ecx, [ebp + 8]
call fcn.00401e50
lea ecx, [ebp - 0x54]
call fcn.00401e50
lea ecx, [ebp - 0x28]
call fcn.00401e50
lea ecx, [ebp - 0x4c]
call fcn.00401e50
lea ecx, [ebp - 0x48]
call fcn.00401e50
lea ecx, [ebp - 0x44]
call fcn.00401e50
lea ecx, [ebp - 0x38]
call fcn.00401e50
lea ecx, [ebp - 0x3c]
call fcn.00401e50
lea ecx, [ebp - 0x34]
call fcn.00401e50
lea ecx, [ebp - 0x30]
call fcn.00401e50
lea ecx, [ebp - 0x2c]
call fcn.00401e50
lea ecx, [ebp - 0x24]
call fcn.00401e50
lea ecx, [ebp - 0x1c]
call fcn.00401e50
lea ecx, [ebp - 0x20]
call fcn.00401e50
lea ecx, [ebp - 0x18]
call fcn.00401e50
lea eax, [ebp - 0x14]
call fcn.00407cf0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4