Function at 0x100035c0
Capabilities:
Get session user name
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001277e
mov eax, dword fs:[0]
push eax
sub esp, 0x6a4
mov eax, dword [0x10019154]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [0x10019120]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x6b0], eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x694], ecx
mov ecx, 0x10019120
mov dword [ebp - 0x6ac], esi
call eax
add eax, 0x10
mov dword [ebp - 0x6a0], eax
mov dword [ebp - 4], 0
test esi, esi
jne 0x10003633
xor edx, edx
xor eax, eax
jmp 0x10003689
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jg 0x10003670
lea ebx, [eax + eax]
mov eax, ebx
call fcn.10007820
mov edi, esp
test edi, edi
je 0x10003670
push 0
push 0
push ebx
push edi
push 0xffffffffffffffff
push esi
push 0
push 3
mov byte [edi], 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
neg eax
sbb eax, eax
and eax, edi
jmp 0x10003672
xor eax, eax
mov edx, eax
test eax, eax
je 0x10003689
lea esi, [eax + 1]
jmp 0x10003680
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003680
sub eax, esi
push eax
push edx
lea ecx, [ebp - 0x6a0]
call fcn.10002de0
mov edx, dword [0x10019120]
mov eax, dword [edx + 0xc]
mov ecx, 0x10019120
call eax
add eax, 0x10
mov dword [ebp - 0x690], eax
lea ecx, [ebp - 0x690]
push ecx
push 0x1a
push 0x10014f88
mov byte [ebp - 4], 1
call fcn.100030b0
add esp, 0xc
test eax, eax
je 0x10003d2d
mov edx, dword [ebp - 0x694]
push edx
lea ecx, [ebp - 0x698]
call fcn.100031b0
push eax
lea eax, [ebp - 0x69c]
push 0x10013df4
mov bl, 2
push eax
mov byte [ebp - 4], bl
call fcn.10002f80
push 0x10013df4
push eax
lea ecx, [ebp - 0x694]
push ecx
mov byte [ebp - 4], 3
call fcn.10002ea0
add esp, 0x18
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [ebp - 0x690]
mov byte [ebp - 4], 4
call fcn.10002be0
mov eax, dword [ebp - 0x694]
add eax, 0xfffffff0
mov byte [ebp - 4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x1000374f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x69c]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003774
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x698]
add eax, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x1000379a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x10019120]
mov eax, dword [edx + 0xc]
mov ecx, 0x10019120
call eax
add eax, 0x10
mov dword [ebp - 0x69c], eax
lea ecx, [ebp - 0x690]
push ecx
lea ecx, [ebp - 0x69c]
mov byte [ebp - 4], 5
call fcn.10002b70
push 0xa
push str.search.ini
lea ecx, [ebp - 0x69c]
call fcn.10002be0
mov edx, dword [0x10019120]
mov eax, dword [edx + 0xc]
mov ecx, 0x10019120
call eax
add eax, 0x10
mov dword [ebp - 0x68c], eax
lea ecx, [ebp - 0x690]
push ecx
lea ecx, [ebp - 0x68c]
mov byte [ebp - 4], 6
call fcn.10002b70
push 0xe
push str.operaprefs.ini
lea ecx, [ebp - 0x68c]
call fcn.10002be0
mov edx, dword [0x10019120]
mov eax, dword [edx + 0xc]
mov ecx, 0x10019120
mov dword [ebp - 0x694], 0
call eax
add eax, 0x10
mov dword [ebp - 0x698], eax
mov esi, 1
push esi
lea ecx, [ebp - 0x698]
push str.Search_Engine__d
push ecx
mov byte [ebp - 4], 7
call fcn.10002e80
mov edi, dword [ebp - 0x69c]
mov ebx, dword [ebp - 0x698]
add esp, 0xc
push edi
push 0x200
lea edx, [ebp - 0x684]
push edx
push 0
push str.UNIQUEID
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x10003923
lea esp, [esp]
mov ecx, str.BEBBFFDF3C47064F82B65AE81B78EB02
lea eax, [ebp - 0x684]
jmp 0x100038a0
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100038c6
test dx, dx
je 0x100038c2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100038c6
add eax, 4
add ecx, 4
test dx, dx
jne 0x100038a0
xor eax, eax
jmp 0x100038cb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x10003919
inc esi
cmp esi, 0x64
jge 0x10003da2
push esi
lea eax, [ebp - 0x698]
push str.Search_Engine__d
push eax
call fcn.10002e80
mov ebx, dword [ebp - 0x698]
add esp, 0xc
push edi
push 0x200
lea ecx, [ebp - 0x684]
push ecx
push 0
push str.UNIQUEID
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x10003890
jmp 0x10003923
mov dword [ebp - 0x694], 1
push 0x103
lea edx, [ebp - 0x17f]
push 0
push edx
mov byte [ebp - 0x180], 0
call fcn.10007130
add esp, 0xc
push 0
lea eax, [ebp - 0x6a8]
push eax
push 0
push 0x20119
push 0
push 0
push 0
push str.SOFTWAREMicrosoftCryptography
mov esi, 0x104
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x6a4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x100039ab
lea ecx, [ebp - 0x6a4]
push ecx
mov ecx, dword [ebp - 0x6a8]
lea edx, [ebp - 0x180]
push edx
lea eax, [ebp - 0x688]
push eax
push 0
push str.MachineGuid
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [ebp - 0x6a8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x6a4]
push eax
lea ecx, [ebp - 0x284]
push ecx
mov dword [ebp - 0x6a4], esi
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov eax, dword [ebp - 0x6a0]
add eax, 0xfffffff0
push eax
call fcn.10002000
add esp, 4
add eax, 0x10
mov dword [ebp - 0x688], eax
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 8
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100039f0
sub eax, edx
push eax
lea edx, [ebp - 0x180]
push edx
lea ecx, [ebp - 0x688]
call fcn.10002d20
lea eax, [ebp - 0x284]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003a15
sub eax, esi
push eax
lea eax, [ebp - 0x284]
push eax
lea ecx, [ebp - 0x688]
call fcn.10002d20
push 0xa
push 0x10013668
lea ecx, [ebp - 0x688]
call fcn.10002d20
mov edx, dword [ebp - 0x688]
xor eax, eax
lea ecx, [ebp - 0x30]
push ecx
push edx
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
call fcn.10001600
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x7c]
push 0x25
push ecx
call fcn.10001f60
mov edx, dword [ebp - 0x68c]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0x14
push edx
lea eax, [ebp - 0x7c]
push eax
push str.Data2
push str.State
call esi
mov eax, dword [ebp - 0x688]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003aca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x6a0]
add eax, 0xfffffff0
push eax
call fcn.10002000
add esp, 4
add eax, 0x10
mov dword [ebp - 0x688], eax
lea eax, [ebp - 0x180]
mov byte [ebp - 4], 9
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10003af2
sub eax, edx
push eax
lea ecx, [ebp - 0x180]
push ecx
lea ecx, [ebp - 0x688]
call fcn.10002d20
lea eax, [ebp - 0x284]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x10003b17
sub eax, ecx
push eax
lea edx, [ebp - 0x284]
push edx
lea ecx, [ebp - 0x688]
call fcn.10002d20
push 0xa
push 0x10013674
lea ecx, [ebp - 0x688]
call fcn.10002d20
mov ecx, dword [ebp - 0x688]
xor eax, eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov dword [ebp - 0x23], eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov word [ebp - 0x13], ax
mov byte [ebp - 0x11], al
lea eax, [ebp - 0x30]
push eax
push ecx
mov byte [ebp - 0x30], 0
call fcn.10001600
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x7c]
push 0x25
push eax
call fcn.10001f60
mov ecx, dword [ebp - 0x68c]
add esp, 0x14
push ecx
lea edx, [ebp - 0x7c]
push edx
push str.Data4
push str.State
call esi
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x688]
add eax, 0xfffffff0
mov byte [ebp - 4], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003bce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x694], 0
jne 0x10003ca3
push edi
push str.BEBBFFDF3C47064F82B65AE81B78EB02
push str.UNIQUEID
push ebx
call esi
mov ecx, dword [ebp - 0x6b0]
push edi
push ecx
push 0x10013ce4
push ebx
call esi
push edi
push 0x10013ce0
push str.Verbtext
push ebx
call esi
mov edx, dword [ebp - 0x6ac]
push edi
push edx
push 0x10013710
push ebx
call esi
push edi
push 0x10013cc8
push 0x10013cbc
push ebx
call esi
push edi
push 0x10013cb8
push 0x10013cb0
push ebx
call esi
push edi
push 0x10013ce0
push str.Is_post
push ebx
call esi
push edi
push 0x10013ce0
push str.UseTLD
push ebx
call esi
push edi
push 0x10013ce0
push str.Has_endseparator
push ebx
call esi
push edi
push str.utf_8
push str.Encoding
push ebx
call esi
push edi
push 0x10013ce0
push str.Search_Type
push ebx
call esi
push edi
push 0x10013c2c
push str.Position
push ebx
call esi
push edi
push 0x10013ce0
push str.Nameid
push ebx
call esi
push edi
push 0x10013ce0
push str.Deleted
push ebx
call esi
push edi
push str.BEBBFFDF3C47064F82B65AE81B78EB02
push str.Default_Search
push str.Options
call esi
push edi
push str.BEBBFFDF3C47064F82B65AE81B78EB02
push str.Speed_Dial_Search
push str.Options
call esi
add ebx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10003ce7
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [ebp - 0x68c]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003d0d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003d2d
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [ebp - 0x690]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003d53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x6a0]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003d7c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
lea esp, [ebp - 0x6c0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10007107
mov esp, ebp
pop ebp
ret 0xc
add ebx, 0xfffffff0
mov byte [ebp - 4], 6
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x10003dc2
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov eax, dword [ebp - 0x68c]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003de8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov byte [ebp - 4], 1
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003e08
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
mov eax, dword [ebp - 0x690]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003e2e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x6a0]
add eax, 0xfffffff0
mov dword [ebp - 4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10003e57
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
or eax, 0xffffffff
jmp 0x10003d7e