Function at 0x100059f0
Capabilities:
Create http request
Encode data using xor
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10013f8b
mov eax, dword fs:[0]
push eax
sub esp, 0x488
mov eax, dword [0x1001b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push 0
push 1
push str.MyApp
mov dword [ebp - 4], 1
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
test edi, edi
je 0x10005fa1
movaps xmm0, xmmword [0x10016c00]
xor ecx, ecx
movups xmmword [ebp - 0x48c], xmm0
mov word [ebp - 0x45c], 0x6637
movaps xmm0, xmmword [0x10016b00]
movups xmmword [ebp - 0x47c], xmm0
mov byte [ebp - 0x45a], 0
movaps xmm0, xmmword [0x10016bc0]
movups xmmword [ebp - 0x46c], xmm0
nop dword [eax]
mov al, byte [ebp - 0x48c]
xor byte [ebp + ecx - 0x48b], al
inc ecx
cmp ecx, 0x31
jb 0x10005a80
lea ecx, [ebp - 0x48b]
mov byte [ebp - 0x45a], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10005aa3
sub ecx, edx
mov eax, SysReAllocString
mov edx, dword [ebp + 0x18]
sub eax, edx
cmp eax, ecx
jb 0x10005fa6
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push edx
cmovae eax, dword [ebp + 8]
push eax
push ecx
lea eax, [ebp - 0x48b]
push eax
push ecx
push dword [ebp - 0x494]
lea ecx, [ebp - 0x458]
call fcn.100065e0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x444]
mov eax, edx
mov ecx, dword [ebp - 0x448]
sub eax, ecx
cmp eax, 4
jb 0x10005b2b
lea eax, [ecx + 4]
cmp edx, 0x10
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x458]
cmovae eax, dword [ebp - 0x458]
mov dword [eax + ecx], 0x3d706926
mov byte [eax + ecx + 4], 0
lea eax, [ebp - 0x458]
jmp 0x10005b4c
push 4
push str.ip
mov byte [ebp - 0x490], 0
lea ecx, [ebp - 0x458]
push dword [ebp - 0x490]
push 4
call fcn.10006480
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x440], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x430], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x440]
call fcn.10006320
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x428], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x418], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov edx, dword [ebp - 0x42c]
cmp edx, 0x10
jb 0x10005c03
mov ecx, dword [ebp - 0x440]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005bf9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005c4a
push edx
push ecx
call fcn.10012b5f
add esp, 8
mov edx, dword [ebp - 0x444]
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], 0
cmp edx, 0x10
jb 0x10005c5a
mov ecx, dword [ebp - 0x458]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005c50
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10005c50
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10012b5f
add esp, 8
cmp dword [ebp - 0x414], 0x10
lea eax, [ebp - 0x428]
push 0
cmovae eax, dword [ebp - 0x428]
push 0x400100
push 0
push 0
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
test esi, esi
je 0x10005fa1
lea eax, [ebp - 0x494]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 0x494]
mov dword [ebp - 0x490], eax
cmp ecx, 0x400
jae 0x10005fab
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [ebp + ecx - 0x410], 0
call esi
push edi
call esi
cmp dword [ebp - 0x490], 0
jne 0x10005dca
mov edx, dword [ebp - 0x414]
cmp edx, 0x10
jb 0x10005d18
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005d0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005f9b
push edx
push ecx
call fcn.10012b5f
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
cmp edx, 0x10
jb 0x10005d67
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005d5d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005f9b
push edx
push ecx
call fcn.10012b5f
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x10005dad
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005da3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005f9b
push edx
push ecx
call fcn.10012b5f
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10012545
mov esp, ebp
pop ebp
ret
mov ecx, str.BANNED
lea eax, [ebp - 0x410]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10005df5
test dl, dl
je 0x10005df1
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10005df5
add eax, 2
add ecx, 2
test dl, dl
jne 0x10005dd5
xor eax, eax
jmp 0x10005dfa
sbb eax, eax
or eax, 1
mov edx, dword [ebp - 0x414]
test eax, eax
jne 0x10005ed8
cmp edx, 0x10
jb 0x10005e3c
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005e32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005f9b
push edx
push ecx
call fcn.10012b5f
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
cmp edx, 0x10
jb 0x10005e8b
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005e81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005f9b
push edx
push ecx
call fcn.10012b5f
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x10005ed1
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005ec7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005f9b
push edx
push ecx
call fcn.10012b5f
add esp, 8
mov al, 1
jmp 0x10005daf
cmp edx, 0x10
jb 0x10005f0c
mov ecx, dword [ebp - 0x428]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005f02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005f9b
push edx
push ecx
call fcn.10012b5f
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
cmp edx, 0x10
jb 0x10005f57
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005f4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10005f9b
push edx
push ecx
call fcn.10012b5f
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x10005dad
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10005da3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10005da3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.1000b340
call fcn.100015a0
call fcn.1001273a
int3