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

Disassembly:
sub esp, 0x44
push ebx
mov ebx, dword [esp + 0x4c]
push ebp
push esi
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], ebp
mov edi, ecx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x18], ebp
lea esi, [edi + 1]
mov dword [esp + 0x14], ebp
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, ebp
mov dword [esp + 0x58], eax
jne 0x43c660
pop edi
pop esi
pop ebp
mov eax, 0x13
pop ebx
add esp, 0x44
ret
lea ebp, [edi + edi*2]
push ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
jne 0x43c67e
mov esi, 0x13
jmp 0x43c8dc
push ebp
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
jne 0x43c69c
mov dword [esp + 0x10], 0x13
jmp 0x43c8c7
mov eax, dword [esp + 0x58]
cmp esi, 0x7fffffff
ja 0x43c6cb
test esi, esi
je 0x43c6cb
mov edx, ebx
sub edx, eax
mov cl, byte [edx + eax]
test cl, cl
je 0x43c6bf
mov byte [eax], cl
inc eax
dec esi
jne 0x43c6b0
jmp 0x43c6c3
test esi, esi
jne 0x43c6c4
dec eax
mov byte [eax], 0
mov eax, dword [esp + 0x58]
mov cl, byte [eax]
test cl, cl
je 0x43c6de
xor cl, 0x4c
mov byte [eax], cl
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x43c6d1
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x58]
push ebp
push eax
push edi
push ecx
call fcn.0043c3c0
add esp, 0x10
mov edi, eax
cmp ebp, 0x7fffffff
mov dword [esp + 0x30], edi
ja 0x43c730
mov ebx, dword [esp + 0x20]
mov esi, ebp
test ebp, ebp
mov eax, ebx
je 0x43c734
mov edx, 0x47c2d4
sub edx, ebx
mov cl, byte [edx + eax]
test cl, cl
je 0x43c726
mov byte [eax], cl
inc eax
dec esi
jne 0x43c713
dec eax
mov byte [eax], 0
jmp 0x43c734
test esi, esi
jne 0x43c72b
dec eax
mov byte [eax], 0
jmp 0x43c734
mov ebx, dword [esp + 0x20]
lea edx, [edi + 6]
cmp edx, ebp
jle 0x43c748
mov dword [esp + 0x10], 0xb
jmp 0x43c8c7
mov esi, dword [esp + 0x24]
mov ecx, edi
mov eax, ecx
lea edi, [ebx + 5]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0
push 0
and ecx, 3
push 0
push 0
rep movsb byte es:[edi], byte [esi]
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
mov dword [esp + 0x1c], edi
jne 0x43c786
mov dword [esp + 0x10], 5
jmp 0x43c8a4
push 0
push 0
push 3
push 0
push 0
push 0x50
push 0x47c2c4
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [esp + 0x2c], eax
jne 0x43c7b3
mov dword [esp + 0x10], 8
jmp 0x43c8a4
push 0
push 0x4400040
push 0
push 0
push 0x45fac0
push 0x47c2b0
push 0x45fab8
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
jne 0x43c7eb
mov dword [esp + 0x10], 9
jmp 0x43c8a4
push 0xa0000000
push 0xd
push 0x45faa8
push esi
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
test eax, eax
jne 0x43c80f
mov dword [esp + 0x10], 0xc
jmp 0x43c8a4
mov ecx, dword [esp + 0x30]
add ecx, 5
push ecx
push ebx
push 0x31
push 0x45fa74
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x43c834
mov dword [esp + 0x10], 0xa
jmp 0x43c8a4
mov ebx, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
mov ebp, dword [esp + 0x28]
mov eax, ebx
lea edx, [esp + 0x14]
sub eax, ebp
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esi + ebp]
push eax
push ecx
push edx
call edi
test eax, eax
je 0x43c86f
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43c879
add ebp, eax
mov dword [esp + 0x28], ebp
jmp 0x43c842
mov dword [esp + 0x10], 4
jmp 0x43c8a0
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x38]
push 0x20
push ecx
push edx
mov byte [esi + ebp], 0
call edi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x43c8a0
mov dword [esp + 0x10], 0xb
mov edi, dword [esp + 0x1c]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test edi, edi
je 0x43c8b1
push edi
call esi
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x43c8bc
push eax
call esi
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43c8c7
push eax
call esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x43c8d8
push eax
call fcn.0043fa08
add esp, 4
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x58]
push eax
call fcn.0043fa08
mov eax, dword [esp + 0x28]
add esp, 4
test eax, eax
je 0x43c8fa
push eax
call fcn.0043fa08
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret