Function at 0x43154a
Capabilities:
Accept command line arguments

Disassembly:
push ebp
lea ebp, [esp - 0x1048]
mov eax, 0x1048
call fcn.004848d0
push 0xffffffffffffffff
push 0x4b5746
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x1044], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x20a
xor esi, esi
lea eax, [ebp + 0x208]
push esi
push eax
mov ebx, ecx
call fcn.004840d0
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp + 0x208]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x431a25
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x14]
call fcn.0040b680
push esi
push 0x4c2450
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.00418675
cmp eax, 0xffffffff
jne 0x4315f3
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
jmp 0x431a20
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], esi
je 0x431a1d
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
push 4
push esi
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041a9c5
push str.Inst
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.004266a6
test eax, eax
je 0x431706
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
test esi, esi
je 0x431706
cmp dword [ebp - 0x20], 2
jl 0x431706
push dword [esi]
lea ecx, [ebp - 0x1c]
call fcn.0040b680
push dword [esi + 4]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.0040b680
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
mov byte [ebp - 4], 3
je 0x4316e5
push 0
push str.__IniReInstal
lea ecx, [ebp - 0x18]
call fcn.00418675
test eax, eax
jl 0x431696
mov dword [ebx + 0x18], 1
push 0
push 0x4c1f28
lea ecx, [ebp - 0x18]
call fcn.00418675
test eax, eax
jl 0x4316e5
inc eax
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.00431527
push 0x20
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.004314cc
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x4316da
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041cb3f
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040dd20
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov byte [ebp - 4], 1
call fcn.0040dd20
push 0x4c1f2c
push 0x4c2450
lea ecx, [ebp - 0x14]
call fcn.00431350
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp + 0x824], ax
lea eax, [ebp + 0x826]
push eax
call fcn.004840d0
xor eax, eax
push esi
push eax
mov word [ebp + 0xc34], ax
lea eax, [ebp + 0xc36]
push eax
call fcn.004840d0
xor eax, eax
push esi
push eax
mov word [ebp + 0xe3c], ax
lea eax, [ebp + 0xe3e]
push eax
call fcn.004840d0
xor eax, eax
push esi
push eax
mov word [ebp + 0x61c], ax
lea eax, [ebp + 0x61e]
push eax
call fcn.004840d0
xor eax, eax
push esi
mov word [ebp + 0x414], ax
xor esi, esi
lea eax, [ebp + 0x416]
push esi
push eax
call fcn.004840d0
lea eax, [ebx + 0x14]
push eax
push edi
mov dword [eax], esi
lea eax, [ebp + 0x61c]
push eax
push edi
lea eax, [ebp + 0xc34]
push eax
push edi
lea eax, [ebp + 0xe3c]
push eax
push edi
lea eax, [ebp + 0x414]
push eax
push edi
lea eax, [ebp + 0x824]
push eax
push str._s__s__s__s__s__d
push dword [ebp - 0x14]
call fcn.0048a9fd
mov dword [ebp - 0x1c], eax
add esp, 0x70
lea eax, [ebp + 0x414]
push eax
mov ecx, ebx
call fcn.0040c8e0
lea eax, [ebp + 0x824]
cmp word [ebp + 0x824], si
je 0x43182c
movzx ecx, word [ebp + 0x824]
cmp cx, 0x31
jne 0x431806
mov dword [ebx + 8], 1
jmp 0x431822
cmp cx, 0x32
jne 0x431815
mov dword [ebx + 0xc], 1
jmp 0x431822
cmp cx, 0x33
jne 0x431822
mov dword [ebx + 0x10], 1
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, si
jne 0x4317f7
cmp dword [ebx + 8], esi
jne 0x431842
cmp dword [ebx + 0xc], esi
jne 0x431842
cmp dword [ebx + 0x10], esi
jne 0x431842
mov dword [ebx + 8], 1
xor eax, eax
cmp dword [ebp - 0x1c], 3
mov word [ebp + 0x624], ax
jne 0x4318b9
lea eax, [ebp + 0xe3c]
cmp word [ebp + 0xe3c], si
je 0x431895
movzx ecx, word [eax]
cmp cx, 0x41
jb 0x43186f
cmp cx, 0x5a
jbe 0x431887
cmp cx, 0x61
jb 0x43187b
cmp cx, 0x7a
jbe 0x431887
cmp cx, 0x30
jb 0x431890
cmp cx, 0x39
ja 0x431890
inc eax
inc eax
cmp word [eax], si
jne 0x431860
jmp 0x431895
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp + 0xe3c]
push eax
call fcn.004848a7
pop ecx
mov ecx, eax
cdq
sub eax, edx
sar eax, 1
add eax, eax
cmp ecx, eax
je 0x4318b9
xor eax, eax
mov word [ebp + ecx*2 + 0xe3a], ax
mov esi, 0x208
push esi
lea eax, [ebp + 0xa2c]
push 0
push eax
call fcn.004840d0
add esp, 0xc
push edi
lea eax, [ebp + 0xa2c]
push eax
lea eax, [ebp + 0xe3c]
push eax
call fcn.004848a7
pop ecx
push eax
lea eax, [ebp + 0xe3c]
push eax
mov ecx, ebx
call fcn.004311b9
test eax, eax
jne 0x4318ff
mov word [ebp + 0xa2c], ax
xor eax, eax
cmp word [ebp + 0xc34], ax
jne 0x43193d
cmp word [ebp + 0xa2c], ax
je 0x431935
lea esi, [ebx + 4]
push str.https:__hao.360.cn_
mov ecx, esi
call fcn.0040c8e0
lea eax, [ebp + 0xa2c]
push eax
mov ecx, esi
call fcn.0041cb8c
jmp 0x431a0f
lea ecx, [ebx + 4]
jmp 0x431a05
cmp word [ebp + 0xc34], 0x68
lea ecx, [ebp + 0xc34]
mov dword [ebp - 0x10], ecx
je 0x43195a
cmp word [ebp + 0xc34], 0x48
jne 0x431963
lea ecx, [ebp + 0xc36]
mov dword [ebp - 0x10], ecx
push esi
push eax
lea eax, [ebp]
push eax
call fcn.004840d0
add esp, 0xc
push edi
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call fcn.004848a7
pop ecx
push eax
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.004311b9
lea edi, [ebx + 4]
mov ecx, edi
test eax, eax
je 0x4319bc
lea eax, [ebp + 0xc34]
cmp dword [ebp - 0x10], eax
jne 0x4319a5
push str.http:__
jmp 0x4319aa
push str.https:__
call fcn.0040c8e0
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.0041cb8c
jmp 0x4319c6
push str.https:__hao.360.cn
call fcn.0040c8e0
push 0x4cd624
mov ecx, edi
call fcn.0041cb8c
cmp word [ebp + 0xa2c], 0
je 0x4319ea
lea eax, [ebp + 0xa2c]
push eax
mov ecx, edi
call fcn.0041cb8c
mov ecx, edi
call fcn.00426909
lea eax, [ebp + 0x61c]
push eax
mov ecx, ebx
call fcn.004312aa
test eax, eax
jne 0x431a0f
mov ecx, edi
push str.https:__hao.360.cn__installer
call fcn.0040c8e0
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040dd20
mov eax, dword [ebp - 0x14]
lea ecx, [eax - 0x10]
call fcn.0040dd20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1044]
xor ecx, ebp
call fcn.004841c7
add ebp, 0x1048
leave
ret