Function at 0x140177e20
Capabilities:
Hide graphical window

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [rcx]
mov r12, rdx
mov rdx, qword [rsp + 0xf8]
mov r13, r9
mov rbp, rcx
call qword [rax + 0x238]
test r12, r12
je 0x140177e68
mov rax, qword [r12]
mov rdx, rbp
mov rcx, r12
call qword [rax + 0x2c0]
mov rax, qword [r12 + 0x1c8]
mov qword [rbp + 0x138], rax
mov rcx, qword [rbp + 0x138]
mov rax, qword [r12 + 0x1c0]
mov qword [rbp + 0x140], rax
test rcx, rcx
je 0x140177e98
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rcx, qword [rbp + 0x140]
test rcx, rcx
je 0x140177eaa
mov rax, qword [rcx]
call qword [rax + 0x38]
mov rax, qword [r12]
mov rdi, qword [rbp]
mov rcx, r12
call qword [rax + 0x588]
mov rcx, rbp
mov rdx, rax
call qword [rdi + 0x438]
lea rdx, [r12 + 0x1f0]
lea rcx, [rbp + 0x168]
call fcn.140144b50
lea rdx, [r12 + 0x210]
lea rcx, [rbp + 0x188]
call fcn.140144b50
mov r15d, dword [rsp + 0xf0]
mov dword [rbp + 0xb8], 2
mov dword [rbp + 0x2c], r15d
xor ebx, ebx
lea r8, [rsp + 0xe8]
mov dword [rbp + 0x234], ebx
mov eax, dword [r12 + 0x190]
lea rdx, [rsp + 0xe0]
mov dword [rbp + 0x1a8], eax
mov rax, qword [r12]
mov rcx, r12
call qword [rax + 0x5f0]
mov rdx, qword [r12]
mov rcx, r12
call qword [rdx + 0x3c8]
mov r9, qword [rbp + 0x138]
lea r8, [rsp + 0xa0]
lea rdx, [rsp + 0xa8]
mov rcx, rax
call fcn.14017f390
mov r14d, ebx
test r13, r13
je 0x1401780aa
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r13
repne scasb al, byte [rdi]
not rcx
call sub.mfc100.dll_Ordinal_265
mov r14, rax
bt r15d, 0xa
jae 0x140177fd1
or rcx, 0xffffffffffffffff
xor eax, eax
mov rdi, r13
repne scasb al, byte [rdi]
mov r8d, ebx
not rcx
dec rcx
test ecx, ecx
jle 0x140177fee
mov rdx, r14
nop dword [rax + rax]
or rcx, 0xffffffffffffffff
xor eax, eax
mov byte [rdx], 0x30
mov rdi, r13
inc r8d
inc rdx
repne scasb al, byte [rdi]
not rcx
dec rcx
cmp r8d, ecx
jl 0x140177fb0
jmp 0x140177fee
mov rdx, rax
mov rcx, r13
sub rdx, r13
nop word [rax + rax]
movzx eax, byte [rcx]
inc rcx
mov byte [rdx + rcx - 1], al
test al, al
jne 0x140177fe0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, r13
repne scasb al, byte [rdi]
not rcx
mov byte [rcx + r14 - 1], al
call fcn.1401874e0
mov rcx, r12
movsxd rdi, eax
mov rax, qword [r12]
call qword [rax + 0x3c8]
mov rcx, qword [0x1403c6950]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
lea rdx, str.STATIC
mov r9d, 0x50000000
mov r8, r14
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rcx, qword [rbp + 0x140]
mov qword [rbp + 0x200], rax
test rcx, rcx
je 0x1401780b1
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [rbp + 0x140]
mov rax, qword [rcx]
call qword [rax + 0x50]
test rax, rax
je 0x1401780b1
mov rcx, qword [rbp + 0x140]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rbp + 0x200]
xor r9d, r9d
lea edx, [r9 + 0x30]
mov r8, rax
call qword [sym.imp.USER32.dll_SendMessageA]
jmp 0x1401780b1
mov qword [rbp + 0x200], rbx
call fcn.1401874e0
mov rcx, r12
movsxd rdi, eax
mov rax, qword [r12]
call qword [rax + 0x3c8]
mov rcx, qword [0x1403c6950]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
lea rdx, str.EDIT
mov r9d, 0x50810880
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, dword [rsp + 0xc8]
mov qword [rbp + 0x220], rax
mov rcx, qword [0x1403c44c0]
lea rdx, [0x1402c9d98]
mov r8d, esi
call qword [sym.imp.MSVCR100.dll_sprintf]
call fcn.1401874e0
mov rcx, r12
movsxd rdi, eax
mov rax, qword [r12]
call qword [rax + 0x3c8]
mov rcx, qword [0x1403c6950]
mov r8, qword [0x1403c44c0]
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
lea rdx, str.STATIC
mov r9d, 0x50000000
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov qword [rbp + 0x210], rax
call fcn.1401874e0
movsx ebx, byte [rbp + 0x2c]
mov dword [rbp + 0xc4], eax
movsxd rdi, eax
mov rax, qword [r12]
and ebx, 2
mov rcx, r12
or ebx, 0xa0000001
shr ebx, 1
call qword [rax + 0x3c8]
mov rcx, qword [0x1403c6950]
mov r8, qword [0x1403c44c0]
xor edx, edx
mov r9d, ebx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], edx
lea rdx, str.SCROLLBAR
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea rcx, [0x1403c69a8]
mov r8, rbp
mov edx, eax
mov rbx, rax
call fcn.140143e10
mov edi, dword [rsp + 0xd0]
mov eax, 0x66666667
mov ecx, edi
sub ecx, esi
imul ecx
sar edx, 2
mov ecx, edx
mov r9d, edi
mov r8d, esi
shr ecx, 0x1f
mov dword [rbp + 0x22c], edi
mov dword [rbp + 0x228], esi
add edx, ecx
mov rcx, rbx
mov dword [rsp + 0x20], 0
mov dword [rbp + 0x230], edx
mov edx, 2
call qword [sym.imp.USER32.dll_SetScrollRange]
mov esi, dword [rsp + 0xc0]
xor r9d, r9d
lea edx, [r9 + 2]
mov r8d, esi
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetScrollPos]
mov edx, 5
mov rcx, rbx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rdx, rbx
mov rcx, rbp
mov qword [rbp + 0xb0], rbx
call fcn.140188080
mov rcx, qword [0x1403c44c0]
lea rdx, [0x1402c9d98]
mov r8d, edi
call qword [sym.imp.MSVCR100.dll_sprintf]
call fcn.1401874e0
mov rcx, r12
movsxd rdi, eax
mov rax, qword [r12]
call qword [rax + 0x3c8]
mov rcx, qword [0x1403c6950]
mov r8, qword [0x1403c44c0]
xor edx, edx
mov r9d, 0x50000000
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x30], edx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], edx
lea rdx, str.STATIC
xor ecx, ecx
call qword [sym.imp.USER32.dll_CreateWindowExA]
mov rcx, qword [rbp + 0x138]
mov qword [rbp + 0x218], rax
test rcx, rcx
je 0x1401783b3
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [rbp + 0x138]
mov rax, qword [rcx]
call qword [rax + 0x50]
test rax, rax
je 0x1401783b3
mov rcx, qword [rbp + 0x138]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rbp + 0x210]
xor r9d, r9d
lea edx, [r9 + 0x30]
mov r8, rax
call qword [sym.imp.USER32.dll_SendMessageA]
mov rcx, qword [rbp + 0x138]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rbp + 0x218]
xor r9d, r9d
lea edx, [r9 + 0x30]
mov r8, rax
call qword [sym.imp.USER32.dll_SendMessageA]
cmp qword [rbp + 0x220], 0
je 0x1401783b3
mov rcx, qword [rbp + 0x138]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov rcx, qword [rbp + 0x220]
xor r9d, r9d
lea edx, [r9 + 0x30]
mov r8, rax
call qword [sym.imp.USER32.dll_SendMessageA]
mov rax, qword [rbp]
mov r9d, dword [rsp + 0xd8]
mov r8d, dword [rsp + 0xe8]
mov edx, dword [rsp + 0xe0]
mov rcx, rbp
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0xffffffff
call qword [rax + 0x148]
mov rax, qword [rbp]
mov edx, esi
mov rcx, rbp
call qword [rax + 0x4d8]
mov rax, qword [r12]
mov rdx, rbp
mov rcx, r12
call qword [rax + 0x5e8]
mov rax, qword [rbp]
mov rdx, qword [rsp + 0xb0]
mov rcx, rbp
call qword [rax + 0x120]
test r13, r13
je 0x140178444
bt r15d, 0xa
jae 0x140178437
mov rax, qword [rbp]
mov rdx, r13
mov rcx, rbp
call qword [rax + 0x408]
test r14, r14
je 0x140178444
mov rcx, r14
call fcn.140290ef0
mov eax, 1
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret