Function at 0x10037be0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4ac
push esi
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x10037d7d
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xa8], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0xa4]
movzx eax, byte [eax]
test eax, eax
je 0x10037c43
push 0x1da4
call dword [sym.imp.USER32.dll_DestroyWindow]
jmp 0x10037d78
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x68]
cmp dword [eax], 0
jne 0x10037cd6
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x3c]
mov ecx, dword [ecx]
cmp dword [eax], ecx
jge 0x10037cc2
mov dword [ebp - 0x60], 1
jmp 0x10037cc6
and dword [ebp - 0x60], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
add eax, dword [ebp - 0x60]
jne 0x10037cd6
and dword [ebp - 0x4c], 0
jmp 0x10037cdd
mov dword [ebp - 0x4c], 1
cmp dword [ebp - 0x4c], 2
ja 0x10037cf4
mov eax, dword [ebp - 0x2c]
cmp dword [eax], 0
je 0x10037cf4
mov dword [ebp - 0x5c], 1
jmp 0x10037cf8
and dword [ebp - 0x5c], 0
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
cmp dword [ebp - 0x5c], eax
jne 0x10037d0b
mov dword [ebp - 0x54], 1
jmp 0x10037d0f
and dword [ebp - 0x54], 0
imul eax, dword [ebp - 0x54], 0xfffd
mov ecx, dword [ebp - 0x34]
cmp eax, dword [ecx]
jg 0x10037d26
mov dword [ebp - 0x48], 1
jmp 0x10037d2a
and dword [ebp - 0x48], 0
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
cmp dword [ebp - 0x48], eax
jl 0x10037d3d
mov dword [ebp - 0x50], 1
jmp 0x10037d41
and dword [ebp - 0x50], 0
cmp dword [ebp - 0x50], 0xfffe
je 0x10037d53
mov dword [ebp - 0x58], 1
jmp 0x10037d57
and dword [ebp - 0x58], 0
mov eax, dword [ebp - 0x58]
dec eax
dec eax
mov ecx, dword [ebp - 0x3c]
cmp eax, dword [ecx]
je 0x10037d6c
mov dword [ebp - 0x44], 1
jmp 0x10037d70
and dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x44]
mov dword [eax], ecx
jmp 0x100380ab
lea eax, [ebp + 8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x10037d9f
push 0
push 0x2192
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
jmp 0x100380ab
mov dword [ebp - 0x7c], 0x1c21
cmp dword [ebp - 0x7c], 0x460
jge 0x10038099
lea eax, [ebp - 0x30]
push eax
push 0x10007800
call fcn.100405bb
pop ecx
pop ecx
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x84], 0
je 0x10038099
lea eax, [ebp - 0x8c]
push eax
push 0x10007800
call fcn.100405bb
pop ecx
pop ecx
push 0x2a4
push 0
lea eax, [ebp - 0x4ac]
push eax
call fcn.1001fc66
add esp, 0xc
push 0x68
push 0
lea eax, [ebp - 0x17c]
push eax
call fcn.1001fc66
add esp, 0xc
push 0x68
push 0
lea eax, [ebp - 0x114]
push eax
call fcn.1001fc66
add esp, 0xc
and dword [ebp - 0x38], 0
jmp 0x10037e3c
mov eax, dword [ebp - 0x38]
inc eax
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x8c]
jge 0x10037eec
lea eax, [ebp - 0x208]
push eax
push 0x10007854
call fcn.100405bb
pop ecx
pop ecx
lea eax, [ebp - 0x208]
push eax
call fcn.10040530
pop ecx
mov dword [ebp - 0x94], eax
xor eax, eax
inc eax
imul eax, eax, 0
movsx eax, byte [ebp + eax - 0x208]
sub eax, 0x61
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x94]
movsx eax, byte [ebp + eax - 0x209]
sub eax, 0x61
mov dword [ebp - 0x20], eax
imul eax, dword [ebp - 0x20], 0x1a
lea eax, [ebp + eax - 0x4ac]
mov ecx, dword [ebp - 0x24]
mov byte [eax + ecx], 1
imul eax, dword [ebp - 0x24], 0x1a
lea eax, [ebp + eax - 0x4ac]
mov ecx, dword [ebp - 0x20]
mov byte [eax + ecx], 1
mov eax, dword [ebp - 0x20]
mov eax, dword [ebp + eax*4 - 0x17c]
inc eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp + ecx*4 - 0x17c], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [ebp + eax*4 - 0x114]
inc eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp + ecx*4 - 0x114], eax
jmp 0x10037e35
and dword [ebp - 0x1c], 0
jmp 0x10037ef9
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1a
jge 0x10037f79
and dword [ebp - 0x14], 0
jmp 0x10037f0c
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1a
jge 0x10037f74
and dword [ebp - 0x18], 0
jmp 0x10037f1f
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1a
jge 0x10037f72
imul eax, dword [ebp - 0x14], 0x1a
lea eax, [ebp + eax - 0x4ac]
mov ecx, dword [ebp - 0x18]
movzx eax, byte [eax + ecx]
imul ecx, dword [ebp - 0x14], 0x1a
lea ecx, [ebp + ecx - 0x4ac]
mov edx, dword [ebp - 0x1c]
movzx ecx, byte [ecx + edx]
imul edx, dword [ebp - 0x1c], 0x1a
lea edx, [ebp + edx - 0x4ac]
mov esi, dword [ebp - 0x18]
movzx edx, byte [edx + esi]
and ecx, edx
or eax, ecx
imul ecx, dword [ebp - 0x14], 0x1a
lea ecx, [ebp + ecx - 0x4ac]
mov edx, dword [ebp - 0x18]
mov byte [ecx + edx], al
jmp 0x10037f18
jmp 0x10037f05
jmp 0x10037ef2
mov byte [ebp - 1], 1
and dword [ebp - 0x10], 0
jmp 0x10037f8a
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x1a
jge 0x10037ff9
and dword [ebp - 0xc], 0
jmp 0x10037f9d
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x1a
jge 0x10037ff7
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
je 0x10037ff5
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x17c]
mov ecx, dword [ebp - 0x10]
add eax, dword [ebp + ecx*4 - 0x114]
test eax, eax
jle 0x10037ff5
mov eax, dword [ebp - 0xc]
mov eax, dword [ebp + eax*4 - 0x17c]
mov ecx, dword [ebp - 0xc]
add eax, dword [ebp + ecx*4 - 0x114]
test eax, eax
jle 0x10037ff5
imul eax, dword [ebp - 0x10], 0x1a
lea eax, [ebp + eax - 0x4ac]
mov ecx, dword [ebp - 0xc]
movzx eax, byte [eax + ecx]
test eax, eax
jne 0x10037ff5
mov byte [ebp - 1], 0
jmp 0x10037f96
jmp 0x10037f83
and dword [ebp - 0x28], 0
and dword [ebp - 0x40], 0
and dword [ebp - 8], 0
jmp 0x1003800e
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1a
jge 0x10038053
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x17c]
cmp eax, dword [ebp + ecx*4 - 0x114]
jne 0x10038033
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
jmp 0x10038051
mov eax, dword [ebp - 8]
mov eax, dword [ebp + eax*4 - 0x17c]
inc eax
mov ecx, dword [ebp - 8]
cmp dword [ebp + ecx*4 - 0x114], eax
jne 0x10038051
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
jmp 0x10038007
cmp dword [ebp - 0x28], 0x1a
je 0x10038069
cmp dword [ebp - 0x28], 0x18
jne 0x10038065
cmp dword [ebp - 0x40], 1
je 0x10038069
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1003807e
push 0x10007f44
call fcn.10040c03
pop ecx
jmp 0x10038089
push 0x10007f5c
call fcn.10040c03
pop ecx
push 0x10007864
call fcn.10040c03
pop ecx
jmp 0x10037dc3
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
pop esi
mov esp, ebp
pop ebp
ret