Function at 0x10003310
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x101645f1
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x101c3584]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101c3584]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa4]
xor ebx, ebx
mov dword [esp + 0x9c], ebx
push ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x24], ebx
call fcn.10027bc0
mov dword [esp + 0x9c], ebx
mov edi, 1
mov eax, str.SoftwareSSScanSamsung_Universal_Scan_Driver
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x40], 0xf
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x10003392
sub eax, edx
push eax
push str.SoftwareSSScanSamsung_Universal_Scan_Driver
lea ecx, [esp + 0x30]
call fcn.100019f0
mov dword [esp + 0x9c], edi
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
jae 0x100033c0
lea eax, [esp + 0x2c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [esp + 0x18]
push ecx
push edi
push ebx
push eax
push reloc.WS2_32.dll_accept
call esi
cmp eax, ebx
je 0x100033ff
cmp dword [esp + 0x40], 0x10
mov eax, dword [esp + 0x2c]
jae 0x100033e8
lea eax, [esp + 0x2c]
lea edx, [esp + 0x18]
push edx
push edi
push ebx
push eax
push reloc.WS2_32.dll_bind
call esi
cmp eax, ebx
jne 0x10003506
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push ebx
lea ecx, [esp + 0x24]
push ecx
push ebx
push 0x101a57a8
mov dword [esp + 0x30], edi
mov dword [esp + 0x58], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edx
mov dword [esp + 0x2c], ebx
call edi
test eax, eax
jne 0x10003486
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x10003486
push eax
call fcn.10138fea
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x10003486
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x14]
push eax
push esi
lea ecx, [esp + 0x24]
push ecx
push ebx
push 0x101a57a8
push edx
call edi
test eax, eax
jne 0x1000347d
mov eax, dword [esp + 0x14]
cmp eax, 0x22
jb 0x1000346e
mov eax, 0x22
push eax
lea eax, [esp + 0x6e]
push esi
push eax
call fcn.1013fc90
add esp, 0xc
push esi
call fcn.1013db5a
add esp, 4
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push ebx
lea edx, [esp + 0x24]
push edx
push ebx
push str.ProductName
push eax
call edi
test eax, eax
jne 0x100034fb
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x100034fb
push eax
call fcn.10138fea
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x100034fb
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
push esi
lea edx, [esp + 0x24]
push edx
push ebx
push str.ProductName
push eax
call edi
test eax, eax
jne 0x100034f2
mov eax, dword [esp + 0x14]
cmp eax, 0x22
jb 0x100034e3
mov eax, 0x22
push eax
lea ecx, [esp + 0x4c]
push esi
push ecx
call fcn.1013fc90
add esp, 0xc
push esi
call fcn.1013db5a
add esp, 4
lea eax, [esp + 0x44]
mov edi, ebp
call fcn.10004ed0
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x10003515
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x40], 0x10
jb 0x10003529
mov edx, dword [esp + 0x2c]
push edx
call fcn.1013d576
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x78]
xor ecx, esp
call fcn.1013d581
add esp, 0x8c
ret 4