Function at 0x40a14f
Capabilities:
Print debug messages

Disassembly:
mov eax, 0x44c43e
call fcn.0044b2e0
sub esp, 0x54
mov eax, dword [0x464b24]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ebx, ecx
xor eax, ebp
push esi
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x40], ebx
call fcn.00403779
mov edi, eax
and dword [ebp - 4], 0
push str.CLiveUpdateSettings::ParseCommandLine
lea ecx, [ebp - 0x50]
call fcn.00403779
push edi
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 1
call fcn.00409d75
add esp, 0xc
mov ecx, dword [ebp - 0x50]
add ecx, 0xfffffff0
call fcn.004021db
mov ecx, dword [ebp - 0x4c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.004021db
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
lea ecx, [ebp - 0x30]
call fcn.00403779
mov eax, dword [ebp - 0x30]
xor edi, edi
cmp dword [eax - 0xc], edi
mov byte [ebp - 4], 5
jg 0x40a1e3
xor esi, esi
mov dword [ebx], edi
inc esi
jmp 0x40a732
push 0x4522d0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x3c], edi
call fcn.00403779
lea ecx, [ebp - 0x44]
call fcn.00402e3f
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 7
call fcn.00409eeb
mov esi, dword [ebp - 0x44]
add esp, 0x10
cmp dword [esi - 0xc], edi
je 0x40a6c6
mov edi, dword [sym.imp.MSVCR71.dll_wcscmp]
push 0x4522c8
push esi
call edi
test eax, eax
pop ecx
pop ecx
jne 0x40a242
mov dword [ebx], 0xa
jmp 0x40a699
push 0x4522c0
push esi
call edi
test eax, eax
pop ecx
pop ecx
jne 0x40a25b
mov dword [ebx], 0xb
jmp 0x40a699
push 0x4522b8
push esi
call edi
test eax, eax
pop ecx
pop ecx
jne 0x40a274
mov dword [ebx], 0xc
jmp 0x40a699
push str._self
push esi
call edi
test eax, eax
pop ecx
pop ecx
jne 0x40a28d
mov dword [ebx], 0xe
jmp 0x40a699
push 0x4522a4
push esi
call edi
test eax, eax
pop ecx
pop ecx
je 0x40a237
push str._PackType
push esi
call edi
test eax, eax
pop ecx
pop ecx
jne 0x40a38f
lea ecx, [ebp - 0x5c]
call fcn.00402e3f
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 8
call fcn.00409eeb
add esp, 0x10
lea ecx, [ebp - 0x60]
mov edi, eax
call fcn.00402e3f
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 9
call fcn.00409eeb
mov ebx, dword [ebp - 0x60]
add esp, 0x10
test edi, edi
mov edi, dword [ebp - 0x5c]
je 0x40a70d
test eax, eax
je 0x40a70d
cmp dword [edi - 0xc], 0
jl 0x40a759
xor eax, eax
mov ax, word [edi]
push eax
call dword [sym.imp.MSVCR71.dll_iswdigit]
test eax, eax
pop ecx
je 0x40a70d
cmp dword [ebx - 0xc], 0
jl 0x40a759
xor eax, eax
mov ax, word [ebx]
push eax
call dword [sym.imp.MSVCR71.dll_iswdigit]
test eax, eax
pop ecx
je 0x40a70d
mov esi, dword [sym.imp.MSVCR71.dll__wtoi]
push edi
call esi
pop ecx
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
add ecx, 4
call fcn.00409fc7
push ebx
mov dword [ebp - 0x54], eax
call esi
pop ecx
mov ecx, dword [ebp - 0x54]
mov dword [ecx], eax
lea ecx, [ebx - 0x10]
call fcn.004021db
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 7
call fcn.004021db
mov ebx, dword [ebp - 0x40]
jmp 0x40a699
push str._UpdateType
push esi
call edi
test eax, eax
pop ecx
pop ecx
jne 0x40a407
lea ecx, [ebp - 0x58]
call fcn.00402e3f
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0xa
call fcn.00409eeb
mov edi, dword [ebp - 0x58]
add esp, 0x10
test eax, eax
je 0x40a74c
cmp dword [edi - 0xc], 0
jl 0x40a759
xor eax, eax
mov ax, word [edi]
push eax
call dword [sym.imp.MSVCR71.dll_iswdigit]
test eax, eax
pop ecx
je 0x40a74c
push edi
call dword [sym.imp.MSVCR71.dll__wtoi]
mov dword [ebx + 0x1c], eax
pop ecx
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 7
call fcn.004021db
jmp 0x40a699
push str._showgui
push esi
call edi
test eax, eax
pop ecx
pop ecx
jne 0x40a46f
lea ecx, [ebp - 0x4c]
call fcn.00402e3f
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0xb
call fcn.00409eeb
mov edi, dword [ebp - 0x4c]
add esp, 0x10
test eax, eax
je 0x40a74c
cmp dword [edi - 0xc], 0
jl 0x40a759
xor eax, eax
mov ax, word [edi]
push eax
call dword [sym.imp.MSVCR71.dll_iswdigit]
test eax, eax
pop ecx
je 0x40a74c
push edi
call dword [sym.imp.MSVCR71.dll__wtoi]
mov dword [ebx + 0x20], eax
jmp 0x40a3f5
push 0x452258
push esi
call edi
test eax, eax
pop ecx
pop ecx
jne 0x40a4ea
lea edi, [ebx + 0x10]
push edi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00409eeb
add esp, 0x10
test eax, eax
je 0x40a754
mov esi, 0x452254
push esi
mov ecx, edi
call fcn.00409aa1
push esi
mov ecx, edi
call fcn.00409d18
push dword [edi]
lea eax, [ebp - 0x2c]
push eax
call fcn.00424243
pop ecx
pop ecx
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 0xc
jae 0x40a4cf
lea eax, [ebp - 0x28]
lea ecx, [ebx + 0x14]
push eax
call fcn.0040314c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x40a699
push str._CPid
push esi
call edi
test eax, eax
pop ecx
pop ecx
jne 0x40a553
lea ecx, [ebp - 0x50]
call fcn.00402e3f
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0xd
call fcn.00409eeb
mov edi, dword [ebp - 0x50]
add esp, 0x10
test eax, eax
je 0x40a74c
cmp dword [edi - 0xc], 0
jl 0x40a759
movzx eax, word [edi]
push eax
call dword [sym.imp.MSVCR71.dll_isdigit]
test eax, eax
pop ecx
je 0x40a74c
push edi
call dword [sym.imp.MSVCR71.dll__wtoi]
mov dword [ebx + 0x18], eax
jmp 0x40a3f5
push str._ProductName
push esi
call edi
test eax, eax
pop ecx
pop ecx
jne 0x40a59b
lea edi, [ebx + 0x24]
push edi
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00409eeb
add esp, 0x10
test eax, eax
je 0x40a754
mov esi, 0x452224
push esi
mov ecx, edi
call fcn.00409aa1
push esi
mov ecx, edi
call fcn.00409d18
jmp 0x40a699
push str._DLP
push esi
call edi
test eax, eax
pop ecx
pop ecx
jne 0x40a652
lea ecx, [ebp - 0x48]
call fcn.00402e3f
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 0xe
call fcn.00409eeb
add esp, 0x10
test eax, eax
je 0x40a763
mov ebx, 0x452224
push ebx
lea ecx, [ebp - 0x48]
call fcn.00409aa1
push ebx
lea ecx, [ebp - 0x48]
call fcn.00409d18
mov ebx, dword [ebp - 0x48]
push 0x452210
push ebx
call edi
test eax, eax
pop ecx
pop ecx
jne 0x40a60d
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x2c], 1
jmp 0x40a64a
push 0x452208
push ebx
call edi
test eax, eax
pop ecx
pop ecx
jne 0x40a627
mov eax, dword [ebp - 0x40]
mov dword [eax + 0x2c], 2
jmp 0x40a64a
push 0x452200
push ebx
call edi
test eax, eax
pop ecx
pop ecx
jne 0x40a76b
mov eax, dword [ebp - 0x40]
or dword [0x464e50], 0xffffffff
mov dword [eax + 0x2c], 3
lea ecx, [ebx - 0x10]
jmp 0x40a37e
push str._news_page
push esi
call edi
test eax, eax
pop ecx
pop ecx
jne 0x40a668
lea edi, [ebx + 0x34]
jmp 0x40a564
push str._name
push esi
call edi
test eax, eax
pop ecx
pop ecx
jne 0x40a67e
lea edi, [ebx + 0x30]
jmp 0x40a564
push str._nopop
push esi
call edi
test eax, eax
pop ecx
pop ecx
jne 0x40a699
push eax
call fcn.00402b25
mov ecx, eax
call fcn.004020f5
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00409eeb
add esp, 0x10
test eax, eax
je 0x40a770
mov esi, dword [ebp - 0x44]
cmp dword [esi - 0xc], 0
jne 0x40a223
lea ecx, [esi - 0x10]
call fcn.004021db
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.004021db
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.004021db
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.004021db
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.0044b2c4
leave
ret 4
lea ecx, [ebx - 0x10]
call fcn.004021db
lea ecx, [edi - 0x10]
call fcn.004021db
lea ecx, [esi - 0x10]
call fcn.004021db
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.004021db
xor esi, esi
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.004021db
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.004021db
mov eax, esi
jmp 0x40a6f2
lea ecx, [edi - 0x10]
call fcn.004021db
lea ecx, [esi - 0x10]
jmp 0x40a776
push 0x80070057
call fcn.00401f41
mov ecx, dword [ebp - 0x48]
add ecx, 0xfffffff0
jmp 0x40a74f
lea ecx, [ebx - 0x10]
jmp 0x40a74f
mov ecx, dword [ebp - 0x44]
add ecx, 0xfffffff0
call fcn.004021db
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.004021db
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
call fcn.004021db
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.004021db
xor eax, eax
jmp 0x40a6f2