Function at 0x10033a0c
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 0x50
mov eax, 0x100bec8f
call fcn.10092efa
mov edi, ecx
push str._RC__RaWLAPI______MS80211::SetSSOProfReg___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 + 0x401]
push ebx
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x3c], 0x400
mov dword [ebp - 0x2c], ebx
mov byte [ebp + 0x400], 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 - 0x34]
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 - 0x34], 0x18
jne 0x10033af8
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 0x10033ba9
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 0x1003410c
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 - 0x30]
push ecx
push str.AuthenProtocol
push eax
push esi
call fcn.1000b244
add esp, 0x18
cmp eax, 1
jne 0x10033c21
lea eax, [ebp + 0xe00]
push 0x100ce4e4
push eax
call fcn.1008eb30
test eax, eax
pop ecx
pop ecx
je 0x10033c1e
lea eax, [ebp + 0xe00]
push 0x100ce4cc
push eax
call fcn.1008eb30
test eax, eax
pop ecx
pop ecx
jne 0x10033c21
mov dword [ebp - 0x28], ebx
push dword [ebp - 0x1c]
lea eax, [ebp + 0xd00]
push eax
push esi
call fcn.10008ce6
add esp, 0xc
test eax, eax
je 0x10033c44
lea eax, [ebp + 0xd00]
push eax
jmp 0x10033b82
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 - 0x30]
push eax
push str.SSOInstall
lea eax, [ebp + 0xd00]
push eax
push esi
call fcn.1000b244
add esp, 0x24
cmp eax, 1
je 0x10033d3a
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 0x10033ce0
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 0x10033b9c
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 0x10033cc1
push str.GinaDLL
push eax
push esi
call fcn.1000b336
add esp, 0xc
cmp eax, ebx
je 0x1003410c
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 0x1003410c
lea eax, [ebp + 0xe00]
push 0x100ce2b8
push eax
call fcn.1008eb30
test eax, eax
pop ecx
pop ecx
jne 0x10033da6
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 0x10033c3e
push str.GinaDLL
push eax
push esi
call fcn.1000b336
add esp, 0xc
cmp eax, 1
je 0x1003410c
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 0x10033d2d
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 - 0x30]
push eax
push str.SSOEnable
lea eax, [ebp + 0xd00]
push eax
push esi
call fcn.1000b244
add esp, 0x24
cmp eax, 1
jne 0x10033df4
lea eax, [ebp + 0xe00]
push 0x100ce2b8
push eax
call fcn.1008eb30
pop ecx
pop ecx
cmp dword [ebp - 0x28], 1
jne 0x10033e60
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 0x10033e60
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 - 0x54]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x2c]
push eax
push ebx
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp + 0x400]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [ebp - 0x2c], ebx
je 0x10033f34
mov dword [ebp - 0x18], ebx
jbe 0x10033f34
lea eax, [ebp - 0x54]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x38], 0x400
push ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x10033f25
lea eax, [ebp + 0x800]
push 0x100cdb5f
push eax
call fcn.1008e4f0
lea eax, [ebp]
push eax
lea eax, [ebp + 0x800]
push eax
call fcn.1008e500
lea eax, [ebp]
push eax
lea eax, [ebp + 0xd00]
push eax
push esi
call fcn.1000b336
add esp, 0x1c
cmp eax, 1
je 0x10033f25
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 - 0x2c]
jb 0x10033ea5
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 - 0x30]
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 - 0x28], ebx
je 0x10033fa1
lea eax, [ebp + 0xe00]
push 0x100ce2b8
push eax
call fcn.1008eb30
test eax, eax
pop ecx
pop ecx
je 0x10033fa1
push edi
lea eax, [ebp - 0x10]
push 0x100cef18
push eax
call fcn.10005cfd
add esp, 0xc
jmp 0x10033fb1
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 0x10034005
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 0x1003407e
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 0x100340bf
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 0x100340fe
cmp dword [ebp - 0x28], ebx
jne 0x100340fe
push str.GinaDLL
lea eax, [ebp + 0xc00]
push eax
push esi
call fcn.1000b336
add esp, 0xc
cmp eax, ebx
je 0x100340fe
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 0x100df8e4
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 4