Function at 0x140019770
Capabilities:
Identify system language via api

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
mov qword [rbp - 9], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14017c430]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rcx
mov rcx, qword [rcx + 8]
call qword [sym.imp.USER32.dll_GetParent]
mov rdx, rax
lea rcx, [r14 + 8]
call fcn.14001cb90
xor edx, edx
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_ShowWindow]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
mov edx, 0x66
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [r14 + 0xd8], rax
mov edx, 0x3eb
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 0x3ec
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov edx, 0x3ed
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_GetDlgItem]
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x28], rax
lea rdx, [0x140129a38]
test rdx, 0xffffffffffff0000
jne 0x140019863
movzx edi, dx
mov ecx, edi
call fcn.140002830
test rax, rax
je 0x140019871
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.1400029f0
jmp 0x140019871
xor r8d, r8d
lea rcx, [rsp + 0x28]
call fcn.140002120
nop
mov byte [rsp + 0x20], 0
xor r15d, r15d
mov qword [rsp + 0x38], r15
mov qword [rbp - 0x79], r15
mov qword [rbp - 0x71], r15
lea r8, [rsp + 0x20]
mov edx, 0x20a
lea rcx, [rsp + 0x38]
call fcn.14001b1c0
nop
mov r8d, 0x105
mov r12, qword [rsp + 0x38]
mov rdx, r12
mov rcx, qword [0x140181670]
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
or rsi, 0xffffffffffffffff
test eax, eax
je 0x1400199c8
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x51], r15
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r15
mov word [rbp - 1], r15w
xor eax, eax
mov rcx, rsi
mov rdi, r12
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
mov rdx, r12
lea rcx, [rbp - 1]
call fcn.1400139e0
nop
lea rdx, [rbp - 0x61]
lea rcx, [rbp - 1]
call fcn.14009c7f0
movzx edi, al
cmp qword [rbp + 0x17], 8
jb 0x14001991e
mov rcx, qword [rbp - 1]
call fcn.1400d4d78
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r15
mov word [rbp - 1], r15w
mov r13, qword [rbp - 0x61]
test dil, dil
je 0x14001998f
lea rdx, [r13 + 0x1c0]
cmp qword [rdx + 0x18], 8
jb 0x140019949
mov rdx, qword [rdx]
test rdx, rdx
jne 0x140019953
mov ecx, r15d
jmp 0x140019964
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
lea rcx, [rsp + 0x28]
call fcn.140002120
lea rcx, [rsp + 0x28]
call fcn.14001a300
mov edx, MsiGetActiveDatabase
lea r8d, [rdx + 2]
lea rcx, [rsp + 0x28]
call fcn.14001a220
nop
test r13, r13
je 0x1400199bc
mov rdi, r13
mov r12, qword [rbp - 0x59]
cmp r13, r12
je 0x1400199b4
mov rcx, rdi
call fcn.14001c2b0
add rdi, 0x210
cmp rdi, r12
jne 0x1400199a0
mov rcx, r13
call fcn.1400d4d78
mov qword [rbp - 0x61], r15
mov qword [rbp - 0x59], r15
mov qword [rbp - 0x51], r15
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
movzx ecx, ax
cmp ecx, 0x280a
jg 0x140019be9
je 0x140019d16
cmp ecx, 0x100a
jg 0x140019bb1
je 0x140019d16
sub ecx, 0x40a
je 0x140019d16
sub ecx, 0xb
je 0x140019af5
sub ecx, 4
je 0x140019a26
sub ecx, 0x3f1
je 0x140019d16
cmp ecx, 0x400
jmp 0x140019c65
lea r8, [0x14012dd60]
mov edx, 0x3eb
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
lea rdx, [0x14012dd48]
lea rcx, [rbp - 0x11]
call fcn.140002ad0
nop
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rbp - 0x31]
call fcn.14001cad0
nop
mov r8, qword [rax]
mov edx, 0x3ec
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
nop
mov rdx, qword [rbp - 0x31]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140019a91
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rbp - 0x11]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140019aaf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
lea r8, [0x14012dcd0]
mov edx, 0x3ed
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
lea rdx, [0x14012dd80]
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SetWindowTextW]
lea rdi, [r14 + 0x40]
lea rdx, str.http:__www.staffcop.ru
mov rcx, rdi
call fcn.14001a4e0
lea r8, str.www.staffcop.ru
jmp 0x140019e2e
lea r8, [0x14012dc80]
mov edx, 0x3eb
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
lea rdx, str.Wersja:
lea rcx, [rbp - 0x41]
call fcn.140002ad0
nop
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.14001cad0
nop
mov r8, qword [rax]
mov edx, 0x3ec
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
nop
mov rdx, qword [rbp - 0x29]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140019b60
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rbp - 0x41]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140019b7e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
lea r8, [0x14012db20]
mov edx, 0x3ed
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
lea rdx, str.O_Agenta_StaffCop
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SetWindowTextW]
lea rdx, [0x14012daa0]
jmp 0x140019e1b
cmp ecx, 0x140a
je 0x140019d16
cmp ecx, 0x180a
je 0x140019d16
cmp ecx, 0x1c0a
je 0x140019d16
cmp ecx, 0x200a
je 0x140019d16
cmp ecx, 0x240a
jmp 0x140019c65
cmp ecx, 0x400a
jg 0x140019c2f
je 0x140019d16
cmp ecx, 0x2c0a
je 0x140019d16
cmp ecx, 0x300a
je 0x140019d16
cmp ecx, 0x340a
je 0x140019d16
cmp ecx, 0x380a
je 0x140019d16
cmp ecx, 0x3c0a
jmp 0x140019c65
cmp ecx, 0x440a
je 0x140019d16
cmp ecx, 0x480a
je 0x140019d16
cmp ecx, 0x4c0a
je 0x140019d16
cmp ecx, 0x500a
je 0x140019d16
cmp ecx, 0x540a
je 0x140019d16
lea r8, [0x14012dc80]
mov edx, 0x3eb
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
lea rdx, str.Version:
lea rcx, [rbp - 0x19]
call fcn.140002ad0
nop
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rbp - 0x21]
call fcn.14001cad0
nop
mov r8, qword [rax]
mov edx, 0x3ec
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
nop
mov rdx, qword [rbp - 0x21]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140019cd6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rbp - 0x19]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140019cf4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
lea r8, [0x14012dc00]
mov edx, 0x3ed
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
lea rdx, [0x14012dca0]
jmp 0x140019b9b
lea r8, str.Agente_de_StaffCop
mov edx, 0x3eb
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
lea rcx, [0x14017bd30]
mov rax, qword [0x14017bd30]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rdx, str.Version:
test rdx, 0xffffffffffff0000
jne 0x140019d77
movzx edi, dx
mov ecx, edi
call fcn.140002830
test rax, rax
je 0x140019d88
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400029f0
jmp 0x140019d88
mov r8d, 9
lea rcx, [rsp + 0x30]
call fcn.140002120
nop
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x39]
call fcn.14001cad0
nop
mov r8, qword [rax]
mov edx, 0x3ec
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
nop
mov rdx, qword [rbp - 0x39]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140019dce
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140019ded
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
lea r8, [0x14012ddc0]
mov edx, 0x3ed
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
lea rdx, str.Acerca_del_agente_de_StaffCop
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SetWindowTextW]
lea rdx, str.http:__www.staffcop.ru
lea rdi, [r14 + 0x40]
mov rcx, rdi
call fcn.14001a4e0
lea r8, str.www.staffcop.com
mov edx, 0x3ef
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp qword [rdi + 8], 0
jne 0x140019e5e
mov edx, 0x3ef
mov rcx, qword [rdi - 0x38]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rdx, rax
mov rcx, rdi
call fcn.14001c230
mov rcx, r14
call fcn.140019f00
xor edx, edx
mov rcx, qword [r14 + 8]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, qword [r14 + 8]
mov qword [0x1401835a8], rdx
mov rcx, qword [0x140183598]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov qword [0x140183588], r15
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140019ea0
call fcn.1400d4d78
mov qword [rsp + 0x38], r15
mov qword [rbp - 0x79], r15
mov qword [rbp - 0x71], r15
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x140019eca
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400d4d90
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret