Function at 0x14030ac80
Capabilities:
Hide graphical window

Disassembly:
push rsi
sub rsp, 0x60
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
mov rcx, qword [rcx + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x50]
mov edx, 0x9c0
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
test rax, rax
je 0x14030acd2
mov r8d, dword [rsi + 0x7c]
mov rcx, rax
mov edx, dword [rsi + 0x80]
call fcn.14031a020
mov qword [rsi + 0x30], rax
test rax, rax
je 0x14030afb5
mov rcx, qword [rsi + 0x38]
mov edx, 1
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], rdi
mov rax, qword [rcx]
call qword [rax + SHCreateStdEnumFmtEtc]
mov rcx, qword [rsi + 8]
xor edi, edi
test eax, eax
mov edx, 0x4274
setg dil
call qword [sym.imp.USER32.dll_GetDlgItem]
xorps xmm0, xmm0
mov rbx, rax
movdqu xmmword [rsp + 0x40], xmm0
test rax, rax
je 0x14030ad48
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rdx, qword [rsi + 8]
lea r8, [rsp + 0x40]
mov r9d, 2
xor ecx, ecx
call qword [sym.imp.USER32.dll_MapWindowPoints]
mov rdx, qword [rsi + 8]
lea r8, [rsi + 0x40]
mov rcx, qword [rsi + 0x30]
mov r9d, 0x4274
call fcn.14031a150
mov rax, qword [rsi + 0x30]
mov r10, qword [rax + 8]
test r10, r10
je 0x14030ada9
mov eax, dword [rsp + 0x48]
mov r8d, dword [rsp + 0x40]
sub eax, r8d
mov r9d, dword [rsp + 0x44]
test rbx, rbx
je 0x14030ae39
mov edx, dword [rsp + 0x4c]
mov rcx, r10
sub edx, r9d
mov dword [rsp + 0x30], 0x40
mov dword [rsp + 0x28], edx
mov rdx, rbx
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
test rbx, rbx
je 0x14030adb7
mov rcx, rbx
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rcx, qword [rsi + 0x30]
mov rax, qword [rcx + 8]
test rax, rax
je 0x14030addc
mov edx, 0xfffffff4
mov r8d, 0x4274
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongPtrW]
mov rcx, qword [rsi + 0x30]
mov rdx, qword [rsi + 0x38]
call fcn.14031a7a0
mov edx, dword [rsi + 0x80]
mov rcx, qword [rsi + 0x30]
call fcn.14031a490
mov rax, qword [0x1406baea0]
mov edx, dword [rsi + 0x68]
mov rbx, qword [rsi + 8]
mov rcx, qword [rax + 0x20]
call sym.ErrorReportClient.exe_wchar_t_const____ptr64___cdecl_SfGetString_struct_HSFLANG______ptr64__unsigned_int_
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [rsi + 0x78]
and eax, 1
test al, al
jne 0x14030ae87
mov rax, qword [0x1406baea0]
test edi, edi
mov rdi, qword [rsi + 8]
mov rcx, qword [rax + 0x20]
je 0x14030ae60
mov edx, dword [rsi + 0x70]
jmp 0x14030ae63
mov ecx, dword [rsp + 0x4c]
xor edx, edx
sub ecx, r9d
mov dword [rsp + 0x30], SHCreateStdEnumFmtEtc
mov dword [rsp + 0x28], ecx
mov rcx, r10
mov dword [rsp + 0x20], eax
call qword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x14030adb7
mov edx, dword [rsi + 0x6c]
call sym.ErrorReportClient.exe_wchar_t_const____ptr64___cdecl_SfGetString_struct_HSFLANG______ptr64__unsigned_int_
mov edx, 0x4276
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x14030aea1
mov rcx, qword [rsi + 8]
mov edx, 0x4276
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [rsi + 0x74]
test eax, eax
je 0x14030aeb1
cmp eax, 2
jne 0x14030af3a
mov rcx, qword [rsi + 8]
mov edx, 2
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [rsi + 8]
mov edx, 2
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov rcx, qword [rsi + 8]
lea rdx, [rsp + 0x40]
call qword [sym.imp.USER32.dll_ScreenToClient]
mov rcx, qword [rsi + 8]
mov edx, 1
mov edi, dword [rsp + 0x40]
mov ebx, dword [rsp + 0x44]
call qword [sym.imp.USER32.dll_GetDlgItem]
mov dword [rsp + 0x30], 5
mov r9d, ebx
mov rcx, rax
mov dword [rsp + 0x28], 0
mov r8d, edi
mov dword [rsp + 0x20], 0
xor edx, edx
call qword [sym.imp.USER32.dll_SetWindowPos]
mov eax, dword [rsi + 0x74]
cmp eax, 1
jne 0x14030af6c
mov rcx, qword [rsi + 0x38]
mov edx, 1
mov rax, qword [rcx]
call qword [rax + SHCreateStdEnumFmtEtc]
test eax, eax
jle 0x14030af6c
mov rcx, qword [rsi + 8]
mov edx, 1
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_EnableWindow]
cmp dword [rsi + 0x74], 2
jne 0x14030afa8
mov rax, qword [0x1406baea0]
mov edx, 0x8121
mov rdi, qword [rsi + 8]
mov rcx, qword [rax + 0x20]
call sym.ErrorReportClient.exe_wchar_t_const____ptr64___cdecl_SfGetString_struct_HSFLANG______ptr64__unsigned_int_
mov edx, 1
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.USER32.dll_GetDlgItem]
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.USER32.dll_SetWindowTextW]
mov rbx, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
mov rcx, qword [rsi + 8]
mov r9d, 0x8001
xor r8d, r8d
xor edx, edx
call sym.ErrorReportClient.exe_SfWndCenter
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14039bbb0
add rsp, 0x60
pop rsi
ret