Function at 0x1025ff0
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x1039004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
lea ecx, [ebp - 0x130]
push ecx
xor ebx, ebx
push 0x20019
push ebx
push 0x101b378
push reloc.WS2_32.dll_bind
mov dword [ebp - 0x134], eax
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x128], str._NotFound_
mov dword [ebp - 0x124], edi
mov dword [ebp - 0x120], 0x10c
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x12c], 0x101b378
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x102607f
push 0x10d
push 0x101b3a0
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
jmp 0x10261d6
lea edx, [ebp - 0x140]
push edx
mov edx, dword [ebp - 0x130]
lea eax, [ebp - 0x138]
push eax
lea ecx, [ebp - 0x13c]
push ecx
push ebx
push 0x101b3ac
mov esi, 4
push edx
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x140], esi
mov dword [ebp - 0x13c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10260db
cmp dword [ebp - 0x13c], esi
jne 0x10260db
cmp dword [ebp - 0x138], ebx
setne al
mov dword [ebp - 0x118], eax
jmp 0x10260e1
mov dword [ebp - 0x118], ebx
push 0x10d
lea ecx, [ebp - 0x114]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
add eax, 0xffffffff
cmp eax, 0x10b
ja 0x10261c3
lea edx, [ebp - 0x114]
lea esi, [ebp - 0x130]
mov byte [ebp - 7], bl
mov dword [ebp - 0x128], edx
call fcn.01025e20
test eax, eax
jne 0x10261c3
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp - 0x114]
sub ecx, 1
add eax, ecx
lea edx, [ebp - 0x114]
cmp eax, edx
jb 0x1026180
mov cl, byte [eax]
cmp cl, 0x5c
je 0x1026161
cmp cl, 0x2f
je 0x1026161
sub eax, 1
lea ecx, [ebp - 0x114]
cmp eax, ecx
jae 0x1026146
jmp 0x1026180
add eax, 1
lea edx, [ebp - 7]
cmp eax, edx
jae 0x1026180
mov byte [eax], 0x2a
lea esi, [ebp - 0x130]
mov byte [eax + 1], bl
call fcn.01025e20
cmp eax, ebx
jne 0x10261c3
lea esi, [ebp - 0x130]
mov dword [ebp - 0x128], 0x101b3b4
call fcn.01025e20
test eax, eax
jne 0x10261c3
cmp dword [ebp - 0x11c], ebx
mov dword [ebp - 0x128], str._NotFound_
push 0x10d
je 0x10261b7
push 0x101b3a0
jmp 0x10261bc
push str._NotFound_
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov eax, dword [ebp - 0x130]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x130], ebx
mov eax, dword [ebp - 0x11c]
cmp eax, ebx
mov byte [edi + 0x10d], bl
je 0x10261f3
mov esi, edi
call fcn.01025f10
mov dword [ebp - 0x11c], eax
mov ecx, dword [ebp - 0x118]
cmp ecx, ebx
je 0x1026260
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push 0x101b3bc
call esi
mov ecx, dword [ebp - 0x12c]
push ecx
call esi
push 0x101b3c8
call esi
mov edx, dword [ebp - 0x128]
push edx
call esi
push 0x101b3cc
call esi
push edi
call esi
push 0x101b3d8
call esi
mov eax, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x134]
mov edx, dword [ebp - 0x11c]
pop esi
mov dword [ecx], eax
mov dword [0x103a4f4], edx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01029f27
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x134]
mov dword [edx], ecx
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
mov dword [0x103a4f4], eax
pop ebx
call fcn.01029f27
mov esp, ebp
pop ebp
ret 4