Function at 0x7376b5cc
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 [0x7379f39c]
push ebx
xor ebx, ebx
cmp dword [0x737a07f4], ebx
push esi
mov dword [ebp - 4], eax
push edi
jne 0x7377ad79
cmp dword [0x737a0098], ebx
mov esi, 0x104
je 0x7376b839
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 0x7376b620
sub eax, ecx
dec eax
cmp eax, ebx
jl 0x7376b63b
cmp byte [ebp + eax - 0x20c], 0x5c
je 0x7376b63b
dec eax
jns 0x7376b62e
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 0x7376b64a
push 0x73768fa9
push 4
push dword [0x737a00a4]
lea eax, [ebp - 0x108]
push dword [0x737a00a0]
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 0x7376b68c
sub eax, ecx
cmp eax, 4
jbe 0x7376b6c7
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x7376b6a3
sub eax, edx
push 0x7376b834
lea eax, [ebp + eax - 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x7377add5
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 0x7376b765
lea eax, [ebp - 0x24c]
push eax
push edi
push 0x40
pop esi
call fcn.73768fc6
test eax, eax
pop ecx
pop ecx
je 0x7376b765
cmp word [ebp - 0x24c], 0x5a4d
jne 0x7376b765
mov esi, dword [ebp - 0x210]
push ebx
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, esi
jne 0x7376b765
lea eax, [ebp - 0x368]
push eax
push edi
mov esi, 0xf8
call fcn.73768fc6
test eax, eax
pop ecx
pop ecx
je 0x7376b765
cmp dword [ebp - 0x368], 0x4550
jne 0x7376b765
mov eax, dword [ebp - 0x360]
cmp eax, ebx
mov dword [ebp - 0x264], eax
je 0x7376b7de
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x264], ebx
je 0x7376b7de
lea eax, [ebp - 0x250]
push eax
push 0x7376b800
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x7376b7de
lea eax, [ebp - 0x108]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x7376b791
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 0x7376841c
push dword [ebp - 0x250]
call esi
push 4
lea eax, [ebp - 0x264]
push eax
push 4
push ebx
push 0x73768418
push dword [ebp - 0x250]
call esi
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x254], ebx
jne 0x7377ade4
mov eax, dword [ebp - 0x258]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.73761331
leave
ret
lea eax, [ebp - 0x250]
push eax
push 0x7376b8f0
push 0x80000002
mov dword [0x737a0098], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jne 0x7376b899
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 0x7376b9a5
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x250]
push eax
push 0x7376b8c0
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x7376b601
jmp 0x7377ad83
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x7376b91c
sub eax, edx
add eax, 0x11
push eax
call fcn.7376134f
cmp eax, ebx
pop ecx
je 0x7376b971
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 [0x737a009c]
mov dword [eax], ecx
mov dword [0x737a009c], 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 0x7376b961
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 0x7376bad2
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 0x7376b97d
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x25c]
push eax
push ebx
push 0x7376841c
push dword [ebp - 0x26c]
mov dword [ebp - 0x260], esi
call edi
test eax, eax
jne 0x7376b971
cmp dword [ebp - 0x25c], 1
jne 0x7376b971
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x268]
push eax
lea eax, [ebp - 0x25c]
push eax
push ebx
push 0x7376bacc
push dword [ebp - 0x26c]
mov dword [ebp - 0x260], 4
call edi
test eax, eax
jne 0x7376b971
cmp dword [ebp - 0x25c], 4
je 0x7376ba55
cmp dword [ebp - 0x25c], 3
jne 0x7376b971
cmp dword [ebp - 0x260], 4
jne 0x7376b971
test dword [ebp - 0x268], 0xfffff800
jne 0x7376b971
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x270]
push eax
lea eax, [ebp - 0x25c]
push eax
push ebx
push 0x73768418
push dword [ebp - 0x26c]
mov dword [ebp - 0x260], 4
call edi
test eax, eax
jne 0x7376b971
cmp dword [ebp - 0x25c], 4
je 0x7376babd
cmp dword [ebp - 0x25c], 3
jne 0x7376b971
cmp dword [ebp - 0x260], 4
jne 0x7376b971
lea eax, [ebp - 0x108]
lea edx, [eax + 1]
jmp 0x7376b91c
cmp dword [ebp - 0x254], ebx
jle 0x7376b88d
mov eax, dword [ebp - 0x254]
lea eax, [eax*4 + 4]
push eax
call fcn.7376134f
cmp eax, ebx
pop ecx
mov dword [0x737a00a0], eax
je 0x7376b88d
mov eax, dword [0x737a009c]
mov dword [0x737a00a4], ebx
cmp eax, ebx
je 0x7376bb27
mov edx, dword [0x737a00a4]
mov ecx, dword [0x737a00a0]
mov dword [ecx + edx*4], eax
mov eax, dword [eax]
inc dword [0x737a00a4]
jmp 0x7376bb0a
push 0x7376bb4d
push 4
push dword [ebp - 0x254]
push dword [0x737a00a0]
call dword [sym.imp.msvcrt.dll_qsort]
add esp, 0x10
jmp 0x7376b88d
call fcn.737656d1
jmp 0x7376b5f0
lea eax, [ebp - 0x270]
push eax
push 0x737a3230
lea eax, [ebp - 0x268]
push eax
push ebx
push 0x7377ae74
push dword [ebp - 0x250]
mov dword [ebp - 0x270], esi
call edi
test eax, eax
jne 0x7377adc4
inc eax
cmp dword [ebp - 0x268], eax
jne 0x7377adc4
cmp byte [0x737a3230], bl
je 0x7377adc4
mov dword [0x737a07f8], eax
push dword [ebp - 0x250]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x7376b601
mov dword [ebp - 0x258], 0x10
jmp 0x7376b6c7
cmp dword [ebp - 0x264], ebx
je 0x7376b7ea
mov esi, dword [ebp - 0x254]
jmp 0x7377ae17
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 0x7377ae21
cmp esi, dword [0x737a00a0]
je 0x7377ae2a
jmp 0x7377adf8
add esi, 4
mov dword [ebp - 0x254], esi
mov edi, dword [ebp - 0x254]
jmp 0x7377ae58
lea eax, [ebp - 0x108]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x7376b7ea
mov eax, dword [esi + 8]
cmp eax, dword [ebp - 0x264]
je 0x7377ae64
add edi, 4
mov esi, dword [edi]
cmp esi, ebx
je 0x7376b7ea
jmp 0x7377ae32
mov eax, dword [esi + 0xc]
or eax, dword [ebp - 0x258]
jmp 0x7376b7f0