Function at 0x434710
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
push edi
mov edi, ecx
mov ecx, dword [edi + 0x3d78]
mov dword [ebp - 0x1bc], eax
mov dword [ebp - 0x1c4], eax
mov dword [ebp - 0x1b8], eax
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x1ac], eax
mov dword [ebp - 0x1b4], eax
mov dword [ebp - 0x1a8], eax
mov dword [ebp - 0x1b0], eax
lea eax, [ebp - 0x1c4]
push eax
push ecx
mov dword [ebp - 0x224], edi
call esi
mov edx, dword [ebp - 0x1c0]
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
cmp edx, dword [ebp - 0x1b8]
jne 0x4347a3
mov ecx, dword [edi + 0x20]
lea eax, [ebp - 0x1c4]
push eax
push ecx
call ebx
mov edx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1b8], edx
mov ecx, dword [edi + 0x2de4]
lea eax, [ebp - 0x1b4]
push eax
push ecx
call esi
mov edx, dword [ebp - 0x1b0]
cmp edx, dword [ebp - 0x1a8]
jne 0x4347da
mov ecx, dword [edi + 0x20]
lea eax, [ebp - 0x1b4]
push eax
push ecx
call ebx
mov edx, dword [ebp - 0x1a8]
mov dword [ebp - 0x1b0], edx
mov ecx, dword [edi + 0x20]
lea eax, [ebp - 0x1a4]
push eax
push ecx
call esi
lea edx, [ebp - 0x1f0]
push edx
mov ecx, edi
mov dword [ebp - 0x1f0], 0x2c
call sub.mfc100u.dll_CWnd::GetWindowPlacement
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x21c], esi
cmp dword [ebp + 8], esi
je 0x43491a
lea eax, [ebp - 0x228]
push eax
push 0x20019
push esi
push str.SoftwarePRONTOScreenSettings
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43491a
lea ecx, [ebp - 0x22c]
push ecx
mov ecx, dword [ebp - 0x228]
lea edx, [ebp - 0x194]
push edx
lea eax, [ebp - 0x230]
push eax
push esi
push 0x4d4314
push ecx
mov dword [ebp - 0x22c], 0x190
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4348fc
mov ax, word [ebp - 0x194]
xor ecx, ecx
lea edx, [ebp - 0x194]
test ax, ax
je 0x4348df
movzx eax, ax
mov edi, edi
cmp ax, 0x30
jb 0x4348a7
cmp ax, 0x39
ja 0x4348a7
and eax, 0xf
lea ecx, [ecx + ecx*4]
lea ecx, [eax + ecx*2]
jmp 0x4348b1
cmp ax, 0x2f
jne 0x4348b1
mov esi, ecx
xor ecx, ecx
movzx eax, word [edx + 2]
add edx, 2
test ax, ax
jne 0x434890
cmp esi, 0x64
jl 0x4348d7
cmp ecx, 0x64
jl 0x4348d7
mov ebx, esi
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x220], ebx
jmp 0x4348fc
test esi, esi
jne 0x4348fc
test ecx, ecx
jne 0x4348fc
mov edx, 1
mov ecx, edi
mov dword [ebp - 0x1e8], 3
mov word [0x5095b0], dx
call fcn.004335b0
mov eax, dword [ebp - 0x228]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x43491a
cmp dword [ebp - 0x21c], 0
jne 0x4349ba
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x21
call edi
mov ebx, eax
add ebx, ebx
push 4
lea esi, [ebx + ebx]
call edi
add esi, eax
add esi, dword [0x50bc64]
push 0x21
call edi
sub esi, dword [ebp - 0x1a0]
add eax, dword [ebp - 0x1a8]
sub esi, dword [ebp - 0x1b0]
mov ecx, dword [ebp - 0x1b8]
add esi, eax
lea edx, [esi + ecx + 2]
mov esi, dword [0x50bc00]
push 0x2d
mov dword [ebp - 0x21c], edx
call edi
push 0x2d
mov ebx, eax
call edi
push 0x20
add ebx, eax
call edi
push 0x20
add ebx, eax
call edi
add eax, ebx
cmp dword [0x5095ac], 0
lea ebx, [esi + eax*2]
mov dword [ebp - 0x220], ebx
je 0x4349b4
cmp dword [ebp + 8], 0
je 0x4349b4
cmp dword [0x50af20], 0
je 0x4349b4
mov eax, dword [0x50bc00]
cdq
and edx, 3
add eax, edx
sar eax, 2
add ebx, eax
mov dword [ebp - 0x220], ebx
mov edi, dword [ebp - 0x224]
cmp dword [0x50af0c], 0
je 0x434a05
mov eax, dword [ebp - 0x198]
sub eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0x21c]
cmp eax, ecx
jle 0x4349e6
sub eax, ecx
cdq
sub eax, edx
sar eax, 1
add dword [ebp - 0x1a0], eax
mov eax, dword [ebp - 0x19c]
sub eax, dword [ebp - 0x1a4]
cmp eax, ebx
jle 0x434a49
sub eax, ebx
cdq
sub eax, edx
sar eax, 1
add dword [ebp - 0x1a4], eax
jmp 0x434a49
cmp dword [0x50a54c], 3
je 0x434a49
cmp dword [0x4f8b40], 0
jne 0x434a49
mov eax, dword [ebp - 0x1cc]
sub eax, dword [ebp - 0x1d4]
cmp ebx, eax
jge 0x434a2f
mov ebx, eax
mov dword [ebp - 0x220], ebx
mov eax, dword [ebp - 0x1c8]
sub eax, dword [ebp - 0x1d0]
cmp dword [ebp - 0x21c], eax
jge 0x434a49
mov dword [ebp - 0x21c], eax
mov eax, dword [edi + 0x20]
push 2
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
test eax, eax
je 0x434b1c
lea ecx, [ebp - 0x218]
push ecx
push eax
mov dword [ebp - 0x218], 0x28
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
cmp dword [ebp + 8], 0
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0x1a4]
mov esi, dword [ebp - 0x1f8]
mov edx, dword [ebp - 0x1fc]
mov edi, dword [ebp - 0x204]
jne 0x434ac3
cmp edi, ecx
jg 0x434b30
cmp edx, dword [ebp - 0x19c]
jl 0x434b30
cmp dword [ebp - 0x200], eax
jg 0x434b2a
cmp esi, dword [ebp - 0x198]
jl 0x434b2a
mov ebx, dword [ebp - 0x220]
add ebx, ecx
cmp ebx, edx
mov ebx, dword [ebp - 0x220]
jle 0x434ae9
mov ecx, edx
sub ecx, ebx
mov dword [ebp - 0x1a4], ecx
cmp ecx, edi
jge 0x434ae9
mov ecx, edi
sub edx, edi
mov dword [ebp - 0x1a4], ecx
mov ebx, edx
mov edx, dword [ebp - 0x21c]
lea edi, [eax + edx]
cmp edi, esi
jle 0x434b30
mov eax, esi
sub eax, edx
mov edx, dword [ebp - 0x200]
mov dword [ebp - 0x1a0], eax
cmp eax, edx
jge 0x434b30
mov eax, edx
sub esi, edx
mov dword [ebp - 0x1a0], eax
mov dword [ebp - 0x21c], esi
jmp 0x434b30
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebp - 0x1a4]
jmp 0x434b36
mov ebx, dword [ebp - 0x220]
mov edi, dword [ebp - 0x224]
mov edx, dword [ebp - 0x1e8]
cmp edx, 3
je 0x434b63
mov edx, dword [ebp - 0x21c]
push 4
push edx
push ebx
push eax
push ecx
push 0
mov ecx, edi
call sub.mfc100u.dll_CWnd::SetWindowPos
mov eax, dword [ebp - 0x1e8]
mov dword [0x50a54c], eax
jmp 0x434b69
mov dword [0x50a54c], edx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [0x4f8b40], 0
pop ebx
call fcn.004b7f56
mov esp, ebp
pop ebp
ret 4