Function at 0x428da3
Capabilities:
Inspect section memory permissions
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x558
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x40]
test eax, eax
jne 0x428dc0
xor al, al
jmp 0x42925b
push 0x10000000
push 0x55f2
push eax
lea ebx, [ebp - 0x14]
call fcn.00409ad7
mov dword [ebp - 0x44], eax
test eax, eax
je 0x428db9
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x1c], eax
jb 0x42924a
jmp 0x428dec
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
cmp ecx, 8
jb 0x42924a
cmp ecx, dword [ebp - 0x14]
ja 0x42924a
add eax, 8
push eax
mov esi, ecx
sub esi, 8
push 0x20
push 0
mov edx, esi
mov ebx, edi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x18], eax
call fcn.00428c42
test al, al
je 0x4291eb
push dword [ebp - 0x18]
mov edx, esi
push 1
push 0
call fcn.00428c42
test al, al
je 0x4291eb
push dword [ebp - 0x18]
mov edx, esi
push 2
push 0
call fcn.00428c42
test al, al
je 0x4291eb
push dword [ebp - 0x18]
mov edx, esi
push 4
push 0
call fcn.00428c42
test al, al
je 0x4291eb
mov ebx, dword [edi + 0xc]
mov eax, dword [edi + 8]
mov dword [ebp - 0x10], eax
test ebx, ebx
jns 0x428e7e
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
test ebx, ebx
jle 0x428eb3
lea eax, [ebp - 0x30]
push eax
push 0x33
call fcn.0040c187
mov ecx, dword [ebp - 0x30]
and dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], ecx
push ecx
mov ecx, eax
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x38], eax
call fcn.0040c8b8
test al, al
jne 0x428ee3
lea esi, [ebp - 0x40]
call fcn.0040c89c
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x18]
mov byte [ebp - 6], 0
mov byte [ebp - 5], 0
mov dword [ebp - 0xc], esi
cmp esi, 0xc
jmp 0x42910c
push ebx
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push 8
pop eax
mov ecx, esi
call fcn.00428c0f
test al, al
jne 0x428ef3
lea eax, [ebp - 0x40]
call fcn.0040c940
mov esi, eax
test esi, esi
jne 0x428ec9
jmp 0x428ea8
lea esi, [ebp - 0x40]
call fcn.0040c89c
jmp 0x4291eb
mov eax, dword [ebx]
cmp eax, 0xc
jb 0x429115
cmp eax, dword [ebp - 0xc]
ja 0x429115
mov ecx, dword [ebx + 4]
test ecx, 0x20000000
je 0x429101
cmp eax, 0xc
jbe 0x429101
test cl, 1
je 0x429101
mov al, byte [edi + 0x18]
test al, al
jne 0x428f44
test ecx, 0x1000
jne 0x428f58
cmp al, 1
jne 0x429101
test ecx, 0x2000
je 0x429101
cmp byte [ebp - 5], 0
jne 0x429045
push 3
pop ebx
lea esi, [ebp - 0x552]
call fcn.00422702
mov esi, eax
call fcn.00422f39
cmp al, 4
jae 0x428f7e
push 2
pop ebx
add esi, 0x1d2
mov ecx, esi
call fcn.0042f596
xor edi, edi
cmp eax, edi
jl 0x429023
push 0x14
lea ecx, [ebp - 0x98]
push ecx
push eax
push esi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
jle 0x429023
lea ecx, [ebp + eax*2 - 0x98]
cmp word [ecx - 2], di
je 0x428fc3
cmp eax, 0x14
jge 0x429023
xor eax, eax
mov word [ecx], ax
cmp ebx, 2
jne 0x428fe4
lea esi, [ebp - 0xc0]
mov eax, 0xc6
call fcn.00413de7
lea eax, [ebp - 0x98]
push eax
mov eax, esi
push eax
jmp 0x42900e
cmp ebx, 3
jne 0x429004
lea esi, [ebp - 0x15c]
mov eax, 0xc7
call fcn.00413de7
lea eax, [ebp - 0x98]
push eax
mov eax, esi
jmp 0x428fe1
lea eax, [ebp - 0x98]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x364]
push eax
call fcn.00422ccf
test eax, eax
setne al
test al, al
jne 0x42902c
xor eax, eax
mov word [ebp - 0x364], ax
mov ecx, 0x1ee
lea eax, [ebp - 0x552]
mov byte [eax], 0
inc eax
dec ecx
jne 0x429037
mov ebx, dword [ebp - 0x10]
mov byte [ebp - 5], 1
mov eax, dword [ebx]
sub eax, 0xc
push eax
lea eax, [ebx + 0xc]
push eax
lea edi, [ebp - 0x70]
xor eax, eax
call fcn.00417de4
test al, al
je 0x4291e8
xor edi, edi
lea ecx, [ebp - 0x10c]
xor esi, esi
mov al, byte [ebp + esi - 0x70]
call fcn.0041b333
inc esi
add ecx, 4
cmp esi, 0x10
jb 0x42906b
xor eax, eax
mov word [ecx], ax
lea ecx, [ebp - 0x20]
push ecx
push 1
push edi
lea ecx, [ebp - 0x364]
mov eax, 0x80000001
push ecx
push eax
mov dword [ebp - 0x24], 4
mov dword [ebp - 0x20], eax
or esi, 0xffffffff
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4290f7
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x48]
push eax
push edi
push edi
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x20]
test eax, eax
cmove esi, dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 4
jne 0x4290f7
cmp dword [ebx + 8], edi
je 0x4291e8
call fcn.0040b6c7
mov ecx, dword [ebx + 8]
add ecx, dword [ebp - 0x48]
cmp ecx, eax
ja 0x4291e8
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 0x28]
mov byte [ebp - 6], 1
mov eax, dword [ebx]
sub dword [ebp - 0xc], eax
add ebx, eax
cmp dword [ebp - 0xc], 0xc
mov dword [ebp - 0x10], ebx
jae 0x428f00
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 6]
push 0x40000000
push eax
push dword [edi + 0x40]
lea ebx, [ebp - 0x2c]
call fcn.00409ad7
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x4291eb
mov ebx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x429159
mov edx, dword [ecx]
cmp edx, 6
jb 0x429169
cmp edx, ebx
ja 0x429169
test byte [ecx + 4], 1
jne 0x429160
sub ebx, edx
add ecx, edx
cmp ebx, 6
jae 0x429144
jmp 0x429169
lea eax, [ecx + 6]
mov dword [ebp - 0xc], eax
lea eax, [edx - 6]
push dword [ebp - 0xc]
xor ecx, ecx
cmp byte [ebp - 6], cl
setne cl
mov dword [ebp - 0x60], ecx
call fcn.0041b3ef
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x5c], eax
call fcn.00421d55
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x2c]
xor ebx, ebx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x4c], ecx
cmp dword [ebp - 0x5c], ebx
jne 0x4291a6
cmp dword [ebp - 0xc], ebx
jne 0x4291aa
cmp eax, ebx
jne 0x4291b4
lea esi, [ebp - 0x60]
call fcn.0042a1f4
jmp 0x4291eb
cmp dword [ebp - 0xc], ebx
jne 0x429202
mov ecx, dword [edi + 0x3c]
inc ecx
imul ecx, ecx, 0x18
lea esi, [edi + 0x38]
call fcn.00421c25
test al, al
je 0x429231
mov ecx, dword [edi + 0x3c]
mov eax, ecx
imul eax, eax, 0x18
add eax, dword [esi]
inc ecx
mov dword [edi + 0x3c], ecx
push 0x18
lea ecx, [ebp - 0x60]
push ecx
push eax
call fcn.00421d23
jmp 0x4291eb
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
sub dword [ebp - 0x14], eax
add dword [ebp - 0x1c], eax
cmp dword [ebp - 0x14], 8
jae 0x428de9
jmp 0x42924a
push dword [edi + 0x38]
mov eax, dword [edi + 0x3c]
call fcn.0042a20d
push 0x18
lea eax, [ebp - 0x60]
push eax
mov dword [edi + 0x3c], ebx
call fcn.00421d55
mov dword [edi + 0x38], eax
cmp eax, ebx
je 0x429227
inc dword [edi + 0x3c]
jmp 0x42924a
lea esi, [ebp - 0x60]
call fcn.0042a1f4
jmp 0x42924a
lea esi, [ebp - 0x60]
call fcn.0042a1f4
push dword [edi + 0x38]
mov eax, dword [edi + 0x3c]
call fcn.0042a20d
mov dword [edi + 0x38], ebx
mov dword [edi + 0x3c], ebx
push dword [ebp - 0x44]
call fcn.00421ce7
xor eax, eax
cmp eax, dword [edi + 0x3c]
sbb eax, eax
neg eax
pop edi
pop esi
pop ebx
leave
ret 4