Function at 0x43159d
Capabilities:
Accept command line arguments

Disassembly:
push ebp
lea ebp, [esp - 0x1048]
mov eax, 0x1048
call fcn.00484d50
push 0xffffffffffffffff
push 0x4b5bd6
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.00484550
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 0x431a78
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 0x4c24b8
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.00418675
cmp eax, 0xffffffff
jne 0x431646
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
jmp 0x431a73
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], esi
je 0x431a70
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.004266fb
test eax, eax
je 0x431759
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 0x431759
cmp dword [ebp - 0x20], 2
jl 0x431759
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 0x431738
push 0
push str.__IniReInstal
lea ecx, [ebp - 0x18]
call fcn.00418675
test eax, eax
jl 0x4316e9
mov dword [ebx + 0x18], 1
push 0
push 0x4c1f90
lea ecx, [ebp - 0x18]
call fcn.00418675
test eax, eax
jl 0x431738
inc eax
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x18]
call fcn.0043157a
push 0x20
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0043151f
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
je 0x43172d
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.0041cb91
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 0x4c1f94
push 0x4c24b8
lea ecx, [ebp - 0x14]
call fcn.004313a3
xor eax, eax
mov esi, 0x206
push esi
push eax
mov word [ebp + 0x824], ax
lea eax, [ebp + 0x826]
push eax
call fcn.00484550
xor eax, eax
push esi
push eax
mov word [ebp + 0xc34], ax
lea eax, [ebp + 0xc36]
push eax
call fcn.00484550
xor eax, eax
push esi
push eax
mov word [ebp + 0xe3c], ax
lea eax, [ebp + 0xe3e]
push eax
call fcn.00484550
xor eax, eax
push esi
push eax
mov word [ebp + 0x61c], ax
lea eax, [ebp + 0x61e]
push eax
call fcn.00484550
xor eax, eax
push esi
mov word [ebp + 0x414], ax
xor esi, esi
lea eax, [ebp + 0x416]
push esi
push eax
call fcn.00484550
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.0048ae7d
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 0x43187f
movzx ecx, word [ebp + 0x824]
cmp cx, 0x31
jne 0x431859
mov dword [ebx + 8], 1
jmp 0x431875
cmp cx, 0x32
jne 0x431868
mov dword [ebx + 0xc], 1
jmp 0x431875
cmp cx, 0x33
jne 0x431875
mov dword [ebx + 0x10], 1
inc eax
inc eax
movzx ecx, word [eax]
cmp cx, si
jne 0x43184a
cmp dword [ebx + 8], esi
jne 0x431895
cmp dword [ebx + 0xc], esi
jne 0x431895
cmp dword [ebx + 0x10], esi
jne 0x431895
mov dword [ebx + 8], 1
xor eax, eax
cmp dword [ebp - 0x1c], 3
mov word [ebp + 0x624], ax
jne 0x43190c
lea eax, [ebp + 0xe3c]
cmp word [ebp + 0xe3c], si
je 0x4318e8
movzx ecx, word [eax]
cmp cx, 0x41
jb 0x4318c2
cmp cx, 0x5a
jbe 0x4318da
cmp cx, 0x61
jb 0x4318ce
cmp cx, 0x7a
jbe 0x4318da
cmp cx, 0x30
jb 0x4318e3
cmp cx, 0x39
ja 0x4318e3
inc eax
inc eax
cmp word [eax], si
jne 0x4318b3
jmp 0x4318e8
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp + 0xe3c]
push eax
call fcn.00484d27
pop ecx
mov ecx, eax
cdq
sub eax, edx
sar eax, 1
add eax, eax
cmp ecx, eax
je 0x43190c
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.00484550
add esp, 0xc
push edi
lea eax, [ebp + 0xa2c]
push eax
lea eax, [ebp + 0xe3c]
push eax
call fcn.00484d27
pop ecx
push eax
lea eax, [ebp + 0xe3c]
push eax
mov ecx, ebx
call fcn.0043120c
test eax, eax
jne 0x431952
mov word [ebp + 0xa2c], ax
xor eax, eax
cmp word [ebp + 0xc34], ax
jne 0x431990
cmp word [ebp + 0xa2c], ax
je 0x431988
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.0041cbde
jmp 0x431a62
lea ecx, [ebx + 4]
jmp 0x431a58
cmp word [ebp + 0xc34], 0x68
lea ecx, [ebp + 0xc34]
mov dword [ebp - 0x10], ecx
je 0x4319ad
cmp word [ebp + 0xc34], 0x48
jne 0x4319b6
lea ecx, [ebp + 0xc36]
mov dword [ebp - 0x10], ecx
push esi
push eax
lea eax, [ebp]
push eax
call fcn.00484550
add esp, 0xc
push edi
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call fcn.00484d27
pop ecx
push eax
push dword [ebp - 0x10]
mov ecx, ebx
call fcn.0043120c
lea edi, [ebx + 4]
mov ecx, edi
test eax, eax
je 0x431a0f
lea eax, [ebp + 0xc34]
cmp dword [ebp - 0x10], eax
jne 0x4319f8
push str.http:__
jmp 0x4319fd
push str.https:__
call fcn.0040c8e0
lea eax, [ebp]
push eax
mov ecx, edi
call fcn.0041cbde
jmp 0x431a19
push str.https:__hao.360.cn
call fcn.0040c8e0
push 0x4cd6f4
mov ecx, edi
call fcn.0041cbde
cmp word [ebp + 0xa2c], 0
je 0x431a3d
lea eax, [ebp + 0xa2c]
push eax
mov ecx, edi
call fcn.0041cbde
mov ecx, edi
call fcn.0042695e
lea eax, [ebp + 0x61c]
push eax
mov ecx, ebx
call fcn.004312fd
test eax, eax
jne 0x431a62
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.00484647
add ebp, 0x1048
leave
ret