Function at 0x410870
Capabilities:
Accept command line arguments
Create directory
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
push esi
push 0x451494
lea ecx, [ebp - 0xac]
call fcn.00402f80
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x5c], eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x174], esp
push str.auto_updater
call fcn.00402f80
lea ecx, [ebp - 4]
push ecx
call fcn.00407800
add esp, 0x1c
cmp dword [ebp - 0x24], 2
jge 0x4108e7
mov dword [ebp - 0x58], 0xffffffff
lea ecx, [ebp - 4]
call fcn.004037d0
lea ecx, [ebp - 0xac]
call fcn.004038a0
mov eax, dword [ebp - 0x58]
jmp 0x411178
cmp dword [ebp - 0x24], 3
jge 0x4109ad
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xb0], esp
push 0x4514b4
call fcn.00402f80
lea edx, [ebp - 0x18]
push edx
call fcn.00407800
add esp, 0x1c
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + eax]
push edx
push ecx
mov ecx, esp
mov dword [ebp - 0xb4], esp
lea eax, [ebp - 0x18]
push eax
call fcn.00409260
lea ecx, [ebp - 0x60]
push ecx
call fcn.004075a0
add esp, 8
mov ecx, eax
call fcn.00404cc0
push eax
call fcn.0042e524
add esp, 8
test eax, eax
je 0x41095c
mov dword [ebp - 0x28], 1
jmp 0x410963
mov dword [ebp - 0x28], 0
mov dl, byte [ebp - 0x28]
mov byte [ebp - 5], dl
lea ecx, [ebp - 0x60]
call fcn.004037d0
movzx eax, byte [ebp - 5]
test eax, eax
je 0x4109a3
mov dword [ebp - 0x64], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004037d0
lea ecx, [ebp - 4]
call fcn.004037d0
lea ecx, [ebp - 0xac]
call fcn.004038a0
mov eax, dword [ebp - 0x64]
jmp 0x411178
lea ecx, [ebp - 0x18]
call fcn.004037d0
jmp 0x4109cf
mov dword [ebp - 0x68], 0xffffffff
lea ecx, [ebp - 4]
call fcn.004037d0
lea ecx, [ebp - 0xac]
call fcn.004038a0
mov eax, dword [ebp - 0x68]
jmp 0x411178
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xb8], esp
push str.LocalPCAppStoreUpdater
call fcn.00402f80
lea ecx, [ebp - 0x14]
push ecx
call fcn.00407800
add esp, 0x1c
push ecx
mov ecx, esp
mov dword [ebp - 0xbc], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00409260
lea eax, [ebp - 0x6c]
push eax
call fcn.004075a0
add esp, 8
mov ecx, eax
call fcn.00404cc0
push eax
push 1
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventW]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x6c]
call fcn.004037d0
cmp dword [ebp - 0x2c], 0
je 0x410a5e
mov dword [ebp - 0x70], 0
lea ecx, [ebp - 0x14]
call fcn.004037d0
lea ecx, [ebp - 4]
call fcn.004037d0
lea ecx, [ebp - 0xac]
call fcn.004038a0
mov eax, dword [ebp - 0x70]
jmp 0x411178
push ecx
mov ecx, esp
mov dword [ebp - 0xc0], esp
lea edx, [ebp - 0x14]
push edx
call fcn.00409260
lea eax, [ebp - 0x74]
push eax
call fcn.004075a0
add esp, 8
mov ecx, eax
call fcn.00404cc0
push eax
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x74]
call fcn.004037d0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc4], esp
push str.USERPROFILE
call fcn.00402f80
lea ecx, [ebp - 0x54]
push ecx
call fcn.00407800
add esp, 0x1c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xc8], esp
push str.PCAppStoreDataupdate
call fcn.00402f80
lea edx, [ebp - 0x50]
push edx
call fcn.00407800
add esp, 0x1c
push ecx
mov ecx, esp
mov dword [ebp - 0xcc], esp
lea eax, [ebp - 0x54]
push eax
call fcn.00409260
lea ecx, [ebp - 0x78]
push ecx
call fcn.004075a0
add esp, 8
mov ecx, eax
call fcn.00404cc0
push eax
call fcn.0042eab8
add esp, 4
push eax
mov ecx, 0x461cb4
call fcn.00403c30
lea ecx, [ebp - 0x78]
call fcn.004037d0
push ecx
mov ecx, esp
mov dword [ebp - 0xd0], esp
lea edx, [ebp - 0x50]
push edx
call fcn.00409260
lea eax, [ebp - 0x7c]
push eax
call fcn.004075a0
add esp, 8
push eax
mov ecx, 0x461cb4
call fcn.0040a4b0
lea ecx, [ebp - 0x7c]
call fcn.004037d0
push ecx
mov ecx, esp
mov dword [ebp - 0xd4], esp
push 0x461cb4
call fcn.00409260
call fcn.0040ac80
add esp, 4
push 0
mov ecx, 0x461cb4
call fcn.00404cc0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
call fcn.0040ee00
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xd8], esp
push str.Version
call fcn.00402f80
lea ecx, [ebp - 0x20]
push ecx
call fcn.00407800
add esp, 0x1c
push ecx
mov esi, esp
mov dword [ebp - 0xdc], esp
push ecx
mov ecx, esp
mov dword [ebp - 0xe0], esp
push 0x461cb0
call fcn.00409260
push esi
call fcn.004075a0
add esp, 8
push reloc.OLEAUT32.dll_SysReAllocString
push ecx
mov esi, esp
mov dword [ebp - 0xe4], esp
push ecx
mov ecx, esp
mov dword [ebp - 0xe8], esp
lea edx, [ebp - 0x20]
push edx
call fcn.00409260
push esi
call fcn.004075a0
add esp, 8
lea eax, [ebp - 0x80]
push eax
call fcn.0040f280
add esp, 0x10
push eax
mov ecx, 0x461cac
call fcn.0040a190
lea ecx, [ebp - 0x80]
call fcn.004037d0
mov ecx, 0x461cac
call fcn.0040b280
movzx ecx, al
test ecx, ecx
je 0x410c94
push ecx
mov esi, esp
mov dword [ebp - 0xec], esp
push ecx
mov ecx, esp
mov dword [ebp - 0xf0], esp
push 0x461cb0
call fcn.00409260
push esi
call fcn.004075a0
add esp, 8
push SysReAllocString
push ecx
mov esi, esp
mov dword [ebp - 0xf4], esp
push ecx
mov ecx, esp
mov dword [ebp - 0xf8], esp
lea edx, [ebp - 0x20]
push edx
call fcn.00409260
push esi
call fcn.004075a0
add esp, 8
lea eax, [ebp - 0x84]
push eax
call fcn.0040f280
add esp, 0x10
push eax
mov ecx, 0x461cac
call fcn.0040a190
lea ecx, [ebp - 0x84]
call fcn.004037d0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xfc], esp
push str.start
call fcn.00402f80
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00407800
add esp, 0x1c
push ecx
mov ecx, esp
mov dword [ebp - 0x100], esp
push 0x450a6a
call fcn.00402ad0
push ecx
mov esi, esp
mov dword [ebp - 0x104], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x108], esp
lea edx, [ebp - 0x4c]
push edx
call fcn.00409260
push esi
call fcn.004075a0
add esp, 4
mov esi, esp
mov dword [ebp - 0x10c], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x110], esp
lea eax, [ebp - 4]
push eax
call fcn.00409260
push esi
call fcn.004075a0
add esp, 8
call fcn.0040f6a0
add esp, 0xc
lea ecx, [ebp - 0xac]
push ecx
call fcn.0040c480
add esp, 4
movzx edx, al
test edx, edx
jne 0x4110a2
cmp dword [0x461c90], 0
je 0x411050
push 0x451550
lea ecx, [ebp - 0x30]
call fcn.00402b40
lea eax, [ebp - 0x30]
push eax
push 0x461cb4
lea ecx, [ebp - 0x44]
push ecx
call fcn.0040cb90
add esp, 0xc
lea ecx, [ebp - 0x30]
call fcn.004037d0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x114], esp
push str.https:__google.com
call fcn.00402f80
lea edx, [ebp - 0x40]
push edx
call fcn.00407800
add esp, 0x1c
push 0
push 0
lea ecx, [ebp - 0x44]
call fcn.00404cc0
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x118], esp
lea eax, [ebp - 0x40]
push eax
call fcn.00409260
lea ecx, [ebp - 0x88]
push ecx
call fcn.004075a0
add esp, 8
mov ecx, eax
call fcn.00404cc0
push eax
push 0
call sub.urlmon.dll_URLDownloadToFileW
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x88]
call fcn.004037d0
cmp dword [ebp - 0x8c], 0
jne 0x410fb3
lea ecx, [ebp - 0x10]
call fcn.00402bb0
lea ecx, [ebp - 0xc]
call fcn.00402bb0
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0xc]
push eax
call fcn.0040de00
add esp, 8
lea ecx, [ebp - 0xc]
call fcn.0040b280
movzx ecx, al
test ecx, ecx
jne 0x410e26
lea ecx, [ebp - 0x10]
call fcn.0040b280
movzx edx, al
test edx, edx
je 0x410f3d
lea ecx, [ebp - 0x1c]
call fcn.00402bb0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x11c], esp
push str.last_v_wsdl_lnk_ws
call fcn.00402f80
lea eax, [ebp - 0x38]
push eax
call fcn.00407800
add esp, 0x1c
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x120], esp
push str.empty_instructions
call fcn.00402f80
lea ecx, [ebp - 0x34]
push ecx
call fcn.00407800
add esp, 0x1c
lea ecx, [ebp - 0x10]
call fcn.00404cc0
push eax
lea ecx, [ebp - 0xc]
call fcn.00404cc0
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x124], esp
lea edx, [ebp - 0x38]
push edx
call fcn.00409260
lea eax, [ebp - 0x90]
push eax
call fcn.004075a0
add esp, 8
mov ecx, eax
call fcn.00404cc0
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.0040aeb0
add esp, 0x10
lea ecx, [ebp - 0x90]
call fcn.004037d0
push ecx
mov ecx, esp
mov dword [ebp - 0x128], esp
lea edx, [ebp - 0x1c]
push edx
call fcn.00409260
push ecx
mov esi, esp
mov dword [ebp - 0x12c], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x130], esp
lea eax, [ebp - 0x34]
push eax
call fcn.00409260
push esi
call fcn.004075a0
add esp, 4
mov esi, esp
mov dword [ebp - 0x134], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x138], esp
lea edx, [ebp - 4]
push edx
call fcn.00409260
push esi
call fcn.004075a0
add esp, 8
call fcn.0040f6a0
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.004037d0
lea ecx, [ebp - 0x38]
call fcn.004037d0
lea ecx, [ebp - 0x1c]
call fcn.004037d0
jmp 0x410f9e
lea eax, [ebp - 0xc]
push eax
push 0x461cac
call fcn.0040a3f0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x410f9e
lea ecx, [ebp - 0x10]
call fcn.00404cc0
push eax
lea ecx, [ebp - 0x1a4]
call fcn.00402f80
lea edx, [ebp - 0x1a4]
push edx
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x13c], esp
lea ecx, [ebp - 0xc]
call fcn.00404cc0
push eax
mov ecx, esi
call fcn.00402f80
call fcn.0040cec0
add esp, 0x1c
lea ecx, [ebp - 0x1a4]
call fcn.004038a0
lea ecx, [ebp - 0xc]
call fcn.004037d0
lea ecx, [ebp - 0x10]
call fcn.004037d0
jmp 0x41103e
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x140], esp
push str.no_internet_connection
call fcn.00402f80
lea eax, [ebp - 0x3c]
push eax
call fcn.00407800
add esp, 0x1c
push ecx
mov ecx, esp
mov dword [ebp - 0x144], esp
push 0x450a6b
call fcn.00402ad0
push ecx
mov esi, esp
mov dword [ebp - 0x148], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x14c], esp
lea edx, [ebp - 0x3c]
push edx
call fcn.00409260
push esi
call fcn.004075a0
add esp, 4
mov esi, esp
mov dword [ebp - 0x150], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x154], esp
lea eax, [ebp - 4]
push eax
call fcn.00409260
push esi
call fcn.004075a0
add esp, 8
call fcn.0040f6a0
add esp, 0xc
lea ecx, [ebp - 0x3c]
call fcn.004037d0
lea ecx, [ebp - 0x40]
call fcn.004037d0
lea ecx, [ebp - 0x44]
call fcn.004037d0
jmp 0x4110a2
lea ecx, [ebp - 0x18c]
call fcn.00402ff0
lea ecx, [ebp - 0x18c]
push ecx
call fcn.0040d920
add esp, 4
movzx edx, al
test edx, edx
je 0x411097
lea eax, [ebp - 0x18c]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x158], esp
lea edx, [ebp - 0xac]
push edx
call fcn.00402f00
call fcn.0040cec0
add esp, 0x1c
lea ecx, [ebp - 0x18c]
call fcn.004038a0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x15c], esp
push 0x451600
call fcn.00402f80
lea eax, [ebp - 0x48]
push eax
call fcn.00407800
add esp, 0x1c
push ecx
mov ecx, esp
mov dword [ebp - 0x160], esp
push 0x450a92
call fcn.00402ad0
push ecx
mov esi, esp
mov dword [ebp - 0x164], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x168], esp
lea edx, [ebp - 0x48]
push edx
call fcn.00409260
push esi
call fcn.004075a0
add esp, 4
mov esi, esp
mov dword [ebp - 0x16c], esp
push ecx
mov ecx, esp
mov dword [ebp - 0x170], esp
lea eax, [ebp - 4]
push eax
call fcn.00409260
push esi
call fcn.004075a0
add esp, 8
call fcn.0040f6a0
add esp, 0xc
mov dword [ebp - 0x94], 0
lea ecx, [ebp - 0x48]
call fcn.004037d0
lea ecx, [ebp - 0x4c]
call fcn.004037d0
lea ecx, [ebp - 0x20]
call fcn.004037d0
lea ecx, [ebp - 0x50]
call fcn.004037d0
lea ecx, [ebp - 0x54]
call fcn.004037d0
lea ecx, [ebp - 0x14]
call fcn.004037d0
lea ecx, [ebp - 4]
call fcn.004037d0
lea ecx, [ebp - 0xac]
call fcn.004038a0
mov eax, dword [ebp - 0x94]
pop esi
mov esp, ebp
pop ebp
ret 0x10