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

Disassembly:
push 0xcec
mov eax, 0x469508
call fcn.0045f4d4
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.00443420
add esp, 0xc
call fcn.0044e701
mov esi, dword [eax + 0x40]
mov dword [ebp - 0xc88], esi
cmp esi, ebx
je 0x456d8c
push 0x406078
push esi
call fcn.004555c6
push 0x406010
push esi
call fcn.004555c6
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 0x456e97
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 0x456e97
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0xc84]
call fcn.0041cef8
mov dword [ebp - 4], ebx
push dword [ebp - 0xc84]
mov ecx, edi
call fcn.00413ccf
cmp dword [edi + 0x18], 8
lea esi, [edi + 4]
jb 0x456e21
mov eax, dword [esi]
jmp 0x456e23
mov eax, esi
push ebx
push eax
call fcn.0043f6de
pop ecx
pop ecx
test eax, eax
jne 0x456e79
cmp dword [ebp - 0xc88], ebx
je 0x456e54
cmp dword [edi + 0x18], 8
jb 0x456e40
mov esi, dword [esi]
push esi
push 0x405f50
push dword [ebp - 0xc88]
call fcn.004555c6
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xc80]
cmp dword [ebp - 0xc84], eax
je 0x456e72
push dword [ebp - 0xc84]
call fcn.0043e815
pop ecx
mov al, 1
jmp 0x457600
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0xc80]
cmp dword [ebp - 0xc84], eax
je 0x456e97
push dword [ebp - 0xc84]
call fcn.0043e815
pop ecx
xor eax, eax
push 0x618
mov word [ebp - 0xb48], ax
lea eax, [ebp - 0xb46]
push ebx
push eax
call fcn.00443420
xor eax, eax
mov esi, 0x208
push esi
mov word [ebp - 0x52c], ax
lea eax, [ebp - 0x52a]
push ebx
push eax
call fcn.00443420
xor eax, eax
push esi
mov word [ebp - 0x320], ax
lea eax, [ebp - 0x31e]
push ebx
push eax
call fcn.00443420
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.0043f0ea
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.0043f3a0
add esp, 0x3c
cmp dword [ebp - 0xc88], ebx
je 0x456f5e
push 0x405f00
push dword [ebp - 0xc88]
call fcn.004555c6
pop ecx
pop ecx
lea eax, [ebp - 0xb48]
push eax
lea ecx, [ebp - 0xb64]
call fcn.004132cd
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push dword [0x47dc1c]
push eax
lea eax, [ebp - 0xb80]
push eax
call fcn.004191e4
add esp, 0xc
mov byte [ebp - 4], 2
push eax
mov ecx, edi
call fcn.00411d93
mov byte [ebp - 4], 1
push ebx
push esi
lea ecx, [ebp - 0xb80]
call fcn.00411dad
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp - 0xb64]
call fcn.00411dad
cmp dword [edi + 0x18], 8
lea eax, [edi + 4]
mov dword [ebp - 0xc8c], eax
jb 0x456fcb
mov eax, dword [eax]
push ebx
push eax
call fcn.0043f6de
pop ecx
pop ecx
test eax, eax
jne 0x4573b8
lea eax, [ebp - 0xb48]
push eax
lea ecx, [ebp - 0xcc0]
call fcn.004132cd
mov dword [ebp - 4], 3
push dword [0x47dbe4]
push eax
lea eax, [ebp - 0xcdc]
push eax
call fcn.004191e4
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.00419238
mov byte [ebp - 4], 5
push dword [0x47dbe4]
push eax
lea eax, [ebp - 0xb64]
push eax
call fcn.004191e4
mov byte [ebp - 4], 6
push dword [0x47dc20]
push eax
lea eax, [ebp - 0xb80]
push eax
call fcn.004191e4
add esp, 0x30
mov byte [ebp - 4], 8
push ebx
push esi
lea ecx, [ebp - 0xb64]
call fcn.00411dad
mov byte [ebp - 4], 9
push ebx
push esi
lea ecx, [ebp - 0xcf8]
call fcn.00411dad
mov byte [ebp - 4], 0xa
push ebx
push esi
lea ecx, [ebp - 0xcdc]
call fcn.00411dad
mov byte [ebp - 4], 0xb
push ebx
push esi
lea ecx, [ebp - 0xcc0]
call fcn.00411dad
cmp dword [ebp - 0xb68], 8
mov eax, dword [ebp - 0xb7c]
jae 0x4570ad
lea eax, [ebp - 0xb7c]
push ebx
push eax
call fcn.0043f6de
pop ecx
pop ecx
test eax, eax
jne 0x4570fa
cmp dword [ebp - 0xc88], ebx
je 0x4570e4
cmp dword [edi + 0x18], 8
mov eax, dword [ebp - 0xc8c]
jb 0x4570d0
mov eax, dword [eax]
push eax
push 0x405e90
push dword [ebp - 0xc88]
call fcn.004555c6
add esp, 0xc
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp - 0xb80]
call fcn.00411dad
jmp 0x456e72
lea eax, [ebp - 0xb48]
push eax
lea ecx, [ebp - 0xcdc]
call fcn.004132cd
mov byte [ebp - 4], 0xc
push dword [0x47dbe4]
push eax
lea eax, [ebp - 0xcc0]
push eax
call fcn.004191e4
mov byte [ebp - 4], 0xd
push dword [0x47dc20]
push eax
lea eax, [ebp - 0xb64]
push eax
call fcn.004191e4
add esp, 0x18
mov byte [ebp - 4], 0xf
push ebx
push esi
lea ecx, [ebp - 0xcc0]
call fcn.00411dad
mov byte [ebp - 4], 0x10
push ebx
push esi
lea ecx, [ebp - 0xcdc]
call fcn.00411dad
cmp dword [ebp - 0xb4c], 8
mov eax, dword [ebp - 0xb60]
jae 0x457174
lea eax, [ebp - 0xb60]
push ebx
push eax
call fcn.0043f6de
pop ecx
pop ecx
test eax, eax
jne 0x457513
lea eax, [ebp - 0xb48]
push eax
lea ecx, [ebp - 0xcf8]
call fcn.004132cd
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.00419238
mov byte [ebp - 4], 0x12
push dword [0x47dbe4]
push eax
lea eax, [ebp - 0xcc0]
push eax
call fcn.004191e4
add esp, 0x18
mov byte [ebp - 4], 0x13
mov edi, dword [ebp - 0xc94]
add edi, 0x40
push eax
mov ecx, edi
call fcn.00411d93
mov byte [ebp - 4], 0x12
push ebx
push esi
lea ecx, [ebp - 0xcc0]
call fcn.00411dad
mov byte [ebp - 4], 0x11
push ebx
push esi
lea ecx, [ebp - 0xcdc]
call fcn.00411dad
mov byte [ebp - 4], 0x10
push ebx
push esi
lea ecx, [ebp - 0xcf8]
call fcn.00411dad
cmp dword [edi + 0x18], 8
jb 0x45721f
mov eax, dword [edi + 4]
jmp 0x457222
lea eax, [edi + 4]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, esi
jne 0x4574e0
push dword [0x47dc20]
lea eax, [ebp - 0xcf8]
push edi
push eax
call fcn.004191e4
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.004132cd
mov byte [ebp - 4], 0x15
push dword [0x47dc20]
push eax
lea eax, [ebp - 0xcc0]
push eax
call fcn.004191e4
add esp, 0xc
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0xca0]
cmp dword [ecx + 0x18], 8
jb 0x457293
mov ecx, dword [ecx + 4]
jmp 0x457296
add ecx, 4
cmp dword [eax + 0x18], 8
jb 0x4572a1
mov eax, dword [eax + 4]
jmp 0x4572a4
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.00411dad
mov byte [ebp - 4], 0x14
push ebx
push esi
lea ecx, [ebp - 0xcdc]
call fcn.00411dad
mov byte [ebp - 4], 0x10
push ebx
push esi
lea ecx, [ebp - 0xcf8]
call fcn.00411dad
cmp byte [ebp - 0xc8d], bl
je 0x45733b
cmp dword [ebp - 0xc88], ebx
je 0x457325
mov eax, dword [ebp - 0xc98]
cmp dword [eax + 0x18], 8
mov eax, dword [ebp - 0xc8c]
jb 0x457311
mov eax, dword [eax]
push eax
push 0x405e90
push dword [ebp - 0xc88]
call fcn.004555c6
add esp, 0xc
mov byte [ebp - 4], 0xb
push ebx
push esi
lea ecx, [ebp - 0xb64]
call fcn.00411dad
jmp 0x4570e4
cmp dword [ebp - 0xc88], ebx
je 0x457390
push dword [0x47dc20]
lea eax, [ebp - 0xcc0]
push edi
push eax
call fcn.004191e4
add esp, 0xc
mov byte [ebp - 4], 0x17
cmp dword [eax + 0x18], 8
jb 0x457368
mov eax, dword [eax + 4]
jmp 0x45736b
add eax, 4
push eax
push 0x405dd0
push dword [ebp - 0xc88]
call fcn.004555c6
add esp, 0xc
mov byte [ebp - 4], 0x10
push ebx
push esi
lea ecx, [ebp - 0xcc0]
call fcn.00411dad
mov edi, dword [ebp - 0xc98]
mov byte [ebp - 4], 0xb
push ebx
push esi
lea ecx, [ebp - 0xb64]
call fcn.00411dad
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp - 0xb80]
call fcn.00411dad
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.0043f0ea
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.0043f3a0
push 0x405d70
push dword [ebp - 0xc88]
call fcn.004555c6
add esp, 0x44
lea eax, [ebp - 0xb48]
push eax
lea ecx, [ebp - 0xb80]
call fcn.004132cd
mov dword [ebp - 4], 0x18
push 0x409c40
push eax
lea eax, [ebp - 0xcf8]
push eax
call fcn.004191e4
mov byte [ebp - 4], 0x19
push dword [0x47dbe4]
push eax
lea eax, [ebp - 0xcdc]
push eax
call fcn.004191e4
mov byte [ebp - 4], 0x1a
push dword [0x47dc1c]
push eax
lea eax, [ebp - 0xcc0]
push eax
call fcn.004191e4
add esp, 0x24
mov byte [ebp - 4], 0x1b
push eax
mov ecx, edi
call fcn.00411d93
mov byte [ebp - 4], 0x1a
push ebx
push esi
lea ecx, [ebp - 0xcc0]
call fcn.00411dad
mov byte [ebp - 4], 0x19
push ebx
push esi
lea ecx, [ebp - 0xcdc]
call fcn.00411dad
mov byte [ebp - 4], 0x18
push ebx
push esi
lea ecx, [ebp - 0xcf8]
call fcn.00411dad
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp - 0xb80]
call fcn.00411dad
cmp dword [edi + 0x18], 8
mov esi, dword [ebp - 0xc8c]
jb 0x45754d
mov eax, dword [esi]
jmp 0x457553
cmp dword [ebp - 0xc88], ebx
je 0x457390
cmp dword [edi + 0x18], 8
jb 0x4574f7
mov edi, dword [edi + 4]
jmp 0x4574fa
add edi, 4
push edi
push 0x405cc8
push dword [ebp - 0xc88]
call fcn.004555c6
add esp, 0xc
jmp 0x457390
cmp dword [ebp - 0xc88], ebx
je 0x457396
cmp dword [ebp - 0xb4c], 8
mov eax, dword [ebp - 0xb60]
jae 0x457534
lea eax, [ebp - 0xb60]
push eax
push 0x405c10
push dword [ebp - 0xc88]
call fcn.004555c6
add esp, 0xc
jmp 0x457396
mov eax, dword [ebp - 0xc8c]
push ebx
push eax
call fcn.0043f6de
pop ecx
pop ecx
test eax, eax
jne 0x45758d
cmp dword [ebp - 0xc88], ebx
je 0x456e72
cmp dword [edi + 0x18], 8
jb 0x457574
mov esi, dword [esi]
push esi
push 0x405b88
push dword [ebp - 0xc88]
call fcn.004555c6
add esp, 0xc
jmp 0x456e72
push 0x405b20
push dword [ebp - 0xc88]
call fcn.004555c6
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc94]
push edi
call fcn.00455caa
test al, al
je 0x4575e4
cmp dword [edi + 0x18], 8
jb 0x4575b9
mov eax, dword [esi]
jmp 0x4575bb
mov eax, esi
push ebx
push eax
call fcn.0043f6de
pop ecx
pop ecx
test eax, eax
jne 0x4575e4
cmp dword [ebp - 0xc88], ebx
je 0x456e72
cmp dword [edi + 0x18], 8
jb 0x4575dc
mov esi, dword [esi]
push esi
push 0x405aa8
jmp 0x45757a
cmp dword [ebp - 0xc88], ebx
je 0x4575fe
push 0x405a60
push dword [ebp - 0xc88]
call fcn.004555c6
pop ecx
pop ecx
xor al, al
call fcn.0045f566
ret 4