Function at 0x736db5cc
Capabilities:
Parse pe header
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x368
mov eax, dword [0x7370f39c]
push ebx
xor ebx, ebx
cmp dword [0x737107f4], ebx
push esi
mov dword [ebp - 4], eax
push edi
jne 0x736ead79
cmp dword [0x73710098], ebx
mov esi, 0x104
je 0x736db839
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push esi
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x20c]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x736db620
sub eax, ecx
dec eax
cmp eax, ebx
jl 0x736db63b
cmp byte [ebp + eax - 0x20c], 0x5c
je 0x736db63b
dec eax
jns 0x736db62e
lea eax, [ebp + eax - 0x20b]
lea edx, [ebp - 0x108]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
cmp cl, bl
jne 0x736db64a
push 0x736d8fa9
push 4
push dword [0x737100a4]
lea eax, [ebp - 0x108]
push dword [0x737100a0]
push eax
call dword [sym.imp.msvcrt.dll_bsearch]
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x108]
add esp, 0x14
mov dword [ebp - 0x258], ebx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x736db68c
sub eax, ecx
cmp eax, 4
jbe 0x736db6c7
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x736db6a3
sub eax, edx
push 0x736db834
lea eax, [ebp + eax - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x736eadd5
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x264], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x736db765
lea eax, [ebp - 0x24c]
push eax
push edi
push 0x40
pop esi
call fcn.736d8fc6
test eax, eax
pop ecx
pop ecx
je 0x736db765
cmp word [ebp - 0x24c], 0x5a4d
jne 0x736db765
mov esi, dword [ebp - 0x210]
push ebx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, esi
jne 0x736db765
lea eax, [ebp - 0x368]
push eax
push edi
mov esi, 0xf8
call fcn.736d8fc6
test eax, eax
pop ecx
pop ecx
je 0x736db765
cmp dword [ebp - 0x368], 0x4550
jne 0x736db765
mov eax, dword [ebp - 0x360]
cmp eax, ebx
mov dword [ebp - 0x264], eax
je 0x736db7de
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x264], ebx
je 0x736db7de
lea eax, [ebp - 0x250]
push eax
push 0x736db800
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x736db7de
lea eax, [ebp - 0x108]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x736db791
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
sub eax, ecx
inc eax
push eax
lea eax, [ebp - 0x108]
push eax
push 1
push ebx
push 0x736d841c
push dword [ebp - 0x250]
call esi
push 4
lea eax, [ebp - 0x264]
push eax
push 4
push ebx
push 0x736d8418
push dword [ebp - 0x250]
call esi
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x254], ebx
jne 0x736eade4
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.736d1331
leave
ret
lea eax, [ebp - 0x250]
push eax
push 0x736db8f0
push 0x80000002
mov dword [0x73710098], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jne 0x736db899
push esi
lea eax, [ebp - 0x108]
push eax
push ebx
push dword [ebp - 0x250]
mov dword [ebp - 0x258], ebx
mov dword [ebp - 0x254], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x736db9a5
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x250]
push eax
push 0x736db8c0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x736db601
jmp 0x736ead83
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x736db91c
sub eax, edx
add eax, 0x11
push eax
call fcn.736d134f
cmp eax, ebx
pop ecx
je 0x736db971
mov ecx, dword [ebp - 0x270]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x268]
mov dword [eax + 0xc], ecx
lea ecx, [eax + 0x10]
mov dword [eax + 4], ecx
mov ecx, dword [0x7371009c]
mov dword [eax], ecx
mov dword [0x7371009c], eax
mov eax, dword [eax + 4]
lea edx, [ebp - 0x108]
mov cl, byte [edx]
inc edx
mov byte [eax], cl
inc eax
cmp cl, bl
jne 0x736db961
inc dword [ebp - 0x254]
push dword [ebp - 0x26c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [ebp - 0x258]
push esi
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x258]
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
jne 0x736dbad2
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x736db97d
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x25c]
push eax
push ebx
push 0x736d841c
push dword [ebp - 0x26c]
mov dword [ebp - 0x260], esi
call edi
test eax, eax
jne 0x736db971
cmp dword [ebp - 0x25c], 1
jne 0x736db971
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x25c]
push eax
push ebx
push 0x736dbacc
push dword [ebp - 0x26c]
mov dword [ebp - 0x260], 4
call edi
test eax, eax
jne 0x736db971
cmp dword [ebp - 0x25c], 4
je 0x736dba55
cmp dword [ebp - 0x25c], 3
jne 0x736db971
cmp dword [ebp - 0x260], 4
jne 0x736db971
test dword [ebp - 0x268], 0xfffff800
jne 0x736db971
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x25c]
push eax
push ebx
push 0x736d8418
push dword [ebp - 0x26c]
mov dword [ebp - 0x260], 4
call edi
test eax, eax
jne 0x736db971
cmp dword [ebp - 0x25c], 4
je 0x736dbabd
cmp dword [ebp - 0x25c], 3
jne 0x736db971
cmp dword [ebp - 0x260], 4
jne 0x736db971
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
jmp 0x736db91c
cmp dword [ebp - 0x254], ebx
jle 0x736db88d
mov eax, dword [ebp - 0x254]
lea eax, [eax*4 + 4]
push eax
call fcn.736d134f
cmp eax, ebx
pop ecx
mov dword [0x737100a0], eax
je 0x736db88d
mov eax, dword [0x7371009c]
mov dword [0x737100a4], ebx
cmp eax, ebx
je 0x736dbb27
mov edx, dword [0x737100a4]
mov ecx, dword [0x737100a0]
mov dword [ecx + edx*4], eax
mov eax, dword [eax]
inc dword [0x737100a4]
jmp 0x736dbb0a
push 0x736dbb4d
push 4
push dword [ebp - 0x254]
push dword [0x737100a0]
call dword [sym.imp.msvcrt.dll_qsort]
add esp, 0x10
jmp 0x736db88d
call fcn.736d56d1
jmp 0x736db5f0
lea eax, [ebp - 0x270]
push eax
push 0x73713230
lea eax, [ebp - 0x268]
push eax
push ebx
push 0x736eae74
push dword [ebp - 0x250]
mov dword [ebp - 0x270], esi
call edi
test eax, eax
jne 0x736eadc4
inc eax
cmp dword [ebp - 0x268], eax
jne 0x736eadc4
cmp byte [0x73713230], bl
je 0x736eadc4
mov dword [0x737107f8], eax
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x736db601
mov dword [ebp - 0x258], 0x10
jmp 0x736db6c7
cmp dword [ebp - 0x264], ebx
je 0x736db7ea
mov esi, dword [ebp - 0x254]
jmp 0x736eae17
lea eax, [ebp - 0x108]
sub esi, 4
push eax
mov eax, dword [esi]
push dword [eax + 4]
mov dword [ebp - 0x254], esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x736eae21
cmp esi, dword [0x737100a0]
je 0x736eae2a
jmp 0x736eadf8
add esi, 4
mov dword [ebp - 0x254], esi
mov edi, dword [ebp - 0x254]
jmp 0x736eae58
lea eax, [ebp - 0x108]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x736db7ea
mov eax, dword [esi + 8]
cmp eax, dword [ebp - 0x264]
je 0x736eae64
add edi, 4
mov esi, dword [edi]
cmp esi, ebx
je 0x736db7ea
jmp 0x736eae32
mov eax, dword [esi + 0xc]
or eax, dword [ebp - 0x258]
jmp 0x736db7f0