Function at 0x402c80
Capabilities:
Make an http request with a cookie
Parse url
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
push 0x586744
mov eax, dword fs:[0]
push eax
sub esp, 0x3b8
mov eax, dword [0x5e173c]
xor eax, esp
mov dword [esp + 0x3b0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e173c]
xor eax, esp
push eax
lea eax, [esp + 0x3cc]
mov dword fs:[0], eax
mov eax, dword [esp + 0x3e8]
mov ebx, dword [esp + 0x3e0]
mov edi, dword [esp + 0x3ec]
mov dword [esp + 0x10c], eax
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], edi
mov dword [ecx + 8], 0
test eax, eax
je 0x403632
push 0
push 0x4000000
push 0
push 0
push 0
push str._api_getUserConfig.php
push 0x5a8390
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov ebp, eax
mov dword [esp + 0x20], ebp
test ebp, ebp
je 0x403632
xorps xmm0, xmm0
movq qword [esp + 0x104], xmm0
mov dword [esp + method.RC::RCInternetHandle.virtual_0], vtable.RC::RCInternetHandle.0
mov dword [esp + 0x108], ebp
mov dword [esp + 0x3d4], 0
lea ecx, [esp + 0x110]
push 0x5a83a0
call fcn.00403a70
mov byte [esp + 0x3d4], 1
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x402e4d
push 0x5a8400
lea ecx, [esp + 0x114]
call fcn.00403b70
push 0x5a8408
lea ecx, [esp + 0x114]
call fcn.00403b70
mov ecx, dword [edi + 4]
mov eax, 0x2aaaaaab
mov esi, dword [edi]
xor ebx, ebx
sub ecx, esi
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x402e36
mov ebp, dword [esp + 0x18]
xor edi, edi
cmp dword [edi + esi + 0x10], 0
lea eax, [edi + esi]
lea esi, [eax + 0x18]
je 0x402e0d
cmp dword [esi + 0x10], 0
je 0x402e0d
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x11c]
call fcn.004047c0
push 1
push 0x5a841c
lea ecx, [esp + 0x118]
call fcn.00404880
push 0xffffffffffffffff
push 0
push esi
lea ecx, [esp + 0x11c]
call fcn.004047c0
push 1
push 0x5a8420
lea ecx, [esp + 0x118]
call fcn.00404880
mov ecx, dword [ebp + 4]
mov eax, 0x2aaaaaab
mov esi, dword [ebp]
inc ebx
sub ecx, esi
add edi, 0x30
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x402db2
mov ebp, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
push 4
push 0x5a8424
lea ecx, [esp + 0x118]
call fcn.00404880
mov ebx, dword [esp + 0x1c]
cmp dword [esp + 0x124], 8
lea eax, [esp + 0x110]
mov esi, dword [esp + 0x3e4]
cmovae eax, dword [esp + 0x110]
push 0
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x124]
push 0
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
lea eax, [esp + 0xa8]
push 0
push eax
push ebp
mov dword [esp + 0xb4], 0x28
mov dword [esp + 0xb8], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], esi
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
jne 0x402f53
mov byte [esp + 0x3d4], 0
cmp dword [esp + 0x124], 8
jb 0x402f0a
push dword [esp + 0x110]
call fcn.00564de3
add esp, 4
xor eax, eax
mov dword [esp + 0x124], 7
mov dword [esp + 0x120], 0
mov word [esp + 0x110], ax
mov dword [esp + 0x3d4], 0xffffffff
mov ecx, ebp
mov dword [esp + method.RC::RCInternetHandle.virtual_0], vtable.RC::RCInternetHandle.0
mov dword [esp + 0x108], eax
call fcn.004b2080
jmp 0x403632
lea eax, [esp + 0x130]
mov dword [esp + 0x130], 0
push eax
push esi
push ebx
push ebp
call dword [sym.imp.WININET.dll_InternetWriteFile]
test eax, eax
je 0x402ee9
cmp dword [esp + 0x130], esi
jne 0x402ee9
push 0
push 0
push 0
push ebp
call dword [sym.imp.WININET.dll_HttpEndRequestW]
test eax, eax
je 0x403607
mov ebx, dword [esp + 0x10c]
mov ecx, ebx
call fcn.00403bf0
push 0x1ff
lea eax, [esp + 0x1c9]
mov byte [esp + 0x1c8], 0
push 0
push eax
call fcn.0056cbb0
mov dword [esp + 0x168], 0
add esp, 0xc
mov dword [esp + 0x160], 0
mov dword [esp + 0x128], 0
mov dword [esp + 0x160], 0xf
mov dword [esp + 0x15c], 0
mov byte [esp + 0x14c], 0
mov byte [esp + 0x3d4], 2
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [esp + 0x128]
mov dword [esp + 0x128], 0
push eax
push 0x1ff
lea eax, [esp + 0x1cc]
push eax
push ebp
call esi
test eax, eax
je 0x4035f3
mov eax, dword [esp + 0x128]
test eax, eax
je 0x4030a0
cmp eax, 0x200
jae 0x4035f3
mov byte [esp + eax + 0x1c4], 0
cmp byte [esp + 0x1c4], 0
jne 0x40306a
xor eax, eax
jmp 0x40307d
lea eax, [esp + 0x1c4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403074
sub eax, edx
push eax
lea eax, [esp + 0x1c8]
push eax
lea ecx, [esp + 0x154]
call fcn.00403f10
cmp dword [esp + 0x128], 0
ja 0x403013
cmp dword [esp + 0x160], 0x10
lea ecx, [esp + 0x14c]
mov edx, dword [esp + 0x15c]
cmovae ecx, dword [esp + 0x14c]
push ebx
call fcn.004b1040
add esp, 4
mov ecx, edi
call fcn.00403da0
xor ecx, ecx
mov eax, 0x201
mov edx, 2
mov ebx, 0x200
mul edx
mov dword [esp + 0x9c], ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00560e4f
mov dword [esp + 0x130], 0
mov edi, eax
add esp, 4
jmp 0x403110
xor eax, eax
mov word [edi], ax
lea eax, [esp + 0x12c]
mov esi, dword [esp + 0x12c]
push eax
lea eax, [esp + 0xa0]
mov dword [esp + 0xa0], ebx
push eax
push edi
push 0x2b
push ebp
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
setne al
test al, al
jne 0x403198
cmp dword [esp + 0x9c], ebx
jbe 0x4035a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x4035a2
mov ebx, dword [esp + 0x9c]
push edi
inc ebx
call fcn.0056503c
xor ecx, ecx
lea eax, [ebx + 1]
add esp, 4
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00560e4f
mov dword [esp + 0x130], esi
jmp 0x403100
mov eax, dword [esp + 0x9c]
cmp eax, ebx
ja 0x403110
xor ecx, ecx
mov word [edi + eax*2], cx
lea ecx, [esp + 0x17c]
push edi
call fcn.00403a70
mov byte [esp + 0x3d4], 3
cmp dword [esp + 0x18c], 0
je 0x403589
xor eax, eax
mov dword [esp + 0x174], 0
mov dword [esp + 0x178], 0
mov dword [esp + 0x178], 7
mov dword [esp + 0x174], 0
mov word [esp + 0x164], ax
mov byte [esp + 0x3d4], 4
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], eax
mov dword [esp + 0x148], 7
mov dword [esp + 0x144], eax
mov word [esp + 0x134], ax
mov byte [esp + 0x3d4], 5
lea ecx, [esp + 0x17c]
push 1
push eax
lea eax, [esp + 0x114]
mov dword [esp + 0x114], 0x3d
push eax
call fcn.00404390
mov esi, eax
cmp esi, 0xffffffff
je 0x4032e5
push esi
push 0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x188]
call fcn.00403c50
mov byte [esp + 0x3d4], 6
lea ecx, [esp + 0x164]
push eax
call fcn.00403b00
mov byte [esp + 0x3d4], 5
lea ecx, [esp + 0x24]
call fcn.00403b40
inc esi
cmp esi, dword [esp + 0x18c]
jae 0x4032e5
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x188]
call fcn.00403c50
mov byte [esp + 0x3d4], 7
lea ecx, [esp + 0x17c]
push eax
call fcn.00403b00
mov byte [esp + 0x3d4], 5
lea ecx, [esp + 0x54]
call fcn.00403b40
push 1
push 0
lea eax, [esp + 0x114]
mov dword [esp + 0x114], 0x3b
push eax
lea ecx, [esp + 0x188]
call fcn.00404390
cmp eax, 0xffffffff
je 0x403349
push eax
push 0
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x188]
call fcn.00403c50
mov byte [esp + 0x3d4], 8
lea ecx, [esp + 0x134]
push eax
call fcn.00403b00
mov byte [esp + 0x3d4], 5
lea ecx, [esp + 0x3c]
call fcn.00403b40
jmp 0x403361
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x184]
push eax
lea ecx, [esp + 0x140]
call fcn.00404960
mov edx, 0x5a8430
lea ecx, [esp + 0x164]
call fcn.004afdd0
mov edx, 0x5a8430
lea ecx, [esp + 0x164]
call fcn.004afe40
mov edx, 0x5a8430
lea ecx, [esp + 0x134]
call fcn.004afdd0
mov edx, 0x5a8430
lea ecx, [esp + 0x134]
call fcn.004afe40
cmp dword [esp + 0x174], 0
je 0x403561
cmp dword [esp + 0x144], 0
je 0x403561
push 0x5a843c
lea ecx, [esp + 0x1b0]
call fcn.00403a70
mov byte [esp + 0x3d4], 9
lea eax, [esp + 0x134]
push 0xffffffffffffffff
push 0
push eax
lea ecx, [esp + 0x1b8]
call fcn.004047c0
push 0x3c
lea eax, [esp + 0xcc]
push 0
push eax
call fcn.0056cbb0
mov esi, dword [esp + 0x1c8]
xor ecx, ecx
add esi, 0x20
mov dword [esp + 0xd4], 0x3c
add esp, 0xc
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00560e4f
add esp, 4
mov dword [esp + 0xfc], eax
lea ecx, [esi + esi]
push ecx
push 0
push eax
call fcn.0056cbb0
add esp, 0xc
lea ecx, [esp + 0xc8]
cmp dword [esp + 0x1c0], 8
lea eax, [esi - 1]
mov dword [esp + 0x100], eax
lea eax, [esp + 0x1ac]
cmovae eax, dword [esp + 0x1ac]
push ecx
push SysReAllocString
push dword [esp + 0x1c4]
push eax
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x403502
push dword [esp + 0xfc]
lea ecx, [esp + 0x198]
call fcn.00403a70
mov byte [esp + 0x3d4], 0xa
cmp dword [esp + 0x1a4], 0
je 0x4034ee
cmp dword [esp + 0x1a8], 8
lea eax, [esp + 0x194]
lea ecx, [esp + 0x194]
cmovae eax, dword [esp + 0x194]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00403bb0
lea eax, [esp + 0x194]
push eax
lea ecx, [esp + 0x138]
call fcn.00403c20
mov byte [esp + 0x3d4], 9
lea ecx, [esp + 0x194]
call fcn.00403b40
push dword [esp + 0xfc]
call fcn.0056503c
add esp, 4
lea eax, [esp + 0x134]
lea ecx, [esp + 0x6c]
push eax
lea eax, [esp + 0x168]
push eax
call fcn.004050e0
mov byte [esp + 0x3d4], 0xb
mov ecx, dword [esp + 0x18]
push eax
call fcn.00403cd0
mov byte [esp + 0x3d4], 9
lea ecx, [esp + 0x6c]
call fcn.00402bd0
mov byte [esp + 0x3d4], 5
lea ecx, [esp + 0x1ac]
call fcn.00403b40
mov byte [esp + 0x3d4], 4
lea ecx, [esp + 0x134]
call fcn.00403b40
mov byte [esp + 0x3d4], 3
lea ecx, [esp + 0x164]
call fcn.00403b40
mov byte [esp + 0x3d4], 2
lea ecx, [esp + 0x17c]
call fcn.00403b40
jmp 0x403110
xor eax, eax
push edi
mov word [edi], ax
call fcn.0056503c
add esp, 4
mov byte [esp + 0x3d4], 1
lea ecx, [esp + 0x14c]
call fcn.00403a00
mov byte [esp + 0x3d4], 0
lea ecx, [esp + 0x110]
call fcn.00403b40
mov dword [esp + 0x3d4], 0xffffffff
lea ecx, [esp + 0x104]
call fcn.004b2040
mov al, 1
jmp 0x403634
mov byte [esp + 0x3d4], 1
lea ecx, [esp + 0x14c]
call fcn.00403a00
mov byte [esp + 0x3d4], 0
lea ecx, [esp + 0x110]
call fcn.00403b40
mov dword [esp + 0x3d4], 0xffffffff
lea ecx, [esp + 0x104]
call fcn.004b2040
xor al, al
mov ecx, dword [esp + 0x3cc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3b0]
xor ecx, esp
call fcn.00564de8
add esp, 0x3c4
ret 0x14