Function at 0x10003900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002350b
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x100366fc]
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 + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x144], ecx
mov ecx, dword [ebp + 0x18]
push eax
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x140], ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebx, eax
test ebx, ebx
jne 0x10003b9e
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x134]
push eax
push 0x20019
push ebx
push str.SoftwareFlySkyEInstall
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10003c1e
push 0x104
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x130], 0x104
push eax
call fcn.1000bb00
add esp, 0xc
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
push ebx
push str.Path
push dword [ebp - 0x134]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x134]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x10003c1e
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x118], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x12c], bl
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003a00
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
lea ecx, [ebp - 0x12c]
call fcn.10005460
mov ecx, dword [ebp - 0x118]
lea eax, [ebp - 0x12c]
mov edx, dword [ebp - 0x12c]
cmp ecx, 0x10
mov edi, dword [ebp - 0x11c]
cmovae eax, edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x138], ecx
cmp byte [edi + eax - 1], 0x5c
je 0x10003b46
cmp edi, ecx
jae 0x10003a76
lea eax, [edi + 1]
cmp ecx, 0x10
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x12c]
cmovae eax, edx
mov word [eax + edi], 0x5c
jmp 0x10003b46
mov edx, 0x7fffffff
mov eax, edx
sub eax, edi
cmp eax, 1
jb 0x10003c68
lea esi, [edi + 1]
or esi, 0xf
cmp esi, edx
jbe 0x10003a96
mov esi, edx
jmp 0x10003aae
mov eax, ecx
shr eax, 1
sub edx, eax
cmp ecx, edx
jbe 0x10003aa7
mov esi, 0x7fffffff
jmp 0x10003aae
add eax, ecx
cmp esi, eax
cmovb esi, eax
xor ecx, ecx
mov eax, esi
add eax, 1
setb cl
neg ecx
or ecx, eax
push ecx
lea ecx, [ebp - 0x12c]
call fcn.10005090
cmp dword [ebp - 0x138], 0x10
mov ebx, eax
lea eax, [edi + 1]
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x11c], eax
push edi
jb 0x10003b2a
mov esi, dword [ebp - 0x12c]
push esi
push ebx
call fcn.1000b000
mov ecx, dword [ebp - 0x138]
add esp, 0xc
inc ecx
mov word [edi + ebx], 0x5c
cmp ecx, 0x1000
jb 0x10003b1e
mov edx, dword [esi - 4]
add ecx, 0x23
sub esi, edx
lea eax, [esi - 4]
cmp eax, 0x1f
ja 0x10003c6d
mov esi, edx
push ecx
push esi
call fcn.10009aac
add esp, 8
jmp 0x10003b40
lea eax, [ebp - 0x12c]
push eax
push ebx
call fcn.1000b000
add esp, 0xc
mov word [edi + ebx], 0x5c
mov dword [ebp - 0x12c], ebx
mov edx, dword [ebp - 0x13c]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003b51
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x12c]
call fcn.10005270
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
cmovae eax, dword [ebp - 0x12c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea ecx, [ebp - 0x12c]
mov dword [ebp - 4], 0xffffffff
mov ebx, eax
call fcn.10002570
test ebx, ebx
je 0x10003c1e
push 0x100244a0
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10003c17
call eax
test eax, eax
je 0x10003c17
mov ecx, dword [eax + 0x64]
xor esi, esi
mov edi, dword [eax + 0x68]
mov eax, dword [eax + 0x6c]
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x138], eax
test ecx, ecx
jle 0x10003c17
nop
mov eax, dword [edi]
test eax, eax
je 0x10003c0f
cmp byte [eax], 0
je 0x10003c0f
mov ecx, dword [ebp + 0xc]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10003c00
test dl, dl
je 0x10003bfc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10003c00
add eax, 2
add ecx, 2
test dl, dl
jne 0x10003be0
xor eax, eax
jmp 0x10003c05
sbb eax, eax
or eax, 1
test eax, eax
je 0x10003c3c
mov ecx, dword [ebp - 0x13c]
inc esi
add edi, 0x24
cmp esi, ecx
jl 0x10003bd0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor al, al
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.10009ac8
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x138]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x10003c17
push dword [ebp - 0x140]
push dword [ebp + 0x14]
push dword [ebp - 0x144]
call eax
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov al, 1
jmp 0x10003c20
call fcn.10005060
call fcn.1000e78a
int3