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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47135a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x330
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xa8], edi
mov eax, dword [edi + 0x390]
test eax, eax
je 0x40e6ff
cmp esi, 4
jne 0x40e6ff
push 0
push dword [ebp + 0xc]
push 0x69a
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
call fcn.00408a60
cmp dword [eax + 0x14], 8
jb 0x40e712
mov eax, dword [eax]
push 0
push 0
push 3
push 0
push 0
push 0x1bb
push eax
push dword [edi + 0x38c]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
cmp edx, 8
jb 0x40e76e
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e761
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffcc
push edx
push ecx
call fcn.00448b15
mov eax, dword [ebp - 0x44]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], cx
test eax, eax
jne 0x40e89c
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x331
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.0042cb80
add esp, 8
push 0x2d
push str.Error_2022___Error_communicating_with_server
push 0
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.0041e5c0
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xe8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xd8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x3e7
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 1
push eax
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0040b710
mov edx, dword [ebp - 0xd4]
cmp edx, 8
jb 0x40e841
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e837
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffd1
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0xec]
cmp edx, 8
jb 0x40e881
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e877
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffd1
push edx
push ecx
call fcn.00448b15
add esp, 8
mov eax, dword [edi + 0x3b4]
mov ecx, 2
cmp eax, ecx
cmovl eax, ecx
mov dword [edi + 0x3b4], eax
jmp 0x40ec92
xor eax, eax
mov dword [ebp - 0x144], ecx
push eax
mov dword [ebp - 0xc0], ecx
lea ecx, [ebp - 0xd0]
push 0x4854f0
mov dword [ebp - 0x148], 0x48795c
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
call fcn.00404a00
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x28]
push 0x2a
xor eax, eax
mov dword [ebp - 0x18], 0
push str.api_api_put_screen_status_unit_uid
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00404a00
lea eax, [edi + 0x328]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xd0]
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0xa4]
call fcn.004088f0
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40e961
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e957
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffd6
push edx
push ecx
call fcn.00448b15
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xbc]
cmp edx, 8
jb 0x40e9a5
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40e99b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffd6
push edx
push ecx
call fcn.00448b15
add esp, 8
push 0
push 0x84802000
xor eax, eax
mov dword [ebp - 0xc0], 0
cmp dword [ebp - 0x90], 8
lea ecx, [ebp - 0x148]
push ecx
push 0
mov word [ebp - 0xd0], ax
lea eax, [ebp - 0xa4]
cmovae eax, dword [ebp - 0xa4]
push 0
push eax
push 0x4879c0
push dword [ebp - 0x44]
mov dword [ebp - 0xbc], 7
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x138], eax
test eax, eax
jne 0x40eca7
push dword [ebp - 0x44]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x33d
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.0042cb80
add esp, 8
push 0x2d
push str.Error_2023___Error_communicating_with_server
push 0
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0041e5c0
mov dword [ebp - 0x4c], 0
xor ecx, ecx
mov dword [ebp - 0x48], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 2
push 0x4879c8
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 8
call fcn.00404b90
mov dword [ebp - 0x30], 0
xor ecx, ecx
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 9
lea eax, [ebp - 0xa4]
cmp dword [ebp - 0x90], 8
lea ecx, [ebp - 0x40]
push dword [ebp - 0x94]
cmovae eax, dword [ebp - 0xa4]
push eax
call fcn.00404b90
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xe8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xd8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x3e7
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0xa
push eax
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0040b710
mov edx, dword [ebp - 0xd4]
cmp edx, 8
jb 0x40eb60
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40eb56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffdb
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x40eb9a
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40eb90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffdb
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x40ebe8
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ebde
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffdb
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0xec]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp edx, 8
jb 0x40ec3c
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ec32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffdb
push edx
push ecx
call fcn.00448b15
add esp, 8
mov eax, dword [edi + 0x3b4]
mov ecx, 2
cmp eax, ecx
cmovl eax, ecx
mov dword [edi + 0x3b4], eax
mov edx, dword [ebp - 0x90]
cmp edx, 8
jb 0x40ec92
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ec88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fffe
push edx
push ecx
call fcn.00448b15
add esp, 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xb0]
push 0
mov byte [ebp - 0xb8], 0
call fcn.0041c320
xorps xmm0, xmm0
mov byte [ebp - 0x38], 0
mov edx, esi
movq qword [ebp - 0x30], xmm0
lea ecx, [ebp - 0x38]
call fcn.0041f820
push str.status
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xd
call fcn.0041d170
mov esi, eax
mov byte [ebp - 4], 0xc
mov cl, byte [ebp - 0x38]
mov eax, dword [ebp - 0x30]
mov dl, byte [esi]
mov byte [esi], cl
mov ecx, dword [esi + 8]
mov byte [ebp - 0x134], dl
push dword [ebp - 0x134]
mov byte [ebp - 0x38], dl
mov edx, dword [esi + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x30]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x2c], edx
call fcn.0041a9b0
mov eax, dword [ebp + 8]
sub eax, 3
je 0x40ed9b
sub eax, 1
jne 0x40ee83
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x38]
xorps xmm0, xmm0
mov byte [ebp - 0x38], al
movq qword [ebp - 0x30], xmm0
call fcn.0041f820
push str.progress
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0x10
call fcn.0041d170
mov byte [ebp - 4], 0xc
mov esi, eax
mov cl, byte [ebp - 0x38]
mov eax, dword [ebp - 0x30]
mov dl, byte [esi]
mov byte [esi], cl
mov ecx, dword [esi + 8]
mov byte [ebp + 8], dl
push dword [ebp + 8]
mov byte [ebp - 0x38], dl
mov edx, dword [esi + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x30]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x2c], edx
call fcn.0041a9b0
jmp 0x40ee83
push dword [ebp + 0x10]
lea eax, [ebp - 0x100]
push eax
call fcn.0042eeb0
mov esi, eax
mov byte [ebp - 4], 0xe
xorps xmm0, xmm0
push 0x18
movq qword [ebp - 0x30], xmm0
mov byte [ebp - 0x38], 3
call fcn.00448ae5
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x30], edi
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
movups xmm0, xmmword [esi]
movups xmmword [edi], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [edi + 0x10], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov esi, dword [ebp - 0x144]
mov dword [ebp - 0x2c], esi
push str.message
lea ecx, [ebp - 0xb8]
mov byte [ebp - 4], 0xf
call fcn.0041d170
mov cl, byte [eax]
mov byte [eax], 3
mov edx, dword [eax + 0xc]
mov byte [ebp + 8], cl
push dword [ebp + 8]
mov byte [ebp - 0x38], cl
mov ecx, dword [eax + 8]
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x30]
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
mov dword [ebp - 0x2c], edx
call fcn.0041a9b0
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xec]
cmp edx, 0x10
jb 0x40ee7d
mov ecx, dword [ebp - 0x100]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ee73
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffe0
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edi, dword [ebp - 0xa8]
sub esp, 0xc
lea eax, [ebp - 0x8c]
lea ecx, [ebp - 0xb8]
push eax
call fcn.00418ff0
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x74]
push 0x1e
xor eax, eax
mov dword [ebp - 0x64], 0
push str.Content_Type:_application_json
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
call fcn.00404a00
mov esi, dword [ebp - 0x138]
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x12
lea eax, [ebp - 0x74]
cmp dword [ebp - 0x78], 0x10
push dword [ebp - 0x7c]
cmovae ecx, dword [ebp - 0x8c]
cmp dword [ebp - 0x60], 8
push ecx
cmovae eax, dword [ebp - 0x74]
push 0xffffffffffffffff
push eax
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
jne 0x40f401
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, eax
call esi
push dword [ebp - 0x44]
call esi
lea eax, [ebp + 8]
mov dword [ebp + 8], edi
push eax
lea eax, [ebp - 0x130]
mov dword [ebp + 0x10], 0x357
push eax
call fcn.0042cb80
mov esi, eax
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.0042cb80
add esp, 0x10
push 0x2d
push str.Error_2024___Error_communicating_with_server
push 0
mov ecx, eax
mov byte [ebp - 4], 0x14
call fcn.0041e5c0
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 2
push 0x4879c8
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x15
call fcn.00404b90
mov dword [ebp - 0xc0], 0
xor ecx, ecx
mov dword [ebp - 0xbc], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x16
mov edi, dword [ebp - 0xbc]
mov eax, edi
mov edx, dword [ebp - 0xc0]
sub eax, edx
mov ecx, dword [esi + 0x10]
cmp ecx, eax
jbe 0x40f01c
mov eax, dword [esi + 0x14]
sub eax, ecx
cmp eax, edx
jb 0x40f01c
cmp edi, 8
lea eax, [ebp - 0xd0]
push edx
cmovae eax, dword [ebp - 0xd0]
mov ecx, esi
push eax
push 0
call fcn.0041e5c0
jmp 0x40f031
cmp dword [esi + 0x14], 8
jb 0x40f024
mov esi, dword [esi]
push ecx
push esi
lea ecx, [ebp - 0xd0]
call fcn.00404b90
mov dword [ebp - 0x30], 0
xor ecx, ecx
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov word [eax], cx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
push 2
push 0x4879c8
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x17
call fcn.00404b90
mov dword [ebp - 0x4c], 0
xor ecx, ecx
mov dword [ebp - 0x48], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0xa4]
cmp dword [ebp - 0x90], 8
lea ecx, [ebp - 0x5c]
push dword [ebp - 0x94]
cmovae eax, dword [ebp - 0xa4]
push eax
call fcn.00404b90
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x100], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xf0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov esi, dword [ebp - 0xa8]
lea eax, [ebp - 0x100]
push 1
push 0x3e7
push eax
push dword [ebp + 0xc]
mov ecx, esi
mov byte [ebp - 4], 0x19
call fcn.0040b710
mov edx, dword [ebp - 0xec]
cmp edx, 8
jb 0x40f157
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f14d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffe5
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x40f191
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f187
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffe5
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp edx, 8
jb 0x40f1df
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f1d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffe5
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0xbc]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x40f233
mov ecx, dword [ebp - 0xd0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f229
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffe5
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 7
mov word [ebp - 0xd0], ax
cmp edx, 8
jb 0x40f28a
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f280
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffe5
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0xd4]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x40f2de
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f2d4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffe5
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x11c]
xor eax, eax
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
cmp edx, 8
jb 0x40f33b
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f331
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffe5
push edx
push ecx
call fcn.00448b15
add esp, 8
mov eax, dword [esi + 0x3b4]
mov ecx, 2
mov edx, dword [ebp - 0x60]
cmp eax, ecx
cmovl eax, ecx
mov dword [esi + 0x3b4], eax
cmp edx, 8
jb 0x40f38b
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f381
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fffe
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x78]
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
cmp edx, 0x10
jb 0x40f3d6
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f3cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fffe
push edx
push ecx
call fcn.00448b15
add esp, 8
push dword [ebp - 0xb8]
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
call fcn.0041a9b0
jmp 0x40ec52
lea eax, [ebp - 0x8c]
mov edx, str.CMS_Message_sent_to_server__
push eax
lea ecx, [ebp - 0x130]
call fcn.0041c9e0
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1a
push eax
call fcn.0042caf0
add esp, 0xc
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1b
push eax
push 0x3e7
mov ecx, edi
call fcn.00408820
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40f47d
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f473
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffea
push edx
push ecx
call fcn.00448b15
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 0x10
jb 0x40f4cf
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f4c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffea
push edx
push ecx
call fcn.00448b15
add esp, 8
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x140], 0x190
push eax
lea eax, [ebp - 0x140]
mov dword [ebp - 0x13c], 0
push eax
lea eax, [ebp - 0x33c]
push eax
push 0x13
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x40f5b9
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x40f543
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f539
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fffe
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x78]
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
cmp edx, 0x10
jb 0x40f58e
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f584
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fffe
push edx
push ecx
call fcn.00448b15
add esp, 8
push dword [ebp - 0xb8]
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
call fcn.0041a9b0
jmp 0x40ec52
lea eax, [ebp - 0x33c]
push eax
call fcn.004522ee
add esp, 4
mov dword [ebp + 8], eax
lea ecx, [eax - 0xc8]
cmp ecx, 0x64
jb 0x40f772
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x44]
call esi
cmp dword [ebp - 0x90], 8
lea eax, [ebp - 0xa4]
cmovae eax, dword [ebp - 0xa4]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x33c]
push 0x36a
push str.Error_2025___Error_communicating_with_server__d:___response_was_HTTP__i:__s
push eax
call fcn.0041d290
mov eax, dword [edi + 0x3b4]
mov ecx, 2
add esp, 0x14
mov dword [ebp - 0x18], 0
cmp eax, ecx
mov dword [ebp - 0x14], 7
cmovl eax, ecx
lea ecx, [ebp - 0x33c]
mov dword [edi + 0x3b4], eax
lea edx, [ecx + 2]
xor eax, eax
mov word [ebp - 0x28], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40f650
sub ecx, edx
lea eax, [ebp - 0x33c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00404a00
push 1
push 0x3e7
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1c
push eax
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0040b710
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40f6c2
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f6b8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fffe
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x40f6fc
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f6f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fffe
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x78]
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
cmp edx, 0x10
jb 0x40f747
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f73d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fffe
push edx
push ecx
call fcn.00448b15
add esp, 8
push dword [ebp - 0xb8]
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
call fcn.0041a9b0
jmp 0x40ec52
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0xf
mov byte [ebp - 0x118], 0
mov byte [ebp - 4], 0x1d
lea eax, [ebp + 8]
push eax
push 0x63
lea eax, [ebp - 0x1ac]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x40fc3b
mov eax, dword [ebp + 8]
test eax, eax
je 0x40f7da
mov byte [ebp + eax - 0x1ac], 0
lea ecx, [ebp - 0x118]
lea eax, [ebp - 0x1ac]
push eax
call fcn.00419300
cmp dword [ebp - 0x108], 0x100000
jbe 0x40f791
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x44]
call esi
lea eax, [ebp - 0x118]
mov edx, str.CMS_Message_received__
push eax
lea ecx, [ebp - 0x130]
call fcn.0041c9e0
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x22
push eax
call fcn.0042caf0
add esp, 0xc
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x23
push eax
push 0x3e7
mov ecx, edi
call fcn.00408820
mov byte [ebp - 4], 0x22
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40f864
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f85a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffef
push edx
push ecx
call fcn.00448b15
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x1d
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 0x10
jb 0x40f8b6
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f8ac
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffef
push edx
push ecx
call fcn.00448b15
add esp, 8
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 0x24
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.0042caf0
add esp, 8
push eax
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0x25
push eax
call fcn.0042cd40
add esp, 8
push eax
lea ecx, [edi + 0x2c8]
mov byte [ebp - 4], 0x26
call fcn.00420840
mov edx, dword [ebp - 0x11c]
cmp edx, 0x10
jb 0x40f92e
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f924
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fff4
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0xec]
cmp edx, 8
jb 0x40f96e
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f964
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fff9
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x104]
cmp edx, 0x10
jb 0x40f9a8
mov ecx, dword [ebp - 0x118]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40f99e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fffe
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0xf
mov byte [ebp - 0x118], 0
cmp edx, 8
jb 0x40f9fd
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40f9f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fffe
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x78]
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
cmp edx, 0x10
jb 0x40fa48
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40fa3e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fffe
push edx
push ecx
call fcn.00448b15
add esp, 8
push dword [ebp - 0xb8]
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
call fcn.0041a9b0
mov edx, dword [ebp - 0x90]
cmp edx, 8
jb 0x40faae
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40faa4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40fffe
push edx
push ecx
call fcn.00448b15
add esp, 8
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x44]
call esi
lea eax, [ebp + 0x10]
mov dword [ebp + 0x10], 0x38d
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0042cb80
add esp, 8
push 0x2d
push str.Error_2026___Error_communicating_with_server
push 0
mov ecx, eax
mov byte [ebp - 4], 0x1e
call fcn.0041e5c0
mov dword [ebp - 0x4c], 0
xor ecx, ecx
mov dword [ebp - 0x48], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 2
push 0x4879c8
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x1f
call fcn.00404b90
mov dword [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov byte [ebp - 4], 0x20
lea eax, [ebp - 0xa4]
cmp dword [ebp - 0x90], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x94]
cmovae eax, dword [ebp - 0xa4]
push eax
call fcn.00404b90
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x100], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xf0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x3e7
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0x21
push eax
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0040b710
mov edx, dword [ebp - 0xec]
cmp edx, 8
jb 0x40fd9b
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fd91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410003
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40fdd5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fdcb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410003
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp edx, 8
jb 0x40fe23
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fe19
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410003
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x11c]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp edx, 8
jb 0x40fe77
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fe6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410003
push edx
push ecx
call fcn.00448b15
add esp, 8
mov eax, dword [edi + 0x3b4]
mov ecx, 2
mov edx, dword [ebp - 0x104]
cmp eax, ecx
cmovl eax, ecx
mov dword [edi + 0x3b4], eax
cmp edx, 0x10
jb 0x40fec7
mov ecx, dword [ebp - 0x118]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40febd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffc7
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0xf
mov byte [ebp - 0x118], 0
cmp edx, 8
jb 0x40ff1c
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ff12
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffc7
push edx
push ecx
call fcn.00448b15
add esp, 8
mov edx, dword [ebp - 0x78]
xor eax, eax
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
cmp edx, 0x10
jb 0x40ff63
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ff59
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40ffc7
push edx
push ecx
call fcn.00448b15
add esp, 8
push dword [ebp - 0xb8]
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
call fcn.0041a9b0
mov edx, dword [ebp - 0x90]
cmp edx, 8
jb 0x40ec92
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ec88
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40ec88
call fcn.0044e13a
call fcn.0044e13a
call fcn.0044e13a
call fcn.0044e13a
call fcn.0044e13a
call fcn.0044e13a
call fcn.0044e13a
call fcn.0044e13a
call fcn.0044e13a
call fcn.0044e13a
call fcn.0044e13a
call fcn.0044e13a
call fcn.0044e13a
int3