Function at 0x1001f010
Capabilities:
Get proxy
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10070d2c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa80
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x40], ebx
xor ebp, ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x58], 0x104
mov dword [esp + 0x1c], ebx
lea eax, [esp + 0x14]
mov dword [esp + 0xa98], ebx
push eax
push 0x20019
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push closesocket
mov dword [esp + 0x28], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x1001f3ea
lea ecx, [esp + 0x1c]
call fcn.1001f4d0
mov ecx, dword [esp + 0x14]
cmp eax, ebx
mov dword [esp + 0x1c], ecx
jne 0x1001f3ea
lea edx, [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edx
lea eax, [esp + 0x44]
lea edx, [esp + 0x1c]
push eax
push edx
push ebx
push str.ProxyEnable
push ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], 4
call esi
cmp eax, ebx
jne 0x1001f3ea
cmp dword [esp + 0x40], ebx
je 0x1001f3ea
lea eax, [esp + 0x58]
lea ecx, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x20]
lea edx, [esp + 0x1c]
push ecx
push edx
push ebx
push str.ProxyServer
push eax
mov dword [esp + 0x30], ebx
call esi
cmp eax, ebx
jne 0x1001f3ea
mov cl, byte [esp + 0x13]
push ebx
mov byte [esp + 0x24], cl
push ebx
lea ecx, [esp + 0x28]
call fcn.100159a0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], ebx
mov dl, byte [esp + 0x13]
push ebx
lea ecx, [esp + 0x4c]
mov byte [esp + 0xa9c], 1
mov byte [esp + 0x4c], dl
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
lea edi, [esp + 0x6c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 0x6c]
push ecx
push eax
lea ecx, [esp + 0x50]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push ebx
lea ecx, [esp + 0x24]
push 0x3b
push ecx
sub esp, 0x10
lea edx, [esp + 0x64]
mov ecx, esp
mov dword [esp + 0x34], esp
push edx
mov byte [esp + 0xab8], 2
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea eax, [esp + 0x48]
push eax
call fcn.1001f5f0
add esp, 0x20
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0xa98], 3
mov edx, dword [ecx]
lea ecx, [esp + 0x48]
push edx
push ebx
push eax
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov edi, 1
lea ecx, [esp + 0x2c]
push edi
mov byte [esp + 0xa9c], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp dword [esp + 0x28], edi
jbe 0x1001f300
mov ecx, dword [esp + 0x24]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [esp + 0x14], eax
je 0x1001f300
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov al, byte [esp + 0x13]
push ebx
push ebx
lea ecx, [esp + 0x34]
mov byte [esp + 0x34], al
call fcn.100159a0
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
push str.http
push 2
lea ecx, [esp + 0x34]
push 0x3d
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0xaa8], 4
call fcn.10015350
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea edx, [esp + 0x7c]
push edx
call fcn.1001f5f0
add esp, 0x20
mov ecx, eax
mov byte [esp + 0xa9c], 5
call dword [sym.imp.MSVCP60.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call esi
test eax, eax
jne 0x1001f24f
mov edx, dword [esp + 0x34]
mov byte [esp + 0x13], 1
cmp edx, 2
sete al
cmp al, bl
jne 0x1001f253
mov byte [esp + 0x13], bl
push edi
lea ecx, [esp + 0x60]
mov byte [esp + 0xa9c], 4
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp byte [esp + 0x13], bl
jne 0x1001f2b7
mov eax, dword [esp + 0x30]
mov byte [esp + 0xa98], 2
push eax
mov ecx, dword [eax]
lea eax, [esp + 0x48]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10015910
mov ecx, dword [esp + 0x30]
push ecx
call fcn.1003c010
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
add esp, 4
mov dword [esp + 0x30], ebx
mov eax, dword [edx]
mov dword [esp + 0x34], ebx
cmp eax, ecx
mov dword [esp + 0x14], eax
jne 0x1001f1ce
jmp 0x1001f300
mov eax, dword [esp + 0x30]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov eax, dword [eax]
mov edx, dword [ecx]
add eax, 8
push edx
push ebx
push eax
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [esp + 0x30]
mov byte [esp + 0xa98], 2
push eax
mov ecx, dword [eax]
lea eax, [esp + 0x48]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10015910
mov ecx, dword [esp + 0x30]
push ecx
call fcn.1003c010
add esp, 4
push ebx
lea edx, [esp + 0x24]
push 0x3a
push edx
sub esp, 0x10
lea eax, [esp + 0x64]
mov ecx, esp
mov dword [esp + 0x60], esp
push eax
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x78]
push ecx
call fcn.1001f5f0
add esp, 0x20
mov edx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0xa98], 6
mov ecx, dword [edx]
push ecx
push ebx
push eax
lea ecx, [esp + 0x54]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
push edi
lea ecx, [esp + 0x60]
mov byte [esp + 0xa9c], 2
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
cmp dword [esp + 0x28], edi
jbe 0x1001f382
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
cmp eax, ebx
jne 0x1001f373
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push 0xa
push ebx
push eax
call dword [sym.imp.MSVCRT.dll_strtol]
add esp, 0xc
mov ebp, eax
mov eax, dword [esp + 0x4c]
cmp eax, ebx
je 0x1001f3a7
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x1001f39e
cmp al, 0xff
je 0x1001f39e
dec al
mov byte [ecx], al
jmp 0x1001f3a7
push ecx
call fcn.1003c010
add esp, 4
mov eax, dword [esp + 0x24]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov esi, dword [eax]
mov byte [esp + 0xa98], bl
cmp esi, eax
mov edi, eax
je 0x1001f3e1
mov eax, esi
mov esi, dword [esi]
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x28]
call fcn.10015cb0
cmp esi, edi
jne 0x1001f3c6
mov eax, dword [esp + 0x24]
push eax
call fcn.1003c010
add esp, 4
lea ecx, [esp + 0x170]
call fcn.1001da70
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0xaa0]
cmp eax, ebx
mov byte [esp + 0xa98], 7
push ecx
je 0x1001f423
lea edx, [esp + 0x70]
push ebp
lea eax, [esp + 0x178]
push edx
push eax
call fcn.1001dbc0
jmp 0x1001f430
lea edx, [esp + 0x174]
push edx
call fcn.1001daf0
mov ecx, dword [esp + 0xaa4]
cmp eax, ebx
mov byte [ecx], bl
je 0x1001f46c
mov eax, dword [esp + 0xaac]
mov edx, dword [esp + 0xaa8]
push eax
push edx
lea eax, [esp + 0x178]
push ecx
push eax
call fcn.1001e150
lea ecx, [esp + 0x170]
mov dword [esp + 0x3c], eax
push ecx
call fcn.1001dc30
lea ecx, [esp + 0x170]
mov byte [esp + 0xa98], bl
call fcn.1001dae0
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x1001f48e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0xa90]
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xa8c
ret 0x10