Function at 0x140002864
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r14
sub rsp, 0x510
mov rbx, rdx
lea r14, str..ConfigPersist.cpp
lea rcx, [rsp + 0x30]
lea rdx, str._nimukherj:_Inside_method_ApplyConfigVista__n
mov dword [rsp + 0x38], 0x12aa
mov qword [rsp + 0x30], r14
call fcn.140002484
xor ebp, ebp
lea rax, [rsp + 0x40]
lea r9, [0x140051780]
lea rcx, [0x1400517e0]
lea r8d, [rbp + 0x15]
xor edx, edx
mov dil, bpl
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jl 0x1400028f7
mov rcx, qword [rsp + 0x40]
cmp rcx, rbp
je 0x1400031cb
mov dword [rsp + 0x548], ebp
mov rax, qword [rcx]
lea rdx, [rsp + 0x548]
call qword [rax + 0x48]
cmp qword [rsp + 0x40], rbp
je 0x1400031cb
mov r12d, 0x178
lea rcx, [rsp + 0x390]
xor edx, edx
mov r8, r12
call fcn.1400205b0
lea rcx, [rsp + 0x1d0]
xor edx, edx
mov r8d, 0x90
call fcn.1400205b0
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x390]
mov rax, qword [rcx]
mov edx, r12d
call qword [rax + 0x20]
movzx esi, bpl
mov edi, 1
cmp eax, ebp
lea rcx, [rsp + 0x50]
mov r8, r12
cmovge esi, edi
xor edx, edx
call fcn.1400205b0
mov eax, dword [rbx + 0x150]
mov r11d, dword [rbx + 0x1c0]
mov r10d, dword [rbx]
mov edx, dword [rbx + 0x70]
mov ecx, dword [rbx + 0xe0]
mov dword [rsp + 0x13c], eax
mov dword [rsp + 0x1f4], eax
mov eax, dword [rbx + 8]
mov dword [rsp + 0x68], r11d
mov dword [rsp + 0x70], r10d
mov dword [rsp + 0xb4], edx
mov dword [rsp + 0xf8], ecx
mov dword [rsp + 0x1f8], r11d
mov dword [rsp + 0x1e8], r10d
mov dword [rsp + 0x1ec], edx
mov dword [rsp + 0x1f0], ecx
cmp dword [rbx + 4], eax
jbe 0x1400029d9
movzx eax, word [rbx + 4]
mov word [rsp + 0x8c], ax
movzx eax, word [rbx + 8]
jmp 0x1400029e9
movzx eax, word [rbx + 8]
mov word [rsp + 0x8c], ax
movzx eax, word [rbx + 4]
mov word [rsp + 0x8e], ax
movzx eax, word [rbx + 0xc]
mov word [rsp + 0x90], ax
movzx eax, word [rbx + 0x10]
mov word [rsp + 0x92], ax
cmp dword [rbx + 0x34], ebp
je 0x140002a1a
movzx eax, word [rbx + 0x34]
mov word [rsp + 0x9c], ax
mov eax, dword [rbx + 0x78]
cmp dword [rbx + 0x74], eax
jbe 0x140002a34
movzx eax, word [rbx + 0x74]
mov word [rsp + 0xd0], ax
movzx eax, word [rbx + 0x78]
jmp 0x140002a44
movzx eax, word [rbx + 0x78]
mov word [rsp + 0xd0], ax
movzx eax, word [rbx + 0x74]
mov word [rsp + 0xd2], ax
movzx eax, word [rbx + 0x7c]
mov word [rsp + 0xd4], ax
movzx eax, word [rbx + 0x80]
mov word [rsp + 0xd6], ax
cmp dword [rbx + 0xa4], ebp
je 0x140002a7e
movzx eax, word [rbx + 0xa4]
mov word [rsp + 0xe0], ax
mov eax, dword [rbx + 0xe8]
cmp dword [rbx + 0xe4], eax
jbe 0x140002aa4
movzx eax, word [rbx + 0xe4]
mov word [rsp + 0x114], ax
movzx eax, word [rbx + 0xe8]
jmp 0x140002aba
movzx eax, word [rbx + 0xe8]
mov word [rsp + 0x114], ax
movzx eax, word [rbx + 0xe4]
mov word [rsp + 0x116], ax
movzx eax, word [rbx + 0xec]
mov word [rsp + 0x118], ax
movzx eax, word [rbx + 0xf0]
mov word [rsp + 0x11a], ax
cmp dword [rbx + 0x114], ebp
je 0x140002af7
movzx eax, word [rbx + 0x114]
mov word [rsp + 0x124], ax
mov eax, dword [rbx + 0x158]
cmp dword [rbx + 0x154], eax
jbe 0x140002b1d
movzx eax, word [rbx + 0x154]
mov word [rsp + 0x158], ax
movzx eax, word [rbx + 0x158]
jmp 0x140002b33
movzx eax, word [rbx + 0x158]
mov word [rsp + 0x158], ax
movzx eax, word [rbx + 0x154]
mov word [rsp + 0x15a], ax
movzx eax, word [rbx + 0x15c]
mov word [rsp + 0x15c], ax
movzx eax, word [rbx + 0x160]
mov word [rsp + 0x15e], ax
cmp dword [rbx + 0x184], ebp
je 0x140002b70
movzx eax, word [rbx + 0x184]
mov word [rsp + 0x168], ax
mov ecx, dword [rbx + 0x1c0]
cmp ecx, 8
je 0x140002b85
cmp ecx, 0x10
je 0x140002b85
cmp ecx, 0x40
jne 0x140002be1
mov eax, dword [rbx + 0x24]
mov dword [rsp + 0xa0], eax
mov eax, dword [rbx + 0x28]
mov dword [rsp + 0xa4], eax
mov eax, dword [rbx + 0x20]
mov dword [rsp + 0xa8], eax
mov eax, dword [rbx + 0x2c]
mov dword [rsp + 0xac], eax
mov eax, dword [rbx + 0x94]
mov dword [rsp + 0xe4], eax
mov eax, dword [rbx + 0x98]
mov dword [rsp + 0xe8], eax
mov eax, dword [rbx + 0x90]
mov dword [rsp + 0xec], eax
mov eax, dword [rbx + 0x9c]
mov dword [rsp + 0xf0], eax
cmp ecx, 0x10
je 0x140002beb
cmp ecx, 0x40
jne 0x140002c58
mov eax, dword [rbx + 0x104]
mov dword [rsp + 0x128], eax
mov eax, dword [rbx + 0x108]
mov dword [rsp + 0x12c], eax
mov eax, dword [rbx + 0x100]
mov dword [rsp + 0x130], eax
mov eax, dword [rbx + 0x10c]
mov dword [rsp + 0x134], eax
cmp ecx, 0x40
jne 0x140002c58
mov eax, dword [rbx + 0x174]
mov dword [rsp + 0x16c], eax
mov eax, dword [rbx + 0x178]
mov dword [rsp + 0x170], eax
mov eax, dword [rbx + 0x170]
mov dword [rsp + 0x174], eax
mov eax, dword [rbx + 0x17c]
mov dword [rsp + 0x178], eax
mov eax, dword [rbx + 0x18]
mov ecx, dword [rbx + 0x14]
mov edx, dword [rbx + 0x84]
mov r8d, dword [rbx + 0xf4]
mov r9d, dword [rbx + 0x164]
mov dword [rsp + 0x17c], eax
mov eax, dword [rbx + 0x88]
mov dword [rsp + 0x1bc], edi
mov dword [rsp + 0x18c], ecx
mov dword [rsp + 0x180], eax
mov eax, dword [rbx + 0xf8]
mov dword [rsp + 0x190], edx
mov dword [rsp + 0x184], eax
mov eax, dword [rbx + 0x168]
mov dword [rsp + 0x194], r8d
mov dword [rsp + 0x188], eax
mov eax, dword [rbx + 0x38]
mov dword [rsp + 0x198], r9d
mov dword [rsp + 0x19c], eax
mov eax, dword [rbx + 0x3c]
mov edi, 0x3e8
mov dword [rsp + 0x1ac], eax
mov eax, dword [rbx + 0xa8]
mov r12d, 0x1f4
mov dword [rsp + 0x1a0], eax
mov eax, dword [rbx + 0xac]
mov dword [rsp + 0x1b0], eax
mov eax, dword [rbx + 0x118]
mov dword [rsp + 0x1a4], eax
mov eax, dword [rbx + 0x11c]
mov dword [rsp + 0x1b4], eax
mov eax, dword [rbx + 0x188]
mov dword [rsp + 0x1a8], eax
mov eax, dword [rbx + 0x18c]
mov dword [rsp + 0x1b8], eax
test r10b, 0xf0
je 0x140002d81
mov eax, dword [rsp + 0x78]
or eax, 8
cmp ecx, 2
jne 0x140002d54
mov dword [rsp + 0x84], edi
mov dword [rsp + 0x88], edi
jmp 0x140002d64
mov dword [rsp + 0x84], r12d
mov dword [rsp + 0x88], r12d
or eax, 2
mov dword [rsp + 0x7c], 0xf9
mov dword [rsp + 0x78], eax
mov eax, dword [rbx + 0x1c]
mov dword [rsp + 0x74], eax
mov eax, dword [rbx + 0x30]
mov dword [rsp + 0x6c], eax
test byte [rbx + 0x70], 0xf0
je 0x140002de5
mov eax, dword [rsp + 0xbc]
or eax, 8
cmp edx, 2
jne 0x140002da6
mov dword [rsp + 0xc8], edi
mov dword [rsp + 0xcc], edi
jmp 0x140002db6
mov dword [rsp + 0xc8], r12d
mov dword [rsp + 0xcc], r12d
or eax, 2
mov dword [rsp + 0xc0], 0xf9
mov dword [rsp + 0xbc], eax
mov eax, dword [rbx + 0x8c]
mov dword [rsp + 0xb8], eax
mov eax, dword [rbx + 0xa0]
mov dword [rsp + 0xb0], eax
test byte [rbx + 0xe0], 0xf0
je 0x140002e4d
mov eax, dword [rsp + 0x100]
or eax, 8
cmp r8d, 2
jne 0x140002e0e
mov dword [rsp + 0x10c], edi
mov dword [rsp + 0x110], edi
jmp 0x140002e1e
mov dword [rsp + 0x10c], r12d
mov dword [rsp + 0x110], r12d
or eax, 2
mov dword [rsp + 0x104], 0xf9
mov dword [rsp + 0x100], eax
mov eax, dword [rbx + 0xfc]
mov dword [rsp + 0xfc], eax
mov eax, dword [rbx + 0x110]
mov dword [rsp + 0xf4], eax
test byte [rbx + 0x150], 0xf0
je 0x140002eb5
mov eax, dword [rsp + 0x144]
or eax, 8
cmp r9d, 2
jne 0x140002e76
mov dword [rsp + 0x150], edi
mov dword [rsp + 0x154], edi
jmp 0x140002e86
mov dword [rsp + 0x150], r12d
mov dword [rsp + 0x154], r12d
or eax, 2
mov dword [rsp + 0x148], 0xf9
mov dword [rsp + 0x144], eax
mov eax, dword [rbx + 0x16c]
mov dword [rsp + 0x140], eax
mov eax, dword [rbx + 0x180]
mov dword [rsp + 0x138], eax
lea rdx, str.imukherj:_ApplyConfigVista:_Operating_Mode_t_t__d__n
lea rcx, [rsp + 0x30]
mov r8d, r11d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x38], 0x13c8
call fcn.140002484
mov r8d, dword [rsp + 0x70]
lea rdx, str.imukherj:_ApplyConfigVista:_Primary_Devices_t_t__d__n
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x38], 0x13c9
call fcn.140002484
mov r8d, dword [rsp + 0xb4]
lea rdx, str.imukherj:_ApplyConfigVista:_Secondary_Devices_t_t__d__n
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x38], 0x13ca
call fcn.140002484
movzx r8d, word [rsp + 0x8c]
lea rdx, str.imukherj:_ApplyConfigVista:_Primary_XX_t_t_t__d__n
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x38], 0x13cb
call fcn.140002484
movzx r8d, word [rsp + 0x8e]
lea rdx, str.imukherj:_ApplyConfigVista:_Primary_YY_t_t_t__d__n
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x38], 0x13cc
call fcn.140002484
movzx r8d, word [rsp + 0x90]
lea rdx, str.imukherj:_ApplyConfigVista:_Primary_RR_t_t_t__d__n
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x38], 0x13cd
call fcn.140002484
movzx r8d, word [rsp + 0x92]
lea rdx, str.imukherj:_ApplyConfigVista:_Primary_BPP_t_t_t__d__n
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x38], 0x13ce
call fcn.140002484
movzx r8d, word [rsp + 0x9c]
lea rdx, str.imukherj:_ApplyConfigVista:_Primary_Interlaced_t_t_t__d__n
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x38], 0x13cf
call fcn.140002484
movzx r8d, word [rsp + 0xd0]
lea rdx, str.imukherj:_ApplyConfigVista:_Secondary_XX_t_t_t__d__n
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x38], 0x13d0
call fcn.140002484
movzx r8d, word [rsp + 0xd2]
lea rdx, str.imukherj:_ApplyConfigVista:_Secondary_YY_t_t_t__d__n
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x38], 0x13d1
call fcn.140002484
movzx r8d, word [rsp + 0xd4]
lea rdx, str.imukherj:_ApplyConfigVista:_Secondary_RR_t_t_t__d__n
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x38], 0x13d2
call fcn.140002484
movzx r8d, word [rsp + 0xd6]
lea rdx, str.imukherj:_ApplyConfigVista:_Secondary_BPP_t_t_t__d__n
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x38], 0x13d3
call fcn.140002484
movzx r8d, word [rsp + 0xe0]
lea rdx, str.imukherj:_ApplyConfigVista:_Secondary_Interlaced_t_t_t__d__n
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x38], 0x13d4
call fcn.140002484
mov ebx, 0x130
xor edx, edx
mov r8, rbx
lea rcx, [rsp + 0x260]
call fcn.1400205b0
mov eax, dword [rsp + 0x70]
mov r11d, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x40]
mov dword [rsp + 0x280], eax
mov eax, dword [rsp + 0xb4]
mov dword [rsp + 0x2c4], eax
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x278], r11d
mov dword [rsp + 0x308], eax
mov eax, dword [rsp + 0x13c]
lea r8, [rsp + 0x260]
mov dword [rsp + 0x34c], eax
mov rax, qword [rcx]
mov edx, ebx
call qword [rax + 0x50]
cmp eax, ebp
jl 0x14000314c
cmp dword [rsp + 0x38c], 1
jne 0x140003134
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x50]
lea edx, [rbx + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x28]
cmp eax, ebp
jl 0x14000314c
mov dil, 1
mov dword [rsp + 0x38], 0x13ee
lea rdx, str.imukherj:_ApplyConfigVista:_Pass
jmp 0x1400031ac
mov dil, bpl
cmp sil, 1
jne 0x14000319d
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x390]
mov edx, 0x178
mov rax, qword [rcx]
call qword [rax + 0x28]
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x30]
cmp eax, ebp
jl 0x14000318c
mov dword [rsp + 0x38], 0x13fe
lea rdx, str.imukherj:_ApplyConfigVista:_config_FAILED_to_apply_completely._Configuration_reverted_back_to_current_settings__n
jmp 0x1400031b6
mov dword [rsp + 0x38], 0x1402
lea rdx, str.imukherj:_ApplyConfigVista:_config_FAILED_to_apply_completely._Cant_revert_back_to_current_settings_also._Login_Screen_is_Probably_active__n
jmp 0x1400031b6
mov dword [rsp + 0x38], 0x1407
lea rdx, str.imukherj:_ApplyConfigVista:_config_FAILED_to_apply_completely._Cant_revert_back_to_current_settings_also_as_current_settings_is_not_available_n
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x30]
call fcn.140002484
mov rcx, qword [rsp + 0x40]
cmp rcx, rbp
je 0x1400031cb
mov rdx, qword [rcx]
call qword [rdx + 0x10]
lea r11, [rsp + 0x510]
mov al, dil
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r12
pop rdi
ret