Function at 0x507870
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x18], ecx
push edi
mov dword [ebp - 0x10], ebx
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0xd
xor eax, eax
mov dword [ebp - 0x38], 0
push str.QQBrowser.exe
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
call fcn.00408679
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004c2740
add esp, 8
cmp dword [ebp - 0x54], 8
jb 0x5078e8
push dword [ebp - 0x68]
call fcn.00412895
add esp, 4
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.0050b190
mov esi, dword [ebp - 0x38]
mov edi, eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x24], edi
cmp esi, eax
je 0x5079f3
mov edi, eax
cmp dword [esi + 0x14], 8
mov dword [ebp - 8], 0
jb 0x507924
mov eax, dword [esi]
jmp 0x507926
mov eax, esi
lea ecx, [ebp - 8]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x5079e2
xor ebx, ebx
cmp dword [ebp - 8], ebx
jle 0x5079e2
jmp 0x507950
mov edx, dword [eax + ebx*4]
test edx, edx
je 0x5079d8
xor eax, eax
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
cmp word [edx], ax
je 0x507990
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0x14], ecx
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x507980
sub eax, dword [ebp - 0x14]
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x68]
call fcn.00408679
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 1]
call fcn.00500780
test al, al
jne 0x5079c4
movzx eax, byte [0x5ced4c]
lea ecx, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.004fd610
cmp dword [ebp - 0x54], 8
jb 0x5079d5
push dword [ebp - 0x68]
call fcn.00412895
add esp, 4
mov eax, dword [ebp - 0xc]
inc ebx
cmp ebx, dword [ebp - 8]
jl 0x507950
add esi, 0x18
cmp esi, edi
jne 0x507913
mov edi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
mov esi, dword [edi]
cmp esi, edi
je 0x507a76
lea ecx, [ecx]
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x10]
push eax
lea ecx, [ebp - 0x50]
call fcn.00409252
push 1
push 0x5aa98c
lea ecx, [ebp - 0x50]
call fcn.00409102
cmp byte [esi + 0xd], 0
jne 0x507a72
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
jne 0x507a54
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
jne 0x507a72
mov esi, eax
mov eax, dword [esi]
cmp byte [eax + 0xd], 0
je 0x507a48
jmp 0x507a72
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x507a70
lea ecx, [ecx]
cmp esi, dword [eax + 8]
jne 0x507a70
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x507a60
mov esi, eax
cmp esi, edi
jne 0x507a10
xor eax, eax
mov dword [ebp - 0x6c], 7
push eax
push 0x594314
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
call fcn.00408679
xor eax, eax
mov dword [ebp - 0x54], 7
push eax
push 0x594314
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
call fcn.00408679
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x80]
sub ecx, dword [ebp - 0x38]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x50]
push eax
mov eax, 0x2aaaaaab
imul ecx
mov ecx, dword [ebp - 0x18]
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
push ebx
push 0x6f
push 0x7d6
call fcn.00502870
cmp dword [ebp - 0x54], 8
jb 0x507aff
push dword [ebp - 0x68]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0x54], 7
cmp dword [ebp - 0x6c], 8
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
jb 0x507b24
push dword [ebp - 0x80]
call fcn.00412895
add esp, 4
cmp dword [ebp - 0x3c], 8
jb 0x507b35
push dword [ebp - 0x50]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x24]
push eax
mov dword [ebp - 0x40], 0
push dword [eax]
lea eax, [ebp - 0x1c]
push eax
call fcn.0050bd30
push dword [ebp - 0x24]
call fcn.00412895
mov esi, dword [ebp - 0x38]
add esp, 4
test esi, esi
je 0x507bbf
mov edi, dword [ebp - 0x34]
cmp esi, edi
je 0x507ba1
cmp dword [esi + 0x14], 8
jb 0x507b84
push dword [esi]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
add esi, 0x18
cmp esi, edi
jne 0x507b74
mov esi, dword [ebp - 0x38]
push esi
call fcn.00412895
add esp, 4
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
inc ebx
mov dword [ebp - 0x10], ebx
cmp ebx, 5
jl 0x507884
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret