Function at 0x100333ad
Capabilities:
Persist via ginadll registry key
Query or enumerate registry key

Disassembly:
push ebp
sub esp, 0xa10
lea ebp, [esp - 4]
mov eax, dword [0x10113a30]
xor eax, ebp
mov dword [ebp + 0xa10], eax
push 0x48
mov eax, 0x100bec44
call fcn.10092efa
mov dword [ebp - 0x14], ecx
mov ebx, 0x103
push str._RC__RaWLAPI______MS80211::SetSSOReg___n
mov ecx, ebx
lea esi, [ebp + 0xa1c]
lea edi, [ebp]
push 3
rep movsd dword es:[edi], dword [esi]
call fcn.1000926a
pop ecx
pop ecx
call fcn.1006f7ae
push eax
lea ecx, [ebp - 0x10]
call fcn.10004d63
xor edi, edi
push ebx
lea eax, [ebp + 0x40d]
push edi
push eax
mov dword [ebp - 4], edi
mov byte [ebp + 0x40c], 0
call fcn.1008ef90
push 0xfe
lea eax, [ebp + 0x611]
push edi
push eax
mov dword [ebp - 0x2c], 0x104
mov dword [ebp - 0x20], edi
mov byte [ebp + 0x610], 0
call fcn.1008ef90
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x18], 0xf003f
call fcn.10009e6a
lea esi, [ebx - 3]
push esi
lea eax, [ebp + 0x890]
push edi
push eax
call fcn.1008ef90
push esi
lea eax, [ebp + 0x710]
push edi
push eax
call fcn.1008ef90
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0x34
push str.SoftwareMicrosoftWindows_NTCurrentVersionWinlogonRalink
lea eax, [ebp + 0x890]
push eax
call esi
push str.SoftwareMicrosoftWindows_NTCurrentVersionWinlogon
lea eax, [ebp + 0x710]
push eax
call esi
cmp dword [ebp - 0x34], 0x18
jne 0x100334a0
mov dword [ebp - 0x18], 0xf013f
lea eax, [ebp + 0x890]
push eax
lea ecx, [ebp - 0x24]
call fcn.10007f0d
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
call fcn.1006f7ae
push eax
lea ecx, [ebp - 0x1c]
call fcn.10004d63
mov eax, dword [ebp - 0x14]
add eax, 0x84
push eax
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x1c]
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318_s
push eax
mov byte [ebp - 4], 2
call fcn.10005cfd
add esp, 0xc
push str.ProfileStation
lea ecx, [ebp - 0x1c]
call fcn.100139af
push 0x100cdb34
lea ecx, [ebp - 0x1c]
call fcn.100139af
lea eax, [ebp + 0x20c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.100139af
push dword [ebp - 0x18]
lea eax, [ebp + 0x710]
push eax
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call fcn.10008ce6
add esp, 0xc
test eax, eax
je 0x10033551
lea eax, [ebp + 0x710]
push eax
lea eax, [ebp + 0x990]
push str.RegOpenKeyEx__hs_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp + 0x990]
push eax
push ebx
call fcn.1000926a
add esp, 0x14
mov edi, 0x80
push edi
lea eax, [ebp + 0x810]
push 0
push eax
call fcn.1008ef90
lea eax, [ebp - 0x10]
push str.RalinkGina.DLL
push eax
call fcn.10005cfd
push dword [ebp - 0x10]
lea eax, [ebp + 0x810]
push eax
call fcn.1008e4f0
push dword [ebp - 0x18]
lea eax, [ebp + 0x810]
push edi
push ebx
push eax
push str.GinaDLL
lea eax, [ebp + 0x710]
push eax
push esi
call fcn.1000a248
add esp, 0x38
cmp eax, ebx
je 0x100335c8
lea eax, [ebp + 0x990]
push str.RegQueryValueEx_REGSTR_WINLOGON_GINADLL_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp + 0x990]
push eax
push ebx
call fcn.1000926a
add esp, 0x10
push dword [ebp - 0x18]
lea eax, [ebp + 0x890]
push eax
push esi
call fcn.10008ce6
add esp, 0xc
test eax, eax
je 0x1003360c
lea eax, [ebp + 0x890]
push eax
lea eax, [ebp + 0x990]
push str.RegOpenKeyEx__hs_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp + 0x990]
push eax
push ebx
call fcn.1000926a
add esp, 0x14
jmp 0x100339c6
push dword [ebp + 8]
mov edi, 0x100cedf4
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.10005cfd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.10005348
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push ebx
push eax
push str.SSOStringEncrypted
lea eax, [ebp + 0x890]
push eax
push esi
call fcn.1000a248
add esp, 0x1c
test eax, eax
je 0x10033675
lea eax, [ebp + 0x990]
push str.RaSetRegValue_REGSTR_SSO_ENABLE_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp + 0x990]
push eax
push ebx
call fcn.1000926a
add esp, 0x10
push dword [ebp + 4]
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.10005cfd
mov eax, dword [ebp - 0x10]
mov edi, dword [eax - 0xc]
add esp, 0xc
push edi
lea ecx, [ebp - 0x10]
call fcn.10005348
push dword [ebp - 0x18]
push edi
push ebx
push eax
push str.SSOEnable
lea eax, [ebp + 0x890]
push eax
push esi
call fcn.1000a248
add esp, 0x1c
test eax, eax
je 0x100336d9
lea eax, [ebp + 0x990]
push str.RaSetRegValue_REGSTR_SSO_ENABLE_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp + 0x990]
push eax
push ebx
call fcn.1000926a
add esp, 0x10
jmp 0x100337b6
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x20]
push eax
xor edi, edi
push edi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x40c]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x20], edi
je 0x100337b6
mov dword [ebp - 0x14], edi
jbe 0x100337b6
lea eax, [ebp - 0x44]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x510]
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x28], 0xff
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x100337a7
lea eax, [ebp + 0x610]
push 0x100cdb5f
push eax
call fcn.1008e4f0
lea eax, [ebp + 0x510]
push eax
lea eax, [ebp + 0x610]
push eax
call fcn.1008e500
lea eax, [ebp + 0x510]
push eax
lea eax, [ebp + 0x890]
push eax
push esi
call fcn.1000b336
add esp, 0x1c
cmp eax, ebx
je 0x100337a7
lea eax, [ebp + 0x990]
push str.RaDelRegValue_REGSTR_SSO_ENABLE_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp + 0x990]
push eax
push ebx
call fcn.1000926a
add esp, 0x10
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x20]
jb 0x10033720
lea eax, [ebp + 0x20c]
push eax
mov edi, 0x100cef18
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.10005cfd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.10005348
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push ebx
push eax
push str.CurProfile
lea eax, [ebp + 0x890]
push eax
push esi
call fcn.1000a248
add esp, 0x1c
test eax, eax
je 0x10033823
lea eax, [ebp + 0x990]
push str.RaSetRegValue_REGSTR_KEY_CURPROFILE_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp + 0x990]
push eax
push ebx
call fcn.1000926a
add esp, 0x10
push dword [ebp - 0x30]
lea eax, [ebp - 0x10]
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318_s
push eax
call fcn.10005cfd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], eax
call fcn.10005348
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push ebx
push eax
push str.DeviceRegistryPath
lea eax, [ebp + 0x890]
push eax
push esi
call fcn.1000a248
add esp, 0x1c
test eax, eax
je 0x1003388b
lea eax, [ebp + 0x990]
push str.RegQueryValueEx_REGSTR_SSO_DEVICE_PATH_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp + 0x990]
push eax
push ebx
call fcn.1000926a
add esp, 0x10
push dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.10005cfd
mov eax, dword [ebp - 0x10]
mov edi, dword [eax - 0xc]
add esp, 0xc
push edi
lea ecx, [ebp - 0x10]
call fcn.10005348
push dword [ebp - 0x18]
push edi
push ebx
push eax
push str.SSOProfilePath
lea eax, [ebp + 0x890]
push eax
push esi
call fcn.1000a248
add esp, 0x1c
test eax, eax
je 0x100338ea
lea eax, [ebp + 0x990]
push str.RegQueryValueEx_REGSTR_SSO_PROFILE_PATH_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp + 0x990]
push eax
push ebx
call fcn.1000926a
add esp, 0x10
lea eax, [ebp + 0x20c]
push eax
lea eax, [ebp - 0x10]
push str.Profile_Name:__s
push eax
call fcn.10005cfd
mov eax, dword [ebp - 0x10]
mov edi, dword [eax - 0xc]
add esp, 0xc
push edi
lea ecx, [ebp - 0x10]
call fcn.10005348
push dword [ebp - 0x18]
push edi
push ebx
push eax
push str.ProfileName
lea eax, [ebp + 0x890]
push eax
push esi
call fcn.1000a248
add esp, 0x1c
test eax, eax
je 0x10033951
lea eax, [ebp + 0x990]
push str.RegQueryValueEx_REGSTR_PROFILENAME_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp + 0x990]
push eax
push ebx
call fcn.1000926a
add esp, 0x10
lea eax, [ebp + 0x10c]
push eax
lea eax, [ebp - 0x10]
push str.Card_Name:__s
push eax
call fcn.10005cfd
mov eax, dword [ebp - 0x10]
mov edi, dword [eax - 0xc]
add esp, 0xc
push edi
lea ecx, [ebp - 0x10]
call fcn.10005348
push dword [ebp - 0x18]
push edi
push ebx
push eax
push str.CardName
lea eax, [ebp + 0x890]
push eax
push esi
call fcn.1000a248
add esp, 0x1c
test eax, eax
je 0x100339b8
lea eax, [ebp + 0x990]
push str.RegQueryValueEx_REGSTR_CARDNAME_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp + 0x990]
push eax
push ebx
call fcn.1000926a
add esp, 0x10
push 0x100df714
push 3
call fcn.1000926a
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.10001210
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.10001210
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001210
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xa10]
xor ecx, ebp
call fcn.1008e5e8
add ebp, 0xa14
leave
ret 0x40c