Function at 0x40b430
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b05b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x478
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 2
cmp dword [ebp + 0x18], 0
je 0x40b7c0
cmp dword [ebp + 0x30], 0
je 0x40b7c0
cmp dword [ebp + 0x48], 0
je 0x40b7c0
xor esi, esi
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x3c], 0
push esi
push esi
push esi
push esi
push 0x459f3c
mov byte [ebp - 4], 3
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp + 8]
push 1
cmovae ecx, dword [ebp + 8]
push esi
push 3
push esi
push esi
push 0x50
push ecx
push eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp dword [ebp + 0x34], 0x10
lea ecx, [ebp + 0x20]
push 1
cmovae ecx, dword [ebp + 0x20]
push esi
push esi
push esi
push esi
push ecx
sub esp, 0x18
mov dword [ebp - 0x1c], eax
mov ecx, esp
push 0x464550
call fcn.00419ff0
lea ecx, [ebp - 0x54]
call fcn.00405210
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x40b4f3
mov eax, dword [eax]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x10], eax
cmp edx, 0x10
jb 0x40b534
mov ecx, dword [ebp - 0x54]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b52a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b870
push edx
push ecx
call fcn.0041f5bc
add esp, 8
push dword [ebp + 0x48]
cmp dword [ebp + 0x4c], 0x10
lea eax, [ebp + 0x38]
mov dword [ebp - 0x44], 0
cmovae eax, dword [ebp + 0x38]
push eax
sub esp, 0x18
mov dword [ebp - 0x40], 0xf
mov ecx, esp
mov byte [ebp - 0x54], 0
push 0x4639f8
call fcn.00419ff0
lea ecx, [ebp - 0x84]
call fcn.00405210
add esp, 0x18
mov byte [ebp - 4], 4
push dword [eax + 0x10]
sub esp, 0x18
mov ecx, esp
push 0x4639f8
call fcn.00419ff0
lea ecx, [ebp - 0x6c]
call fcn.00405210
add esp, 0x18
cmp dword [eax + 0x14], 0x10
jb 0x40b59b
mov eax, dword [eax]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov edx, dword [ebp - 0x58]
cmp edx, 0x10
jb 0x40b5d9
mov ecx, dword [ebp - 0x6c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b5cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b875
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0xf
mov byte [ebp - 0x6c], 0
cmp edx, 0x10
jb 0x40b626
mov ecx, dword [ebp - 0x84]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b61c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b875
push edx
push ecx
call fcn.0041f5bc
add esp, 8
lea eax, [ebp - 0x18]
push eax
push 0x3ff
lea eax, [ebp - 0x484]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40b6c9
mov edi, dword [ebp - 0x18]
test edi, edi
je 0x40b6c6
mov ecx, dword [ebp - 0x28]
mov eax, ecx
sub eax, esi
push edi
cmp edi, eax
ja 0x40b682
lea eax, [esi + edi]
cmp ecx, 0x10
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
cmovae eax, dword [ebp - 0x3c]
add esi, eax
lea eax, [ebp - 0x484]
push eax
push esi
call fcn.004362e0
add esp, 0xc
mov byte [esi + edi], 0
jmp 0x40b699
lea eax, [ebp - 0x484]
mov byte [ebp - 0x14], 0
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
push edi
call fcn.0041b390
mov eax, dword [ebp - 0x18]
mov byte [ebp + eax - 0x484], 0
lea eax, [ebp - 0x18]
push eax
push 0x3ff
lea eax, [ebp - 0x484]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40b6c6
mov esi, dword [ebp - 0x2c]
jmp 0x40b647
mov edi, dword [ebp - 0x20]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
push dword [ebp - 0x24]
call esi
movups xmm0, xmmword [ebp - 0x3c]
mov edx, dword [ebp + 0x1c]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x2c]
movq qword [edi + 0x10], xmm0
cmp edx, 0x10
jb 0x40b731
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b727
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b87a
push edx
push ecx
call fcn.0041f5bc
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 0x40b777
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b76d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b87a
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x40b85e
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b854
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b87a
jmp 0x40b854
push 0
mov dword [edi + 0x10], 0
mov ecx, edi
mov dword [edi + 0x14], 0xf
push 0x4591bb
mov byte [edi], 0
call fcn.0041a7c0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x40b80f
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b805
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b87a
push edx
push ecx
call fcn.0041f5bc
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 0x40b777
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40b76d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b87a
jmp 0x40b76d
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00438cc7
call fcn.00438cc7
call fcn.00438cc7
int3