Function at 0x456bf3
Capabilities:
Create directory
Query or enumerate registry value

Disassembly:
push 0xcec
mov eax, 0x4690d6
call fcn.0045f3fe
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x113]
push ebx
push eax
mov dword [ebp - 0xc94], ecx
mov dword [ebp - 0xc98], edi
mov byte [ebp - 0x114], bl
call fcn.004433d0
add esp, 0xc
call fcn.004610c9
mov esi, dword [eax + 0x40]
mov dword [ebp - 0xc88], esi
cmp esi, ebx
je 0x456c59
push 0x406078
push esi
call fcn.004610c9
push 0x406010
push esi
call fcn.004610c9
add esp, 0x10
lea eax, [ebp - 0xc9c]
push eax
push 0x20019
push ebx
push 0x405fd8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x456d64
lea eax, [ebp - 0xca4]
push eax
lea eax, [ebp - 0x114]
push eax
push ebx
push ebx
push 0x405fd0
push dword [ebp - 0xc9c]
mov dword [ebp - 0xca4], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0xc9c]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
jne 0x456d64
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0xc84]
call fcn.004610c9
mov dword [ebp - 4], ebx
push dword [ebp - 0xc84]
mov ecx, edi
call fcn.004610c9
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x456cee
mov eax, dword [esi]
jmp 0x456cf0
mov eax, esi
push ebx
push eax
call fcn.004610c9
pop ecx
pop ecx
test eax, eax
jne 0x456d46
cmp dword [ebp - 0xc88], ebx
je 0x456d21
cmp dword [edi + 0x18], 8
jb 0x456d0d
mov esi, dword [esi]
push esi
push 0x405f50
push dword [ebp - 0xc88]
call fcn.004610c9
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xc80]
cmp dword [ebp - 0xc84], eax
je 0x456d3f
push dword [ebp - 0xc84]
call fcn.0043e7ba
pop ecx
mov al, 1
jmp 0x4574cd
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xc80]
cmp dword [ebp - 0xc84], eax
je 0x456d64
push dword [ebp - 0xc84]
call fcn.0043e7ba
pop ecx
xor eax, eax
push 0x618
mov word [ebp - 0xb48], ax
lea eax, [ebp - 0xb46]
push ebx
push eax
call fcn.004433d0
xor eax, eax
mov esi, 0x208
push esi
mov word [ebp - 0x52c], ax
lea eax, [ebp - 0x52a]
push ebx
push eax
call fcn.004433d0
xor eax, eax
push esi
mov word [ebp - 0x320], ax
lea eax, [ebp - 0x31e]
push ebx
push eax
call fcn.004433d0
add esp, 0x24
push 0x30c
lea eax, [ebp - 0xb48]
push eax
push ebx
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
push ebx
push ebx
push ebx
push ebx
mov eax, 0x105
push eax
lea ecx, [ebp - 0x320]
push ecx
push eax
lea eax, [ebp - 0x52c]
push eax
lea eax, [ebp - 0xb48]
push eax
call fcn.004610c9
push ebx
push ebx
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x52c]
push eax
lea eax, [ebp - 0xb48]
push 0x30d
push eax
call fcn.004610c9
add esp, 0x3c
cmp dword [ebp - 0xc88], ebx
je 0x456e2b
push 0x405f00
push dword [ebp - 0xc88]
call fcn.004610c9
pop ecx
pop ecx
lea eax, [ebp - 0xb48]
push eax
lea ecx, [ebp - 0xb64]
call fcn.004610c9
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push dword [0x47dc1c]
push eax
lea eax, [ebp - 0xb80]
push eax
call fcn.004191b1
add esp, 0xc
mov byte [ebp - 4], 2
push eax
mov ecx, edi
call fcn.004610c9
mov byte [ebp - 4], 1
push ebx
push esi
lea ecx, [ebp - 0xb80]
call fcn.004610c9
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp - 0xb64]
call fcn.004610c9
cmp dword [edi + 0x18], 8
lea eax, [edi + 4]
mov dword [ebp - 0xc8c], eax
jb 0x456e98
mov eax, dword [eax]
push ebx
push eax
call fcn.004610c9
pop ecx
pop ecx
test eax, eax
jne 0x457285
lea eax, [ebp - 0xb48]
push eax
lea ecx, [ebp - 0xcc0]
call fcn.004610c9
mov dword [ebp - 4], 3
push dword [0x47dbe4]
push eax
lea eax, [ebp - 0xcdc]
push eax
call fcn.004191b1
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xc94]
add ecx, 0x24
push ecx
push eax
lea eax, [ebp - 0xcf8]
push eax
call fcn.00419205
mov byte [ebp - 4], 5
push dword [0x47dbe4]
push eax
lea eax, [ebp - 0xb64]
push eax
call fcn.004191b1
mov byte [ebp - 4], 6
push dword [0x47dc20]
push eax
lea eax, [ebp - 0xb80]
push eax
call fcn.004191b1
add esp, 0x30
mov byte [ebp - 4], 8
push ebx
push esi
lea ecx, [ebp - 0xb64]
call fcn.004610c9
mov byte [ebp - 4], 9
push ebx
push esi
lea ecx, [ebp - 0xcf8]
call fcn.004610c9
mov byte [ebp - 4], 0xa
push ebx
push esi
lea ecx, [ebp - 0xcdc]
call fcn.004610c9
mov byte [ebp - 4], 0xb
push ebx
push esi
lea ecx, [ebp - 0xcc0]
call fcn.004610c9
cmp dword [ebp - 0xb68], 8
mov eax, dword [ebp - 0xb7c]
jae 0x456f7a
lea eax, [ebp - 0xb7c]
push ebx
push eax
call fcn.004610c9
pop ecx
pop ecx
test eax, eax
jne 0x456fc7
cmp dword [ebp - 0xc88], ebx
je 0x456fb1
cmp dword [edi + 0x18], 8
mov eax, dword [ebp - 0xc8c]
jb 0x456f9d
mov eax, dword [eax]
push eax
push 0x405e90
push dword [ebp - 0xc88]
call fcn.004610c9
add esp, 0xc
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp - 0xb80]
call fcn.004610c9
jmp 0x456d3f
lea eax, [ebp - 0xb48]
push eax
lea ecx, [ebp - 0xcdc]
call fcn.004610c9
mov byte [ebp - 4], 0xc
push dword [0x47dbe4]
push eax
lea eax, [ebp - 0xcc0]
push eax
call fcn.004191b1
mov byte [ebp - 4], 0xd
push dword [0x47dc20]
push eax
lea eax, [ebp - 0xb64]
push eax
call fcn.004191b1
add esp, 0x18
mov byte [ebp - 4], 0xf
push ebx
push esi
lea ecx, [ebp - 0xcc0]
call fcn.004610c9
mov byte [ebp - 4], 0x10
push ebx
push esi
lea ecx, [ebp - 0xcdc]
call fcn.004610c9
cmp dword [ebp - 0xb4c], 8
mov eax, dword [ebp - 0xb60]
jae 0x457041
lea eax, [ebp - 0xb60]
push ebx
push eax
call fcn.004610c9
pop ecx
pop ecx
test eax, eax
jne 0x4573e0
lea eax, [ebp - 0xb48]
push eax
lea ecx, [ebp - 0xcf8]
call fcn.004610c9
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0xc94]
add ecx, 0x24
push ecx
push eax
lea eax, [ebp - 0xcdc]
push eax
call fcn.00419205
mov byte [ebp - 4], 0x12
push dword [0x47dbe4]
push eax
lea eax, [ebp - 0xcc0]
push eax
call fcn.004191b1
add esp, 0x18
mov byte [ebp - 4], 0x13
mov edi, dword [ebp - 0xc94]
add edi, 0x40
push eax
mov ecx, edi
call fcn.004610c9
mov byte [ebp - 4], 0x12
push ebx
push esi
lea ecx, [ebp - 0xcc0]
call fcn.004610c9
mov byte [ebp - 4], 0x11
push ebx
push esi
lea ecx, [ebp - 0xcdc]
call fcn.004610c9
mov byte [ebp - 4], 0x10
push ebx
push esi
lea ecx, [ebp - 0xcf8]
call fcn.004610c9
cmp dword [edi + 0x18], 8
jb 0x4570ec
mov eax, dword [edi + 4]
jmp 0x4570ef
lea eax, [edi + 4]
push ebx
push eax
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
cmp eax, esi
jne 0x4573ad
push dword [0x47dc20]
lea eax, [ebp - 0xcf8]
push edi
push eax
call fcn.004191b1
add esp, 0xc
mov dword [ebp - 0xca0], eax
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0xb48]
push eax
lea ecx, [ebp - 0xcdc]
call fcn.004610c9
mov byte [ebp - 4], 0x15
push dword [0x47dc20]
push eax
lea eax, [ebp - 0xcc0]
push eax
call fcn.004191b1
add esp, 0xc
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0xca0]
cmp dword [ecx + 0x18], 8
jb 0x457160
mov ecx, dword [ecx + 4]
jmp 0x457163
add ecx, 4
cmp dword [eax + 0x18], 8
jb 0x45716e
mov eax, dword [eax + 4]
jmp 0x457171
add eax, 4
push ebx
push ecx
push eax
call dword [0x47e08c]
dec eax
neg eax
sbb al, al
inc al
mov byte [ebp - 0xc8d], al
mov byte [ebp - 4], 0x15
push ebx
push esi
lea ecx, [ebp - 0xcc0]
call fcn.004610c9
mov byte [ebp - 4], 0x14
push ebx
push esi
lea ecx, [ebp - 0xcdc]
call fcn.004610c9
mov byte [ebp - 4], 0x10
push ebx
push esi
lea ecx, [ebp - 0xcf8]
call fcn.004610c9
cmp byte [ebp - 0xc8d], bl
je 0x457208
cmp dword [ebp - 0xc88], ebx
je 0x4571f2
mov eax, dword [ebp - 0xc98]
cmp dword [eax + 0x18], 8
mov eax, dword [ebp - 0xc8c]
jb 0x4571de
mov eax, dword [eax]
push eax
push 0x405e90
push dword [ebp - 0xc88]
call fcn.004610c9
add esp, 0xc
mov byte [ebp - 4], 0xb
push ebx
push esi
lea ecx, [ebp - 0xb64]
call fcn.004610c9
jmp 0x456fb1
cmp dword [ebp - 0xc88], ebx
je 0x45725d
push dword [0x47dc20]
lea eax, [ebp - 0xcc0]
push edi
push eax
call fcn.004191b1
add esp, 0xc
mov byte [ebp - 4], 0x17
cmp dword [eax + 0x18], 8
jb 0x457235
mov eax, dword [eax + 4]
jmp 0x457238
add eax, 4
push eax
push 0x405dd0
push dword [ebp - 0xc88]
call fcn.004610c9
add esp, 0xc
mov byte [ebp - 4], 0x10
push ebx
push esi
lea ecx, [ebp - 0xcc0]
call fcn.004610c9
mov edi, dword [ebp - 0xc98]
mov byte [ebp - 4], 0xb
push ebx
push esi
lea ecx, [ebp - 0xb64]
call fcn.004610c9
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp - 0xb80]
call fcn.004610c9
push 0x30c
lea eax, [ebp - 0xb48]
push eax
push ebx
call dword [sym.imp.kernel32.dll_GetModuleFileNameW]
push ebx
push ebx
push ebx
push ebx
mov eax, 0x105
push eax
lea ecx, [ebp - 0x320]
push ecx
push eax
lea eax, [ebp - 0x52c]
push eax
lea eax, [ebp - 0xb48]
push eax
call fcn.004610c9
push ebx
push ebx
lea eax, [ebp - 0x320]
push eax
lea eax, [ebp - 0x52c]
push eax
lea eax, [ebp - 0xb48]
push 0x30d
push eax
call fcn.004610c9
push 0x405d70
push dword [ebp - 0xc88]
call fcn.004610c9
add esp, 0x44
lea eax, [ebp - 0xb48]
push eax
lea ecx, [ebp - 0xb80]
call fcn.004610c9
mov dword [ebp - 4], 0x18
push 0x409c40
push eax
lea eax, [ebp - 0xcf8]
push eax
call fcn.004191b1
mov byte [ebp - 4], 0x19
push dword [0x47dbe4]
push eax
lea eax, [ebp - 0xcdc]
push eax
call fcn.004191b1
mov byte [ebp - 4], 0x1a
push dword [0x47dc1c]
push eax
lea eax, [ebp - 0xcc0]
push eax
call fcn.004191b1
add esp, 0x24
mov byte [ebp - 4], 0x1b
push eax
mov ecx, edi
call fcn.004610c9
mov byte [ebp - 4], 0x1a
push ebx
push esi
lea ecx, [ebp - 0xcc0]
call fcn.004610c9
mov byte [ebp - 4], 0x19
push ebx
push esi
lea ecx, [ebp - 0xcdc]
call fcn.004610c9
mov byte [ebp - 4], 0x18
push ebx
push esi
lea ecx, [ebp - 0xcf8]
call fcn.004610c9
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp - 0xb80]
call fcn.004610c9
cmp dword [edi + 0x18], 8
mov esi, dword [ebp - 0xc8c]
jb 0x45741a
mov eax, dword [esi]
jmp 0x457420
cmp dword [ebp - 0xc88], ebx
je 0x45725d
cmp dword [edi + 0x18], 8
jb 0x4573c4
mov edi, dword [edi + 4]
jmp 0x4573c7
add edi, 4
push edi
push 0x405cc8
push dword [ebp - 0xc88]
call fcn.004610c9
add esp, 0xc
jmp 0x45725d
cmp dword [ebp - 0xc88], ebx
je 0x457263
cmp dword [ebp - 0xb4c], 8
mov eax, dword [ebp - 0xb60]
jae 0x457401
lea eax, [ebp - 0xb60]
push eax
push 0x405c10
push dword [ebp - 0xc88]
call fcn.004610c9
add esp, 0xc
jmp 0x457263
mov eax, dword [ebp - 0xc8c]
push ebx
push eax
call fcn.004610c9
pop ecx
pop ecx
test eax, eax
jne 0x45745a
cmp dword [ebp - 0xc88], ebx
je 0x456d3f
cmp dword [edi + 0x18], 8
jb 0x457441
mov esi, dword [esi]
push esi
push 0x405b88
push dword [ebp - 0xc88]
call fcn.004610c9
add esp, 0xc
jmp 0x456d3f
push 0x405b20
push dword [ebp - 0xc88]
call fcn.004610c9
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc94]
push edi
call fcn.00455b77
test al, al
je 0x4574b1
cmp dword [edi + 0x18], 8
jb 0x457486
mov eax, dword [esi]
jmp 0x457488
mov eax, esi
push ebx
push eax
call fcn.004610c9
pop ecx
pop ecx
test eax, eax
jne 0x4574b1
cmp dword [ebp - 0xc88], ebx
je 0x456d3f
cmp dword [edi + 0x18], 8
jb 0x4574a9
mov esi, dword [esi]
push esi
push 0x405aa8
jmp 0x457447
cmp dword [ebp - 0xc88], ebx
je 0x4574cb
push 0x405a60
push dword [ebp - 0xc88]
call fcn.004610c9
pop ecx
pop ecx
xor al, al
call fcn.0045f490
ret 4