Function at 0x6cb16c90
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, edx
and edx, 0x80000000
push esi
push ebx
mov ebx, eax
sub esp, 0x44
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x6cb16e00
mov eax, dword [ebp + 0x10]
mov esi, dword [eax]
mov eax, edi
and eax, 0x1fffffff
cmp eax, 0x15
je 0x6cb16e12
jbe 0x6cb16da0
cmp eax, 0x2d
je 0x6cb16eb0
cmp eax, 0xffff
je 0x6cb16f94
cmp eax, 0x16
je 0x6cb16f30
cmp eax, 0x4a
ja 0x6cb17212
mov ecx, dword [eax*4 + 0x6cb2f5c0]
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
movzx ecx, byte [0x6cb2c118]
je 0x6cb17050
mov eax, ecx
test al, 8
jne 0x6cb17290
mov dword [esp + 4], edx
mov ecx, dword [ebp - 0x14]
lea eax, [ebx + 0x20b0]
lea edx, [ebx + 0x20b4]
mov dword [esp], esi
call sym._get_header_index.isra.12
test eax, eax
js 0x6cb1708d
lea edx, [eax + eax*2]
mov eax, dword [ebx + 0x20b0]
lea ebx, [eax + edx*4]
test ebx, ebx
je 0x6cb1708d
test edi, edi
js 0x6cb17114
test edi, 0x20000000
je 0x6cb170b0
mov eax, dword [ebp + 0x10]
test eax, eax
setne al
mov esi, eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x6cb16d7c
mov eax, dword [ebp + 0xc]
cmp dword [eax], 3
ja 0x6cb17230
mov dword [esp], 0x7a
xor ebx, ebx
call sym._SetLastError_4
mov eax, dword [ebp + 0xc]
sub esp, 4
mov dword [eax], 4
jmp 0x6cb16def
cmp eax, 0x12
je 0x6cb16fb1
cmp eax, 0x14
jne 0x6cb16ce6
mov eax, dword [ebx + 0x90]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_wcslen]
mov edx, dword [ebp + 8]
lea edi, [eax + eax]
lea esi, [edi + 2]
test edx, edx
je 0x6cb16dd9
mov eax, dword [ebp + 0xc]
cmp dword [eax], esi
jae 0x6cb17124
mov dword [esp], 0x7a
xor ebx, ebx
call sym._SetLastError_4
sub esp, 4
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
lea esp, [ebp - 0xc]
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, edi
xor esi, esi
and eax, 0x1fffffff
cmp eax, 0x15
jne 0x6cb16cc3
test edi, edi
js 0x6cb17280
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x6cb17108
mov ecx, dword [ebp - 0x14]
movzx eax, word [ecx]
test ax, ax
je 0x6cb17381
mov edx, eax
xor ebx, ebx
nop
cmp dx, 0xd
setne dl
add ecx, 2
movzx edx, dl
add ebx, edx
movzx edx, word [ecx]
test dx, dx
jne 0x6cb16e40
mov edx, dword [ebp + 8]
lea esi, [ebx + ebx]
test edx, edx
je 0x6cb16e6c
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], esi
jae 0x6cb17180
mov dword [esp], 0x7a
xor ebx, ebx
call sym._SetLastError_4
sub esp, 4
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
test edi, edi
jns 0x6cb16def
call sym._GetProcessHeap_0
mov esi, dword [ebp - 0x14]
mov dword [esp + 8], esi
mov dword [esp + 4], 0
mov dword [esp], eax
call sym._HeapFree_12
sub esp, 0xc
jmp 0x6cb16def
mov eax, dword [ebx + 0x44]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_wcslen]
lea edi, [eax + eax]
mov eax, dword [ebp + 8]
lea esi, [edi + 2]
test eax, eax
je 0x6cb16dd9
mov eax, dword [ebp + 0xc]
cmp dword [eax], esi
jb 0x6cb16dd9
mov eax, dword [ebx + 0x44]
mov esi, edi
mov ebx, 1
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_wcscpy]
test byte [0x6cb2c118], 8
je 0x6cb16dea
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], str.returning_string:__s_n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x303
jmp 0x6cb17027
test edi, edi
js 0x6cb17271
mov esi, dword [ebx + 0x50]
test esi, esi
je 0x6cb17108
mov dword [esp], esi
call dword [sym.imp.msvcrt.dll_wcslen]
lea ebx, [eax + eax]
mov edx, eax
mov eax, dword [ebp + 8]
lea ecx, [ebx + 2]
test eax, eax
je 0x6cb16f66
mov eax, dword [ebp + 0xc]
cmp dword [eax], ecx
jae 0x6cb172f0
mov dword [esp], 0x7a
xor ebx, ebx
mov dword [ebp - 0x14], ecx
call sym._SetLastError_4
mov ecx, dword [ebp - 0x14]
sub esp, 4
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
test edi, edi
jns 0x6cb16def
call sym._GetProcessHeap_0
jmp 0x6cb16e92
mov dword [esp + 4], edx
lea eax, [ebx + 0x20b0]
lea edx, [ebx + 0x20b4]
mov dword [esp], esi
call sym._get_header_index.isra.12
jmp 0x6cb16d2f
mov eax, dword [ebx + 0x4c]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_wcslen]
mov ecx, dword [ebp + 8]
lea edi, [eax + eax]
lea esi, [edi + 2]
test ecx, ecx
je 0x6cb16dd9
mov eax, dword [ebp + 0xc]
cmp dword [eax], esi
jb 0x6cb16dd9
mov eax, dword [ebx + 0x4c]
mov esi, edi
mov ebx, 1
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_wcscpy]
test byte [0x6cb2c118], 8
je 0x6cb16dea
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], str.returning_string:__s_n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x2e3
mov dword [esp + 0xc], str.query_headers
mov dword [esp + 8], 0x6cb2d8a1
mov dword [esp + 4], 0x6cb2c118
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x6cb16dea
and ecx, 1
je 0x6cb1708d
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.attribute__u_not_implemented_n
mov dword [esp + 0x10], 0x311
mov dword [esp + 0xc], str.query_headers
mov dword [esp + 8], 0x6cb2d8a1
mov dword [esp + 4], 0x6cb2c118
mov dword [esp], 0
call sym._ros_dbg_log
mov dword [esp], 0x2f76
xor ebx, ebx
call sym._SetLastError_4
mov eax, ebx
sub esp, 4
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
and edi, 0x40000000
jne 0x6cb171e0
mov eax, dword [ebx + 4]
test eax, eax
je 0x6cb17108
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_wcslen]
mov edx, dword [ebp + 0x10]
lea edi, [eax + eax]
test edx, edx
lea eax, [edi + 2]
setne cl
mov esi, ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x6cb170ee
mov ecx, dword [ebp + 0xc]
cmp dword [ecx], eax
jae 0x6cb17452
mov dword [esp], 0x7a
mov dword [ebp - 0x14], eax
call sym._SetLastError_4
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
sub esp, 4
mov dword [esi], eax
lea esp, [ebp - 0xc]
xor ebx, ebx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebx + 8]
test eax, eax
jne 0x6cb16d53
jmp 0x6cb1708d
mov eax, dword [ebx + 0x90]
mov esi, edi
mov ebx, 1
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_wcscpy]
test byte [0x6cb2c118], 8
je 0x6cb16dea
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], str.returning_string:__s_n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x2f3
jmp 0x6cb17027
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ebx
lea esi, [esi]
lea ebx, [edx + 2]
cmp ax, 0xd
jne 0x6cb171a2
lea esi, [edx + 4]
xor eax, eax
mov edx, ebx
mov ebx, esi
mov word [ecx], ax
movzx eax, word [edx + 2]
add ecx, 2
mov edx, ebx
test ax, ax
jne 0x6cb17190
mov ebx, dword [ebp - 0x18]
test byte [0x6cb2c118], 8
jne 0x6cb173a0
test ebx, ebx
je 0x6cb17375
lea esi, [ebx + ebx - 2]
mov ebx, 1
jmp 0x6cb16e7d
mov edi, dword [ebp + 8]
test edi, edi
je 0x6cb171f3
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0xf
ja 0x6cb173ec
mov dword [esp], 0x7a
xor ebx, ebx
call sym._SetLastError_4
mov eax, dword [ebp + 0xc]
sub esp, 4
mov dword [eax], 0x10
jmp 0x6cb16def
mov dword [esp], 0x57
xor ebx, ebx
call sym._SetLastError_4
sub esp, 4
jmp 0x6cb16def
mov eax, dword [ebx + 4]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll__wtoi]
mov edi, dword [ebp + 8]
mov dword [edi], eax
test byte [0x6cb2c118], 8
jne 0x6cb17415
mov eax, dword [ebp + 0xc]
mov ebx, 1
mov dword [eax], 4
mov eax, esi
test al, al
je 0x6cb16def
mov eax, dword [ebp + 0x10]
add dword [eax], 1
jmp 0x6cb16def
mov eax, ebx
call sym._build_request_string
mov esi, eax
jmp 0x6cb16f3b
mov eax, ebx
call sym._build_request_string
mov dword [ebp - 0x14], eax
jmp 0x6cb16e20
mov eax, dword [ebp - 0x14]
mov dword [esp + 4], 0xffffffff
mov dword [ebp - 0x18], edx
mov dword [esp], eax
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], str.attribute__s_n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x315
mov dword [esp + 0xc], str.query_headers
mov dword [esp + 8], 0x6cb2d8a1
mov dword [esp + 4], 0x6cb2c118
mov dword [esp], 3
call sym._ros_dbg_log
mov edx, dword [ebp - 0x18]
jmp 0x6cb16d14
mov eax, dword [ebp + 8]
mov dword [esp + 8], ecx
mov dword [esp + 4], esi
mov dword [esp], eax
mov dword [ebp - 0x14], edx
call sym._memmove
test byte [0x6cb2c118], 8
mov ecx, ebx
mov edx, dword [ebp - 0x14]
mov ebx, 1
je 0x6cb16f7d
mov eax, dword [ebp + 8]
and edx, 0x7fffffff
mov dword [ebp - 0x14], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], str.returning_data:__s_n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x2d2
mov dword [esp + 0xc], str.query_headers
mov dword [esp + 8], 0x6cb2d8a1
mov dword [esp + 4], 0x6cb2c118
mov dword [esp], 3
call sym._ros_dbg_log
mov ecx, dword [ebp - 0x14]
jmp 0x6cb16f7d
xor esi, esi
mov ebx, 1
jmp 0x6cb16e7d
mov eax, dword [ebp + 8]
test eax, eax
je 0x6cb1749e
test byte [0x6cb2c118], 8
je 0x6cb17375
xor ebx, ebx
lea esi, [esi]
nop
mov eax, dword [ebp + 8]
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], str.returning_data:__s_n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x2b7
mov dword [esp + 0xc], str.query_headers
mov dword [esp + 8], 0x6cb2d8a1
mov dword [esp + 4], 0x6cb2c118
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x6cb171c3
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sym.winhttp.dll_WinHttpTimeToSystemTime
sub esp, 8
mov ebx, eax
test eax, eax
jne 0x6cb1747d
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x10
jmp 0x6cb16def
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.returning_number:__d_n
mov dword [esp + 0x10], 0x32d
mov dword [esp + 0xc], str.query_headers
mov dword [esp + 8], 0x6cb2d8a1
mov dword [esp + 4], 0x6cb2c118
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x6cb1724e
mov eax, dword [ebx + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call dword [sym.imp.msvcrt.dll_wcscpy]
test byte [0x6cb2c118], 8
jne 0x6cb174a5
mov eax, dword [ebp + 0xc]
mov ebx, 1
mov dword [eax], edi
jmp 0x6cb1725c
mov esi, dword [ebp + 0x10]
test esi, esi
setne al
mov esi, eax
test byte [0x6cb2c118], 8
jne 0x6cb174f5
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x10
jmp 0x6cb1725c
xor esi, esi
jmp 0x6cb16e6c
mov eax, dword [ebp + 8]
mov dword [esp + 4], 0xffffffff
mov dword [esp], eax
call sym._wine_dbgstr_wn
mov dword [esp + 0x14], str.returning_string:__s_n
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x34c
mov dword [esp + 0xc], str.query_headers
mov dword [esp + 8], 0x6cb2d8a1
mov dword [esp + 4], 0x6cb2c118
mov dword [esp], 3
call sym._ros_dbg_log
jmp 0x6cb1746e
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0xe]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0xc]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 8]
movzx eax, word [eax + 0xa]
mov dword [esp + 0x2c], eax
mov eax, dword [ebp + 8]
movzx eax, word [eax + 8]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
movzx eax, word [eax + 4]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 8]
movzx eax, word [eax + 6]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
movzx eax, word [eax + 2]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 8]
movzx eax, word [eax]
mov dword [esp + 4], 0x6cb2c118
mov dword [esp], 3
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], str.returning_time:__04d__02d__02d____d____02d:_02d:_02d._02d_n
mov dword [esp + 0x10], 0x33b
mov dword [esp + 0xc], str.query_headers
mov dword [esp + 8], 0x6cb2d8a1
call sym._ros_dbg_log
jmp 0x6cb17490