Function at 0x4e97a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x62d6c3
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x70a308]
xor eax, esp
mov dword [esp + 0x140], eax
push ebx
push esi
push edi
mov eax, dword [0x70a308]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
xor ebx, ebx
mov esi, ecx
xor edi, edi
mov dword [esp + 0x2c], ebx
call fcn.005d169f
push 0x5ff
mov ecx, esi
mov dword [esi + 0x84], esi
mov dword [esi + 0x88], 0x5ff
call fcn.005d0697
mov eax, dword [eax + 0x20]
mov dword [esi + 0x80], eax
push 0x5fe
mov ecx, esi
mov dword [esi + 0x94], esi
mov dword [esi + 0x98], 0x5fe
call fcn.005d0697
mov ecx, dword [eax + 0x20]
mov dword [esi + 0x90], ecx
push 0x5fc
mov ecx, esi
mov dword [esi + 0xa4], esi
call fcn.005d0697
mov edx, dword [eax + 0x20]
mov dword [esi + 0xa0], edx
cmp dword [0x70f738], edi
je 0x4e9875
push esi
call fcn.00454ae0
add esp, 4
push 0x117
push esi
mov ecx, 0x70f6f8
call fcn.004d64c0
lea ecx, [esp + 0x20]
call fcn.004024e0
mov dword [esp + 0x160], edi
mov eax, dword [esi + 0xac]
mov ecx, dword [0x710aec]
push eax
push ecx
lea edx, [esp + 0x28]
push 0x650bf0
push edx
call fcn.00402f60
mov eax, dword [esp + 0x30]
add esp, 0x10
push eax
mov ecx, esi
call fcn.005d0801
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax - 0xc]
cmp ecx, edi
jne 0x4e98ee
cmp byte [esi + 0xb4], 0
mov eax, str.Proxy_Authorization_Required
jne 0x4e98d1
mov eax, str.Authorization_Required
push eax
lea ecx, [esp + 0x1c]
call fcn.004030e0
mov byte [esp + 0x160], 1
mov ebx, 1
mov dword [esp + 0x2c], ebx
mov eax, dword [eax]
mov ecx, dword [0x710af0]
push eax
push ecx
lea edx, [esp + 0x28]
push 0x650bf0
push edx
call fcn.00402f60
add esp, 0x10
mov dword [esp + 0x160], edi
test bl, 1
je 0x4e9924
and ebx, 0xfffffffe
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], ebx
call fcn.00402550
mov eax, dword [esi + 0x80]
mov ebx, dword [esp + 0x20]
cmp eax, edi
je 0x4e994e
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4e994e
mov eax, dword [esi + 0x80]
push ebx
push edi
push 0xc
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp byte [esi + 0xb4], 0
je 0x4e9bde
cmp byte [esi + 0xb5], 0
lea ecx, [esp + 0x14]
je 0x4e9a66
call fcn.004024e0
mov byte [esp + 0x160], 2
lea ecx, [esp + 0x1c]
call fcn.004024e0
mov byte [esp + 0x160], 3
mov eax, dword [esi + 0xac]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
mov ecx, 0x710078
call fcn.004bcbd0
test eax, eax
je 0x4e9a50
xor eax, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], edi
mov word [esp + 0x38], ax
mov byte [esp + 0x160], 4
mov eax, dword [esp + 0x14]
push eax
mov ebx, eax
call fcn.0059c050
movzx ecx, al
add esp, 4
neg ecx
sbb ecx, ecx
and ecx, 0xfde9
push ecx
push ebx
lea ecx, [esp + 0x3c]
call fcn.00401960
mov eax, dword [esp + 0x34]
cmp eax, edi
jne 0x4e99f7
lea eax, [esp + 0x38]
mov edx, dword [esi + 0xa0]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push edi
push 0x143
push edx
call ebx
mov eax, dword [esp + 0x34]
cmp eax, edi
jne 0x4e9a19
lea eax, [esp + 0x38]
push eax
mov eax, dword [esi + 0xa0]
push 0xffffffffffffffff
push 0x14d
push eax
call ebx
mov ecx, dword [esi + 0x90]
push edi
push 1
push 0xf1
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [esp + 0x160], 3
lea ecx, [esp + 0x34]
call fcn.004011f0
mov byte [esp + 0x160], 2
lea ecx, [esp + 0x1c]
call fcn.00402550
jmp 0x4e9e35
call fcn.004024e0
mov byte [esp + 0x160], 5
mov ebx, dword [esi + 0xa8]
mov ecx, ebx
mov eax, 0x64ef50
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e9aa0
test dl, dl
je 0x4e9a9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e9aa0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e9a80
xor eax, eax
jmp 0x4e9aa5
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x4e9ab0
push str.HttpUserName
jmp 0x4e9aec
mov ecx, ebx
mov eax, 0x64ef30
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4e9ad7
test dl, dl
je 0x4e9ad3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4e9ad7
add eax, 2
add ecx, 2
test dl, dl
jne 0x4e9ab7
xor eax, eax
jmp 0x4e9adc
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
jne 0x4e9ae7
push str.HttpsUserName
jmp 0x4e9aec
push str.FtpUserName
lea ecx, [esp + 0x18]
call fcn.00402fc0
push 0x100
lea edx, [esp + 0x50]
push edi
push edx
mov dword [esp + 0x24], 0x100
call fcn.005f8cb0
mov edx, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
mov eax, dword [0x70f604]
lea ecx, [esp + 0x50]
push ecx
push edi
push edi
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4e9e35
xor ecx, ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], edi
mov word [esp + 0x38], cx
mov byte [esp + 0x160], 6
lea edx, [esp + 0x4c]
push edx
call fcn.0059c050
movzx eax, al
add esp, 4
neg eax
sbb eax, eax
and eax, 0xfde9
push eax
lea ecx, [esp + 0x50]
push ecx
lea ecx, [esp + 0x3c]
call fcn.00401960
mov eax, dword [esp + 0x34]
cmp eax, edi
jne 0x4e9b80
lea eax, [esp + 0x38]
mov edx, dword [esi + 0xa0]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push edi
push 0x143
push edx
call ebx
mov eax, dword [esp + 0x34]
cmp eax, edi
jne 0x4e9ba2
lea eax, [esp + 0x38]
push eax
mov eax, dword [esi + 0xa0]
push 0xffffffffffffffff
push 0x14d
push eax
call ebx
mov ecx, dword [esi + 0x90]
push edi
push 1
push 0xf1
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [esp + 0x160], 5
lea ecx, [esp + 0x34]
call fcn.004011f0
jmp 0x4e9e35
mov edx, dword [0x70fb94]
mov eax, dword [edx + 0xc]
neg eax
sbb eax, eax
mov dword [esp + 0x18], eax
cmp eax, edi
je 0x4e9d40
lea eax, [esp + 0x28]
mov dword [esp + 0x30], eax
mov bl, 0xa
lea ecx, [esp + 0x1c]
call fcn.004024e0
mov byte [esp + 0x160], 7
lea ecx, [esp + 0x24]
call fcn.004024e0
mov byte [esp + 0x160], 8
lea ecx, [esp + 0x28]
call fcn.004024e0
mov byte [esp + 0x160], bl
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [0x70fb94]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.004e9700
xor ecx, ecx
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], edi
mov word [esp + 0x44], cx
mov byte [esp + 0x160], 0xb
mov eax, dword [esp + 0x24]
push eax
mov edi, eax
call fcn.0059c050
movzx edx, al
add esp, 4
neg edx
sbb edx, edx
and edx, 0xfde9
push edx
push edi
lea ecx, [esp + 0x48]
call fcn.00401960
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4e9c97
lea eax, [esp + 0x44]
push eax
mov eax, dword [esi + 0xa0]
push 0
push 0x143
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [esp + 0x160], bl
lea ecx, [esp + 0x40]
call fcn.004011f0
mov byte [esp + 0x160], 0xc
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e9ce4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x160], 7
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e9d0c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x160], 0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e9d34
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor edi, edi
cmp dword [esp + 0x18], edi
jne 0x4e9c01
lea ecx, [esp + 0x14]
call fcn.004024e0
mov byte [esp + 0x160], 0x11
mov ecx, dword [esi + 0xac]
mov edx, dword [esi + 0xa8]
push ecx
push edx
lea eax, [esp + 0x1c]
push 0x64ed70
push eax
call fcn.00402f60
add esp, 0x10
lea ecx, [esp + 0x34]
call fcn.004b2050
mov byte [esp + 0x160], 0x12
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [0x70fb94]
push edx
call fcn.004e96b0
test eax, eax
je 0x4e9e24
xor eax, eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x48], edi
mov word [esp + 0x44], ax
mov byte [esp + 0x160], 0x13
mov eax, dword [esp + 0x34]
push eax
mov ebx, eax
call fcn.0059c050
movzx ecx, al
add esp, 4
neg ecx
sbb ecx, ecx
and ecx, 0xfde9
push ecx
push ebx
lea ecx, [esp + 0x48]
call fcn.00401960
mov eax, dword [esp + 0x40]
cmp eax, edi
jne 0x4e9de9
lea eax, [esp + 0x44]
mov edx, dword [esi + 0xa0]
push eax
push 0xffffffffffffffff
push 0x14d
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi + 0x90]
push edi
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov byte [esp + 0x160], 0x12
lea ecx, [esp + 0x40]
call fcn.004011f0
mov byte [esp + 0x160], 0x11
lea ecx, [esp + 0x34]
call fcn.00407170
mov byte [esp + 0x160], 0
lea ecx, [esp + 0x14]
call fcn.00402550
mov dword [esp + 0x160], 0xffffffff
lea ecx, [esp + 0x20]
call fcn.00402550
mov eax, 1
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.005f85e7
mov esp, ebp
pop ebp
ret