Function at 0x482f50
Capabilities:
Prepare http request
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61133d
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x69f000]
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 eax, dword [ebp + 8]
mov dword [ebp - 0xac], eax
mov byte [ebp - 0xa1], 1
mov byte [ebp - 0x99], 0
cmp byte [edi + 0x20], 0
je 0x483672
mov eax, dword [edi + 0xac]
lea esi, [edi + 0xac]
test eax, eax
je 0x482fbd
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [esi], 0
mov eax, dword [edi + 0x24]
mov edx, 0x100
mov ecx, 0x800100
cmp dword [eax + 0x164], 1
cmovne ecx, edx
cmp dword [eax + 0x15c], 8
lea edx, [eax + 0x148]
mov dword [ebp - 0xa0], ecx
jb 0x482feb
mov edx, dword [edx]
cmp dword [edi + 0x8c], 8
lea ecx, [edi + 0x78]
jb 0x482ff9
mov ecx, dword [ecx]
cmp dword [edi + 0xa4], 8
lea eax, [edi + 0x90]
jb 0x48300a
mov eax, dword [eax]
push dword [ebp - 0xa0]
push 0
push edx
push 0
push ecx
push eax
push dword [edi + 0xa8]
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov dword [esi], eax
test eax, eax
je 0x48364f
mov eax, dword [edi + 0x24]
cmp byte [eax + 0x16a], 0
je 0x483070
mov eax, dword [edi + 0x24]
cmp dword [eax + 0x10], 0
je 0x483070
cmp dword [eax + 0x2c], 8
lea ecx, [eax + 0x18]
jb 0x48304d
mov ecx, dword [ecx]
cmp dword [eax + 0x14], 8
mov edx, eax
jb 0x483057
mov edx, dword [eax]
push 0
push ecx
push edx
push dword [eax + 0x30]
push 1
push dword [esi]
call dword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
test eax, eax
je 0x4835b2
mov eax, dword [edi + 0x24]
mov al, byte [eax + 0x16b]
cmp byte [edi + 0x20], 0
je 0x48360f
mov ecx, dword [ebp - 0xac]
cmp dword [ecx + 0x10], 0
jne 0x483093
xor eax, eax
jmp 0x4830a3
cmp dword [ecx + 0x14], 8
mov eax, ecx
mov dword [ebp - 0xa0], eax
jb 0x4830b0
mov eax, dword [ecx]
mov dword [ebp - 0xa0], eax
nop dword [eax]
push 0
push 0
push 0
push 0
push 0
push eax
push dword [esi]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x4830f3
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x2f00
jne 0x4835dd
call fcn.00472b10
push str.redirection_detected._Sending_the_request_again
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [ebp - 0xa0]
add esp, 8
jmp 0x4830b0
cmp eax, 1
jne 0x48363f
push 0
push dword [esi]
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
je 0x483603
cmp byte [ebp + 0xc], 0
je 0x48311d
push esi
call fcn.004827a0
add esp, 4
mov ecx, edi
call fcn.00481dd0
test al, al
je 0x4835f8
cmp dword [edi + 0x38], 0xb
jne 0x4836a2
mov eax, dword [edi + 0x24]
xorps xmm0, xmm0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov byte [eax + 0x16a], 1
xor eax, eax
mov word [ebp - 0x50], ax
mov dword [ebp - 4], eax
mov ecx, edi
lea eax, [ebp - 0x50]
push eax
push 0x29
call fcn.00482570
test al, al
jne 0x4831c9
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 8
jb 0x4831b0
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4831a6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4836c1
push ecx
push edx
call fcn.005d0cf8
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 7
mov word [ebp - 0x50], ax
jmp 0x483586
push 0
push str.Basic
lea ecx, [ebp - 0x50]
call fcn.0040ba70
test eax, eax
jne 0x4831e8
mov eax, dword [edi + 0x24]
mov dword [eax + 0x30], 1
jmp 0x483264
push 0
push str.Digest
lea ecx, [ebp - 0x50]
call fcn.0040ba70
test eax, eax
jne 0x483207
mov eax, dword [edi + 0x24]
mov dword [eax + 0x30], 8
jmp 0x483264
push 0
push str.NTLM
lea ecx, [ebp - 0x50]
call fcn.0040ba70
test eax, eax
jne 0x483226
mov eax, dword [edi + 0x24]
mov dword [eax + 0x30], 2
jmp 0x483264
push 0
push str.Passport
lea ecx, [ebp - 0x50]
call fcn.0040ba70
test eax, eax
jne 0x483245
mov eax, dword [edi + 0x24]
mov dword [eax + 0x30], 4
jmp 0x483264
mov esi, dword [edi + 0x24]
lea ecx, [ebp - 0x50]
push 0
push str.Negotiate
call fcn.0040ba70
neg eax
sbb eax, eax
and eax, 0xfffffff0
add eax, 0x10
mov dword [esi + 0x30], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 8
jb 0x4832a5
mov edx, dword [ebp - 0x50]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x48329b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4836c1
push ecx
push edx
call fcn.005d0cf8
add esp, 8
xor eax, eax
mov dword [ebp - 0x40], 0
mov word [ebp - 0x50], ax
mov eax, dword [edi + 0x24]
mov dword [ebp - 0x3c], 7
mov eax, dword [eax + 0x30]
test eax, eax
je 0x483586
xorps xmm0, xmm0
mov dword [ebp - 0x70], 0
xor ecx, ecx
mov dword [ebp - 0x6c], 7
movups xmmword [ebp - 0x80], xmm0
mov word [ebp - 0x80], cx
push eax
lea eax, [ebp - 0x38]
mov dword [ebp - 4], 1
push 0x66ea0c
push eax
movups xmmword [ebp - 0x38], xmm0
movups xmmword [ebp - 0x28], xmm0
movq qword [ebp - 0x18], xmm0
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x38]
add esp, 0xc
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x483310
sub eax, edx
lea ecx, [ebp - 0x80]
sar eax, 1
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0040be20
mov ecx, dword [ebp - 0x70]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 0x11
jb 0x4836c6
cmp dword [ebp - 0x6c], 8
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x80]
mov esi, 7
cmovae edx, eax
mov dword [ebp - 0xa8], eax
lea eax, [ecx + 0x11]
mov dword [ebp - 0xb4], edx
mov dword [ebp - 0x58], 0
xorps xmm0, xmm0
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x68]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xa0], ecx
movups xmmword [ebp - 0x68], xmm0
cmp eax, esi
jbe 0x4833ca
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x48339c
mov esi, SysReAllocString
jmp 0x4833a7
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x68]
call fcn.0040c750
mov edx, dword [ebp - 0xb4]
mov ecx, eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xa0], ecx
mov dword [ebp - 0x68], ecx
movups xmm0, xmmword [str._ProxyAuthScheme:]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], esi
mov esi, dword [ebp - 0x70]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [0x62709c]
movups xmmword [ecx + 0x10], xmm0
mov ax, word [0x6270ac]
mov word [ecx + 0x20], ax
lea eax, [esi + esi]
push eax
add ecx, 0x22
push edx
push ecx
call fcn.005d4d40
mov eax, dword [ebp - 0xa0]
xor ecx, ecx
add esp, 0xc
mov word [eax + esi*2 + 0x22], cx
push 1
push 0x6686e8
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 2
call fcn.0040ff20
xor ecx, ecx
lea esi, [edi + 0x40]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xc8], xmm0
movups xmmword [ebp - 0x98], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x98]
movq qword [ebp - 0xb8], xmm0
movq qword [ebp - 0x88], xmm0
cmp esi, eax
je 0x483489
mov ecx, esi
call fcn.0040bd90
movups xmm0, xmmword [ebp - 0xc8]
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0xb8]
movq qword [esi + 0x10], xmm0
jmp 0x4834c9
mov ecx, dword [ebp - 0x84]
cmp ecx, 8
jb 0x4834c9
mov edx, dword [ebp - 0x98]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4834bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4836c1
push ecx
push edx
call fcn.005d0cf8
add esp, 8
mov ecx, dword [ebp - 0x54]
xor eax, eax
mov dword [ebp - 0x84], 7
mov word [ebp - 0x98], ax
mov byte [ebp - 4], 1
cmp ecx, 8
jb 0x48351a
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x483510
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4836c1
push ecx
push edx
call fcn.005d0cf8
add esp, 8
xor eax, eax
mov dword [ebp - 0x58], 0
mov word [ebp - 0x68], ax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x54], 7
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x483572
mov edx, dword [ebp - 0xa8]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x483568
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4836c1
push ecx
push edx
call fcn.005d0cf8
add esp, 8
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
cmp byte [ebp - 0x99], 0
jne 0x4836a2
call fcn.00472b10
push str.Trying_to_authenticate_Proxy_using_latest_set_preferences____username___and_password__
push eax
mov ecx, dword [eax]
call dword [ecx + 4]
add esp, 8
mov byte [ebp - 0x99], 1
jmp 0x482f96
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
mov ecx, edi
call fcn.00482a50
call fcn.00472b10
push str.Failed_to_set_the_proxy_credentials
push 0x65fe6c
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
add esp, 0xc
jmp 0x4836a2
push eax
mov ecx, edi
call fcn.00482a50
push dword [esi]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [esi], 0
jmp 0x4836a2
mov al, byte [ebp - 0xa1]
jmp 0x4836a4
call fcn.00472b10
push str.initHttpDownload:_failed_to_receive_the_response_from_server
jmp 0x483659
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0
movups xmmword [ecx], xmm0
push 0x65fe6c
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040c3f0
push 0
push 0x12
mov ecx, edi
call fcn.004836d0
push dword [esi]
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov dword [esi], 0
jmp 0x4836a2
call fcn.00472b10
push str.createRequest_:_failed_to_open_the_request_handle
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
add esp, 8
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
mov ecx, edi
call fcn.00482a50
jmp 0x4836a2
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
push 0
movups xmmword [ecx], xmm0
push 0x65fe6c
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
call fcn.0040c3f0
push 0
push 0x12
mov ecx, edi
call fcn.004836d0
xor al, al
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.005d077b
mov esp, ebp
pop ebp
ret 8
call fcn.005d87bd
call fcn.004084d0
int3