Function at 0x49a9b0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4cea7c
mov eax, dword fs:[0]
push eax
sub esp, 0x8b8
mov eax, dword [0x50397c]
xor eax, esp
mov dword [esp + 0x8b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50397c]
xor eax, esp
push eax
lea eax, [esp + 0x8cc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8dc]
push 0x800
lea eax, [esp + 0xc2]
push 0
push eax
mov dword [esp + 0x3c], ebp
mov word [esp + 0xc8], 0
call fcn.004b0720
add esp, 0xc
push 0x400
lea ecx, [esp + 0xc0]
push ecx
push 0
call dword [0x4d5290]
lea eax, [esp + 0xbc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49aa36
sub eax, edx
sar eax, 1
add ebp, 0x11fc
push eax
lea edx, [esp + 0xc0]
push edx
mov esi, ebp
mov dword [esp + 0x2c], ebp
call fcn.00406fb0
push ebp
mov edi, 1
lea ebx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x5c
call fcn.00427940
cmp eax, 0xffffffff
je 0x49aabc
push eax
push ebp
xor ecx, ecx
lea esi, [esp + 0x48]
call fcn.00420a60
xor esi, esi
push 0xffffffffffffffff
push esi
mov ecx, ebp
mov dword [esp + 0x8dc], esi
call fcn.00407340
mov dword [esp + 0x8d4], 0xffffffff
cmp dword [esp + 0x58], 8
jb 0x49aabe
mov eax, dword [esp + 0x44]
push eax
call fcn.004a91d0
add esp, 4
jmp 0x49aabe
xor esi, esi
push 1
mov dword [esp + 0x7c], esi
mov word [esp + 0x6c], si
mov ebx, 7
push 0x4e35b4
lea esi, [esp + 0x6c]
mov dword [esp + 0x84], ebx
call fcn.00406fb0
mov dword [esp + 0x8d4], 1
mov ecx, dword [esp + 0x30]
add ecx, 0x30
push ecx
mov edx, esi
push edx
lea edi, [esp + 0x48]
call fcn.00420da0
add esp, 8
push 0
push eax
or eax, 0xffffffff
mov esi, ebp
mov byte [esp + 0x8dc], 2
call fcn.00420c30
mov edi, 8
cmp dword [esp + 0x58], edi
jb 0x49ab32
mov eax, dword [esp + 0x44]
push eax
call fcn.004a91d0
add esp, 4
mov dword [esp + 0x58], ebx
xor ebx, ebx
mov dword [esp + 0x8d4], 0xffffffff
cmp dword [esp + 0x7c], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
jb 0x49ab5f
mov ecx, dword [esp + 0x68]
push ecx
call fcn.004a91d0
add esp, 4
mov esi, dword [ebp + 0x18]
cmp esi, edi
lea eax, [ebp + 4]
jb 0x49ab71
mov edx, dword [eax]
mov dword [esp + 0x18], edx
jmp 0x49ab77
mov dword [esp + 0x18], eax
mov edx, eax
cmp edx, ebx
je 0x49ab99
cmp esi, edi
jb 0x49ab83
mov ecx, dword [eax]
jmp 0x49ab85
mov ecx, eax
cmp ecx, edx
ja 0x49ab99
cmp esi, edi
jb 0x49ab8f
mov eax, dword [eax]
mov ecx, dword [ebp + 0x14]
lea eax, [eax + ecx*2]
cmp edx, eax
jbe 0x49ab9e
call fcn.004aa383
mov edx, dword [ebp + 0x18]
cmp edx, edi
lea eax, [ebp + 4]
jb 0x49abac
mov esi, dword [eax]
jmp 0x49abae
mov esi, eax
cmp esi, ebx
je 0x49abd0
cmp edx, edi
jb 0x49abba
mov ecx, dword [eax]
jmp 0x49abbc
mov ecx, eax
cmp ecx, esi
ja 0x49abd0
cmp edx, edi
jb 0x49abc6
mov eax, dword [eax]
mov ecx, dword [ebp + 0x14]
lea edx, [eax + ecx*2]
cmp esi, edx
jbe 0x49abd5
call fcn.004aa383
lea ebx, [esp + 0x38]
mov edi, ebp
call fcn.0049b910
mov ecx, dword [eax]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 4]
push edx
push ebp
mov dword [esp + 0x30], ecx
mov byte [esp + 0x24], 0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x24]
push ecx
push edx
push eax
lea eax, [esp + 0x3c]
push eax
mov ebx, esi
call fcn.0049cde0
add esp, 0x18
cmp dword [ebp + 0x18], 8
jb 0x49ac19
mov eax, dword [ebp + 4]
jmp 0x49ac1c
lea eax, [ebp + 4]
test eax, eax
je 0x49ac36
cmp word [eax], 0
je 0x49ac36
push eax
call dword [0x4d5108]
cmp eax, 0xffffffff
je 0x49ac36
test al, 0x10
je 0x49ac3d
xor eax, eax
jmp 0x49af03
push 0x400
lea ecx, [esp + 0xc0]
push 0
push ecx
mov dword [esp + 0x24], 0
call fcn.004b0720
add esp, 0xc
push 0
push 0x2b
lea edx, [esp + 0xc4]
push edx
push 0
call dword [0x4d5358]
test eax, eax
je 0x49aed1
lea eax, [esp + 0xbc]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x49ac82
mov ebp, dword [esp + 0x30]
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc0]
add ebp, 0x1218
push eax
mov esi, ebp
call fcn.00406fb0
push 0x13
push str.TencentQQDownload
mov ecx, ebp
call fcn.00420b60
lea ebx, [esp + 0x88]
mov edi, ebp
call fcn.004278f0
mov ecx, dword [eax + 4]
mov esi, dword [eax]
lea ebx, [esp + 0x80]
mov dword [esp + 0x3c], ecx
call fcn.0049b910
mov edx, dword [eax]
mov eax, dword [eax + 4]
lea ebx, [esp + 0x5c]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
call fcn.004278f0
mov ecx, dword [eax]
mov edx, dword [esp + 0x3c]
mov eax, dword [eax + 4]
push edx
mov dword [esp + 0x20], ecx
push esi
mov byte [esp + 0x24], 0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x38]
push edx
push ecx
lea edx, [esp + 0x4c]
push edx
mov ebx, eax
call fcn.0049cde0
xor edi, edi
mov dword [esp + 0xd0], 7
mov dword [esp + 0xcc], edi
mov word [esp + 0xbc], di
push 0x400
lea eax, [esp + 0xd8]
push edi
push eax
mov dword [esp + 0x8f8], 3
call fcn.004b0720
mov esi, dword [esp + 0x54]
add esp, 0x24
add esi, 0x1c
push esi
push str.DownloadProxy.Downloader.1
call dword [0x4d5544]
mov edx, dword [esi]
lea ecx, [esp + 0xbc]
push ecx
mov ecx, dword [esi + 4]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esi + 8]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 0xc]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
call fcn.0049b450
test eax, eax
je 0x49aea4
lea eax, [esp + 0xbc]
lea edx, [eax + 2]
jmp 0x49adb0
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x49adb0
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0xc0]
push edx
lea esi, [esp + 0xa8]
call fcn.00406fb0
push 1
mov eax, esi
call fcn.0049c100
xor ebx, ebx
call fcn.004077c0
lea edi, [ebx + 1]
mov ebx, esi
call fcn.0049c190
mov ebx, eax
add ebx, edi
or eax, 0xffffffff
call fcn.004077c0
lea ebx, [esp + 0x30]
mov edi, esi
call fcn.004278f0
lea ebx, [esp + 0x98]
mov esi, eax
call fcn.0049b910
lea ebx, [esp + 0x90]
mov dword [esp + 0x1c], eax
call fcn.004278f0
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push ecx
push edx
push eax
lea esi, [esp + 0x74]
call fcn.0049cd10
mov eax, dword [esp + 0xbc]
add esp, 0x18
cmp dword [esp + 0xb8], 8
jae 0x49ae62
lea eax, [esp + 0xa4]
jmp 0x49ae66
test eax, eax
je 0x49aea4
cmp word [eax], 0
je 0x49aea4
push eax
call dword [0x4d5108]
cmp eax, 0xffffffff
je 0x49aea4
test al, 0x10
jne 0x49aea4
lea ecx, [esp + 0xa0]
push ecx
mov eax, ebp
call fcn.0049b960
cmp eax, 0xffffffff
jne 0x49aeac
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0xa0]
call fcn.0049cd50
test al, al
je 0x49aeac
mov dword [esp + 0x18], 1
cmp dword [esp + 0xb8], 8
jb 0x49aec6
mov edx, dword [esp + 0xa4]
push edx
call fcn.004a91d0
add esp, 4
cmp dword [esp + 0x18], 0
je 0x49aefe
mov ebp, dword [esp + 0x24]
cmp dword [ebp + 0x18], 8
jb 0x49aedc
mov ebp, dword [ebp + 4]
jmp 0x49aedf
add ebp, 4
push 0
push 0
push str.__install
push ebp
push 0
push 0
call dword [0x4d5354]
push 0xc8
call dword [0x4d5298]
mov eax, 1
mov ecx, dword [esp + 0x8cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x8b0]
xor ecx, esp
call fcn.004a91d5
add esp, 0x8c4
ret 4