Function at 0x4107e0
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 0x48c8ad
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 + 0x4c0]
test eax, eax
je 0x41082f
cmp esi, 4
jne 0x41082f
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.00409580
cmp dword [eax + 0x14], 8
jb 0x410842
mov eax, dword [eax]
push 0
push 0
push 3
push 0
push 0
push 0x1bb
push eax
push dword [edi + 0x4bc]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x44], eax
cmp edx, 8
jb 0x41089e
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410891
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412120
push edx
push ecx
call fcn.0044d7ec
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 0x4109cc
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x3e0
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00430920
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.00407500
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xc0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xb0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x3e7
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 1
push eax
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0040c5f0
mov edx, dword [ebp - 0xac]
cmp edx, 8
jb 0x410971
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410967
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412125
push edx
push ecx
call fcn.0044d7ec
add esp, 8
mov edx, dword [ebp - 0xec]
cmp edx, 8
jb 0x4109b1
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4109a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412125
push edx
push ecx
call fcn.0044d7ec
add esp, 8
mov eax, dword [edi + 0x4e4]
mov ecx, 2
cmp eax, ecx
cmovl eax, ecx
mov dword [edi + 0x4e4], eax
jmp 0x410dc2
xor eax, eax
mov dword [ebp - 0x144], ecx
push eax
mov dword [ebp - 0xd8], ecx
lea ecx, [ebp - 0xe8]
push 0x4a3010
mov dword [ebp - 0x148], 0x4a5aac
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
call fcn.00404ab0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x40]
push 0x2a
xor eax, eax
mov dword [ebp - 0x30], 0
push str.api_api_put_screen_status_unit_uid
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00404ab0
lea eax, [edi + 0x458]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0xe8]
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0xa4]
call fcn.00409410
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x410a91
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410a87
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41212a
push edx
push ecx
call fcn.0044d7ec
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xd4]
cmp edx, 8
jb 0x410ad5
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410acb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41212a
push edx
push ecx
call fcn.0044d7ec
add esp, 8
push 0
push 0x84802000
xor eax, eax
mov dword [ebp - 0xd8], 0
cmp dword [ebp - 0x90], 8
lea ecx, [ebp - 0x148]
push ecx
push 0
mov word [ebp - 0xe8], ax
lea eax, [ebp - 0xa4]
cmovae eax, dword [ebp - 0xa4]
push 0
push eax
push 0x4a5b10
push dword [ebp - 0x44]
mov dword [ebp - 0xd4], 7
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x138], eax
test eax, eax
jne 0x410dd7
push dword [ebp - 0x44]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x3ec
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00430920
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.00407500
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 0x4a5b18
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 8
call fcn.00404c70
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], 9
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.00404c70
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xc0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xb0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 1
push 0x3e7
lea eax, [ebp - 0xc0]
mov byte [ebp - 4], 0xa
push eax
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0040c5f0
mov edx, dword [ebp - 0xac]
cmp edx, 8
jb 0x410c90
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410c86
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41212f
push edx
push ecx
call fcn.0044d7ec
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x410cca
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410cc0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41212f
push edx
push ecx
call fcn.0044d7ec
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 0x410d18
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410d0e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41212f
push edx
push ecx
call fcn.0044d7ec
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 0x410d6c
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410d62
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41212f
push edx
push ecx
call fcn.0044d7ec
add esp, 8
mov eax, dword [edi + 0x4e4]
mov ecx, 2
cmp eax, ecx
cmovl eax, ecx
mov dword [edi + 0x4e4], eax
mov edx, dword [ebp - 0x90]
cmp edx, 8
jb 0x410dc2
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410db8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412143
push edx
push ecx
call fcn.0044d7ec
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 - 0xc8]
push 0
mov byte [ebp - 0xd0], 0
call fcn.0041eba0
xorps xmm0, xmm0
mov byte [ebp - 0x20], 0
mov edx, esi
movq qword [ebp - 0x18], xmm0
lea ecx, [ebp - 0x20]
call fcn.00421fe0
push str.status
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xd
call fcn.0041fac0
mov esi, eax
mov byte [ebp - 4], 0xc
mov cl, byte [ebp - 0x20]
mov eax, dword [ebp - 0x18]
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 - 0x20], dl
mov edx, dword [esi + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x18]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x14], edx
call fcn.0041d230
mov eax, dword [ebp + 8]
sub eax, 3
je 0x410ecb
sub eax, 1
jne 0x410fb3
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
mov byte [ebp - 0x20], al
movq qword [ebp - 0x18], xmm0
call fcn.00421fe0
push str.progress
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x10
call fcn.0041fac0
mov byte [ebp - 4], 0xc
mov esi, eax
mov cl, byte [ebp - 0x20]
mov eax, dword [ebp - 0x18]
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 - 0x20], dl
mov edx, dword [esi + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x18]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x14], edx
call fcn.0041d230
jmp 0x410fb3
push dword [ebp + 0x10]
lea eax, [ebp - 0x100]
push eax
call fcn.00432c50
mov esi, eax
mov byte [ebp - 4], 0xe
xorps xmm0, xmm0
push 0x18
movq qword [ebp - 0x18], xmm0
mov byte [ebp - 0x20], 3
call fcn.0044d7bc
mov edi, eax
add esp, 0xc
mov dword [ebp - 0x18], 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 - 0x14], esi
push str.message
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xf
call fcn.0041fac0
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 - 0x20], cl
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x18]
mov dword [eax + 8], edi
mov dword [eax + 0xc], esi
mov dword [ebp - 0x14], edx
call fcn.0041d230
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xec]
cmp edx, 0x10
jb 0x410fad
mov ecx, dword [ebp - 0x100]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410fa3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412134
push edx
push ecx
call fcn.0044d7ec
add esp, 8
mov edi, dword [ebp - 0xa8]
sub esp, 0xc
lea eax, [ebp - 0x8c]
lea ecx, [ebp - 0xd0]
push eax
call fcn.0041b830
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.00404ab0
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 0x411531
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], 0x406
push eax
call fcn.00430920
mov esi, eax
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00430920
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.00407500
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
push 2
push 0x4a5b18
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x15
call fcn.00404c70
mov dword [ebp - 0xd8], 0
xor ecx, ecx
mov dword [ebp - 0xd4], 0
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
mov byte [ebp - 4], 0x16
mov edi, dword [ebp - 0xd4]
mov eax, edi
mov edx, dword [ebp - 0xd8]
sub eax, edx
mov ecx, dword [esi + 0x10]
cmp ecx, eax
jbe 0x41114c
mov eax, dword [esi + 0x14]
sub eax, ecx
cmp eax, edx
jb 0x41114c
cmp edi, 8
lea eax, [ebp - 0xe8]
push edx
cmovae eax, dword [ebp - 0xe8]
mov ecx, esi
push eax
push 0
call fcn.00407500
jmp 0x411161
cmp dword [esi + 0x14], 8
jb 0x411154
mov esi, dword [esi]
push ecx
push esi
lea ecx, [ebp - 0xe8]
call fcn.00404c70
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 word [eax], cx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], ecx
push 2
push 0x4a5b18
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x17
call fcn.00404c70
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.00404c70
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.0040c5f0
mov edx, dword [ebp - 0xec]
cmp edx, 8
jb 0x411287
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41127d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412139
push edx
push ecx
call fcn.0044d7ec
add esp, 8
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x4112c1
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4112b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412139
push edx
push ecx
call fcn.0044d7ec
add esp, 8
mov edx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
cmp edx, 8
jb 0x41130f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411305
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412139
push edx
push ecx
call fcn.0044d7ec
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 0x411363
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411359
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412139
push edx
push ecx
call fcn.0044d7ec
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
cmp edx, 8
jb 0x4113ba
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4113b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412139
push edx
push ecx
call fcn.0044d7ec
add esp, 8
mov edx, dword [ebp - 0xac]
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 8
jb 0x41140e
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411404
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412139
push edx
push ecx
call fcn.0044d7ec
add esp, 8
mov edx, dword [ebp - 0x11c]
xor eax, eax
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
cmp edx, 8
jb 0x41146b
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411461
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412139
push edx
push ecx
call fcn.0044d7ec
add esp, 8
mov eax, dword [esi + 0x4e4]
mov ecx, 2
mov edx, dword [ebp - 0x60]
cmp eax, ecx
cmovl eax, ecx
mov dword [esi + 0x4e4], eax
cmp edx, 8
jb 0x4114bb
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4114b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412143
push edx
push ecx
call fcn.0044d7ec
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 0x411506
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4114fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412143
push edx
push ecx
call fcn.0044d7ec
add esp, 8
push dword [ebp - 0xd0]
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
call fcn.0041d230
jmp 0x410d82
lea eax, [ebp - 0x8c]
mov edx, str.CMS_Message_sent_to_server__
push eax
lea ecx, [ebp - 0x130]
call fcn.0041f250
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x1a
push eax
call fcn.00430840
add esp, 0xc
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x1b
push eax
push 0x3e7
mov ecx, edi
call fcn.00409340
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4115ad
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4115a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41213e
push edx
push ecx
call fcn.0044d7ec
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 0x10
jb 0x4115ff
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4115f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41213e
push edx
push ecx
call fcn.0044d7ec
add esp, 8
push 0x190
lea eax, [ebp - 0x33c]
push 0
push eax
call fcn.004658e0
add esp, 0xc
mov dword [ebp - 0x140], 0x190
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x13c], 0
push eax
lea eax, [ebp - 0x140]
push eax
lea eax, [ebp - 0x33c]
push eax
push 0x13
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
xor ecx, ecx
mov word [ebp - 0x1ae], cx
test eax, eax
jne 0x411708
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x411692
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411688
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412143
push edx
push ecx
call fcn.0044d7ec
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 0x4116dd
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4116d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412143
push edx
push ecx
call fcn.0044d7ec
add esp, 8
push dword [ebp - 0xd0]
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
call fcn.0041d230
jmp 0x410d82
lea eax, [ebp - 0x33c]
push eax
call fcn.0046cc83
add esp, 4
mov dword [ebp + 8], eax
lea ecx, [eax - 0xc8]
cmp ecx, 0x64
jb 0x411900
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 0x41f
push str.Error_2025___Error_communicating_with_server__d:___response_was_HTTP__i:__s
push eax
call fcn.0041fbe0
mov eax, dword [edi + 0x4e4]
mov ecx, 2
add esp, 0x14
mov dword [ebp - 0x30], 0
cmp eax, ecx
mov dword [ebp - 0x2c], 7
cmovl eax, ecx
lea ecx, [ebp - 0x33c]
mov dword [edi + 0x4e4], eax
lea edx, [ecx + 2]
xor eax, eax
mov word [ebp - 0x40], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4117a0
sub ecx, edx
lea eax, [ebp - 0x33c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00404ab0
push 1
push 0x3e7
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x1c
push eax
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0040c5f0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x411812
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411808
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412143
push edx
push ecx
call fcn.0044d7ec
add esp, 8
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x41184c
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411842
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412143
push edx
push ecx
call fcn.0044d7ec
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 0x411897
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41188d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412143
push edx
push ecx
call fcn.0044d7ec
add esp, 8
push dword [ebp - 0xd0]
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
call fcn.0041d230
mov edx, dword [ebp - 0x90]
cmp edx, 8
jb 0x410dc2
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410db8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412143
jmp 0x410db8
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x104], 0xf
mov byte [ebp - 0x118], 0
mov byte [ebp - 4], 0x1d
nop
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 0x411df9
mov eax, dword [ebp + 8]
test eax, eax
je 0x411969
mov byte [ebp + eax - 0x1ac], 0
lea ecx, [ebp - 0x118]
lea eax, [ebp - 0x1ac]
push eax
call fcn.0041bb80
cmp dword [ebp - 0x108], 0x100000
jbe 0x411920
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.0041f250
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x22
push eax
call fcn.00430840
add esp, 0xc
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x23
push eax
push 0x3e7
mov ecx, edi
call fcn.00409340
mov byte [ebp - 4], 0x22
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x4119f3
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4119e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412148
push edx
push ecx
call fcn.0044d7ec
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x1d
mov edx, dword [ebp - 0x11c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
cmp edx, 0x10
jb 0x411a45
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411a3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412148
push edx
push ecx
call fcn.0044d7ec
add esp, 8
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 0x24
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00430840
add esp, 8
push eax
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0x25
push eax
call fcn.00430ae0
add esp, 8
push eax
lea ecx, [edi + 0x3b0]
mov byte [ebp - 4], 0x26
call fcn.00423170
mov edx, dword [ebp - 0x11c]
mov byte [ebp + 0xb], al
cmp edx, 0x10
jb 0x411ac0
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411ab6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41214d
push edx
push ecx
call fcn.0044d7ec
add esp, 8
mov edx, dword [ebp - 0xac]
cmp edx, 8
jb 0x411b00
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411af6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412152
push edx
push ecx
call fcn.0044d7ec
add esp, 8
mov edx, dword [ebp - 0x104]
xor eax, eax
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 7
mov word [ebp - 0xc0], ax
cmp edx, 0x10
jb 0x411b57
mov ecx, dword [ebp - 0x118]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411b4d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412152
push edx
push ecx
call fcn.0044d7ec
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 0x411bac
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411ba2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412152
push edx
push ecx
call fcn.0044d7ec
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 0x411bf7
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411bed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412152
push edx
push ecx
call fcn.0044d7ec
add esp, 8
push dword [ebp - 0xd0]
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
call fcn.0041d230
mov edx, dword [ebp - 0x90]
cmp edx, 8
jb 0x411c5d
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411c53
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412152
push edx
push ecx
call fcn.0044d7ec
add esp, 8
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
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], 0x442
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00430920
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.00407500
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 0x4a5b18
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x1f
call fcn.00404c70
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], 0x20
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.00404c70
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.0040c5f0
mov edx, dword [ebp - 0xec]
cmp edx, 8
jb 0x411f59
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411f4f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412157
push edx
push ecx
call fcn.0044d7ec
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x411f93
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411f89
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412157
push edx
push ecx
call fcn.0044d7ec
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 0x411fe1
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411fd7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412157
push edx
push ecx
call fcn.0044d7ec
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 0x412035
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41202b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412157
push edx
push ecx
call fcn.0044d7ec
add esp, 8
mov eax, dword [edi + 0x4e4]
mov ecx, 2
mov edx, dword [ebp - 0x104]
cmp eax, ecx
cmovl eax, ecx
mov dword [edi + 0x4e4], eax
cmp edx, 0x10
jb 0x412085
mov ecx, dword [ebp - 0x118]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41207b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412143
push edx
push ecx
call fcn.0044d7ec
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 0x4120d6
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4120cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412143
push edx
push ecx
call fcn.0044d7ec
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 0x411897
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41188d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x412143
jmp 0x41188d
call fcn.00468a1a
call fcn.00468a1a
call fcn.00468a1a
call fcn.00468a1a
call fcn.00468a1a
call fcn.00468a1a
call fcn.00468a1a
call fcn.00468a1a
call fcn.00468a1a
call fcn.00468a1a
call fcn.00468a1a
call fcn.00468a1a
int3