Function at 0x10003880
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x10029a63
mov eax, dword fs:[0]
push eax
mov eax, 0x1164
call fcn.10013480
mov eax, dword [0x10035204]
xor eax, esp
mov dword [esp + 0x1160], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10035204]
xor eax, esp
push eax
lea eax, [esp + 0x1178]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1188]
push 0x100364b8
mov dword [esp + 0x30], 0x100364b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esi + 0x5c]
xor ebx, ebx
lea edi, [esi + 8]
lea ebp, [esi + 0x24]
mov dword [esp + 0x1180], ebx
mov dword [esp + 0x24], eax
add esi, 0x78
call fcn.10002ed0
mov dword [esp + 0x28], eax
cmp eax, ebx
jne 0x1000392a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._proxy__reg_open_failed__d
push 0x100364d8
call fcn.10007c70
add esp, 0xc
push 0x100364b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x10003dab
push 0xffffffffffffffff
xor ecx, ecx
push ebx
mov word [esp + 0xe4], cx
push esi
lea ecx, [esp + 0xe4]
mov dword [esp + 0xfc], 7
mov dword [esp + 0xf8], ebx
call fcn.10002590
push 0x417
lea edx, [esp + 0x115]
push ebx
push edx
mov byte [esp + 0x118c], 1
mov byte [esp + 0x11c], bl
call fcn.10012850
push 0x417
lea eax, [esp + 0x539]
push ebx
push eax
mov byte [esp + 0x540], bl
call fcn.10012850
mov eax, dword [esp + 0xf4]
mov esi, 8
add esp, 0x18
mov dword [esp + 0x20], 0x418
cmp dword [esp + 0xf0], esi
jae 0x100039b9
lea eax, [esp + 0xdc]
push ebx
push ebx
push 0x418
lea ecx, [esp + 0x11c]
push ecx
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x110]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x100039e0
sub eax, edx
push eax
lea edx, [esp + 0x114]
push edx
call fcn.10001fd0
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x534]
push edx
push eax
lea eax, [esp + 0x124]
push eax
call fcn.10001860
push 0x832
lea edx, [esp + 0x95e]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x964], cx
call fcn.10012850
add esp, 0x24
push 0x419
lea eax, [esp + 0x944]
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x534]
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [esp + 0x940]
lea ecx, [eax + 2]
jmp 0x10003a60
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x10003a60
sub eax, ecx
sar eax, 1
push eax
lea edx, [esp + 0x944]
push edx
lea ecx, [esp + 0xe0]
call fcn.10002690
push 0x1002b878
lea eax, [esp + 0xa4]
push edi
push eax
call fcn.10003700
push ebp
push eax
lea ecx, [esp + 0xd0]
push ecx
mov byte [esp + 0x1198], 2
call fcn.100037d0
push 0x1002b878
push eax
lea edx, [esp + 0xa4]
push edx
mov byte [esp + 0x11a4], 3
call fcn.10003700
mov ecx, dword [esp + 0x48]
push ecx
push eax
lea edx, [esp + 0x78]
push edx
mov byte [esp + 0x11b0], 4
call fcn.100037d0
push 0x1002b878
push eax
lea eax, [esp + 0x68]
push eax
mov byte [esp + 0x11bc], 5
call fcn.10003700
lea ecx, [esp + 0x114]
push ecx
push eax
lea edx, [esp + 0xac]
push edx
mov byte [esp + 0x11c8], 6
call fcn.100037d0
add esp, 0x48
push 0x1002b870
push eax
lea eax, [esp + 0xfc]
push eax
mov byte [esp + 0x118c], 7
call fcn.10003700
add esp, 0xc
cmp dword [esp + 0x80], esi
jb 0x10003b4e
mov ecx, dword [esp + 0x6c]
push ecx
call fcn.10012756
add esp, 4
mov edi, 7
xor edx, edx
mov dword [esp + 0x80], edi
mov dword [esp + 0x7c], ebx
mov word [esp + 0x6c], dx
cmp dword [esp + 0x48], esi
jb 0x10003b78
mov eax, dword [esp + 0x34]
push eax
call fcn.10012756
add esp, 4
xor ecx, ecx
mov dword [esp + 0x48], edi
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], cx
cmp dword [esp + 0x64], esi
jb 0x10003b9a
mov edx, dword [esp + 0x50]
push edx
call fcn.10012756
add esp, 4
xor eax, eax
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], ax
cmp dword [esp + 0x9c], esi
jb 0x10003bc2
mov ecx, dword [esp + 0x88]
push ecx
call fcn.10012756
add esp, 4
xor edx, edx
mov dword [esp + 0x9c], edi
mov dword [esp + 0x98], ebx
mov word [esp + 0x88], dx
cmp dword [esp + 0xd4], esi
jb 0x10003bf3
mov eax, dword [esp + 0xc0]
push eax
call fcn.10012756
add esp, 4
xor ecx, ecx
mov dword [esp + 0xd4], edi
mov dword [esp + 0xd0], ebx
mov word [esp + 0xc0], cx
mov byte [esp + 0x1180], 0xe
cmp dword [esp + 0xb8], esi
jb 0x10003c2c
mov edx, dword [esp + 0xa4]
push edx
call fcn.10012756
add esp, 4
xor eax, eax
mov word [esp + 0xa4], ax
mov eax, dword [esp + 0xf8]
mov dword [esp + 0xb8], edi
mov dword [esp + 0xb4], ebx
cmp dword [esp + 0x10c], esi
jae 0x10003c5b
lea eax, [esp + 0xf8]
mov ecx, dword [esp + 0x108]
mov ebp, dword [esp + 0x28]
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea edx, [ecx + ecx + 2]
push edx
push eax
push 1
push ebx
push str.ieproxy
push ebp
call edi
test eax, eax
je 0x10003c9a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str._proxy__reg_save_failed__d
push 0x100364d8
call fcn.10007c70
add esp, 0xc
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov eax, 4
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push str.proxytype
push ebp
call esi
test eax, eax
jne 0x10003d28
cmp dword [esp + 0x14], 2
jne 0x10003d28
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x20]
push edx
push ebx
push str.customproxytype
push ebp
call esi
test eax, eax
jne 0x10003d28
cmp dword [esp + 0x14], ebx
jne 0x10003d28
mov eax, dword [esp + 0xf8]
mov esi, 8
cmp dword [esp + 0x10c], esi
jae 0x10003d0e
lea eax, [esp + 0xf8]
mov ecx, dword [esp + 0x108]
lea edx, [ecx + ecx + 2]
push edx
push eax
push 1
push ebx
push str.customhttp
push ebp
call edi
jmp 0x10003d2d
mov esi, 8
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x10c], esi
jb 0x10003d4d
mov eax, dword [esp + 0xf8]
push eax
call fcn.10012756
add esp, 4
xor ecx, ecx
mov edi, 7
mov dword [esp + 0x10c], edi
mov dword [esp + 0x108], ebx
mov word [esp + 0xf8], cx
cmp dword [esp + 0xf0], esi
jb 0x10003d83
mov edx, dword [esp + 0xdc]
push edx
call fcn.10012756
add esp, 4
xor eax, eax
push 0x100364b8
mov dword [esp + 0xf4], edi
mov dword [esp + 0xf0], ebx
mov word [esp + 0xe0], ax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
mov ecx, dword [esp + 0x1178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1160]
xor ecx, esp
call fcn.10012840
add esp, 0x1170
ret