Function at 0x1001b040
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x308
mov eax, dword [0x100ffa04]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x300], ecx
xor bl, bl
mov dword [ebp - 0x294], 0
push str.LOCALAPPDATA
mov byte [ebp - 0x2ed], bl
mov dword [ebp - 0x290], 7
mov word [ebp - 0x2a4], ax
call fcn.1009e1b1
mov edx, eax
add esp, 4
test edx, edx
je 0x1001b00b
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001ab80
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2a4]
call fcn.10007720
mov edi, dword [ebp - 0x294]
test edi, edi
je 0x1001ac9f
mov ebx, dword [ebp - 0x290]
lea eax, [ebp - 0x2a4]
mov ecx, dword [ebp - 0x2a4]
cmp ebx, 8
cmovae eax, ecx
cmp word [eax + edi*2 - 2], 0x5c
je 0x1001ac99
cmp edi, ebx
jae 0x1001abf3
lea eax, [edi + 1]
cmp ebx, 8
mov dword [ebp - 0x294], eax
lea eax, [ebp - 0x2a4]
cmovae eax, ecx
mov dword [eax + edi*2], 0x5c
jmp 0x1001ac99
mov ecx, SysReAllocString
mov eax, ecx
sub eax, edi
cmp eax, 1
jb 0x1001b038
lea esi, [edi + 1]
or esi, 7
cmp esi, ecx
jbe 0x1001ac13
mov esi, ecx
jmp 0x1001ac2b
mov eax, ebx
shr eax, 1
sub ecx, eax
cmp ebx, ecx
jbe 0x1001ac24
mov esi, SysReAllocString
jmp 0x1001ac2b
add eax, ebx
cmp esi, eax
cmovb esi, eax
lea eax, [esi*2 + 2]
push eax
call fcn.10022ba0
mov dword [ebp - 0x2f4], eax
lea ecx, [edi + 1]
mov dword [ebp - 0x294], ecx
lea ecx, [edi + edi]
mov dword [ebp - 0x290], esi
lea edi, [ecx + eax]
push ecx
cmp ebx, 8
jb 0x1001ac77
mov esi, dword [ebp - 0x2a4]
push esi
push eax
call fcn.1008bf40
add esp, 0xc
mov dword [edi], 0x5c
push esi
call fcn.10022bc0
jmp 0x1001ac8d
lea ecx, [ebp - 0x2a4]
push ecx
push eax
call fcn.1008bf40
add esp, 0xc
mov dword [edi], 0x5c
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x2a4], eax
mov bl, byte [ebp - 0x2ed]
mov eax, dword [ebp - 0x300]
cmp dword [eax + 0x1c], 8
lea ecx, [eax + 8]
jb 0x1001acb1
mov ecx, dword [eax + 8]
push dword [eax + 0x18]
push ecx
lea ecx, [ebp - 0x2a4]
call fcn.1000afa0
push 4
push 0x100c0368
lea ecx, [ebp - 0x2a4]
call fcn.1000afa0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
lea eax, [ebp - 0x28c]
push 0x103
push eax
push esi
call sub.KERNEL32.dll_K32GetProcessImageFileNameW
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.Executable_file_path_is:_
call edi
lea eax, [ebp - 0x28c]
push eax
call edi
push 0x100c03c8
call edi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
lea eax, [ebp - 0x84]
push 0x100c03cc
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x84]
push eax
call edi
push 0x100c03c8
call edi
push str.Trace__dump_config_file_path_is:_
call edi
cmp dword [ebp - 0x290], 8
lea eax, [ebp - 0x2a4]
cmovae eax, dword [ebp - 0x2a4]
push eax
call edi
push str._n
call edi
cmp dword [ebp - 0x290], 8
lea ecx, [ebp - 0x2f4]
push ecx
push 1
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2f4], 0
cmovae eax, dword [ebp - 0x2a4]
push 0
push eax
call fcn.10071aa0
test eax, eax
jne case.default.0x1001aeb5
mov eax, dword [ebp - 0x2f4]
lea edx, [ebp - 0x308]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov esi, dword [ebp - 0x308]
mov ecx, esi
mov eax, dword [ebp - 0x304]
add ecx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja case.default.0x1001aeb5
jb 0x1001adcf
cmp ecx, 0xffe
ja case.default.0x1001aeb5
add esi, 4
mov eax, esi
call fcn.1008b390
mov edi, esp
push esi
push 0
push edi
call fcn.1008ca40
mov eax, dword [ebp - 0x2f4]
add esp, 0xc
mov ecx, dword [eax]
push 0
push dword [ebp - 0x308]
push edi
push eax
call dword [ecx + 0x14]
mov ecx, dword [ebp - 0x308]
xor eax, eax
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2a8], 7
mov word [ebp - 0x2bc], ax
test edi, edi
je 0x1001aeab
cmp ecx, 3
jb 0x1001ae44
cmp byte [edi], 0xef
jne 0x1001ae44
cmp byte [edi + 1], 0xbb
jne 0x1001ae44
cmp byte [edi + 2], 0xbf
jne 0x1001ae44
mov eax, 2
jmp 0x1001aeab
cmp ecx, 2
jb 0x1001ae85
mov al, byte [edi]
cmp al, 0xff
jne 0x1001ae74
cmp byte [edi + 1], 0xfe
jne 0x1001ae74
cmp ecx, 4
jb 0x1001ae6d
cmp byte [edi + 2], 0
jne 0x1001ae6d
cmp byte [edi + 3], 0
jne 0x1001ae6d
mov eax, 5
jmp 0x1001aeab
mov eax, 3
jmp 0x1001aeab
cmp al, 0xfe
jne 0x1001ae85
cmp byte [edi + 1], 0xff
jne 0x1001ae85
mov eax, 4
jmp 0x1001aeab
cmp ecx, 4
jb 0x1001aea6
cmp byte [edi], 0
jne 0x1001aea6
cmp byte [edi + 1], 0
jne 0x1001aea6
cmp byte [edi + 2], 0xfe
jne 0x1001aea6
cmp byte [edi + 3], 0xff
mov eax, 6
je 0x1001aeab
mov eax, 1
dec eax
cmp eax, 3
ja case.default.0x1001aeb5
jmp dword [eax*4 + 0x1001b040]
push edi
lea ecx, [ebp - 0x2d4]
call fcn.10016e10
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x2ec]
push eax
call fcn.100220e0
push eax
lea ecx, [ebp - 0x2bc]
call fcn.10019820
lea ecx, [ebp - 0x2ec]
call fcn.10006a50
lea ecx, [ebp - 0x2d4]
call fcn.10016fd0
jmp 0x1001af5b
push edi
lea ecx, [ebp - 0x2d4]
call fcn.10016e10
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x2ec]
push eax
call fcn.10022260
push eax
lea ecx, [ebp - 0x2bc]
call fcn.10019820
lea ecx, [ebp - 0x2ec]
call fcn.10006a50
lea ecx, [ebp - 0x2d4]
call fcn.10016fd0
jmp 0x1001af5b
push ecx
push edi
call fcn.1001c280
add esp, 8
lea eax, [edi + 2]
push eax
lea ecx, [ebp - 0x2bc]
call fcn.10006a80
cmp dword [ebp - 0x2ac], 0
je 0x1001afe7
lea ecx, [ebp - 0x2fc]
call fcn.10018960
push 0x100c0460
lea ecx, [ebp - 0x2d4]
call fcn.10007e90
lea eax, [ebp - 0x2fc]
push eax
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x2bc]
push eax
call fcn.1001b7f0
add esp, 0xc
lea ecx, [ebp - 0x2d4]
mov esi, eax
call fcn.10006a50
test esi, esi
je 0x1001afc5
mov ecx, dword [ebp - 0x300]
lea eax, [ebp - 0x2fc]
push eax
call fcn.1001a4a0
mov bl, 1
mov eax, dword [ebp - 0x2fc]
push dword [eax + 4]
lea eax, [ebp - 0x2fc]
push eax
mov ecx, eax
call fcn.10018160
push dword [ebp - 0x2fc]
call fcn.10022bc0
cmp dword [ebp - 0x2a8], 8
jb case.default.0x1001aeb5
push dword [ebp - 0x2bc]
call fcn.10022bc0
mov eax, dword [ebp - 0x2f4]
test eax, eax
je 0x1001b00b
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
cmp dword [ebp - 0x290], 8
jb 0x1001b01f
push dword [ebp - 0x2a4]
call fcn.10022bc0
mov al, bl
lea esp, [ebp - 0x314]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aaed
mov esp, ebp
pop ebp
ret
call fcn.10007630
nop dword [eax]
mov esp, 0xff1001ae
scasb al, byte es:[edi]
add dword [eax], edx
dec esp
scasd eax, dword es:[edi]
add dword [eax], edx
inc edx
scasd eax, dword es:[edi]
add dword [eax], edx