Function at 0x402850
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d4ec
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x5e8f64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 4], 0
mov dword [ebp - 0xcc], 0
je 0x4028c1
cmp dword [edi + 0x1ec], 0
je 0x4028c1
cmp dword [edi + 0x54], 0
je 0x4028c1
cmp dword [edi + 0xcc], 0
je 0x4028c1
cmp dword [edi + 0x84], 0
jne 0x4028ba
cmp dword [edi + 0xfc], 0
je 0x4028c1
xor eax, eax
jmp 0x40312d
mov byte [edi + 4], 0
mov dword [edi + 8], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x402acd
cmp word [eax], 0
je 0x402acd
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xc8], 0
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ebx, eax
mov eax, dword [ebp - 0xc8]
test eax, eax
je 0x402acd
test ebx, ebx
je 0x402acd
xor esi, esi
test eax, eax
jle 0x402acd
nop
push 0x5bc994
push dword [ebx]
call fcn.005633ec
add esp, 8
test eax, eax
jne 0x4029ac
lea eax, [esi + 1]
cmp eax, dword [ebp - 0xc8]
jge 0x4029ac
push dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0xc4], eax
lea esi, [edi + 0x14]
mov ecx, esi
call fcn.004045c0
cmp dword [edi + 0x24], 1
jne 0x402984
cmp dword [esi + 0x14], 8
jb 0x402964
mov eax, dword [esi]
jmp 0x402966
mov eax, esi
cmp word [eax], 0x30
jne 0x402984
push 0x5bc974
mov ecx, esi
mov dword [edi + 8], 0
call fcn.004045c0
jmp 0x402ab7
cmp dword [esi + 0x14], 8
jb 0x40298c
mov esi, dword [esi]
push esi
call fcn.0056484b
add esp, 4
mov dword [edi + 8], eax
test eax, eax
jne 0x402ab7
or dword [ebp - 0xcc], 1
jmp 0x402ab7
push str._Customization
push dword [ebx]
call fcn.005633ec
add esp, 8
test eax, eax
jne 0x4029ce
mov dword [edi + 0x210], 1
jmp 0x402abd
push str._from
push dword [ebx]
call fcn.005633ec
add esp, 8
test eax, eax
jne 0x402abd
lea eax, [esi + 1]
cmp eax, dword [ebp - 0xc8]
jge 0x402abd
push dword [ebx + 4]
add ebx, 4
mov dword [ebp - 0xc4], eax
lea esi, [edi + 0x2c]
mov ecx, esi
call fcn.004045c0
cmp dword [esi + 0x14], 8
jb 0x402a1a
mov eax, dword [esi]
mov dword [ebp - 0xd4], eax
jmp 0x402a20
mov dword [ebp - 0xd4], esi
cmp dword [esi + 0x14], 8
jb 0x402a30
mov eax, dword [esi]
mov dword [ebp - 0xd8], eax
jmp 0x402a36
mov dword [ebp - 0xd8], esi
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xd0], fcn.00564bd1
push eax
mov ecx, esi
call fcn.00404540
lea ecx, [ebp - 0xd0]
push ecx
push dword [ebp - 0xd4]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xd8]
call fcn.00404b80
add esp, 8
mov dword [ebp - 0x9c], str.PCQQ
mov dword [ebp - 0x98], str.QQLive
xor esi, esi
mov dword [ebp - 0x94], str.QQBrowser
nop dword [eax + eax]
push dword [ebp + esi*4 - 0x9c]
push dword [ebx]
call fcn.005633ec
add esp, 8
test eax, eax
je 0x402aad
inc esi
cmp esi, 3
jb 0x402a90
jmp 0x402ab7
mov dword [edi + 0x214], 1
mov esi, dword [ebp - 0xc4]
inc esi
add ebx, 4
cmp esi, dword [ebp - 0xc8]
jl 0x402920
push ecx
mov ecx, edi
call fcn.00403ba0
cmp dword [edi + 8], 0xc7
ja 0x402aeb
sub esp, 0xc
mov ecx, edi
call fcn.00403b20
add dword [edi + 8], eax
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.0055dd90
push dword [edi + 8]
lea eax, [ebp - 0x90]
push 0x5bcd68
push eax
call fcn.00404b40
add esp, 0x18
cmp word [ebp - 0x90], 0
jne 0x402b23
xor ecx, ecx
jmp 0x402b3f
lea ecx, [ebp - 0x90]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402b30
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x90]
push eax
lea ecx, [edi + 0x14]
call fcn.00404cf0
mov ecx, edi
call fcn.004033f0
lea eax, [edi + 0x10]
mov ecx, edi
push eax
call fcn.004038d0
sub esp, 0xc
mov ecx, edi
call fcn.00403b20
push ecx
mov dword [edi + 0xc], eax
lea eax, [ebp - 0xa8]
push str.SOFTWAREAndroidTBox
push eax
call fcn.004032a0
mov ebx, eax
lea esi, [edi + 0x5c]
cmp esi, ebx
je 0x402bc2
cmp dword [esi + 0x14], 8
jb 0x402b9b
mov eax, dword [esi + 0x14]
inc eax
push eax
push dword [esi]
call fcn.00405c00
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x402bb3
mov eax, dword [esi]
jmp 0x402bb5
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.00405930
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x94]
cmp eax, 8
jb 0x402be1
inc eax
push eax
push dword [ebp - 0xa8]
call fcn.00405c00
lea eax, [ebp - 0xc0]
mov ecx, edi
push eax
call fcn.00401cc0
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x402bfe
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.004032a0
mov ebx, eax
lea esi, [edi + 0x44]
cmp esi, ebx
je 0x402c4e
cmp dword [esi + 0x14], 8
jb 0x402c27
mov eax, dword [esi + 0x14]
inc eax
push eax
push dword [esi]
call fcn.00405c00
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x402c3f
mov eax, dword [esi]
jmp 0x402c41
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.00405930
mov eax, dword [ebp - 0x94]
cmp eax, 8
jb 0x402c66
inc eax
push eax
push dword [ebp - 0xa8]
call fcn.00405c00
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0xa8], ax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x94], 7
mov dword [ebp - 0x98], 0
cmp eax, 8
jb 0x402ca2
inc eax
push eax
push dword [ebp - 0xc0]
call fcn.00405c00
lea eax, [ebp - 0xc0]
mov ecx, edi
push eax
call fcn.00401d00
mov dword [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x402cbf
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.004032a0
mov ebx, eax
lea esi, [edi + 0x74]
cmp esi, ebx
je 0x402d0f
cmp dword [esi + 0x14], 8
jb 0x402ce8
mov eax, dword [esi + 0x14]
inc eax
push eax
push dword [esi]
call fcn.00405c00
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x402d00
mov eax, dword [esi]
jmp 0x402d02
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.00405930
mov eax, dword [ebp - 0x94]
cmp eax, 8
jb 0x402d27
inc eax
push eax
push dword [ebp - 0xa8]
call fcn.00405c00
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0xa8], ax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x94], 7
mov dword [ebp - 0x98], 0
cmp eax, 8
jb 0x402d63
inc eax
push eax
push dword [ebp - 0xc0]
call fcn.00405c00
lea eax, [ebp - 0xc0]
mov ecx, edi
push eax
call fcn.00401d40
mov dword [ebp - 4], 5
cmp dword [eax + 0x14], 8
jb 0x402d80
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.004032a0
mov ebx, eax
lea esi, [edi + 0x8c]
cmp esi, ebx
je 0x402dd3
cmp dword [esi + 0x14], 8
jb 0x402dac
mov eax, dword [esi + 0x14]
inc eax
push eax
push dword [esi]
call fcn.00405c00
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x402dc4
mov eax, dword [esi]
jmp 0x402dc6
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.00405930
mov eax, dword [ebp - 0x94]
cmp eax, 8
jb 0x402deb
inc eax
push eax
push dword [ebp - 0xa8]
call fcn.00405c00
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0xa8], ax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x94], 7
mov dword [ebp - 0x98], 0
cmp eax, 8
jb 0x402e27
inc eax
push eax
push dword [ebp - 0xc0]
call fcn.00405c00
lea eax, [ebp - 0xc0]
mov ecx, edi
push eax
call fcn.00401dc0
mov dword [ebp - 4], 7
cmp dword [eax + 0x14], 8
jb 0x402e44
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.004032a0
mov ebx, eax
lea esi, [edi + 0xec]
cmp esi, ebx
je 0x402e97
cmp dword [esi + 0x14], 8
jb 0x402e70
mov eax, dword [esi + 0x14]
inc eax
push eax
push dword [esi]
call fcn.00405c00
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x402e88
mov eax, dword [esi]
jmp 0x402e8a
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.00405930
mov eax, dword [ebp - 0x94]
cmp eax, 8
jb 0x402eaf
inc eax
push eax
push dword [ebp - 0xa8]
call fcn.00405c00
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0xa8], ax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x94], 7
mov dword [ebp - 0x98], 0
cmp eax, 8
jb 0x402eeb
inc eax
push eax
push dword [ebp - 0xc0]
call fcn.00405c00
lea eax, [ebp - 0xc0]
mov ecx, edi
push eax
call fcn.00401d80
mov dword [ebp - 4], 9
cmp dword [eax + 0x14], 8
jb 0x402f08
mov eax, dword [eax]
push ecx
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.004032a0
mov ebx, eax
lea esi, [edi + 0xbc]
cmp esi, ebx
je 0x402f5b
cmp dword [esi + 0x14], 8
jb 0x402f34
mov eax, dword [esi + 0x14]
inc eax
push eax
push dword [esi]
call fcn.00405c00
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x402f4c
mov eax, dword [esi]
jmp 0x402f4e
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.00405930
mov eax, dword [ebp - 0x94]
cmp eax, 8
jb 0x402f73
inc eax
push eax
push dword [ebp - 0xa8]
call fcn.00405c00
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0xa8], ax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x94], 7
mov dword [ebp - 0x98], 0
cmp eax, 8
jb 0x402faf
inc eax
push eax
push dword [ebp - 0xc0]
call fcn.00405c00
lea eax, [ebp - 0xc0]
mov ecx, edi
push eax
call fcn.00401c80
mov dword [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
jb 0x402fcc
mov eax, dword [eax]
sub esp, 8
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00403150
mov ebx, eax
lea esi, [edi + 0xd4]
cmp esi, ebx
je 0x403021
cmp dword [esi + 0x14], 8
jb 0x402ffa
mov eax, dword [esi + 0x14]
inc eax
push eax
push dword [esi]
call fcn.00405c00
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x403012
mov eax, dword [esi]
jmp 0x403014
mov eax, esi
xor ecx, ecx
mov word [eax], cx
mov ecx, esi
push ebx
call fcn.00405930
mov eax, dword [ebp - 0x94]
cmp eax, 8
jb 0x403039
inc eax
push eax
push dword [ebp - 0xa8]
call fcn.00405c00
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov word [ebp - 0xa8], ax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x94], 7
mov dword [ebp - 0x98], 0
cmp eax, 8
jb 0x403075
inc eax
push eax
push dword [ebp - 0xc0]
call fcn.00405c00
cmp dword [edi + 0x84], 0
lea esi, [edi + 0xa4]
mov eax, 0x74
mov ecx, 0xbc
cmove eax, ecx
add eax, edi
cmp esi, eax
je 0x4030a1
push 0xffffffffffffffff
push 0
push eax
mov ecx, esi
call fcn.004052a0
sub esp, 8
mov dword [ebp - 0xd0], 0x5c
lea eax, [ebp - 0xd0]
mov ecx, esi
push eax
call fcn.004046a0
test eax, eax
jle 0x4030e5
mov ecx, dword [esi + 0x10]
cmp eax, ecx
ja 0x4030da
mov dword [esi + 0x10], eax
cmp dword [esi + 0x14], 8
jb 0x4030d2
mov esi, dword [esi]
xor ecx, ecx
mov word [esi + eax*2], cx
jmp 0x4030e5
push ecx
sub eax, ecx
mov ecx, esi
push eax
call fcn.00405870
mov ecx, edi
call fcn.00403f20
cmp dword [edi + 0x84], 0
mov ecx, dword [ebp - 0xcc]
jne 0x403107
cmp dword [edi + 0xfc], 0
jne 0x403107
or ecx, 2
mov eax, ecx
or eax, 4
cmp dword [edi + 0x54], 0
cmovne eax, ecx
cmp dword [edi + 0xfc], 0
mov ecx, eax
jne 0x403127
cmp dword [edi + 0x6c], 0
jne 0x403127
or ecx, 8
mov byte [edi + 4], 1
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055ab1b
mov esp, ebp
pop ebp
ret 8