Function at 0x1001f250
Capabilities:
Get proxy
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea edi, [ebp - 0x170]
push ebx
mov ebx, edx
sub esp, 0x1b0
mov dword [ebp - 0x180], eax
xor eax, eax
mov dword [ebp - 0x188], ecx
mov ecx, 0xe
rep stosd dword es:[edi], eax
mov dword [ebp - 0x174], 0x3c
mov dword [ebp - 0x178], 0
test byte [0x100471a4], 8
jne 0x1001f630
mov dword [ebp - 0x160], 1
cmp word [ebx], 0
mov dword [ebp - 0x154], 1
mov dword [ebp - 0x14c], 1
mov dword [ebp - 0x144], 1
mov dword [ebp - 0x13c], 1
je 0x1001fc30
mov eax, ebx
lea esi, cs:[esi]
add eax, 2
cmp word [eax], 0
jne 0x1001f2e0
sub eax, ebx
sar eax, 1
lea edx, [ebp - 0x174]
mov dword [esp + 8], 0
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym.wininet.dll_InternetCrackUrlW
sub esp, 0x10
test eax, eax
je 0x1001f9f0
mov eax, dword [ebp - 0x168]
mov edi, dword [ebp - 0x144]
mov esi, dword [ebp - 0x148]
mov dword [ebp - 0x18c], eax
sub eax, 3
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x184], edi
cmp eax, 1
jbe 0x1001f5d8
mov edi, dword [ebp - 0x164]
mov ecx, dword [ebp - 0x160]
test edi, edi
je 0x1001fcb7
test ecx, ecx
je 0x1001fd21
xor eax, eax
jmp 0x1001f378
cmp ecx, eax
je 0x1001f620
movzx edx, word [edi + eax*2]
mov ebx, eax
lea eax, [eax + 1]
test dx, dx
jne 0x1001f370
add eax, eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x17c], eax
mov ecx, eax
test eax, eax
je 0x1001f3b8
lea eax, [ebx + ebx]
mov dword [esp + 4], edi
mov edi, ecx
mov dword [esp + 8], eax
mov dword [esp], ecx
call sym._memcpy
xor eax, eax
mov word [edi + ebx*2], ax
test esi, esi
je 0x1001fca8
mov ecx, dword [ebp - 0x184]
test ecx, ecx
je 0x1001fd2d
xor eax, eax
jmp 0x1001f3e0
cmp ecx, eax
je 0x1001f610
movzx edx, word [esi + eax*2]
mov ebx, eax
lea eax, [eax + 1]
test dx, dx
jne 0x1001f3d8
add eax, eax
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0x184], eax
mov edi, eax
test eax, eax
je 0x1001f41e
lea eax, [ebx + ebx]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp], edi
call sym._memcpy
xor eax, eax
mov word [edi + ebx*2], ax
mov ecx, dword [ebp - 0x154]
xor esi, esi
test ecx, ecx
je 0x1001f481
mov edi, dword [ebp - 0x158]
test edi, edi
je 0x1001f481
xor eax, eax
lea esi, cs:[esi]
nop
movzx edx, word [edi + eax*2]
mov ebx, eax
inc eax
test dx, dx
je 0x1001f9d0
cmp ecx, eax
jne 0x1001f440
lea ebx, [ecx + ecx + 2]
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_malloc]
mov esi, eax
test eax, eax
je 0x1001f481
lea eax, [ebx - 2]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp], esi
call sym._memcpy
xor eax, eax
mov word [esi + ebx - 2], ax
mov edi, dword [ebp - 0x14c]
xor ebx, ebx
test edi, edi
je 0x1001f4ed
mov edx, dword [ebp - 0x150]
test edx, edx
je 0x1001f4ed
xor eax, eax
lea esi, [esi]
movzx ecx, word [edx + eax*2]
mov ebx, eax
inc eax
test cx, cx
je 0x1001f9e0
cmp edi, eax
jne 0x1001f4a0
lea edi, [edi + edi + 2]
mov dword [ebp - 0x194], edx
mov dword [esp], edi
call dword [sym.imp.ucrtbase.dll_malloc]
mov ebx, eax
test eax, eax
je 0x1001f4ed
mov edx, dword [ebp - 0x194]
lea eax, [edi - 2]
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], edx
call sym._memcpy
xor eax, eax
mov word [ebx + edi - 2], ax
mov edi, dword [ebp - 0x18c]
cmp edi, 1
je 0x1001f730
cmp dword [ebp - 0x190], 1
ja 0x1001f820
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x10], ebx
or eax, 0x800000
cmp edi, 4
cmovne eax, dword [ebp + 0xc]
mov dword [esp + 0xc], esi
mov dword [ebp - 0x138], 0x1004d57e
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x178]
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x134], 0
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x14], eax
movzx eax, word [ebp - 0x15c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x17c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x180]
mov dword [esp], eax
call sym._HTTP_Connect
test eax, eax
je 0x1001fb48
mov dword [esp], eax
call sym._INTERNET_SetLastError
xor edx, edx
test byte [0x100471a4], 8
jne 0x1001f7e0
mov eax, dword [ebp - 0x17c]
mov dword [ebp - 0x180], edx
mov edi, dword [sym.imp.ucrtbase.dll_free]
mov dword [esp], eax
call edi
mov eax, dword [ebp - 0x184]
mov dword [esp], eax
call edi
mov dword [esp], esi
call edi
mov dword [esp], ebx
call edi
mov edx, dword [ebp - 0x180]
lea esp, [ebp - 0xc]
pop ebx
pop esi
mov eax, edx
pop edi
pop ebp
ret
mov eax, dword [ebp - 0x13c]
test eax, eax
je 0x1001f346
lea edx, [esi + edi*2]
cmp dword [ebp - 0x140], edx
jne 0x1001fd4f
add dword [ebp - 0x184], eax
mov ecx, dword [ebp - 0x184]
mov dword [ebp - 0x144], ecx
jmp 0x1001f346
lea eax, [ebx + ebx + 4]
mov ebx, dword [ebp - 0x184]
jmp 0x1001f3f0
lea eax, [ebx + ebx + 4]
mov ebx, ecx
jmp 0x1001f388
mov eax, dword [ebp - 0x188]
test eax, eax
je 0x1001fcc6
shr eax, 0x10
je 0x1001f838
mov esi, dword [ebp - 0x188]
mov dword [esp + 4], 0xffffffff
mov dword [esp], esi
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov dword [ebp - 0x184], 0x1004c271
sub esp, 8
mov ecx, eax
test eax, eax
jne 0x1001f855
movzx eax, word [esi]
test ax, ax
je 0x1001fcdf
lea esi, [esi]
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [esi + edx*2 + 2], 0
jne 0x1001f688
mov ecx, 0x224c
lea edi, [ebp - 0x16]
mov dword [ebp - 0x184], ebx
mov esi, dword [ebp - 0x188]
mov word [ebp - 0x138], cx
lea ecx, [ebp - 0x136]
mov dword [ebp - 0x17c], edi
jmp 0x1001f6fc
cmp ax, 9
je 0x1001fa18
cmp ax, 0xa
jne 0x1001fade
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea edi, [edx - 1]
cmp ecx, dword [ebp - 0x17c]
ja 0x1001fc40
test edx, edx
jle 0x1001fc40
movzx eax, word [esi]
mov edx, edi
add esi, 2
cmp ax, 0xd
je 0x1001fa00
jbe 0x1001f6c0
cmp ax, 0x22
je 0x1001fb30
cmp ax, 0x5c
jne 0x1001fad1
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x1001f6e0
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x10], ebx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], esi
mov dword [esp + 0x14], eax
movzx eax, word [ebp - 0x15c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x17c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x180]
mov dword [esp], eax
call sym._FTP_Connect
mov dword [ebp - 0x178], eax
mov edx, eax
test eax, eax
je 0x1001f58c
mov eax, dword [ebp + 0x10]
mov dword [esp], edx
mov dword [esp + 8], 0x80000000
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x184]
mov dword [esp + 4], eax
call sym.wininet.dll_FtpOpenFileW
sub esp, 0x14
mov edx, eax
test eax, eax
jne 0x1001f58c
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x178]
mov dword [esp], eax
call sym.wininet.dll_InternetCloseHandle
mov edx, dword [ebp - 0x180]
sub esp, 4
jmp 0x1001f58c
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.__p_____n
mov dword [esp + 8], str.INTERNET_InternetOpenUrlW
mov dword [esp + 4], 0x100471a4
mov dword [esp], 3
mov dword [ebp - 0x180], edx
call sym._wine_dbg_log.constprop.0_5
mov edx, dword [ebp - 0x180]
jmp 0x1001f599
xor edx, edx
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x2ee6
jmp 0x1001f58c
movzx eax, word [ebp - 0x188]
mov dword [esp], 0x1004c264
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0_4
mov dword [ebp - 0x184], eax
test ebx, ebx
je 0x1001fcd5
mov eax, ebx
shr eax, 0x10
je 0x1001fc80
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_IsBadStringPtrW]
mov ecx, eax
sub esp, 8
mov eax, 0x1004c271
test ecx, ecx
jne 0x1001f97a
movzx eax, word [ebx]
test ax, ax
je 0x1001fd00
lea esi, cs:[esi]
nop
mov edx, ecx
lea ecx, [ecx + 1]
cmp word [ebx + edx*2 + 2], 0
jne 0x1001f8a0
mov edi, 0x224c
mov dword [ebp - 0x18c], ebx
mov esi, ebx
lea ecx, [ebp - 0x136]
mov word [ebp - 0x138], di
lea edi, [ebp - 0x16]
mov dword [ebp - 0x17c], edi
jmp 0x1001f914
cmp ax, 9
je 0x1001fa48
cmp ax, 0xa
jne 0x1001fa66
mov eax, 0x6e5c
add ecx, 2
mov word [ecx - 2], ax
lea esi, cs:[esi]
lea edi, [edx - 1]
cmp ecx, dword [ebp - 0x17c]
ja 0x1001f948
test edx, edx
jle 0x1001f948
movzx eax, word [esi]
mov edx, edi
add esi, 2
cmp ax, 0xd
je 0x1001fa30
jbe 0x1001f8d8
cmp ax, 0x22
je 0x1001fac0
cmp ax, 0x5c
jne 0x1001fa59
mov ebx, 0x5c5c
add ecx, 2
mov word [ecx - 2], bx
jmp 0x1001f900
mov byte [ecx], 0x22
mov ebx, dword [ebp - 0x18c]
test edi, edi
jle 0x1001fd19
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x138]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x180]
mov dword [esp + 0xc], str.__p___s___s___08lx___08lx___08Ix__n
mov dword [esp + 0x24], esi
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], esi
mov esi, dword [ebp + 8]
mov dword [esp + 8], str.INTERNET_InternetOpenUrlW
mov dword [esp + 0x1c], esi
mov esi, dword [ebp - 0x184]
mov dword [esp + 4], 0x100471a4
mov dword [esp + 0x18], esi
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
jmp 0x1001f29a
mov ecx, ebx
jmp 0x1001f454
mov edi, ebx
jmp 0x1001f4b4
lea esp, [ebp - 0xc]
xor edx, edx
pop ebx
mov eax, edx
pop esi
pop edi
pop ebp
ret
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1001f6e0
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1001f6e0
mov eax, 0x725c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1001f900
mov eax, 0x745c
add ecx, 2
mov word [ecx - 2], ax
jmp 0x1001f900
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x1001fca0
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + 0x10052270]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + 0x10052270]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + 0x10052270]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + 0x10052270]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x1001f900
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x1001f900
lea edi, [eax - 0x20]
cmp di, 0x5e
jbe 0x1001fc98
mov edi, eax
mov byte [ecx], 0x5c
add ecx, 5
shr di, 0xc
movzx edi, di
movzx ebx, byte [edi + 0x10052270]
mov edi, eax
shr di, 8
and edi, 0xf
mov byte [ecx - 4], bl
movzx ebx, byte [edi + 0x10052270]
mov edi, eax
and eax, 0xf
shr di, 4
movzx eax, byte [eax + 0x10052270]
and edi, 0xf
mov byte [ecx - 3], bl
movzx ebx, byte [edi + 0x10052270]
mov byte [ecx - 1], al
mov byte [ecx - 2], bl
jmp 0x1001f6e0
mov edi, 0x225c
add ecx, 2
mov word [ecx - 2], di
jmp 0x1001f6e0
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], 0
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x138]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x184]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x178]
mov dword [esp], eax
call sym.wininet.dll_HttpOpenRequestW
sub esp, 0x20
mov edx, eax
test eax, eax
je 0x1001fd39
mov eax, dword [ebp + 8]
mov dword [esp], edx
mov dword [esp + 0xc], 0x20000000
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x180], edx
mov dword [esp + 4], eax
call sym.wininet.dll_HttpAddRequestHeadersW
mov edx, dword [ebp - 0x180]
sub esp, 0x10
mov dword [esp], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
call sym.wininet.dll_HttpSendRequestW
mov edx, dword [ebp - 0x180]
sub esp, 0x14
test eax, eax
jne 0x1001f822
mov eax, dword fs:[0x18]
cmp dword [eax + 0x34], 0x3e5
je 0x1001f822
mov dword [esp], edx
call sym.wininet.dll_InternetCloseHandle
sub esp, 4
jmp 0x1001f58a
xor eax, eax
jmp 0x1001f2ed
mov byte [ecx], 0x22
mov ebx, dword [ebp - 0x184]
test edi, edi
jle 0x1001fcf8
mov edx, 0x2e2e
mov byte [ecx + 3], 0x2e
lea eax, [ecx + 4]
mov word [ecx + 1], dx
mov byte [eax], 0
lea eax, [ebp - 0x138]
mov dword [esp], eax
call sym.___wine_dbg_strdup
mov dword [ebp - 0x184], eax
jmp 0x1001f855
movzx eax, bx
mov dword [esp], 0x1004c264
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf.constprop.0_4
jmp 0x1001f97a
mov byte [ecx], al
inc ecx
jmp 0x1001f6e0
mov byte [ecx], al
inc ecx
jmp 0x1001f900
mov dword [ebp - 0x184], 0
jmp 0x1001f41e
mov dword [ebp - 0x17c], 0
jmp 0x1001f3b8
mov dword [ebp - 0x184], 0x1004c26a
jmp 0x1001f855
mov eax, 0x1004c26a
jmp 0x1001f97a
mov eax, 0x224c
mov byte [ebp - 0x136], 0x22
lea ecx, [ebp - 0x136]
mov word [ebp - 0x138], ax
lea eax, [ecx + 1]
jmp 0x1001fc61
mov esi, 0x224c
mov byte [ebp - 0x136], 0x22
lea ecx, [ebp - 0x136]
mov word [ebp - 0x138], si
lea eax, [ecx + 1]
jmp 0x1001f969
xor ebx, ebx
mov eax, 2
jmp 0x1001f388
xor ebx, ebx
mov eax, 2
jmp 0x1001f3f0
mov eax, dword [ebp - 0x178]
mov dword [esp], eax
call sym.wininet.dll_InternetCloseHandle
sub esp, 4
jmp 0x1001f58a
mov dword [esp + 8], 0xebb
mov dword [esp + 4], str..._src_wine_dlls_wininet_internet.c
mov dword [esp], str.urlComponents.lpszUrlPath__urlComponents.dwUrlPathLength__urlComponents.lpszExtraInfo
call dword [sym.imp.ucrtbase.dll__assert]
nop
nop
nop
nop