Function at 0x61af10
Capabilities:
Encode data using xor
Read http header
Receive http response
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b368c
mov eax, dword fs:[0]
push eax
sub esp, 0x324
mov eax, dword [0x831184]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x250], edi
xor eax, eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x14], eax
call fcn.0061c230
test al, al
je 0x61b756
cmp dword [edi + 0x70], 2
jne 0x61afa2
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
lea eax, [ebp - 0x14]
push 4
push eax
push 0x2d
push dword [edi + 0x20]
mov dword [ebp - 0x14], edi
call esi
push 0
push 0x10000
push 0x61a600
push dword [edi + 0x20]
call dword [sym.imp.WINHTTP.dll_WinHttpSetStatusCallback]
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0xa8
push eax
push 0x54
push dword [edi + 0x20]
call esi
mov eax, dword [edi + 0x34]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, dword [edi + 0x38]
je 0x61b416
xor eax, eax
mov dword [ebp - 0x168], 0
push eax
push 0x7cf388
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x164], 7
mov word [ebp - 0x178], ax
call fcn.004044f0
mov dword [ebp - 4], 0
mov eax, dword [edi + 0x38]
mov esi, dword [edi + 0x34]
mov dword [ebp - 0x22c], eax
cmp esi, eax
je 0x61b164
mov edi, dword [ebp - 0x244]
push esi
lea ecx, [ebp - 0x44]
call fcn.00404120
lea eax, [esi + 0x18]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x2c]
call fcn.00404120
mov byte [ebp - 4], 2
mov ecx, 2
mov dword [ebp - 0x238], ecx
xor eax, eax
mov dword [ebp - 0x234], 0xa000a4
mov dword [ebp - 0x230], 0xab
lea ecx, [eax + 0xa9]
xor word [ebp + eax*2 - 0x234], cx
inc eax
mov ecx, dword [ebp - 0x238]
cmp eax, ecx
jb 0x61b041
xor eax, eax
mov word [ebp + ecx*2 - 0x234], ax
lea eax, [ebp - 0x44]
push 0x7d77cc
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.00421b40
add esp, 0xc
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
push dword [ebp - 0x1c]
cmovae ecx, dword [ebp - 0x2c]
push ecx
mov ecx, eax
call fcn.00407c50
mov dword [ebp - 0x258], 0
xor ecx, ecx
mov dword [ebp - 0x254], 0
or edi, 1
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x268], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x258], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x280]
push eax
call fcn.00408060
add esp, 0xc
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x61b107
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x178]
call fcn.00407c50
lea ecx, [ebp - 0x280]
call fcn.00404490
lea ecx, [ebp - 0x268]
call fcn.00404490
lea ecx, [ebp - 0x298]
call fcn.00404490
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call fcn.00404490
lea ecx, [ebp - 0x44]
call fcn.00404490
add esi, 0x30
cmp esi, dword [ebp - 0x22c]
jne 0x61b003
mov dword [ebp - 0x244], edi
mov edi, dword [ebp - 0x250]
cmp dword [ebp - 0x164], 8
lea eax, [ebp - 0x178]
push 0x21000000
cmovae eax, dword [ebp - 0x178]
push 0xffffffffffffffff
push eax
push dword [edi + 0x20]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test eax, eax
jne 0x61b3fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0x160]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x160], 0x7d6f90
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x150], 0x7d7228
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x160]
mov eax, dword [ebp - 0x244]
or eax, 2
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x148]
push 0
push eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x160]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x160], 0x7c81a4
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x164], eax
lea ecx, [ebp - 0x148]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0x148], 0x7c8164
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 8
push eax
call fcn.0061bcb0
xor ecx, ecx
mov dword [ebp - 0x22c], eax
mov edx, dword [eax]
lea esi, [eax + 4]
test edx, edx
je 0x61b28a
mov edi, eax
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x61b273
mov edi, dword [ebp - 0x250]
xor eax, eax
mov word [esi + edx*2], ax
lea eax, [ebp - 0x150]
push esi
push eax
call fcn.00404740
add esp, 8
mov ecx, eax
push dword [edi + 0x68]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
mov edx, dword [0x83ff50]
mov dword [ebp - 0x14], edx
test edx, edx
jne 0x61b2f6
push 0x20
call fcn.0076e8c3
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x14], edx
xor eax, eax
mov dword [ebp - 0x24c], edx
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [0x83ff50], edx
lea eax, [ebp - 0x330]
push eax
call fcn.0061bd70
mov dword [ebp - 0x22c], eax
mov esi, dword [eax]
lea ecx, [eax + 4]
mov dword [ebp - 0x248], ecx
xor ecx, ecx
test esi, esi
je 0x61b33b
mov edx, dword [ebp - 0x248]
mov edi, eax
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x61b321
mov edi, dword [ebp - 0x250]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x248]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0xa8]
push eax
call fcn.0061a040
mov dword [ebp - 0x24c], eax
mov esi, dword [eax]
lea ecx, [eax + 4]
mov dword [ebp - 0x22c], ecx
xor ecx, ecx
test esi, esi
je 0x61b38c
mov edx, dword [ebp - 0x22c]
mov edi, eax
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x61b372
mov edi, dword [ebp - 0x250]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x22c]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0x160]
push ecx
push dword [ebp - 0x248]
mov ecx, edx
push 0xb3
push eax
push 0
call fcn.00469f50
mov eax, dword [ebp - 0x160]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x160], 0x7c81a4
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x164], eax
lea ecx, [ebp - 0x148]
call fcn.004073e0
lea ecx, [ebp - 0x140]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0xf8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x178]
mov dword [ebp - 4], 0xffffffff
call fcn.00404490
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [edi + 0x28]
mov eax, dword [edi + 0x2c]
push 0
sub eax, ecx
push eax
push eax
push ecx
push 0
push 0
push dword [edi + 0x20]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x61b75d
call esi
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0x160]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x160], 0x7d6f90
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x150], 0x7d7228
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x160]
mov eax, dword [ebp - 0x244]
or eax, 4
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x148]
push 0
push eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 0xa
mov eax, dword [ebp - 0x160]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x160], 0x7c81a4
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x164], eax
lea ecx, [ebp - 0x148]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0x148], 0x7c8164
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 4], 0xb
mov eax, 0x1a
mov dword [ebp - 0x50], eax
xor ecx, ecx
mov dword [ebp - 0x4c], 0xc300fe
mov dword [ebp - 0x48], 0xe400c5
mov dword [ebp - 0x44], 0xda00d9
mov dword [ebp - 0x40], 0xe300df
mov dword [ebp - 0x3c], 0xdc00d4
mov dword [ebp - 0x38], 0xe600d7
mov dword [ebp - 0x34], 0xc700d0
mov dword [ebp - 0x30], 0xdd00c2
mov dword [ebp - 0x2c], 0xce00ca
mov dword [ebp - 0x28], 0xd9009b
mov dword [ebp - 0x24], 0xcc00cf
mov dword [ebp - 0x20], 0xb200d0
mov dword [ebp - 0x1c], 0xe200fb
mov dword [ebp - 0x18], 0xc3
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x4c], ax
inc ecx
mov eax, dword [ebp - 0x50]
cmp ecx, eax
jb 0x61b570
xor ecx, ecx
mov word [ebp + eax*2 - 0x4c], cx
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.00404740
add esp, 8
mov ecx, eax
push dword [edi + 0x68]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
mov edx, eax
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x23c], 0x8a0085
xor ecx, ecx
mov dword [ebp - 0x238], 0xde00de
mov dword [ebp - 0x234], 0x9400c1
mov dword [ebp - 0x230], 0xb0008f
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x23c], ax
inc ecx
mov eax, dword [ebp - 0x240]
cmp ecx, eax
jb 0x61b5e0
xor ecx, ecx
mov word [ebp + eax*2 - 0x23c], cx
lea eax, [ebp - 0x23c]
push eax
push edx
call fcn.00404740
add esp, 8
lea edx, [edi + 0x70]
mov ecx, eax
call fcn.0042bb90
mov edx, dword [0x83ff50]
mov dword [ebp - 0x248], edx
test edx, edx
jne 0x61b66e
push 0x20
call fcn.0076e8c3
mov edx, eax
xorps xmm0, xmm0
add esp, 4
mov dword [ebp - 0x248], edx
xor eax, eax
mov dword [ebp - 0x24c], edx
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], eax
mov dword [0x83ff50], edx
lea eax, [ebp - 0x330]
push eax
call fcn.0061bea0
mov edi, eax
xor ecx, ecx
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x14], eax
test esi, esi
je 0x61b6aa
mov edx, eax
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x61b690
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov word [eax + esi*2], cx
lea eax, [ebp - 0xa8]
push eax
call fcn.0061a040
mov edi, eax
mov esi, dword [edi]
lea eax, [edi + 4]
mov dword [ebp - 0x22c], eax
test esi, esi
je 0x61b6ed
mov edx, eax
nop
lea eax, [ecx + 0xa9]
xor word [edx + ecx*2], ax
inc ecx
mov esi, dword [edi]
cmp ecx, esi
jb 0x61b6d0
mov edx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x22c]
xor ecx, ecx
mov word [eax + esi*2], cx
lea ecx, [ebp - 0x160]
push ecx
push dword [ebp - 0x14]
mov ecx, edx
push 0xc1
push eax
push 0
call fcn.00469f50
mov eax, dword [ebp - 0x160]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x160], 0x7c81a4
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x164], eax
lea ecx, [ebp - 0x148]
call fcn.004073e0
lea ecx, [ebp - 0x140]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0xf8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
xor al, al
jmp 0x61bc87
push 0
push dword [edi + 0x20]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x61ba48
call esi
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0x160]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x160], 0x7d6f90
lea ecx, [ebp - 0xf8]
mov dword [ebp - 0x150], 0x7d7228
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 4], 0xc
lea ecx, [ebp - 0x160]
mov eax, dword [ebp - 0x244]
or eax, 8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x148]
push 0
push eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 0xd
mov eax, dword [ebp - 0x160]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x160], 0x7c81a4
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x164], eax
lea ecx, [ebp - 0x148]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0x148], 0x7c8164
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 4], 0xe
mov eax, 0x1e
mov dword [ebp - 0x58], eax
xor ecx, ecx
mov dword [ebp - 0x54], 0xc300fe
mov dword [ebp - 0x50], 0xe400c5
mov dword [ebp - 0x4c], 0xda00d9
mov dword [ebp - 0x48], 0xe200df
mov dword [ebp - 0x44], 0xd100d4
mov dword [ebp - 0x40], 0xdd00d6
mov dword [ebp - 0x3c], 0xd300c3
mov dword [ebp - 0x38], 0xdd00e5
mov dword [ebp - 0x34], 0xca00ca
mov dword [ebp - 0x30], 0xd200d4
mov dword [ebp - 0x2c], 0xdb00ce
mov dword [ebp - 0x28], 0xa5009f
mov dword [ebp - 0x24], 0xb000b3
mov dword [ebp - 0x20], 0xb600ac
mov dword [ebp - 0x1c], 0xe600ff
mov dword [ebp - 0x18], 0xc7
nop dword [eax]
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x54], ax
inc ecx
mov eax, dword [ebp - 0x58]
cmp ecx, eax
jb 0x61b8b0
xor ecx, ecx
mov word [ebp + eax*2 - 0x54], cx
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.00404740
add esp, 8
mov ecx, eax
push dword [edi + 0x68]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
mov edx, eax
mov dword [ebp - 0x240], 7
mov dword [ebp - 0x23c], 0x8a0085
xor ecx, ecx
mov dword [ebp - 0x238], 0xde00de
mov dword [ebp - 0x234], 0x9400c1
mov dword [ebp - 0x230], 0xb0008f
nop
lea eax, [ecx + 0xa9]
xor word [ebp + ecx*2 - 0x23c], ax
inc ecx
mov eax, dword [ebp - 0x240]
cmp ecx, eax
jb 0x61b920
xor ecx, ecx
mov word [ebp + eax*2 - 0x23c], cx
lea eax, [ebp - 0x23c]
push eax
push edx
call fcn.00404740
add esp, 8
lea edx, [edi + 0x70]
mov ecx, eax
call fcn.0042bb90
call fcn.004345f0
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x330]
push eax
call fcn.0061bfd0
mov edi, eax
xor ecx, ecx
mov edx, dword [edi]
lea esi, [edi + 4]
mov dword [ebp - 0x24c], esi
test edx, edx
je 0x61b9a1
nop word [eax + eax]
lea eax, [ecx + 0xa9]
xor word [esi + ecx*2], ax
inc ecx
mov edx, dword [edi]
cmp ecx, edx
jb 0x61b990
xor eax, eax
mov word [esi + edx*2], ax
lea eax, [ebp - 0xa8]
push eax
call fcn.0061a040
mov esi, eax
xor ecx, ecx
mov edx, dword [esi]
lea edi, [esi + 4]
test edx, edx
je 0x61b9d1
lea eax, [ecx + 0xa9]
xor word [edi + ecx*2], ax
inc ecx
mov edx, dword [esi]
cmp ecx, edx
jb 0x61b9c0
mov ecx, dword [ebp - 0x22c]
xor eax, eax
mov word [edi + edx*2], ax
lea eax, [ebp - 0x160]
push eax
push dword [ebp - 0x24c]
push 0xc9
push edi
push 0
call fcn.00469f50
mov eax, dword [ebp - 0x160]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x160], 0x7c81a4
mov eax, dword [ebp - 0x160]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x164], eax
lea ecx, [ebp - 0x148]
call fcn.004073e0
lea ecx, [ebp - 0x140]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
lea ecx, [ebp - 0xf8]
call dword [sym.imp.MSVCP140.dll_public_virtual:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void_]
xor al, al
jmp 0x61bc87
push 0
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xac], 0
push eax
lea eax, [ebp - 0xac]
mov dword [ebp - 0xb0], 4
push eax
push 0
push 0x20000013
push dword [edi + 0x20]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
jne 0x61bc7a
call esi
push 0xb0
mov dword [edi + 0x68], eax
lea eax, [ebp - 0x228]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x228], 0x7d6f90
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x218], 0x7d7228
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 4], 0xf
lea ecx, [ebp - 0x228]
mov eax, dword [ebp - 0x244]
or eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x210]
push 0
push eax
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_iostream_wchar_t__struct_std::char_traits_wchar_t__::constructor_class_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t____]
mov dword [ebp - 4], 0x10
mov eax, dword [ebp - 0x228]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0x228], 0x7c81a4
mov eax, dword [ebp - 0x228]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x22c], eax
lea ecx, [ebp - 0x210]
call dword [sym.imp.MSVCP140.dll_protected:_void___thiscall_std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__::constructor_void_]
mov dword [ebp - 0x210], 0x7c8164
mov dword [ebp - 0x1d8], 0
mov dword [ebp - 0x1d4], 0
mov dword [ebp - 4], 0x11
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], 0x1b
mov dword [ebp - 0x4c], 0xc300fe
mov dword [ebp - 0x48], 0xe400c5
mov dword [ebp - 0x44], 0xda00d9
mov dword [ebp - 0x40], 0xe100df
mov dword [ebp - 0x3c], 0xd700c4
mov dword [ebp - 0x38], 0xcd00c1
mov dword [ebp - 0x34], 0xd300fd
mov dword [ebp - 0x30], 0xdc00d6
mov dword [ebp - 0x2c], 0xc800dc
mov dword [ebp - 0x28], 0x9c00c8
mov dword [ebp - 0x24], 0xcc00d8
mov dword [ebp - 0x20], 0xaf00cd
mov dword [ebp - 0x1c], 0xf800b3
mov dword [ebp - 0x18], 0xc400e3
call fcn.00403e20
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00404740
add esp, 8
mov ecx, eax
push dword [edi + 0x68]
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int_]
lea ecx, [ebp - 0x240]
mov dword [ebp - 0x240], 7
mov esi, eax
mov dword [ebp - 0x23c], 0x8a0085
mov dword [ebp - 0x238], 0xde00de
mov dword [ebp - 0x234], 0x9400c1
mov dword [ebp - 0x230], 0xb0008f
call fcn.00403e20
push eax
push esi
call fcn.00404740
add esp, 8
lea edx, [edi + 0x70]
mov ecx, eax
call fcn.0042bb90
call fcn.004345f0
mov edi, eax
lea eax, [ebp - 0x330]
push eax
call fcn.0061c100
mov ecx, eax
call fcn.00403e20
mov esi, eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0061a040
mov ecx, eax
call fcn.00403e20
lea ecx, [ebp - 0x228]
push ecx
push esi
push 0xdb
push eax
push 0
mov ecx, edi
call fcn.00469f50
lea ecx, [ebp - 0x228]
call fcn.00406480
xor al, al
jmp 0x61bc87
mov ax, word [ebp - 0xac]
mov word [edi + 0x24], ax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0076eb7e
mov esp, ebp
pop ebp
ret