Function at 0x46e650
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52cc48
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x559024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
mov ebx, ecx
mov edi, edx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], esi
push 0x755c
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x55a400
mov dword [ebp - 4], esi
call fcn.00467b90
mov byte [ebp - 4], 1
cmp edi, esi
je 0x46e6f6
push 0x1791
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp eax, esi
je 0x46e6da
mov ecx, edi
push 0x1791
push ecx
mov edi, eax
lea esi, [ebx + 0x90]
call fcn.0042dc20
mov edi, dword [ebp - 0x54]
xor esi, esi
jmp 0x46e70c
mov edx, dword [ebx + 0xa0]
mov eax, dword [edx + 4]
lea esi, [eax + ebx + 0xa0]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
xor esi, esi
jmp 0x46e70c
mov ecx, dword [ebx + 0xa0]
mov edx, dword [ecx + 4]
lea eax, [edx + ebx + 0xa0]
mov dword [eax], 0x57
mov ecx, dword [ebp - 0x64]
cmp ecx, esi
jne 0x46e718
mov ecx, 0x538640
mov esi, dword [ebp - 0x58]
mov eax, dword [esi + 0xa4]
test eax, eax
je 0x46e750
test ecx, ecx
je 0x46e750
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x46e764
mov eax, dword [esi + 0xa0]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi + 0xa0], eax
mov edi, dword [ebp - 0x54]
jmp 0x46e764
mov ecx, dword [esi + 0xa0]
mov eax, dword [ecx + 4]
mov dword [eax + esi + 0xa0], 0x57
push 0x755d
lea edx, [ebp - 0x70]
push edx
mov ecx, 0x55a400
call fcn.00467b90
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call fcn.004fce50
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x46e797
push eax
call fcn.005134a7
add esp, 4
mov esi, dword [ebp - 0x58]
add esi, 0xb4
test edi, edi
je 0x46e7da
push 0x1792
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x46e7c6
mov ecx, dword [ebp - 0x54]
push 0x1792
push ecx
mov edi, eax
call fcn.0042dc20
jmp 0x46e7ea
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea esi, [eax + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x46e7ea
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea eax, [edx + esi + 0x10]
mov dword [eax], 0x57
mov ecx, dword [ebp - 0x64]
test ecx, ecx
jne 0x46e7f6
mov ecx, 0x538640
mov esi, dword [ebp - 0x58]
mov eax, dword [esi + 0xc8]
test eax, eax
je 0x46e82b
test ecx, ecx
je 0x46e82b
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x46e83f
mov eax, dword [esi + 0xc4]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + esi + 0xc4], eax
jmp 0x46e83f
mov ecx, dword [esi + 0xc4]
mov eax, dword [ecx + 4]
mov dword [eax + esi + 0xc4], 0x57
cmp byte [ebp + 0x10], 0
mov eax, dword [ebx + 0x98]
je 0x46e89a
test eax, eax
je 0x46e85a
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46e870
mov edx, dword [ebx + 0xa0]
mov eax, dword [edx + 4]
lea eax, [eax + ebx + 0xa0]
mov dword [eax], 6
lea edi, [ebp - 0x70]
call fcn.00470560
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.004fce50
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x46e8bf
push eax
call fcn.005134a7
add esp, 4
jmp 0x46e8bf
test eax, eax
je 0x46e8a9
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x46e8bf
mov ecx, dword [ebx + 0xa0]
mov edx, dword [ecx + 4]
lea ebx, [edx + ebx + 0xa0]
mov dword [ebx], 6
mov eax, 0x26b7
lea edi, [ebp - 0x70]
call fcn.0046dd40
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call fcn.004fce50
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x70]
xor esi, esi
cmp eax, esi
je 0x46e8f7
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x68], esi
mov eax, dword [ebp - 0x64]
push eax
mov eax, dword [ebp - 0x60]
lea edi, [ebp - 0x7c]
call fcn.004fcc10
mov eax, dword [ebp + 8]
xor ecx, ecx
mov word [ebp - 0x50], cx
cmp byte [ebp + 0xc], cl
jne 0x46ea02
cmp eax, 0x40
jg 0x46e99b
je 0x46e98b
dec eax
cmp eax, 0x1f
ja case.0x46e930.3
movzx edx, byte [eax + 0x46ec30]
jmp dword [edx*4 + 0x46ec14]
push 0x538f98
push 0x20
lea eax, [ebp - 0x50]
push eax
jmp 0x46eae9
push 0x538fa0
jmp 0x46eae3
push 0x538fa8
push 0x20
lea edx, [ebp - 0x50]
push edx
jmp 0x46eae9
push 0x538fa8
push 0x20
lea eax, [ebp - 0x50]
push eax
jmp 0x46eae9
push 0x538fb0
jmp 0x46eae3
push 0x538fb8
push 0x20
lea edx, [ebp - 0x50]
push edx
jmp 0x46eae9
push 0x538fb8
push 0x20
lea eax, [ebp - 0x50]
push eax
jmp 0x46eae9
cmp eax, 0x100
jg 0x46e9ca
je 0x46e9ba
sub eax, 0x80
je case.0x46e930.32
sub eax, 0x20
jne case.0x46e930.3
push 0x538fb8
jmp 0x46eae3
push 0x538fc0
push 0x20
lea eax, [ebp - 0x50]
push eax
jmp 0x46eae9
cmp eax, 0x400
je 0x46e9f2
cmp eax, 0x1000
je 0x46e9e2
push 0x538f98
jmp 0x46eae3
push str.pptx
push 0x20
lea edx, [ebp - 0x50]
push edx
jmp 0x46eae9
push str.docx
push 0x20
lea eax, [ebp - 0x50]
push eax
jmp 0x46eae9
cmp eax, 0x60
jg 0x46ea8d
je 0x46ea80
dec eax
cmp eax, 0x3f
ja case.0x46ea1e.3
movzx ecx, byte [eax + 0x46ec70]
jmp dword [ecx*4 + 0x46ec50]
push 0x538fc8
push 0x20
lea edx, [ebp - 0x50]
push edx
jmp 0x46eae9
push 0x538fc8
push 0x20
lea eax, [ebp - 0x50]
push eax
jmp 0x46eae9
push 0x538fd0
jmp 0x46eae3
push 0x538fd0
push 0x20
lea edx, [ebp - 0x50]
push edx
jmp 0x46eae9
push 0x538fd0
push 0x20
lea eax, [ebp - 0x50]
push eax
jmp 0x46eae9
push 0x538fd8
jmp 0x46eae3
push 0x538fd8
push 0x20
lea edx, [ebp - 0x50]
push edx
jmp 0x46eae9
push 0x538fd8
push 0x20
lea eax, [ebp - 0x50]
push eax
jmp 0x46eae9
cmp eax, 0x400
jg 0x46eabf
je 0x46eade
cmp eax, 0x80
je 0x46ea80
cmp eax, 0x100
je 0x46eab2
cmp eax, 0x200
jne case.0x46ea1e.3
push 0x538fe0
jmp 0x46eae3
push 0x538fe0
push 0x20
lea edx, [ebp - 0x50]
push edx
jmp 0x46eae9
cmp eax, 0x800
je 0x46eade
cmp eax, 0x1000
je 0x46e98b
push 0x538fc8
push 0x20
lea edx, [ebp - 0x50]
push edx
jmp 0x46eae9
push 0x538fe8
push 0x20
lea ecx, [ebp - 0x50]
push ecx
call fcn.00513c73
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 0xc
push 0x539d9c
call esi
push 0x539d9c
lea edi, [ebp - 0x7c]
call fcn.004fcc10
lea edx, [ebp - 0x50]
push edx
call esi
lea ecx, [ebp - 0x50]
push ecx
call fcn.004fcc10
mov edi, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x58]
lea esi, [ebx + 0xd8]
test edi, edi
je 0x46eb5d
push 0x1793
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x46eb49
push 0x1793
push edi
mov edi, eax
call fcn.0042dc20
jmp 0x46eb6d
mov edx, dword [esi + 0x10]
mov eax, dword [edx + 4]
lea esi, [eax + esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
jmp 0x46eb6d
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx + 4]
lea eax, [edx + esi + 0x10]
mov dword [eax], 0x57
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
jne 0x46eb79
mov ecx, 0x538640
mov eax, dword [ebx + 0xec]
test eax, eax
je 0x46ebab
test ecx, ecx
je 0x46ebab
push ecx
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
test eax, eax
jne 0x46ebbf
mov eax, dword [ebx + 0xe8]
mov edi, dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + ebx + 0xe8], eax
jmp 0x46ebbf
mov ecx, dword [ebx + 0xe8]
mov eax, dword [ecx + 4]
mov dword [eax + ebx + 0xe8], 0x57
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x64]
xor esi, esi
cmp eax, esi
je 0x46ebde
push eax
call fcn.005134a7
add esp, 4
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x7c]
cmp eax, esi
je 0x46ebf5
push eax
call fcn.005134a7
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00513498
mov esp, ebp
pop ebp
ret 0xc