Function at 0x460320
Capabilities:
Check http status code
Initialize winhttp library
Prepare http request
Read http header
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 0x4b42f4
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x4e406c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0xa4], esi
mov eax, dword [ebx + 8]
xor edi, edi
xor ecx, ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], cx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], cx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], cx
mov byte [ebp - 4], 2
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4603b1
lea edx, [ebp - 0x34]
cmp edx, eax
je 0x4603d3
jmp 0x4603be
lea eax, [esi + 8]
lea ecx, [ebp - 0x34]
cmp ecx, eax
je 0x4603d3
mov ecx, dword [eax + 0x10]
cmp dword [eax + 0x14], 8
jb 0x4603c6
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.00407cf0
mov edi, dword [ebp - 0x24]
cmp dword [ebp - 0x20], 8
lea ecx, [ebp - 0x34]
push 3
cmovae ecx, dword [ebp - 0x34]
mov edx, edi
push 0x4d1e8c
push 0
call fcn.0043c9b0
add esp, 0xc
mov dword [ebp - 0xa8], eax
cmp eax, 0xffffffff
je 0x460ed9
add eax, 3
lea ecx, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
mov edx, edi
push 1
cmovae ecx, dword [ebp - 0x34]
push 0x4c7490
push eax
call fcn.0043c9b0
add esp, 0xc
mov dword [ebp - 0x88], eax
cmp eax, 0xffffffff
je 0x460ed9
mov edx, dword [ebp - 0xa8]
xor ecx, ecx
add edx, 3
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], cx
cmp edi, edx
jb 0x46107b
mov ecx, eax
sub edi, edx
sub ecx, edx
lea eax, [ebp - 0x34]
cmp edi, ecx
cmovb ecx, edi
cmp dword [ebp - 0x20], 8
push ecx
cmovae eax, dword [ebp - 0x34]
lea ecx, [ebp - 0xa0]
lea eax, [eax + edx*2]
push eax
call fcn.00407cf0
lea ecx, [ebp - 0x64]
call fcn.00405090
movups xmm0, xmmword [ebp - 0xa0]
mov edx, dword [ebp - 0x88]
xor eax, eax
mov word [ebp - 0xa0], ax
mov eax, dword [ebp - 0x24]
movups xmmword [ebp - 0x64], xmm0
movq xmm0, qword [ebp - 0x90]
movq qword [ebp - 0x54], xmm0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
cmp eax, edx
jb 0x461080
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push ecx
lea ecx, [ebp - 0xa0]
lea eax, [eax + edx*2]
push eax
call fcn.00407cf0
lea ecx, [ebp - 0x4c]
call fcn.00405090
movups xmm0, xmmword [ebp - 0xa0]
movups xmmword [ebp - 0x4c], xmm0
movq xmm0, qword [ebp - 0x90]
movq qword [ebp - 0x3c], xmm0
push 0
push 0
push 0
push 1
push str.Malwarebytes_Installer
mov byte [ebp - 4], 4
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
mov dword [ebp - 0x70], edi
test edi, edi
jne 0x460604
lea ecx, [ebp - 0xa0]
call fcn.0045e3b0
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x460555
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e84e8
call fcn.00410760
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f940
mov edx, 0x4c7114
mov ecx, eax
call fcn.0040f940
push 0x1ce
mov ecx, eax
call fcn.0040df40
mov edx, str.:_Error_on_WinHttpOpen:
mov ecx, eax
call fcn.0040f940
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.004196c0
push eax
call fcn.0040fcb0
mov edx, dword [ebp - 0x8c]
add esp, 4
cmp edx, 8
jb 0x460749
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4605e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461085
push edx
push ecx
call fcn.0046d84e
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
add esp, 8
mov byte [ebp - 0x81], 0
jmp 0x460ec9
push dword [esi + 0xc0]
push dword [esi + 0xbc]
push dword [esi + 0xb8]
push dword [esi + 0xb4]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
test eax, eax
jne 0x4606ee
lea ecx, [ebp - 0xa0]
call fcn.0045e3b0
mov byte [ebp - 4], 6
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x460645
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e84e8
call fcn.00410760
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f940
mov edx, 0x4c7114
mov ecx, eax
call fcn.0040f940
push 0x1d5
mov ecx, eax
call fcn.0040df40
mov edx, 0x4c731c
mov ecx, eax
call fcn.0040f940
mov edx, str.Error_on_WinHttpSetTimeouts:
mov ecx, eax
call fcn.0040f940
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.004196c0
push eax
call fcn.0040fcb0
mov byte [ebp - 4], 4
add esp, 4
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x4606ee
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4606e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46108a
push edx
push ecx
call fcn.0046d84e
add esp, 8
push ecx
mov edx, 3
mov dword [ebp - 0x18], 0x2a0
call fcn.0040c3b0
add esp, 4
test al, al
je 0x46070e
add dword [ebp - 0x18], 0x800
push 4
lea eax, [ebp - 0x18]
push eax
push 0x54
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x46075b
mov edx, str.Error_on_WinHttpSetOption_SECURE_PROTOCOLS_:
mov ecx, 0x4e84e8
call fcn.0040f940
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.004196c0
push eax
call fcn.0040fcb0
add esp, 4
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov byte [ebp - 0x81], 0
jmp 0x460ec9
cmp dword [ebp - 0x50], 8
lea eax, [ebp - 0x64]
push 0
cmovae eax, dword [ebp - 0x64]
push 0
push eax
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 7
test eax, eax
jne 0x460852
lea ecx, [ebp - 0xa0]
call fcn.0045e3b0
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x46079b
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e84e8
call fcn.00410760
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f940
mov edx, 0x4c7114
mov ecx, eax
call fcn.0040f940
push 0x1e6
mov ecx, eax
call fcn.0040df40
mov edx, 0x4c731c
mov ecx, eax
call fcn.0040f940
mov edx, str.Error_on_WinHttpConnect:
mov ecx, eax
call fcn.0040f940
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.004196c0
push eax
call fcn.0040fcb0
mov edx, dword [ebp - 0x8c]
add esp, 4
cmp edx, 8
jb 0x460840
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460836
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46108f
push edx
push ecx
call fcn.0046d84e
add esp, 8
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
mov byte [ebp - 0x81], 0
jmp 0x460ec9
cmp dword [ebp - 0x38], 8
lea ecx, [ebp - 0x4c]
push 0x800000
cmovae ecx, dword [ebp - 0x4c]
push 0
push 0
push 0
push ecx
push 0x4d1ba8
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
mov dword [ebp - 0x74], esi
mov byte [ebp - 4], 9
test esi, esi
jne 0x460956
lea ecx, [ebp - 0xa0]
call fcn.0045e3b0
mov byte [ebp - 4], 0xa
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4608a0
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e84e8
call fcn.00410760
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f940
mov edx, 0x4c7114
mov ecx, eax
call fcn.0040f940
push 0x1ec
mov ecx, eax
call fcn.0040df40
mov edx, 0x4c731c
mov ecx, eax
call fcn.0040f940
mov edx, str.Error_on_WinHttpOpenRequest:
mov ecx, eax
call fcn.0040f940
mov dword [ebp - 0x88], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x88]
push eax
call fcn.004196c0
push eax
call fcn.0040fcb0
mov edx, dword [ebp - 0x8c]
add esp, 4
cmp edx, 8
jb 0x460ea8
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460947
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461094
push edx
push ecx
call fcn.0046d84e
add esp, 8
jmp 0x460ea8
mov eax, dword [ebp - 0xa4]
xorps xmm0, xmm0
movq qword [ebp - 0x80], xmm0
mov dword [ebp - 0x78], 0
cmp byte [eax + 5], 0
je 0x460c39
lea ecx, [ebp - 0xa0]
call fcn.0045e3b0
mov byte [ebp - 4], 0xb
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x46098f
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e84e8
call fcn.00410760
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f940
mov edx, 0x4c7114
mov ecx, eax
call fcn.0040f940
push 0x1f7
mov ecx, eax
call fcn.0040df40
mov edx, str.:_Configuring_proxy_on_this_connection
mov ecx, eax
call fcn.0040f940
push eax
call fcn.0040fcb0
mov byte [ebp - 4], 9
add esp, 4
mov edx, dword [ebp - 0x8c]
cmp edx, 8
jb 0x460a1c
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460a12
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x461099
push edx
push ecx
call fcn.0046d84e
add esp, 8
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x80], 3
mov eax, dword [eax + 0x48]
lea eax, [eax*2 + 4]
push eax
mov dword [ebp - 0xa8], eax
call fcn.00488c42
add esp, 4
mov dword [ebp - 0x7c], eax
push dword [ebp - 0xa8]
push 0
push eax
call fcn.00485990
mov eax, dword [ebp - 0xa4]
add esp, 0xc
add eax, 0x38
cmp dword [eax + 0x14], 8
jb 0x460a67
mov eax, dword [eax]
push eax
push dword [ebp - 0xa8]
push dword [ebp - 0x7c]
call fcn.0048dc16
add esp, 0xc
lea eax, [ebp - 0x80]
push 0xc
push eax
push 0x26
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetOption]
test eax, eax
jne 0x460b54
lea ecx, [ebp - 0xa0]
call fcn.0045e3b0
mov byte [ebp - 4], 0xc
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x460aaa
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e84e8
call fcn.00410760
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f940
mov edx, 0x4c7114
mov ecx, eax
call fcn.0040f940
push 0x200
mov ecx, eax
call fcn.0040df40
mov edx, str.:_Error_on_WinHttpSetOption_PROXY_:
mov ecx, eax
call fcn.0040f940
mov dword [ebp - 0x88], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x88]
push eax
call fcn.004196c0
push eax
call fcn.0040fcb0
mov edx, dword [ebp - 0x8c]
add esp, 4
cmp edx, 8
jb 0x460e0d
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460b45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x46109e
push edx
push ecx
call fcn.0046d84e
add esp, 8
jmp 0x460e0d
mov eax, dword [ebp - 0xa4]
cmp dword [eax + 0x90], 0
jne 0x460b70
cmp dword [eax + 0xa8], 0
je 0x460c39
cmp dword [eax + 0xac], 8
lea ecx, [eax + 0x98]
jb 0x460b81
mov ecx, dword [ecx]
sub eax, 0xffffff80
cmp dword [eax + 0x14], 8
jb 0x460b8c
mov eax, dword [eax]
push 0
push ecx
push eax
push 1
push 1
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSetCredentials]
test eax, eax
jne 0x460c39
lea ecx, [ebp - 0xa0]
call fcn.0045e3b0
mov byte [ebp - 4], 0xd
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x460bbd
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e84e8
call fcn.00410760
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f940
mov edx, 0x4c7114
mov ecx, eax
call fcn.0040f940
push 0x20a
mov ecx, eax
call fcn.0040df40
mov edx, str.:_Error_on_WinHttpSetCredentials:
mov ecx, eax
call fcn.0040f940
mov dword [ebp - 0x88], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x88]
push eax
call fcn.004196c0
push eax
call fcn.0040fcb0
add esp, 4
lea ecx, [ebp - 0xa0]
call fcn.00405090
push dword [ebp - 0x7c]
call fcn.00488c4d
add esp, 4
jmp 0x460ea8
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 0x460ccf
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x88], eax
call fcn.0045e3b0
mov byte [ebp - 4], 0xe
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x460c76
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e84e8
call fcn.00410760
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f940
mov edx, 0x4c7114
mov ecx, eax
call fcn.0040f940
push 0x213
mov ecx, eax
call fcn.0040df40
mov edx, 0x4c731c
mov ecx, eax
call fcn.0040f940
mov edx, str.Error_on_WinHttpSendRequest:
mov ecx, eax
call fcn.0040f940
push dword [ebp - 0x88]
mov ecx, eax
jmp 0x460df4
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x460d59
lea ecx, [ebp - 0xa0]
call fcn.0045e3b0
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x460cf6
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e84e8
call fcn.00410760
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f940
mov edx, 0x4c7114
mov ecx, eax
call fcn.0040f940
push 0x21a
mov ecx, eax
call fcn.0040df40
mov edx, 0x4c731c
mov ecx, eax
call fcn.0040f940
mov edx, str.Error_on_WinHttpReceiveResponse:
mov ecx, eax
call fcn.0040f940
mov dword [ebp - 0x88], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x88]
jmp 0x460df3
push 0
lea eax, [ebp - 0x68]
mov dword [ebp - 0x1c], 0
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x68], 4
push eax
push 0
push 0x20000013
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
lea ecx, [ebp - 0xa0]
test eax, eax
jne 0x460e26
call fcn.0045e3b0
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x460da1
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e84e8
call fcn.00410760
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f940
mov edx, 0x4c7114
mov ecx, eax
call fcn.0040f940
push 0x224
mov ecx, eax
call fcn.0040df40
mov edx, str.:_Error_calling_WinHttpQueryHeaders_STATCODE_:
mov ecx, eax
call fcn.0040f940
mov dword [ebp - 0x88], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x88]
push eax
call fcn.004196c0
push eax
call fcn.0040fcb0
add esp, 4
lea ecx, [ebp - 0xa0]
call fcn.00405090
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x460ea8
push eax
call fcn.00488c4d
add esp, 4
jmp 0x460ea8
call fcn.0045e3b0
mov byte [ebp - 4], 0x11
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x460e3a
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e84e8
call fcn.00410760
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f940
mov edx, 0x4c7114
mov ecx, eax
call fcn.0040f940
push 0x229
mov ecx, eax
call fcn.0040df40
mov edx, str.:_HTTP_response_code:
mov ecx, eax
call fcn.0040f940
push dword [ebp - 0x1c]
mov ecx, eax
call fcn.004196c0
push eax
call fcn.0040fcb0
add esp, 4
lea ecx, [ebp - 0xa0]
call fcn.00405090
cmp dword [ebp - 0x1c], 0xc8
mov byte [ebp - 0x81], 1
je 0x460eaf
mov byte [ebp - 0x81], 0
test esi, esi
je 0x460ebe
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
jmp 0x460ec4
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
push dword [ebp - 0x6c]
call esi
test edi, edi
je 0x460f83
push edi
call esi
jmp 0x460f83
lea ecx, [ebp - 0xa0]
call fcn.0045e3b0
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x460ef3
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x4e84e8
call fcn.00410760
add esp, 4
mov edx, str.d:jenkinsworkspace_n_sucommon_src_sucommonpermalinkdownloader.cpp
mov ecx, eax
call fcn.0040f940
mov edx, 0x4c7114
mov ecx, eax
call fcn.0040f940
push 0x1c6
mov ecx, eax
call fcn.0040df40
mov edx, str.:_URL_invalid_format
mov ecx, eax
call fcn.0040f940
push eax
call fcn.0040fcb0
mov edx, dword [ebp - 0x8c]
add esp, 4
cmp edx, 8
jb 0x460f7c
mov ecx, dword [ebp - 0xa0]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460f72
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4610a3
push edx
push ecx
call fcn.0046d84e
add esp, 8
mov byte [ebp - 0x81], 0
mov edx, dword [ebp - 0x38]
cmp edx, 8
jb 0x460fbd
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x460fb3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4610a8
push edx
push ecx
call fcn.0046d84e
add esp, 8
mov edx, dword [ebp - 0x50]
xor eax, eax
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 7
mov word [ebp - 0x4c], ax
cmp edx, 8
jb 0x46100b
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x461001
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4610ad
push edx
push ecx
call fcn.0046d84e
add esp, 8
mov edx, dword [ebp - 0x20]
xor eax, eax
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
cmp edx, 8
jb 0x461055
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x46104b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4610b2
push edx
push ecx
call fcn.0046d84e
add esp, 8
mov al, byte [ebp - 0x81]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0046d32d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.0040bec0
call fcn.0040bec0
call fcn.0048879c
call fcn.0048879c
call fcn.0048879c
call fcn.0048879c
call fcn.0048879c
call fcn.0048879c
call fcn.0048879c
call fcn.0048879c
call fcn.0048879c
call fcn.0048879c
int3