Function at 0x525c00
Capabilities:
Contain obfuscated stackstrings
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c5e3
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x61094c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xb4], edi
cmp edx, 2
je 0x525c55
cmp edx, 1
jne 0x52665c
cmp edx, 2
mov dword [ebp - 0xb0], 0
mov ecx, 0x800000
cmovne ecx, dword [ebp - 0xb0]
cmp dword [eax + 0x14], 8
jb 0x525c76
mov eax, dword [eax]
push ecx
push 0
push 0
push 0
push eax
push 0x5bb110
push dword [esi + 4]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
mov dword [ebp - 0xac], esi
mov dword [ebp - 4], 3
test esi, esi
je 0x5266b6
push edi
push esi
call fcn.00527b50
add esp, 8
mov dword [ebp - 0xb0], 0
push 0
push 0
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x525d2e
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f00
jne 0x525ced
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
cmp eax, 0xa
jle 0x525cb7
push str.WinHttp:_Failed_to_send_request
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0xb8]
push eax
push edi
call fcn.00527ac0
add esp, 0xc
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, edi
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.00553d2a
mov esp, ebp
pop ebp
ret 0x10
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x525d42
push str.WinHttp:_Failed_to_receive_response
jmp 0x525cf2
push 0x13
lea eax, [ebp - 0x88]
push esi
push eax
call fcn.00525580
add esp, 0xc
mov eax, dword [edi]
lea ecx, [ebp - 0xd8]
push str.Status
mov byte [ebp - 4], 4
mov edi, dword [eax + 4]
call fcn.004246c0
lea eax, [ebp - 0x88]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0xd8]
mov ecx, edi
push eax
call dword [0x5a0478]
mov ecx, dword [ebp - 0xb4]
call edi
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 4
call fcn.00424580
mov ecx, dword [ebp - 0xb4]
push 1
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x58]
push eax
call fcn.00525580
add esp, 0xc
mov edi, eax
push str.Content_Type
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 6
call fcn.004246c0
push edi
mov edi, dword [ebp - 0xb0]
lea eax, [ebp - 0xd8]
push eax
mov ecx, edi
mov byte [ebp - 4], 7
call dword [0x5a0478]
mov ecx, dword [ebp - 0xb4]
call edi
lea ecx, [ebp - 0xd8]
call fcn.00424580
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
call fcn.00424580
push 5
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.00525580
add esp, 0xc
cmp dword [ebp - 0x60], 0
mov byte [ebp - 4], 8
jne 0x52616d
mov dword [ebp - 0xc0], 0xffffffff
mov dword [ebp - 0xdc], 0xffffffff
mov eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0xd8]
push str.Content_Length
mov eax, dword [eax]
mov edi, dword [eax + 4]
call fcn.004246c0
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0xd8]
mov ecx, edi
push eax
call dword [0x5a0478]
mov ecx, dword [ebp - 0xb4]
call edi
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 8
call fcn.00424580
push 0x34
lea eax, [ebp - 0xa8]
push esi
push eax
call fcn.00525580
add esp, 0xc
mov eax, dword [ebp - 0xb4]
lea ecx, [ebp - 0xd8]
push str.Content_MD5
mov byte [ebp - 4], 0xa
mov eax, dword [eax]
mov edi, dword [eax + 4]
call fcn.004246c0
lea eax, [ebp - 0xa8]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0xd8]
mov ecx, edi
push eax
call dword [0x5a0478]
mov ecx, dword [ebp - 0xb4]
call edi
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xa
call fcn.00424580
mov ecx, dword [ebp - 0xb4]
push 0x36
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x58]
push eax
call fcn.00525580
add esp, 0xc
mov edi, eax
push str.ETag
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xc
call fcn.004246c0
push edi
mov edi, dword [ebp - 0xb0]
lea eax, [ebp - 0xd8]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xd
call dword [0x5a0478]
mov ecx, dword [ebp - 0xb4]
call edi
lea ecx, [ebp - 0xd8]
call fcn.00424580
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
call fcn.00424580
mov ecx, dword [ebp - 0xb4]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov dword [ebp - 0xb0], eax
push 0xb
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.00525580
add esp, 0xc
mov edi, eax
push str.Last_Modified
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0xe
call fcn.004246c0
push edi
mov edi, dword [ebp - 0xb0]
lea eax, [ebp - 0xd8]
push eax
mov ecx, edi
mov byte [ebp - 4], 0xf
call dword [0x5a0478]
mov ecx, dword [ebp - 0xb4]
call edi
lea ecx, [ebp - 0xd8]
call fcn.00424580
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
call fcn.00424580
mov ecx, dword [ebp - 0xb4]
push 0xa
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x58]
push eax
call fcn.00525580
add esp, 0xc
mov edi, eax
push str.Expires
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x10
call fcn.004246c0
push edi
mov edi, dword [ebp - 0xb0]
lea eax, [ebp - 0xd8]
push eax
mov ecx, edi
mov byte [ebp - 4], 0x11
call dword [0x5a0478]
mov ecx, dword [ebp - 0xb4]
call edi
lea ecx, [ebp - 0xd8]
call fcn.00424580
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
call fcn.00424580
mov ecx, dword [ebp - 0xb4]
push 0x31
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x58]
push eax
call fcn.00525580
add esp, 0xc
mov edi, eax
push str.Cache_Control
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x12
call fcn.004246c0
push edi
mov edi, dword [ebp - 0xb0]
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0x13
mov ecx, edi
push eax
call dword [0x5a0478]
mov ecx, dword [ebp - 0xb4]
call edi
lea ecx, [ebp - 0xd8]
call fcn.00424580
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
call fcn.00424580
mov ecx, dword [ebp - 0xb4]
push 0x2a
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 4]
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x58]
push eax
call fcn.00525580
add esp, 0xc
mov edi, eax
push str.Accept_Ranges
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x14
call fcn.004246c0
push edi
mov edi, dword [ebp - 0xb0]
lea eax, [ebp - 0xd8]
push eax
mov ecx, edi
mov byte [ebp - 4], 0x15
call dword [0x5a0478]
mov ecx, dword [ebp - 0xb4]
call edi
lea ecx, [ebp - 0xd8]
call fcn.00424580
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
call fcn.00424580
lea eax, [ebp - 0x88]
mov byte [ebp - 0xbc], 0
push 0x5ac618
push eax
call fcn.00437980
add esp, 8
test al, al
je 0x5261c7
mov edi, dword [ebp - 0xb8]
lea ecx, [ebp - 0xa8]
mov dword [edi], 0
mov dword [edi + 4], 0x60c5e8
call fcn.00424580
lea ecx, [ebp - 0x70]
call fcn.00424580
lea ecx, [ebp - 0x88]
call fcn.00424580
jmp 0x525d08
call fcn.0055ec85
cmp dword [ebp - 0x5c], 8
lea edi, [ebp - 0x70]
mov dword [ebp - 0xbc], eax
cmovae edi, dword [ebp - 0x70]
mov dword [eax], 0
lea eax, [ebp - 0xb0]
push 0xa
push eax
push edi
call fcn.0056679f
add esp, 0xc
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xdc], edx
cmp edi, dword [ebp - 0xb0]
je 0x5266f0
mov eax, dword [ebp - 0xbc]
cmp dword [eax], 0x22
je 0x5266fa
jmp 0x525e3e
lea eax, [ebp - 0x88]
push 0x5ac620
push eax
call fcn.00437980
add esp, 8
test al, al
je 0x5262c8
mov edi, dword [ebp - 0xb4]
mov eax, dword [edi]
mov eax, dword [eax + 4]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xdc]
test eax, eax
jg 0x526229
mov ecx, dword [ebp - 0xc0]
jl 0x52620a
test ecx, ecx
jae 0x526229
neg ecx
adc eax, 0
neg eax
push eax
push ecx
lea eax, [ebp - 0x12]
push eax
call fcn.004f0f90
lea ecx, [eax - 2]
mov eax, 0x2d
mov word [ecx], ax
jmp 0x52623b
push eax
push dword [ebp - 0xc0]
lea eax, [ebp - 0x12]
push eax
call fcn.004f0f90
mov ecx, eax
xor eax, eax
mov dword [ebp - 0x58], 0
mov word [ebp - 0x58], ax
add esp, 0xc
lea eax, [ebp - 0x12]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
cmp ecx, eax
je 0x52626e
sub eax, ecx
sar eax, 1
push eax
push ecx
lea ecx, [ebp - 0x58]
call fcn.00425790
push 0x5ab68c
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x16
call fcn.004246c0
mov ecx, dword [ebp - 0xb0]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0x17
push eax
call dword [0x5a0478]
mov ecx, edi
call dword [ebp - 0xb0]
lea ecx, [ebp - 0xd8]
call fcn.00424580
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
call fcn.00424580
mov byte [ebp - 0xbc], 1
jmp 0x526416
lea eax, [ebp - 0x88]
push 0x5ac628
push eax
call fcn.00437980
add esp, 8
test al, al
je 0x5265ff
push 0x35
lea eax, [ebp - 0x58]
push esi
push eax
call fcn.00525580
add esp, 0xc
cmp dword [ebp - 0x48], 0
mov byte [ebp - 4], 0x18
jne 0x526342
push 0x1e
mov ecx, dword [ebp - 0xb8]
call fcn.00525120
lea ecx, [ebp - 0x58]
call fcn.00424580
lea ecx, [ebp - 0xa8]
call fcn.00424580
lea ecx, [ebp - 0x70]
call fcn.00424580
lea ecx, [ebp - 0x88]
call fcn.00424580
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov eax, dword [ebp - 0xb8]
jmp 0x525d11
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x10c]
push eax
call fcn.00527280
add esp, 8
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xf0], xmm0
movups xmmword [ebp - 0xd8], xmm0
movq xmm0, qword [eax + 0x10]
mov eax, dword [ebp - 0xb4]
movq qword [ebp - 0xc8], xmm0
mov eax, dword [eax]
mov edi, dword [eax + 0x14]
mov ecx, edi
call dword [0x5a0478]
mov ecx, dword [ebp - 0xb4]
call edi
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0xb0], ecx
cmp eax, ecx
jne 0x5265f8
mov edi, dword [ebp - 0xd4]
cmp edx, edi
jne 0x5265f8
mov eax, dword [ebp - 0xc8]
mov edx, dword [ebp - 0xc4]
sub eax, 1
mov ecx, dword [ebp - 0xd0]
sbb edx, 0
cmp ecx, eax
jne 0x5265f1
mov eax, dword [ebp - 0xcc]
cmp eax, edx
jne 0x5265f1
sub ecx, dword [ebp - 0xb0]
sbb eax, edi
add ecx, 1
adc eax, 0
cmp dword [ebp - 0xc0], ecx
jne 0x5265ea
cmp dword [ebp - 0xdc], eax
jne 0x5265ea
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
call fcn.00424580
mov edi, dword [ebp - 0xb4]
mov eax, dword [edi]
mov edi, dword [eax + 8]
mov ecx, edi
call dword [0x5a0478]
mov ecx, dword [ebp - 0xb4]
call edi
push 0x10000
call fcn.005541f3
mov edi, eax
mov dword [ebp - 0xe0], eax
add esp, 4
test edi, edi
je 0x526456
push 0x10000
push 0
push edi
call fcn.005561e0
add esp, 0xc
jmp 0x52645e
xor edi, edi
mov dword [ebp - 0xe0], edi
mov dword [ebp - 0x8c], edi
mov eax, dword [ebp - 0xb4]
xorps xmm0, xmm0
push dword [ebp - 0xbc]
mov byte [ebp - 4], 0x1c
mov dword [ebp - 0x40], 0
mov eax, dword [eax]
movlpd qword [ebp - 0xe8], xmm0
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [0x5a0478]
mov ecx, dword [ebp - 0xb4]
call edi
mov edi, dword [ebp - 0xe0]
lea eax, [ebp - 0x40]
push eax
push 0x10000
push edi
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x526541
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xb4]
sub esp, 8
mov ecx, esp
mov eax, dword [eax]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xf4], edx
mov dword [ecx], eax
test eax, eax
js 0x526704
mov dword [ecx + 4], edi
test edi, edi
jne 0x526504
test eax, eax
jne 0x526704
mov ecx, edx
call dword [0x5a0478]
mov ecx, dword [ebp - 0xb4]
call dword [ebp - 0xf4]
mov eax, dword [ebp - 0x40]
add dword [ebp - 0xbc], eax
adc dword [ebp - 0xb0], 0
test eax, eax
je 0x526571
lea eax, [ebp - 0x40]
push eax
push 0x10000
push edi
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x5264d2
push str.WinHttp:_Error_in_WinHttpReadData
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0xb8]
call fcn.00527ac0
add esp, 0xc
test edi, edi
je 0x526312
push edi
call fcn.00469760
add esp, 4
jmp 0x526312
mov eax, dword [ebp - 0xb4]
mov eax, dword [eax]
mov edi, dword [eax + 0x1c]
mov ecx, edi
call dword [0x5a0478]
mov ecx, dword [ebp - 0xb4]
call edi
mov ecx, dword [ebp - 0xdc]
test ecx, ecx
jl 0x5265cc
jg 0x5265a1
cmp dword [ebp - 0xc0], 0
jb 0x5265cc
mov eax, dword [ebp - 0xbc]
cmp dword [ebp - 0xc0], eax
jne 0x5265b7
cmp ecx, dword [ebp - 0xb0]
je 0x5265cc
mov ecx, dword [ebp - 0xb8]
push 1
call fcn.00525120
mov edi, dword [ebp - 0xe0]
jmp 0x52655b
mov eax, dword [ebp - 0xb8]
mov edi, dword [ebp - 0xe0]
mov dword [eax], 0
mov dword [eax + 4], 0x60c5e8
jmp 0x52655b
push 0xc
jmp 0x5262ff
push 0xb
jmp 0x5262ff
push 0xa
jmp 0x5262ff
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x124]
push eax
call fcn.00528240
push eax
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 0x19
push str.WinHttp:_Unexpected_status_code__
push eax
call fcn.004b0dd0
push 0x29
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 0x1a
push eax
call fcn.0050c420
add esp, 0x20
push eax
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 0x1b
call fcn.004213c0
push 0x608f44
lea eax, [ebp - 0x90]
push eax
call fcn.00555bec
push edx
lea eax, [ebp - 0xd8]
push eax
call fcn.004b12a0
push eax
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
push str.WinHttp:_Invalid_scheme__
push eax
call fcn.004b0dd0
push 0x29
push eax
lea eax, [ebp - 0x10c]
mov byte [ebp - 4], 1
push eax
call fcn.0050c420
add esp, 0x20
push eax
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 2
call fcn.004b1320
push 0x6090d0
lea eax, [ebp - 0xe8]
push eax
call fcn.00555bec
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00521ea0
add esp, 4
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push str.WinHttp:_Failed_to_open_request
push esi
push eax
lea ecx, [ebp - 0xf0]
call fcn.0051fda0
push 0x608ef0
lea eax, [ebp - 0xf0]
push eax
call fcn.00555bec
push str.invalid_stoll_argument
call fcn.0053ecd2
push str.stoll_argument_out_of_range
call fcn.0053ed12
call fcn.00528190
int3