Function at 0x10093040
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022aa29
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x102db080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
cmp dword [esi + 0x7c], 7
lea edi, [esi + 0x68]
mov al, byte [ebp + 8]
mov byte [ebp - 0xe5], al
mov dword [ebp - 0x108], esi
mov byte [ebp - 0x118], al
mov byte [ebp - 0xe6], 1
mov dword [ebp - 4], 0
jbe 0x100930a1
mov edi, dword [edi]
lea eax, [ebp - 0x104]
mov dword [ebp - 0xf4], eax
call fcn.10088a70
mov ecx, eax
test ecx, ecx
je 0x1009381c
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x104], eax
mov byte [ebp - 4], 1
test edi, edi
je 0x10093103
test edi, 0xffff0000
jne 0x100930ed
movzx eax, di
lea ecx, [ebp - 0x104]
push eax
call fcn.10087a30
jmp 0x10093112
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100930f2
sub ecx, edx
sar ecx, 1
jmp 0x10093105
xor ecx, ecx
push ecx
push edi
lea ecx, [ebp - 0x104]
call fcn.10088120
push str.Settings
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 2
call fcn.1004e380
xor edi, edi
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x10c], edi
movzx eax, byte [ebp - 0xe5]
sub eax, 0x7fffffff
lea ecx, [ebp - 0xec]
mov dword [ebp - 0xec], edi
push ecx
push 0x20119
push edi
push dword [ebp - 0x104]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, eax
test ecx, ecx
jne 0x10093182
mov edi, dword [ebp - 0xec]
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x110], 0x100
xor eax, eax
mov byte [ebp - 4], 3
test ecx, ecx
cmovne eax, ecx
test eax, eax
jne 0x1009370c
mov dword [ebp - 0x1c], eax
xorps xmm0, xmm0
lea eax, [ebp - 0xec]
mov dword [ebp - 0x18], 7
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xec], 0x107
push eax
movups xmmword [ebp - 0x2c], xmm0
call fcn.1008a040
mov ecx, dword [ebp - 0xec]
mov edx, eax
mov dword [ebp - 0x18], ecx
xor eax, eax
mov dword [ebp - 0x2c], edx
mov ecx, 0x82
mov dword [ebp - 0x1c], 0x104
mov edi, edx
rep stosd dword es:[edi], eax
add esp, 8
mov word [edx + 0x208], ax
cmp dword [ebp - 0x18], 7
lea ecx, [ebp - 0xec]
mov edi, dword [ebp - 0x114]
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
push ecx
push eax
mov dword [ebp - 0xf4], eax
lea eax, [ebp - 0xfc]
push eax
push 0
push str.LocalCacheFolder
push edi
mov byte [ebp - 4], 5
mov dword [ebp - 0xec], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1009328a
mov eax, dword [ebp - 0xfc]
cmp eax, 1
je 0x10093240
cmp eax, 2
jne 0x1009328a
mov edx, dword [ebp - 0xf4]
mov ecx, dword [ebp - 0xec]
test edx, edx
je 0x1009326c
test ecx, ecx
je 0x10093267
test cl, 1
jne 0x1009328a
mov eax, ecx
shr eax, 1
cmp word [edx + eax*2 - 2], 0
je 0x1009326c
jmp 0x1009328a
xor eax, eax
mov word [edx], ax
shr ecx, 1
je 0x1009328a
lea eax, [ecx - 1]
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.10093d50
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 4]
call fcn.1007dff0
cmp byte [ebp - 0xe5], 0
je 0x100932f7
push 0
push 0x104
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xec], 0x104
call fcn.10093d50
cmp dword [ebp - 0x18], 7
lea ecx, [ebp - 0xec]
push ecx
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x114]
push eax
push str.alist_path
call fcn.10090aa0
test eax, eax
jne 0x10093313
mov eax, dword [ebp - 0xec]
test eax, eax
je 0x10093313
push 0
dec eax
lea ecx, [ebp - 0x2c]
push eax
call fcn.10093d50
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 0x1c]
call fcn.1007dff0
jmp 0x10093313
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.100905a0
push eax
lea ecx, [esi + 0x1c]
call fcn.1007dff0
lea ecx, [ebp - 0x44]
call fcn.10089a70
lea eax, [ebp - 0xf4]
mov dword [ebp - 0xe4], 0
push eax
lea eax, [ebp - 0xe4]
mov dword [ebp - 0xf4], 4
push eax
lea eax, [ebp - 0xfc]
push eax
push 0
push str.Server_Mode
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1009335f
cmp dword [ebp - 0xfc], 4
jne 0x1009335f
mov eax, dword [ebp - 0xe4]
mov dword [esi], eax
lea eax, [ebp - 0xf4]
mov dword [ebp - 0xf4], 4
push eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xfc]
push eax
push 0
push str.Check_for_Updates
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100933a2
cmp dword [ebp - 0xfc], 4
jne 0x100933a2
mov eax, dword [ebp - 0xe4]
mov dword [esi + 0x4c], eax
lea eax, [ebp - 0xf4]
mov dword [ebp - 0xf4], 4
push eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xfc]
push eax
push 0
push str.Application_Look
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100933e5
cmp dword [ebp - 0xfc], 4
jne 0x100933e5
mov eax, dword [ebp - 0xe4]
mov dword [esi + 0x50], eax
lea eax, [ebp - 0xf4]
mov dword [ebp - 0xf4], 4
push eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xfc]
push eax
push 0
push str.Restore_Windows
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10093428
cmp dword [ebp - 0xfc], 4
jne 0x10093428
mov eax, dword [ebp - 0xe4]
mov dword [esi + 0x54], eax
lea eax, [ebp - 0xf4]
mov dword [ebp - 0xf4], 4
push eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xfc]
push eax
push 0
push str.Minimize_To_Tray
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1009346b
cmp dword [ebp - 0xfc], 4
jne 0x1009346b
mov eax, dword [ebp - 0xe4]
mov dword [esi + 0x58], eax
lea eax, [ebp - 0xf4]
mov dword [ebp - 0xf4], 4
push eax
lea eax, [ebp - 0xe4]
push eax
lea eax, [ebp - 0xfc]
push eax
push 0
push str.AllowAgentsSearch
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100934ae
cmp dword [ebp - 0xfc], 4
jne 0x100934ae
mov eax, dword [ebp - 0xe4]
mov dword [esi + 0x5c], eax
lea eax, [ebp - 0x100]
mov dword [ebp - 0x100], 0xfffffffe
push eax
lea eax, [ebp - 0xf4]
mov dword [ebp - 0xfc], closesocket
push eax
lea ecx, [ebp - 0xf0]
mov dword [ebp - 0xf4], 0xfffffffe
call fcn.1008e860
mov ecx, dword [ebp - 0xec]
mov eax, dword [ebp - 0xf0]
push 0
mov dword [esi + 0x64], ecx
lea ecx, [ebp - 0x2c]
push 0x104
mov dword [esi + 0x60], eax
mov dword [ebp - 0xec], 0x104
call fcn.10093d50
cmp dword [ebp - 0x18], 7
lea ecx, [ebp - 0xec]
push ecx
lea eax, [ebp - 0x2c]
cmova eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x114]
push eax
push str.LastSalogSrvErrorCheckTime
call fcn.10090aa0
test eax, eax
jne 0x10093617
mov eax, dword [ebp - 0xec]
test eax, eax
je 0x10093617
push 0
dec eax
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x2c]
call fcn.10093d50
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x44]
call fcn.10085240
cmp dword [ebp - 0x34], 0
mov byte [ebp - 4], 7
je 0x100935f4
cmp dword [ebp - 0x30], 7
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0xdc]
cmova eax, dword [ebp - 0x44]
push 0
mov dword [ebp - 0xe0], ecx
lea ecx, [ebp - 0xe0]
push eax
call fcn.10090920
push dword [ebp - 0xe0]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 8
call fcn.10089330
push 0x20
push eax
lea eax, [ebp - 0xf8]
mov byte [ebp - 4], 9
push eax
call fcn.1008cd70
mov ecx, dword [ebp - 0xf4]
add esp, 0xc
mov eax, dword [ebp - 0xf8]
mov dword [esi + 0x64], ecx
lea ecx, [ebp - 0x5c]
mov dword [esi + 0x60], eax
call fcn.100895a0
mov eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0xdc]
cmp eax, ecx
je 0x100935f4
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
lea ecx, [ebp - 0x44]
call fcn.10089a70
jmp 0x10093610
mov dword [ebp - 4], 5
push 0
push 0x104
lea ecx, [ebp - 0x2c]
call fcn.10093d50
cmp dword [ebp - 0x18], 7
lea ecx, [ebp - 0xec]
push ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0xec], 0x208
cmova eax, dword [ebp - 0x2c]
push eax
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0xf4]
push eax
push 0
push str.Webapp_Url
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100936bc
mov eax, dword [ebp - 0xf4]
cmp eax, 1
je 0x10093672
cmp eax, 2
jne 0x100936bc
mov edx, dword [ebp - 0xfc]
mov ecx, dword [ebp - 0xec]
test edx, edx
je 0x1009369e
test ecx, ecx
je 0x10093699
test cl, 1
jne 0x100936bc
mov eax, ecx
shr eax, 1
cmp word [edx + eax*2 - 2], 0
je 0x1009369e
jmp 0x100936bc
xor eax, eax
mov word [edx], ax
shr ecx, 1
je 0x100936bc
lea eax, [ecx - 1]
push 0
push eax
lea ecx, [ebp - 0x2c]
call fcn.10093d50
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 0x34]
call fcn.1007dff0
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 3
cmp ecx, 7
jbe 0x100936fc
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100936f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100936f2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100b9c1b
add esp, 8
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [ebp - 0x18], 7
mov ecx, esi
call fcn.100911e0
test al, al
je 0x10093729
cmp dword [esi], 0
je 0x10093729
push dword [ebp - 0x118]
mov ecx, esi
call fcn.10093e00
test edi, edi
je 0x10093734
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x104]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1009376a
lfence
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x1009376a
cmp dword [esi + 0x14], 0
mov dword [ebp - 4], 0xc
jne 0x100937f2
lea eax, [ebp - 0x44]
push eax
call fcn.10091eb0
mov edi, eax
add esi, 4
add esp, 4
cmp esi, edi
je 0x100937b6
mov ecx, esi
call fcn.10089a70
movups xmm0, xmmword [edi]
xor eax, eax
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
mov ecx, dword [ebp - 0x30]
cmp ecx, 7
jbe 0x100937f2
mov edx, dword [ebp - 0x44]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x100937e8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100937e8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100b9c1b
add esp, 8
mov al, byte [ebp - 0xe6]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100b9f43
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10088c90
int3