Function at 0x473520
Capabilities:
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ecx
push edx
push esi
push edi
lea edi, [ebp - 0x2c]
mov ecx, 0xb
xor eax, eax
rep stosd dword es:[edi], eax
mov dword [0x405208], 0
mov dword [ebp - 0x2c], 0x405208
push 0x3000
push 8
push dword [0x401204]
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x28], eax
add eax, 0x1000
mov dword [ebp - 8], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x28]
cmp word [esi], 0
je 0x4736ab
cmp word [esi], 0x68
je 0x473401
cmp word [esi], 0x48
jne 0x473440
cmp word [esi + 2], 0x74
je 0x47340f
cmp word [esi + 2], 0x54
jne 0x473440
cmp word [esi + 4], 0x74
je 0x47341d
cmp word [esi + 4], 0x54
jne 0x473440
cmp word [esi + 6], 0x70
je 0x47342b
cmp word [esi + 6], 0x54
jne 0x473440
add esi, 8
cmp word [esi], 0x73
je 0x47343a
cmp word [esi], 0x53
jne 0x47343d
add esi, 2
add esi, 6
cmp word [esi], 0
je 0x473458
cmp word [esi], 0x2f
je 0x473458
cmp word [esi], 0x5c
je 0x473458
lodsw ax, word [esi]
stosw word es:[edi], ax
jmp 0x473440
push esi
push dword [ebp - 8]
call dword [sym.imp.kernel32.dll_lstrcpyW]
mov word [edi], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
push 0
push 0
push 0
push 0
nop
call 0x4734a2
dec ecx
add byte [esi], ch
add byte gs:[eax + eax + 0x55], dh
add byte [edx], dl
dec esp
add byte [edi], ch
add byte [ecx], dh
add byte [esi], ch
add byte [eax], dh
add byte [eax], al
add bh, bh
adc eax, sym.imp.wininet.dll_InternetOpenW
test eax, eax
je 0x4736ab
mov dword [ebp - 0x20], eax
push 0
push 0
push 3
call 0x4734c2
and byte [eax], al
add byte [eax], al
nop
call 0x4734cc
and byte [eax], al
add byte [eax], al
push 0x50
push dword [ebp - 0x28]
push eax
call dword [sym.imp.wininet.dll_InternetConnectW]
test eax, eax
je 0x4736ab
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], 0x1770
push 4
lea edx, [ebp - 0x14]
push edx
push 6
push dword [ebp - 0x20]
call dword [sym.imp.wininet.dll_InternetSetOptionW]
test eax, eax
je 0x4736ab
push 0
push 0x400000
add byte [eax], al
push 0
push 0
push 0
push dword [ebp - 8]
call 0x473520
inc edi
add byte [ebp], al
push esp
add byte [eax], al
add bh, bh
jne 0x473507
call dword [sym.imp.wininet.dll_HttpOpenRequestW]
test eax, eax
je 0x4736ab
mov dword [ebp - 0x24], eax
push 0
push 0
push 0
push 0
push dword [ebp - 0x24]
call dword [sym.imp.wininet.dll_HttpSendRequestW]
test eax, eax
je 0x4736ab
push 0x20
push 8
push dword [0x401204]
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x2c], eax
push 0x5000
push 8
push dword [0x401204]
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x10], eax
add eax, 0x2000
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0xc]
cmp eax, 1
jl 0x473594
cmp eax, 0xfff
jle 0x47359b
mov dword [ebp + 0xc], 0xfff
cmp dword [ebp - 4], 0
je 0x47367d
cmp dword [ebp + 0xc], 0
jle 0x47367d
push 0x5000
push dword [ebp - 0x10]
call dword [sym.imp.kernel32.dll_RtlZeroMemory]
lea edx, [ebp - 4]
push edx
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x24]
call dword [sym.imp.wininet.dll_InternetReadFile]
cmp eax, 0
je 0x473678
cmp dword [ebp - 4], 0
je 0x473678
push 0x100000
push dword [ebp - 4]
push 0
push dword [ebp - 0x10]
call dword [sym.imp.shlwapi.dll_UrlUnescapeA]
push 0
push 0
push 0xffffffffffffffff
push dword [ebp - 0x10]
push 0
push 0xfde9
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
push eax
push dword [ebp - 0xc]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push 0
push 0xfde9
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
push dword [ebp - 0xc]
call dword [sym.imp.kernel32.dll_lstrlenW]
mov ecx, eax
add ecx, 1
add ecx, ecx
push ecx
push dword [ebp - 0x2c]
push 0
push dword [0x401204]
call dword [sym.imp.kernel32.dll_HeapSize]
pop ecx
add ecx, eax
push ecx
push dword [ebp - 0x2c]
push 8
push dword [0x401204]
call dword [sym.imp.kernel32.dll_HeapReAlloc]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0xc]
push eax
call dword [sym.imp.kernel32.dll_lstrcatW]
mov ecx, dword [ebp - 4]
add dword [ebp - 0x18], ecx
cmp dword [ebp + 0xc], 0xfff
and al, 0x40
add byte [ebx + 0x4d01fc4d], cl
call 0xff53b3f1
sldt word [eax]
je 0x473678
sub dword [ebp + 0xc], ecx
jmp 0x47359b
call 0x47368c
or dword [eax], eax
and byte [eax], al
or eax, 0xa00
add bh, bh
jne 0x473663
call dword [sym.imp.shlwapi.dll_StrTrimW]
push dword [ebp - 0x10]
push 0
push dword [0x401204]
call dword [sym.imp.kernel32.dll_HeapFree]
mov eax, 1
cmp eax, 0
jne 0x4736b6
call dword [sym.imp.kernel32.dll_GetLastError]
mov edx, dword [0x405158]
push eax
pop dword [edx + 0x44]
add edx, 0x58
push dword [ebp - 0x18]
pop dword [edx + 0x44]
add edx, 0x58
cmp dword [ebp - 0x28], 0
je 0x4736e3
push dword [ebp - 0x28]
push 0
push dword [0x401204]
call dword [sym.imp.kernel32.dll_HeapFree]
cmp dword [ebp - 0x24], 0
je 0x4736f2
push dword [ebp - 0x24]
call dword [sym.imp.wininet.dll_InternetCloseHandle]
cmp dword [ebp - 0x1c], 0
je 0x473701
push dword [ebp - 0x1c]
call dword [sym.imp.wininet.dll_InternetCloseHandle]
cmp dword [ebp - 0x20], 0
je 0x473710
push dword [ebp - 0x20]
call dword [sym.imp.wininet.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x2c]
pop edi
pop esi
pop edx
pop ecx
leave
ret 8