Function at 0x140025a10
Capabilities:
Create thread

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov ebx, edx
mov rdi, rcx
call fcn.140025760
mov ecx, 0x1b80
call fcn.140153a34
mov qword [rsp + 0x80], rax
xor r12d, r12d
test rax, rax
je 0x140025a56
mov rcx, rax
call fcn.14003a110
jmp 0x140025a59
mov rax, r12
mov qword [rdi + 0x100], rax
test rax, rax
je 0x140025ffa
mov edx, dword [rdi + 0xf0]
mov rcx, rax
call fcn.14003a3d0
test eax, eax
je 0x140025ffa
mov dword [rdi + 0xf0], r12d
mov rcx, rdi
call fcn.14002cf10
mov rax, qword [rdi + 0x100]
cmp dword [rax + 0x4c], 0
jl 0x140025fd2
test ebx, ebx
jne 0x140025fd2
mov rcx, qword [rax + 0x550]
test rcx, rcx
je 0x140025ac0
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rax, qword [rdi + 0x100]
test dword [rax + 0x18c], 0x4000000
je 0x140025adb
mov rcx, rax
call fcn.140044050
mov rax, qword [rdi + 0x100]
mov rcx, qword [rax + 0x550]
test rcx, rcx
je 0x140025af2
mov rax, qword [rcx]
call qword [rax + 0xd8]
jmp 0x140025b06
call fcn.140155310
mov edx, 0x80
mov rcx, qword [rax + 0x18]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rdi + 0xf8], rax
mov r9, rax
mov edx, 0x80
lea r8d, [rdx - 0x7f]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov r9, qword [rdi + 0xf8]
xor r8d, r8d
mov edx, 0x80
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SendMessageW]
mov dword [rdi + 0x110], 1
mov rcx, rdi
call fcn.14002aa50
mov rcx, rdi
call fcn.140029540
lea rcx, [rdi + 0x2f8]
call fcn.1400eefd0
mov qword [rdi + 0x300], rdi
mov rdx, qword [rdi + 0x100]
mov rdx, qword [rdx + 0x4d0]
lea rcx, [rdi + 0x2f8]
call fcn.1400eec50
mov dword [rdi + 0x320], 1
mov dword [rdi + 0x324], 1
mov rbx, qword [rdi + 0x100]
mov eax, dword [rbx + 8]
shr eax, 0x11
and eax, 1
mov dword [rdi + 0x328], eax
test dword [rbx + 0x10], 0x20000
je 0x140025d11
mov rbx, qword [rbx + 0x1ad8]
test rbx, rbx
je 0x140025c56
nop word [rax + rax]
mov rcx, rbx
test rbx, rbx
je 0x14002602a
mov rbx, qword [rbx]
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x140025c4d
cmp dword [rcx + 0x50], 0
je 0x140025c4d
mov rcx, qword [rcx + 0x28]
sub rcx, 0x18
call fcn.140012250
add rax, 0x18
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
lea rcx, [rdi + 0x398]
lea rdx, [rsp + 0x90]
call fcn.1401691e8
nop
mov rdx, qword [rsp + 0x90]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140025c4d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test rbx, rbx
jne 0x140025bd0
lea rbx, [rdi + 0x330]
lea rdx, [0x140395ef0]
mov rcx, rbx
call fcn.1401555ec
lea rdx, [0x14039b120]
mov rcx, rbx
call fcn.1401555ec
lea rdx, [0x140395ed8]
mov rcx, rbx
call fcn.1401555ec
lea rdx, [0x140395ec0]
mov rcx, rbx
call fcn.1401555ec
lea rdx, [0x140395ea8]
mov rcx, rbx
call fcn.1401555ec
lea rdx, [0x140395e90]
mov rcx, rbx
call fcn.1401555ec
lea rdx, [0x140395e78]
mov rcx, rbx
call fcn.1401555ec
lea rdx, [0x140395e60]
mov rcx, rbx
call fcn.1401555ec
lea rdx, [0x140395e48]
mov rcx, rbx
call fcn.1401555ec
lea rdx, [0x140395e30]
mov rcx, rbx
call fcn.1401555ec
lea rdx, [0x140395e18]
mov rcx, rbx
call fcn.1401555ec
lea rdx, [0x140395e00]
mov rcx, rbx
call fcn.1401555ec
mov ecx, r12d
mov ebp, r12d
mov rax, qword [rdi + 0x100]
mov rsi, qword [rax + 0x1ad8]
test rsi, rsi
je 0x140025e77
nop
mov rbx, rsi
test rsi, rsi
je 0x140026024
mov rsi, qword [rsi]
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x140025de4
cmp dword [rbx + 0x50], 0
je 0x140025de4
cmp dword [rbx + 0xc8], 9
jne 0x140025dcf
test dword [rbx + 0x1d0], 0x400000
je 0x140025dcf
mov rcx, qword [rbx + 0x28]
sub rcx, 0x18
call fcn.140012250
add rax, 0x18
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0x98]
mov qword [rsp + 0x38], rax
lea rcx, [rdi + 0x398]
lea rdx, [rsp + 0x98]
call fcn.1401691e8
nop
mov rdx, qword [rsp + 0x98]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140025dca
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov ecx, 1
mov eax, dword [rbx + 0x1d4]
bt eax, 0x11
jb 0x140025ddf
test eax, eax
jns 0x140025de4
mov ebp, 1
test rsi, rsi
jne 0x140025d30
test ecx, ecx
je 0x140025e04
lea rcx, [rdi + 0x330]
lea rdx, [0x14039b120]
call fcn.1401555ec
test ebp, ebp
je 0x140025e77
lea rax, [0x14002de40]
mov qword [rdi + 0x9c8], rax
mov qword [rdi + 0x9d0], rdi
lea rsi, [rdi + 0x940]
mov rcx, rsi
call fcn.14012dd10
lea rdx, [rdi + 0x9b8]
lea rcx, [rsi + 0x10]
call fcn.140016d50
mov eax, dword [rdi + 0x9c0]
mov dword [rsi + 0x18], eax
mov rax, qword [rdi + 0x9c8]
mov qword [rsi + 0x20], rax
mov rax, qword [rdi + 0x9d0]
mov qword [rsi + 0x28], rax
mov r8, qword [rsi + 0x10]
xor edx, edx
cmp qword [rsi + 0x20], rdx
jne 0x140025f09
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov qword [rsi + 0x68], rax
mov rcx, rdi
call fcn.14002bc60
mov rcx, qword [rdi + 0x100]
add rcx, 0x1ac8
lea rdx, [rdi + 0x2f8]
call fcn.1400f20c0
mov rcx, qword [rdi + 0x100]
test byte [rcx + 0x198], 2
je 0x140025ec8
xor r9d, r9d
mov edx, 0x3ee
mov r8d, 0xbb8
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SetTimer]
mov rcx, qword [rdi + 0x100]
test byte [rcx + 0x17c], 0x20
je 0x140025ef0
xor r9d, r9d
mov edx, 0x3f4
mov r8d, 0xbb8
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_SetTimer]
mov rcx, qword [rdi + 0x100]
call fcn.14003b0a0
mov eax, 1
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenMutexW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rbx, rbx
jne 0x140025f2c
cmp eax, 5
je 0x140025f35
lea ecx, [rbx + 3]
jmp 0x140025f3a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 2
cmp ecx, dword [rsi + 8]
jne 0x140025f46
mov ecx, 1
jmp 0x140025f49
mov dword [rsi + 8], ecx
mov r8, qword [rsi + 0x20]
test r8, r8
je 0x140025f69
sub ecx, 2
je 0x140025f60
cmp ecx, 1
jne 0x140025f69
xor ecx, ecx
jmp 0x140025f62
mov cl, 1
mov rdx, qword [rsi + 0x28]
call r8
cmp qword [rsi + 0x60], 0
jne 0x140025f86
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 0x60], rax
cmp qword [rsi + 0x58], 0
jne 0x140025e77
cmp qword [rsi + 0x60], 0
je 0x140025e77
mov dword [rsp + 0x80], r12d
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r12d
mov r9, rsi
lea r8, [0x14012de20]
xor edx, edx
xor ecx, ecx
call fcn.1402f9d4c
mov qword [rsi + 0x58], rax
jmp 0x140025e77
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x10]
mov rcx, qword [rdi + 0x40]
call qword [sym.imp.USER32.dll_PostMessageW]
mov eax, 1
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov dword [rdi + 0x110], r12d
mov rcx, rdi
call fcn.140025760
mov edx, 1
call fcn.14002cd20
xor eax, eax
add rsp, 0x40
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.140161be4
int3
call fcn.140161be4
int3