Function at 0x40fdd0
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 0x48bf1d
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 0x40fe1f
cmp esi, 4
jne 0x40fe1f
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.00408b70
cmp dword [eax + 0x14], 8
jb 0x40fe32
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 0x40fe8e
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40fe81
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411710
push edx
push ecx
call fcn.0044cee7
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 0x40ffbc
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x3c1
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00430290
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.00420640
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.0040bbe0
mov edx, dword [ebp - 0xac]
cmp edx, 8
jb 0x40ff61
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ff57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411715
push edx
push ecx
call fcn.0044cee7
add esp, 8
mov edx, dword [ebp - 0xec]
cmp edx, 8
jb 0x40ffa1
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40ff97
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411715
push edx
push ecx
call fcn.0044cee7
add esp, 8
mov eax, dword [edi + 0x4e4]
mov ecx, 2
cmp eax, ecx
cmovl eax, ecx
mov dword [edi + 0x4e4], eax
jmp 0x4103b2
xor eax, eax
mov dword [ebp - 0x144], ecx
push eax
mov dword [ebp - 0xd8], ecx
lea ecx, [ebp - 0xe8]
push 0x4a2010
mov dword [ebp - 0x148], 0x4a4a2c
mov dword [ebp - 0xd4], 7
mov word [ebp - 0xe8], ax
call fcn.00404a80
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.00404a80
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.00408a00
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x410081
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410077
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41171a
push edx
push ecx
call fcn.0044cee7
add esp, 8
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0xd4]
cmp edx, 8
jb 0x4100c5
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4100bb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41171a
push edx
push ecx
call fcn.0044cee7
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 0x4a4a90
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 0x4103c7
push dword [ebp - 0x44]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x3cd
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00430290
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.00420640
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 0x4a4a98
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 8
call fcn.00404c10
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.00404c10
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.0040bbe0
mov edx, dword [ebp - 0xac]
cmp edx, 8
jb 0x410280
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410276
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41171f
push edx
push ecx
call fcn.0044cee7
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4102ba
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4102b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41171f
push edx
push ecx
call fcn.0044cee7
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 0x410308
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4102fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41171f
push edx
push ecx
call fcn.0044cee7
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 0x41035c
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410352
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41171f
push edx
push ecx
call fcn.0044cee7
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 0x4103b2
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4103a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411733
push edx
push ecx
call fcn.0044cee7
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.0041e450
xorps xmm0, xmm0
mov byte [ebp - 0x20], 0
mov edx, esi
movq qword [ebp - 0x18], xmm0
lea ecx, [ebp - 0x20]
call fcn.00421b30
push str.status
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xd
call fcn.0041f400
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.0041cae0
mov eax, dword [ebp + 8]
sub eax, 3
je 0x4104bb
sub eax, 1
jne 0x4105a3
mov edx, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
mov byte [ebp - 0x20], al
movq qword [ebp - 0x18], xmm0
call fcn.00421b30
push str.progress
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x10
call fcn.0041f400
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.0041cae0
jmp 0x4105a3
push dword [ebp + 0x10]
lea eax, [ebp - 0x100]
push eax
call fcn.004325c0
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.0044ceb7
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.0041f400
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.0041cae0
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0xec]
cmp edx, 0x10
jb 0x41059d
mov ecx, dword [ebp - 0x100]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410593
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411724
push edx
push ecx
call fcn.0044cee7
add esp, 8
mov edi, dword [ebp - 0xa8]
sub esp, 0xc
lea eax, [ebp - 0x8c]
lea ecx, [ebp - 0xd0]
push eax
call fcn.0041b120
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.00404a80
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 0x410b21
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], 0x3e7
push eax
call fcn.00430290
mov esi, eax
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00430290
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.00420640
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 0x4a4a98
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x15
call fcn.00404c10
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 0x41073c
mov eax, dword [esi + 0x14]
sub eax, ecx
cmp eax, edx
jb 0x41073c
cmp edi, 8
lea eax, [ebp - 0xe8]
push edx
cmovae eax, dword [ebp - 0xe8]
mov ecx, esi
push eax
push 0
call fcn.00420640
jmp 0x410751
cmp dword [esi + 0x14], 8
jb 0x410744
mov esi, dword [esi]
push ecx
push esi
lea ecx, [ebp - 0xe8]
call fcn.00404c10
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 0x4a4a98
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x17
call fcn.00404c10
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.00404c10
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.0040bbe0
mov edx, dword [ebp - 0xec]
cmp edx, 8
jb 0x410877
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41086d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411729
push edx
push ecx
call fcn.0044cee7
add esp, 8
mov edx, dword [ebp - 0x48]
cmp edx, 8
jb 0x4108b1
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4108a7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411729
push edx
push ecx
call fcn.0044cee7
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 0x4108ff
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4108f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411729
push edx
push ecx
call fcn.0044cee7
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 0x410953
mov ecx, dword [ebp - 0xe8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410949
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411729
push edx
push ecx
call fcn.0044cee7
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 0x4109aa
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4109a0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411729
push edx
push ecx
call fcn.0044cee7
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 0x4109fe
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4109f4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411729
push edx
push ecx
call fcn.0044cee7
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 0x410a5b
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410a51
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411729
push edx
push ecx
call fcn.0044cee7
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 0x410aab
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410aa1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411733
push edx
push ecx
call fcn.0044cee7
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 0x410af6
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410aec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411733
push edx
push ecx
call fcn.0044cee7
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.0041cae0
jmp 0x410372
lea eax, [ebp - 0x8c]
mov edx, str.CMS_Message_sent_to_server__
push eax
lea ecx, [ebp - 0x130]
call fcn.0041eb10
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x1a
push eax
call fcn.004301b0
add esp, 0xc
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x1b
push eax
push 0x3e7
mov ecx, edi
call fcn.00408930
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x410b9d
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410b93
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41172e
push edx
push ecx
call fcn.0044cee7
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 0x410bef
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410be5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41172e
push edx
push ecx
call fcn.0044cee7
add esp, 8
push 0x190
lea eax, [ebp - 0x33c]
push 0
push eax
call fcn.00464fe0
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 0x410cf8
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x410c82
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410c78
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411733
push edx
push ecx
call fcn.0044cee7
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 0x410ccd
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410cc3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411733
push edx
push ecx
call fcn.0044cee7
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.0041cae0
jmp 0x410372
lea eax, [ebp - 0x33c]
push eax
call fcn.0046c2ce
add esp, 4
mov dword [ebp + 8], eax
lea ecx, [eax - 0xc8]
cmp ecx, 0x64
jb 0x410ef0
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 0x400
push str.Error_2025___Error_communicating_with_server__d:___response_was_HTTP__i:__s
push eax
call fcn.0041f520
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 0x410d90
sub ecx, edx
lea eax, [ebp - 0x33c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00404a80
push 1
push 0x3e7
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x1c
push eax
push dword [ebp + 0xc]
mov ecx, edi
call fcn.0040bbe0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x410e02
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410df8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411733
push edx
push ecx
call fcn.0044cee7
add esp, 8
mov edx, dword [ebp - 0x60]
cmp edx, 8
jb 0x410e3c
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410e32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411733
push edx
push ecx
call fcn.0044cee7
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 0x410e87
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410e7d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411733
push edx
push ecx
call fcn.0044cee7
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.0041cae0
mov edx, dword [ebp - 0x90]
cmp edx, 8
jb 0x4103b2
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4103a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411733
jmp 0x4103a8
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 0x4113e9
mov eax, dword [ebp + 8]
test eax, eax
je 0x410f59
mov byte [ebp + eax - 0x1ac], 0
lea ecx, [ebp - 0x118]
lea eax, [ebp - 0x1ac]
push eax
call fcn.0041b430
cmp dword [ebp - 0x108], 0x100000
jbe 0x410f10
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.0041eb10
push eax
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x22
push eax
call fcn.004301b0
add esp, 0xc
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0x23
push eax
push 0x3e7
mov ecx, edi
call fcn.00408930
mov byte [ebp - 4], 0x22
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x410fe3
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410fd9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411738
push edx
push ecx
call fcn.0044cee7
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 0x411035
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41102b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411738
push edx
push ecx
call fcn.0044cee7
add esp, 8
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 0x24
push eax
lea eax, [ebp - 0xc0]
push eax
call fcn.004301b0
add esp, 8
push eax
lea eax, [ebp - 0x130]
mov byte [ebp - 4], 0x25
push eax
call fcn.00430450
add esp, 8
push eax
lea ecx, [edi + 0x3b0]
mov byte [ebp - 4], 0x26
call fcn.00422ad0
mov edx, dword [ebp - 0x11c]
mov byte [ebp + 0xb], al
cmp edx, 0x10
jb 0x4110b0
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4110a6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41173d
push edx
push ecx
call fcn.0044cee7
add esp, 8
mov edx, dword [ebp - 0xac]
cmp edx, 8
jb 0x4110f0
mov ecx, dword [ebp - 0xc0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4110e6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411742
push edx
push ecx
call fcn.0044cee7
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 0x411147
mov ecx, dword [ebp - 0x118]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41113d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411742
push edx
push ecx
call fcn.0044cee7
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 0x41119c
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411192
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411742
push edx
push ecx
call fcn.0044cee7
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 0x4111e7
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4111dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411742
push edx
push ecx
call fcn.0044cee7
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.0041cae0
mov edx, dword [ebp - 0x90]
cmp edx, 8
jb 0x41124d
mov ecx, dword [ebp - 0xa4]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411243
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411742
push edx
push ecx
call fcn.0044cee7
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], 0x423
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00430290
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.00420640
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 0x4a4a98
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x1f
call fcn.00404c10
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.00404c10
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.0040bbe0
mov edx, dword [ebp - 0xec]
cmp edx, 8
jb 0x411549
mov ecx, dword [ebp - 0x100]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41153f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411747
push edx
push ecx
call fcn.0044cee7
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x411583
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x411579
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411747
push edx
push ecx
call fcn.0044cee7
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 0x4115d1
mov ecx, dword [ebp - 0x5c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4115c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411747
push edx
push ecx
call fcn.0044cee7
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 0x411625
mov ecx, dword [ebp - 0x130]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41161b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411747
push edx
push ecx
call fcn.0044cee7
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 0x411675
mov ecx, dword [ebp - 0x118]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41166b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411733
push edx
push ecx
call fcn.0044cee7
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 0x4116c6
mov ecx, dword [ebp - 0x74]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4116bc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411733
push edx
push ecx
call fcn.0044cee7
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 0x410e87
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410e7d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411733
jmp 0x410e7d
call fcn.0046811a
call fcn.0046811a
call fcn.0046811a
call fcn.0046811a
call fcn.0046811a
call fcn.0046811a
call fcn.0046811a
call fcn.0046811a
call fcn.0046811a
call fcn.0046811a
call fcn.0046811a
call fcn.0046811a
int3