Function at 0x4886d8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x564119
mov eax, dword fs:[0]
push eax
sub esp, 0x4b8
mov eax, dword [0x5b31c8]
xor eax, esp
mov dword [esp + 0x4b0], eax
push ebx
push esi
push edi
mov eax, dword [0x5b31c8]
xor eax, esp
push eax
lea eax, [esp + 0x4c8]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
cmp dword [edi + 0x10], ecx
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x18], eax
sete al
mov byte [esp + 0x13], al
test al, al
je 0x488765
lea eax, [esp + 0x40]
mov ecx, ebx
push eax
call fcn.00485642
push eax
mov ecx, edi
call fcn.0042a9d5
push 0
push 1
lea ecx, [esp + 0x48]
call fcn.00401c56
xor ecx, ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4d0], ecx
mov eax, dword [ebx]
push dword [eax + 0x240]
lea eax, [esp + 0x2c]
push str.KUGOU2012__d_CLOUD
push eax
call fcn.005307a0
add esp, 0xc
push eax
lea ecx, [esp + 0x5c]
call fcn.00489185
pop ecx
mov esi, eax
mov byte [esp + 0x4d0], 2
lea ecx, [esp + 0x74]
push dword [esi]
call fcn.00401b61
lea eax, [esi + 4]
push eax
lea ecx, [esp + 0x90]
call fcn.0040e315
lea eax, [esp + 0x74]
mov byte [esp + 0x4d0], 3
push eax
lea ecx, [esp + 0x44]
call fcn.0042acf2
lea ecx, [esp + 0x74]
call fcn.0040ebf1
push 0
push 1
lea ecx, [esp + 0x64]
call fcn.00401c56
push 0
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x4d8], 0
call fcn.00401c56
mov esi, dword [esp + 0x14]
sub esp, 0x1c
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push 0
sub eax, ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], eax
lea eax, [esp + 0x60]
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x3c]
push 0
push 0x1770
push eax
push ecx
push dword [esp + 0x50]
mov ecx, dword [ebx]
push 1
push edi
call fcn.004505a7
mov dword [esp + 0x24], eax
test eax, eax
je 0x488aea
cmp eax, 6
je 0x488aea
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
test eax, eax
jne 0x488a31
cmp byte [esp + 0x13], al
je 0x488a31
lea eax, [esp + 0xa4]
mov ecx, ebx
push eax
call fcn.0048568c
mov byte [esp + 0x4d0], 0xa
cmp dword [esp + 0xb4], 0
je 0x488945
lea eax, [esp + 0xa4]
cmp edi, eax
je 0x4888ac
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
call fcn.00401bc2
mov eax, dword [esi + 4]
sub esp, 0x1c
sub eax, dword [esi]
mov ecx, dword [ebx]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x5c]
push 0
push eax
push dword [esp + 0x44]
lea eax, [esp + 0x3c]
push 0
push 0x1770
push eax
push dword [esp + 0x50]
push dword [esp + 0x50]
push 1
push edi
call fcn.004505a7
mov dword [esp + 0x1c], eax
test eax, eax
je 0x48894c
cmp eax, 6
je 0x48894c
push str.return_false
lea ecx, [esp + 0x2c]
call fcn.00407674
push str.RequestWithQueries
lea ecx, [esp + 0x78]
mov byte [esp + 0x4d4], 0xe
call fcn.00407674
lea eax, [esp + 0x28]
mov byte [esp + 0x4d0], 0xf
push eax
lea eax, [esp + 0x78]
mov ecx, ebx
push eax
call fcn.00485488
push 0
push 1
lea ecx, [esp + 0x7c]
call fcn.00401c9b
push 0
push 1
lea ecx, [esp + 0x30]
call fcn.00401c9b
xor bl, bl
jmp 0x488a1c
push dword [esp + 0x14]
mov ecx, esi
call fcn.004379ec
push edi
mov ecx, ebx
call fcn.00485716
push 0x3ff
lea eax, [esp + 0xc1]
mov byte [esp + 0xc0], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x488986
mov edi, dword [edi]
push dword [esp + 0x14]
lea eax, [esp + 0xc0]
push edi
push dword [esp + 0x24]
push str.ret__d___url__s___recvSize__d_
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x14
lea ecx, [esp + 0x28]
push str.RequestWithQueries
call fcn.00407674
lea eax, [esp + 0xbc]
mov byte [esp + 0x4d0], 0xb
push eax
lea ecx, [esp + 0x5c]
call fcn.00401b61
mov edx, eax
mov byte [esp + 0x4d0], 0xc
lea ecx, [esp + 0x74]
call fcn.005209b8
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x4d4], 0xd
push eax
mov ecx, ebx
call fcn.00485488
xor ebx, ebx
lea ecx, [esp + 0x74]
push ebx
push 1
call fcn.00401c9b
push ebx
push 1
lea ecx, [esp + 0x60]
call fcn.00401c56
push ebx
push 1
lea ecx, [esp + 0x30]
call fcn.00401c9b
mov bl, 1
push 0
push 1
lea ecx, [esp + 0xac]
call fcn.00401c56
jmp 0x488bb9
push 0x3ff
lea eax, [esp + 0xc1]
mov byte [esp + 0xc0], 0
push 0
push eax
call sub.MSVCR120.dll_memset
movzx eax, byte [esp + 0x1f]
add esp, 0xc
push eax
push dword [esp + 0x18]
lea eax, [esp + 0xc4]
push str.responseCode__d___innerUrl__d_
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x10
lea ecx, [esp + 0x28]
push str.RequestWithQueries
call fcn.00407674
lea eax, [esp + 0xbc]
mov byte [esp + 0x4d0], 7
push eax
lea ecx, [esp + 0x78]
call fcn.00401b61
mov edx, eax
mov byte [esp + 0x4d0], 8
lea ecx, [esp + 0x58]
call fcn.005209b8
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x4d4], 9
push eax
mov ecx, ebx
call fcn.00485488
xor ebx, ebx
lea ecx, [esp + 0x58]
push ebx
push 1
call fcn.00401c9b
push ebx
push 1
lea ecx, [esp + 0x7c]
call fcn.00401c56
push ebx
push 1
lea ecx, [esp + 0x30]
call fcn.00401c9b
jmp 0x488bb9
push 0x3ff
lea eax, [esp + 0xc1]
mov byte [esp + 0xc0], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
cmp dword [edi + 0x14], 0x10
jb 0x488b11
mov edi, dword [edi]
push dword [esp + 0x14]
lea eax, [esp + 0xc0]
push edi
push dword [esp + 0x2c]
push str.ret__d___url__s___recvSize__d_
push eax
call dword [sym.imp.MSVCR120.dll_sprintf]
add esp, 0x14
lea ecx, [esp + 0x28]
push str.RequestWithQueries
call fcn.00407674
lea eax, [esp + 0xbc]
mov byte [esp + 0x4d0], 4
push eax
lea ecx, [esp + 0x78]
call fcn.00401b61
mov edx, eax
mov byte [esp + 0x4d0], 5
lea ecx, [esp + 0x58]
call fcn.005209b8
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x4d4], 6
push eax
mov ecx, ebx
call fcn.00485488
xor ebx, ebx
lea ecx, [esp + 0x58]
push ebx
push 1
call fcn.00401c9b
push ebx
push 1
lea ecx, [esp + 0x7c]
call fcn.00401c56
push ebx
push 1
lea ecx, [esp + 0x30]
mov byte [esp + 0x4d8], bl
call fcn.00401c9b
push dword [esp + 0x14]
mov ecx, esi
call fcn.004379ec
mov bl, 1
lea ecx, [esp + 0x40]
call fcn.0042b423
mov al, bl
mov ecx, dword [esp + 0x4c8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4b0]
xor ecx, esp
call fcn.0054e63c
mov esp, ebp
pop ebp
ret 0x14