Function at 0x435470
Capabilities:
Connect to http server
Create http request
Encode data using xor
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c833
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1078
call fcn.00443850
mov eax, dword [0x4c4080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
xorps xmm0, xmm0
mov eax, dword [ebx + 0x10]
mov edi, dword [ebx + 0xc]
mov dword [ebp - 0x107c], esi
mov dword [ebp - 0x104c], 0
movq qword [esi], xmm0
mov dword [esi + 8], 0
mov dword [ebp - 0x1048], esi
mov dword [ebp - 0x1050], eax
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [ebp - 0x104c], 1
mov dword [ebp - 0x1088], 0
mov dword [ebp - 0x1084], 0
mov dword [ebp - 0x1080], 0
mov dword [ebp - 4], 1
xor ecx, ecx
mov dword [ebp - 0x103c], 0x988e8d
nop word [eax + eax]
lea eax, [ecx - 0x36]
xor byte [ebp + ecx - 0x103c], al
inc ecx
cmp ecx, 3
jb 0x435540
xorps xmm0, xmm0
mov byte [ebp - 0x1039], 0
lea ecx, [ebp - 0x103c]
mov dword [ebp - 0x1058], 0
movups xmmword [ebp - 0x1068], xmm0
mov dword [ebp - 0x1054], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x435580
sub ecx, edx
lea eax, [ebp - 0x103c]
push ecx
push eax
lea ecx, [ebp - 0x1068]
call fcn.0040dc30
mov dword [ebp - 0x1078], 0
mov dword [ebp - 0x1074], 0
mov dword [ebp - 0x1070], 0
push 0
push 0
push 0
push 1
push 0x4bb864
mov byte [ebp - 4], 3
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x1044], eax
test eax, eax
je 0x43585c
cmp dword [edi + 0x14], 0xf
mov ecx, edi
jbe 0x4355e9
mov ecx, dword [edi]
push 0
push 0
push 3
push 0x476129
push 0x476129
push 0x1bb
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp dword [edi + 0x14], 0xf
mov dword [ebp - 0x1040], eax
jbe 0x435614
mov edi, dword [edi]
push edi
call dword [sym.imp.WININET.dll_DeleteUrlCacheEntryA]
mov edx, dword [ebp - 0x1040]
test edx, edx
jne 0x435636
push dword [ebp - 0x1044]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x43585c
mov ecx, dword [ebp - 0x1050]
cmp dword [ecx + 0x14], 0xf
jbe 0x435644
mov ecx, dword [ecx]
cmp dword [ebp - 0x1054], 0xf
lea eax, [ebp - 0x1068]
push 0
cmova eax, dword [ebp - 0x1068]
push 0x84880100
push 0
push 0
push 0
push ecx
push eax
push edx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
test edi, edi
jne 0x43568f
push dword [ebp - 0x1040]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x1044]
call esi
jmp 0x435856
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x1028], 0
push 0x476129
lea ecx, [ebp - 0x1038]
mov dword [ebp - 0x1024], 0
movups xmmword [ebp - 0x1038], xmm0
call fcn.0040dc30
mov byte [ebp - 4], 4
xor esi, esi
nop word [eax + eax]
cmp dword [ebp - 0x1024], 0xf
lea eax, [ebp - 0x1038]
push 0
cmova eax, dword [ebp - 0x1038]
push 0
push 0xffffffffffffffff
push eax
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x435719
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 7
push 0x2f0c
push edi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
inc esi
cmp esi, 5
jle 0x4356d0
push 0
lea eax, [ebp - 0x101c]
mov dword [ebp - 0x1020], 0
push eax
lea eax, [ebp - 0x1020]
mov dword [ebp - 0x101c], 4
push eax
push 0x20000013
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
push 0x1000
lea eax, [ebp - 0x1018]
push 0
push eax
call fcn.00444a80
add esp, 0xc
lea eax, [ebp - 0x103c]
push eax
push 0x1000
lea eax, [ebp - 0x1018]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 0x103c]
test ecx, ecx
je 0x4357e8
mov esi, dword [ebp - 0x1048]
nop dword [eax]
test eax, eax
je 0x4357e2
push ecx
lea eax, [ebp - 0x1018]
mov ecx, esi
push eax
push dword [esi + 4]
call fcn.00440d30
push 0x1000
lea eax, [ebp - 0x1018]
push 0
push eax
call fcn.00444a80
add esp, 0xc
lea eax, [ebp - 0x103c]
push eax
push 0x1000
lea eax, [ebp - 0x1018]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 0x103c]
test ecx, ecx
jne 0x435790
jmp 0x4357e8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0x1040]
call esi
push dword [ebp - 0x1044]
call esi
mov ecx, dword [ebp - 0x1024]
cmp ecx, 0xf
jbe 0x43583b
mov edx, dword [ebp - 0x1038]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x435831
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4358bf
push ecx
push edx
call fcn.00442ca4
add esp, 8
mov dword [ebp - 0x1028], 0
mov dword [ebp - 0x1024], 0xf
mov byte [ebp - 0x1038], 0
mov esi, dword [ebp - 0x1048]
lea ecx, [ebp - 0x1078]
call fcn.0040c4f0
mov ecx, dword [ebp - 0x1054]
cmp ecx, 0xf
jbe 0x43589d
mov edx, dword [ebp - 0x1068]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x435893
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4358c4
push ecx
push edx
call fcn.00442ca4
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0044279c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.0044e09f
call fcn.0044e09f
int3