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

Disassembly:
push ebp
sub esp, 0xf00
lea ebp, [esp - 4]
mov eax, dword [0x10113a30]
xor eax, ebp
mov dword [ebp + 0xf00], eax
push 0x4c
mov eax, 0x100becda
call fcn.10092efa
mov edi, ecx
push str._RC__RaWLAPI______MS80211::SetSSOProfAndFuncReg___n
xor ebx, ebx
push 3
mov dword [ebp - 4], ebx
call fcn.1000926a
pop ecx
pop ecx
call fcn.1006f7ae
push eax
lea ecx, [ebp - 0x10]
call fcn.10004d63
mov esi, 0x3ff
push esi
lea eax, [ebp + 1]
push ebx
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x38], 0x400
mov dword [ebp - 0x28], ebx
mov byte [ebp], bl
call fcn.1008ef90
push esi
lea eax, [ebp + 0x801]
push ebx
push eax
mov byte [ebp + 0x800], bl
call fcn.1008ef90
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x1c], 0xf003f
call fcn.10009e6a
mov esi, pe_nt_image_headers32
push esi
lea eax, [ebp + 0xd00]
push ebx
push eax
call fcn.1008ef90
push esi
lea eax, [ebp + 0xc00]
push ebx
push eax
call fcn.1008ef90
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 0x34
push str.SoftwareMicrosoftWindows_NTCurrentVersionWinlogonRalink
lea eax, [ebp + 0xd00]
push eax
call esi
push str.SoftwareMicrosoftWindows_NTCurrentVersionWinlogon
lea eax, [ebp + 0xc00]
push eax
call esi
cmp dword [ebp - 0x30], 0x18
jne 0x10034239
mov dword [ebp - 0x1c], 0xf013f
lea eax, [ebp + 0xd00]
push eax
lea ecx, [ebp - 0x20]
call fcn.10007f0d
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002bE10318_
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.10007f0d
add edi, 0x84
push edi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.100139af
push str.ProfileStation
lea ecx, [ebp - 0x14]
call fcn.100139af
push 0x100cdb34
lea ecx, [ebp - 0x14]
call fcn.100139af
mov edi, dword [ebp + 0xf0c]
push dword [edi - 0xc]
lea ecx, [ebp - 0x14]
push edi
call fcn.1001384a
mov eax, dword [ebp - 0x14]
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
call fcn.10005348
push dword [ebp - 0x1c]
mov esi, reloc.OLEAUT32.dll_SysReAllocString
push eax
push esi
call fcn.10008ce6
add esp, 0xc
test eax, eax
je 0x100342ea
push dword [ebp - 0x14]
lea eax, [ebp + 0xe80]
push str.RegOpenKeyEx__hs_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp + 0xe80]
push eax
push 1
call fcn.1000926a
add esp, 0x14
jmp 0x100348bf
mov eax, 0x80
push eax
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0xe00]
push ebx
push eax
call fcn.1008ef90
add esp, 0xc
push dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.10005348
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp + 0xe00]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push str.AuthenProtocol
push eax
push esi
call fcn.1000b244
add esp, 0x18
cmp eax, 1
jne 0x1003435b
lea eax, [ebp + 0xe00]
push 0x100ce4e4
push eax
call fcn.1008eb30
test eax, eax
pop ecx
pop ecx
je 0x1003435b
lea eax, [ebp + 0xe00]
push 0x100ce4cc
push eax
call fcn.1008eb30
pop ecx
pop ecx
push dword [ebp - 0x1c]
lea eax, [ebp + 0xd00]
push eax
push esi
call fcn.10008ce6
add esp, 0xc
test eax, eax
je 0x1003437e
lea eax, [ebp + 0xd00]
push eax
jmp 0x100342c3
push 0x80
lea eax, [ebp + 0xe00]
push ebx
push eax
call fcn.1008ef90
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0xe00]
push eax
lea eax, [ebp - 0x2c]
push eax
push str.SSOInstall
lea eax, [ebp + 0xd00]
push eax
push esi
call fcn.1000b244
add esp, 0x24
cmp eax, 1
je 0x10034474
lea eax, [ebp + 0xe80]
push str.RegQueryValueEx_REGSTR_SSO_INSTALL_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp + 0xe80]
xor ebx, ebx
push eax
inc ebx
push ebx
call fcn.1000926a
push dword [ebp - 0x1c]
lea eax, [ebp + 0xd00]
push eax
push esi
call fcn.10008ce6
add esp, 0x1c
test eax, eax
je 0x1003441a
lea eax, [ebp + 0xd00]
push eax
lea eax, [ebp + 0xe80]
push str.RegOpenKeyEx__hs_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp + 0xe80]
push eax
push ebx
jmp 0x100342dd
push dword [ebp - 0x1c]
lea eax, [ebp + 0xc00]
push eax
push esi
call fcn.10008ce6
add esp, 0xc
test eax, eax
lea eax, [ebp + 0xc00]
jne 0x100343fb
push str.GinaDLL
push eax
push esi
call fcn.1000b336
add esp, 0xc
cmp eax, ebx
je 0x100348bf
lea eax, [ebp + 0xe80]
push str.RegDeleteValue_REGSTR_WINLOGON_GINADLL_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp + 0xe80]
push eax
push ebx
call fcn.1000926a
add esp, 0x10
jmp 0x100348bf
lea eax, [ebp + 0xe00]
push 0x100ce2b8
push eax
call fcn.1008eb30
test eax, eax
pop ecx
pop ecx
jne 0x100344e0
push dword [ebp - 0x1c]
lea eax, [ebp + 0xc00]
push eax
push esi
call fcn.10008ce6
add esp, 0xc
test eax, eax
lea eax, [ebp + 0xc00]
jne 0x10034378
push str.GinaDLL
push eax
push esi
call fcn.1000b336
add esp, 0xc
cmp eax, 1
je 0x100348bf
lea eax, [ebp + 0xe80]
push str.RegDeleteValue_REGSTR_WINLOGON_GINADLL_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp + 0xe80]
push eax
push 1
jmp 0x10034467
push 0x80
lea eax, [ebp + 0xe00]
push ebx
push eax
call fcn.1008ef90
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0xe00]
push eax
lea eax, [ebp - 0x2c]
push eax
push str.SSOEnable
lea eax, [ebp + 0xd00]
push eax
push esi
call fcn.1000b244
add esp, 0x24
cmp eax, 1
jne 0x1003452e
lea eax, [ebp + 0xe00]
push 0x100ce2b8
push eax
call fcn.1008eb30
pop ecx
pop ecx
cmp dword [ebp + 0xf10], 1
jne 0x10034607
lea eax, [ebp - 0x10]
push 0x100ce2b8
push eax
call fcn.10005cfd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], eax
call fcn.10005348
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push 1
push eax
push str.SSOEnable
lea eax, [ebp + 0xd00]
push eax
push esi
call fcn.1000a248
add esp, 0x1c
test eax, eax
je 0x100345a1
lea eax, [ebp + 0xe80]
push str.RaSetRegValue_REGSTR_SSO_ENABLE_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp + 0xe80]
push eax
push 1
call fcn.1000926a
add esp, 0x10
lea eax, [ebp - 0x10]
push 0x100ce2b8
push eax
call fcn.10005cfd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], eax
call fcn.10005348
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push 1
push eax
push str.SSOEnablePersistentConnection
lea eax, [ebp + 0xd00]
push eax
push esi
call fcn.1000a248
add esp, 0x1c
test eax, eax
je 0x10034607
lea eax, [ebp + 0xe80]
push str.RaSetRegValue_REGSTR_SSO_ENABLE_PERSISTENT_CONNECTION_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp + 0xe80]
push eax
push 1
call fcn.1000926a
add esp, 0x10
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x28]
push eax
push ebx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x28], ebx
je 0x100346e1
mov dword [ebp - 0x18], ebx
jbe 0x100346e1
lea eax, [ebp - 0x50]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp + 0x400]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x34], 0x400
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x100346d2
lea eax, [ebp + 0x800]
push 0x100cdb5f
push eax
call fcn.1008e4f0
lea eax, [ebp + 0x400]
push eax
lea eax, [ebp + 0x800]
push eax
call fcn.1008e500
lea eax, [ebp + 0x400]
push eax
lea eax, [ebp + 0xd00]
push eax
push esi
call fcn.1000b336
add esp, 0x1c
cmp eax, 1
je 0x100346d2
lea eax, [ebp + 0xe80]
push str.RegDeleteKey_achKey_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp + 0xe80]
push eax
push 1
call fcn.1000926a
add esp, 0x10
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x28]
jb 0x10034649
mov eax, 0x80
push eax
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0xe00]
push ebx
push eax
call fcn.1008ef90
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0xe00]
push eax
lea eax, [ebp - 0x2c]
push eax
push str.SSOEnable
lea eax, [ebp + 0xd00]
push eax
push esi
call fcn.1000b244
xor ebx, ebx
inc ebx
add esp, 0x24
cmp dword [ebp + 0xf10], ebx
je 0x10034751
lea eax, [ebp + 0xe00]
push 0x100ce2b8
push eax
call fcn.1008eb30
test eax, eax
pop ecx
pop ecx
je 0x10034751
push edi
lea eax, [ebp - 0x10]
push 0x100cef18
push eax
call fcn.10005cfd
add esp, 0xc
jmp 0x10034761
lea eax, [ebp - 0x10]
push 0x100cdb5f
push eax
call fcn.10005cfd
pop ecx
pop ecx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], eax
call fcn.10005348
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push ebx
push eax
push str.CurProfile
lea eax, [ebp + 0xd00]
push eax
push esi
call fcn.1000a248
add esp, 0x1c
cmp eax, ebx
je 0x100347b5
lea eax, [ebp + 0xe80]
push str.RegSetValueEx_REGSTR_KEY_CURPROFILE_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp + 0xe80]
push eax
push ebx
call fcn.1000926a
add esp, 0x10
lea eax, [ebp + 0xe00]
push edi
push eax
call fcn.1008e4f0
lea eax, [ebp + 0xe00]
push eax
lea eax, [ebp - 0x10]
push str.Profile_Name:__s
push eax
call fcn.10005cfd
mov eax, dword [ebp - 0x10]
mov eax, dword [eax - 0xc]
add esp, 0x14
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], eax
call fcn.10005348
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push ebx
push eax
push str.ProfileName
lea eax, [ebp + 0xd00]
push eax
push esi
call fcn.1000a248
add esp, 0x1c
cmp eax, ebx
je 0x1003482e
lea eax, [ebp + 0xe80]
push str.RegQueryValueEx_REGSTR_PROFILENAME_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp + 0xe80]
push eax
push ebx
call fcn.1000926a
add esp, 0x10
push dword [ebp - 0x1c]
lea eax, [ebp + 0xc00]
push eax
push esi
call fcn.10008ce6
add esp, 0xc
test eax, eax
je 0x1003486f
lea eax, [ebp + 0xc00]
push eax
lea eax, [ebp + 0xe80]
push str.RegOpenKeyEx__hs_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp + 0xe80]
push eax
push ebx
call fcn.1000926a
add esp, 0x14
jmp 0x100348b1
cmp dword [ebp + 0xf10], ebx
jne 0x100348b1
push str.GinaDLL
lea eax, [ebp + 0xc00]
push eax
push esi
call fcn.1000b336
add esp, 0xc
cmp eax, ebx
je 0x100348b1
lea eax, [ebp + 0xe80]
push str.RegDeleteValue_REGSTR_WINLOGON_GINADLL_failed_n
push eax
call fcn.1008e5f7
lea eax, [ebp + 0xe80]
push eax
push ebx
call fcn.1000926a
add esp, 0x10
push 0x100df9f0
push 3
call fcn.1000926a
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.10001210
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.10001210
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.10001210
lea ecx, [edi - 0x10]
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 + 0xf00]
xor ecx, ebp
call fcn.1008e5e8
add ebp, 0xf04
leave
ret 8