Function at 0x4030b0
Capabilities:
Get common file path
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x429b2c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9b0
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x9d0]
xor ebx, ebx
push ebx
push 0x4363e8
mov esi, dword [eax - 8]
lea ecx, [esp + 0x9d8]
mov dword [esp + 0x9d0], ebx
call fcn.0041d5f9
sub esi, eax
lea ecx, [esp + 0x10]
dec esi
push esi
push ecx
lea ecx, [esp + 0x9d8]
call fcn.0041d56f
push ebx
lea ecx, [esp + 0x108]
mov byte [esp + 0x9cc], 1
call fcn.00402180
mov ecx, 0x103
xor eax, eax
lea edi, [esp + 0x5b2]
mov esi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov word [esp + 0x5b0], bx
lea edx, [esp + 0x5b0]
rep stosd dword es:[edi], eax
push edx
push 0x104
mov byte [esp + 0x9d0], 2
stosw word es:[edi], ax
call esi
lea eax, [esp + 0x9d0]
lea ecx, [esp + 0x1c]
push eax
call fcn.0041e78a
mov ecx, dword [0x43a994]
mov edx, dword [0x43a990]
push ecx
push edx
push ebx
lea ecx, [esp + 0x9dc]
mov byte [esp + 0x9d4], 3
call fcn.0041ecfc
push eax
call fcn.00405f00
add esp, 0xc
test eax, eax
je 0x4031e3
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x5b0]
push eax
push ecx
lea edx, [esp + 0x24]
push str._skdsopen._s
push edx
call fcn.0041d922
mov eax, dword [0x43a994]
mov ecx, dword [0x43a990]
add esp, 0x10
push eax
push ecx
push ebx
lea ecx, [esp + 0x28]
call fcn.0041ecfc
push eax
push ebx
lea ecx, [esp + 0x9e0]
call fcn.0041ecfc
push eax
call fcn.00405fa0
add esp, 0x10
mov edx, dword [esp + 0x1c]
mov ebp, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push edx
call ebp
mov eax, dword [esp + 0x10]
push eax
call ebp
mov ecx, dword [esp + 0x10]
push 0x436480
push ecx
call fcn.0040e8ce
add esp, 8
cmp eax, ebx
je 0x40377c
mov edx, dword [esp + 0x10]
push 0x436478
push edx
call fcn.0040e8ce
add esp, 8
cmp eax, ebx
je 0x40377c
mov eax, dword [esp + 0x10]
push 0x436470
push eax
call fcn.0040e8ce
add esp, 8
cmp eax, ebx
je 0x40377c
mov ecx, dword [esp + 0x10]
push 0x436468
push ecx
call fcn.0040e8ce
add esp, 8
cmp eax, ebx
je 0x40377c
mov edx, dword [esp + 0x10]
push str.TIFF
push edx
call fcn.0040e8ce
add esp, 8
cmp eax, ebx
je 0x40377c
mov eax, dword [esp + 0x10]
push str.jpeg
push eax
call fcn.0040e8ce
add esp, 8
cmp eax, ebx
je 0x40377c
mov ecx, dword [esp + 0x10]
push 0x436448
push ecx
call fcn.0040e8ce
add esp, 8
cmp eax, ebx
je 0x40363e
mov edx, dword [esp + 0x10]
push 0x436440
push edx
call fcn.0040e8ce
add esp, 8
cmp eax, ebx
je 0x40363e
mov eax, dword [esp + 0x10]
push 0x436438
push eax
call fcn.0040e8ce
add esp, 8
cmp eax, ebx
je 0x40363e
mov ecx, dword [esp + 0x10]
push 0x436430
push ecx
call fcn.0040e8ce
add esp, 8
cmp eax, ebx
jne 0x403461
mov ecx, 0x103
xor eax, eax
lea edi, [esp + 0x1a2]
mov word [esp + 0x1a0], bx
rep stosd dword es:[edi], eax
lea edx, [esp + 0x1a0]
push edx
push 0x104
stosw word es:[edi], ax
call esi
lea eax, [esp + 0x9d0]
lea ecx, [esp + 0x18]
push eax
call fcn.0041e78a
mov ecx, dword [0x43a994]
mov edx, dword [0x43a990]
push ecx
push edx
push ebx
lea ecx, [esp + 0x9dc]
mov byte [esp + 0x9d4], 0xe
call fcn.0041ecfc
push eax
call fcn.00405f00
add esp, 0xc
test eax, eax
je 0x4033b2
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x1a0]
push eax
push ecx
lea edx, [esp + 0x20]
push str._skdsopen._s
push edx
call fcn.0041d922
mov eax, dword [0x43a994]
mov ecx, dword [0x43a990]
add esp, 0x10
push eax
push ecx
push ebx
lea ecx, [esp + 0x24]
call fcn.0041ecfc
push eax
push ebx
lea ecx, [esp + 0x9e0]
call fcn.0041ecfc
push eax
call fcn.00405fa0
add esp, 0x10
push ebx
lea ecx, [esp + 0x24]
call fcn.004040b0
lea edx, [esp + 0x18]
lea ecx, [esp + 0xfc]
push edx
mov byte [esp + 0x9cc], 0xf
call fcn.0041eb64
lea ecx, [esp + 0x20]
call fcn.004225ed
lea ecx, [esp + 0x100]
mov byte [esp + 0x9c8], 0x14
call fcn.0041ea1d
lea ecx, [esp + 0xfc]
mov byte [esp + 0x9c8], 0x13
call fcn.0041ea1d
lea ecx, [esp + 0xc0]
mov byte [esp + 0x9c8], 0x12
call fcn.0041f91a
lea ecx, [esp + 0xb8]
mov byte [esp + 0x9c8], 0x11
call fcn.00428961
lea ecx, [esp + 0x7c]
mov byte [esp + 0x9c8], 0x10
call fcn.0041f91a
lea ecx, [esp + 0x20]
mov byte [esp + 0x9c8], 0xe
call fcn.004222c0
mov byte [esp + 0x9c8], 3
lea ecx, [esp + 0x18]
jmp 0x4038b4
mov ecx, 0x103
xor eax, eax
lea edi, [esp + 0x1a2]
mov word [esp + 0x1a0], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x1a0]
push eax
push 0x104
call esi
lea ecx, [esp + 0x9d0]
push ecx
lea ecx, [esp + 0x18]
call fcn.0041e78a
mov edx, dword [0x43a994]
mov eax, dword [0x43a990]
push edx
push eax
push ebx
lea ecx, [esp + 0x9dc]
mov byte [esp + 0x9d4], 0x15
call fcn.0041ecfc
push eax
call fcn.00405f00
add esp, 0xc
test eax, eax
je 0x403518
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1a0]
push ecx
push edx
lea eax, [esp + 0x1c]
push str._skdsopen._s
push eax
call fcn.0041d922
mov ecx, dword [0x43a994]
mov edx, dword [0x43a990]
add esp, 0x10
push ecx
push edx
push ebx
lea ecx, [esp + 0x20]
call fcn.0041ecfc
push eax
push ebx
lea ecx, [esp + 0x9e0]
call fcn.0041ecfc
push eax
call fcn.00405fa0
add esp, 0x10
mov eax, dword [0x436fec]
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x10]
push 0x436540
push ecx
mov byte [esp + 0x9d0], 0x16
call fcn.0040e8ce
add esp, 8
cmp eax, ebx
jne 0x403546
push str.Word.Document
jmp 0x403585
mov edx, dword [esp + 0x10]
push 0x43651c
push edx
call fcn.0040e8ce
add esp, 8
cmp eax, ebx
jne 0x403563
push str.Excel.Sheet
jmp 0x403585
mov eax, dword [esp + 0x10]
push 0x4364fc
push eax
call fcn.0040e8ce
add esp, 8
cmp eax, ebx
jne 0x403580
push str.PowerPoint.Show
jmp 0x403585
push 0x43a8c0
lea ecx, [esp + 0x1c]
call fcn.0041ebb4
push str.CDlgOfficeView
call ebp
push ebx
lea ecx, [esp + 0x24]
call fcn.00403b10
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c8], 0x17
push ecx
lea ecx, [esp + 0xbc]
call fcn.0041eb64
lea edx, [esp + 0x18]
lea ecx, [esp + 0xbc]
push edx
call fcn.0041eb64
lea ecx, [esp + 0x20]
call fcn.004225ed
lea ecx, [esp + 0xbc]
mov byte [esp + 0x9c8], 0x1a
call fcn.0041ea1d
lea ecx, [esp + 0xb8]
mov byte [esp + 0x9c8], 0x19
call fcn.0041ea1d
lea ecx, [esp + 0x7c]
mov byte [esp + 0x9c8], 0x18
call fcn.0041f91a
lea ecx, [esp + 0x20]
mov byte [esp + 0x9c8], 0x16
call fcn.004222c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x9c8], 0x15
call fcn.0041ea1d
mov byte [esp + 0x9c8], 3
lea ecx, [esp + 0x14]
jmp 0x4038b4
mov ecx, 0x103
xor eax, eax
lea edi, [esp + 0x1a2]
mov word [esp + 0x1a0], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x1a0]
push eax
push 0x104
call esi
lea ecx, [esp + 0x9d0]
push ecx
lea ecx, [esp + 0x18]
call fcn.0041e78a
mov edx, dword [0x43a994]
mov eax, dword [0x43a990]
push edx
push eax
push ebx
lea ecx, [esp + 0x9dc]
mov byte [esp + 0x9d4], 9
call fcn.0041ecfc
push eax
call fcn.00405f00
add esp, 0xc
test eax, eax
je 0x4036f5
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x1a0]
push ecx
push edx
lea eax, [esp + 0x1c]
push str._skdsopen._s
push eax
call fcn.0041d922
mov ecx, dword [0x43a994]
mov edx, dword [0x43a990]
add esp, 0x10
push ecx
push edx
push ebx
lea ecx, [esp + 0x20]
call fcn.0041ecfc
push eax
push ebx
lea ecx, [esp + 0x9e0]
call fcn.0041ecfc
push eax
call fcn.00405fa0
add esp, 0x10
push ebx
lea ecx, [esp + 0x24]
call fcn.00401f90
lea eax, [esp + 0x14]
lea ecx, [esp + 0xb8]
push eax
mov byte [esp + 0x9cc], 0xa
call fcn.0041eb64
lea ecx, [esp + 0x20]
call fcn.004225ed
lea ecx, [esp + 0xbc]
mov byte [esp + 0x9c8], 0xd
call fcn.0041ea1d
lea ecx, [esp + 0xb8]
mov byte [esp + 0x9c8], 0xc
call fcn.0041ea1d
lea ecx, [esp + 0x7c]
mov byte [esp + 0x9c8], 0xb
call fcn.0041f91a
lea ecx, [esp + 0x20]
mov byte [esp + 0x9c8], 9
call fcn.004222c0
mov byte [esp + 0x9c8], 3
lea ecx, [esp + 0x14]
jmp 0x4038b4
mov ecx, 0x103
xor eax, eax
lea edi, [esp + 0x1a2]
mov word [esp + 0x1a0], bx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x1a0]
push ecx
push 0x104
stosw word es:[edi], ax
call esi
lea edx, [esp + 0x9d0]
lea ecx, [esp + 0x14]
push edx
call fcn.0041e78a
mov eax, dword [0x43a994]
mov ecx, dword [0x43a990]
push eax
push ecx
push ebx
lea ecx, [esp + 0x9dc]
mov byte [esp + 0x9d4], 4
call fcn.0041ecfc
push eax
call fcn.00405f00
add esp, 0xc
test eax, eax
je 0x403832
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x1a0]
push edx
push eax
lea ecx, [esp + 0x1c]
push str._skdsopen._s
push ecx
call fcn.0041d922
mov edx, dword [0x43a994]
mov eax, dword [0x43a990]
add esp, 0x10
lea ecx, [esp + 0x14]
push edx
push eax
push ebx
call fcn.0041ecfc
push eax
push ebx
lea ecx, [esp + 0x9e0]
call fcn.0041ecfc
push eax
call fcn.00405fa0
add esp, 0x10
push ebx
lea ecx, [esp + 0x24]
call fcn.004042c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x9c8], 5
push ecx
lea ecx, [esp + 0xbc]
call fcn.0041eb64
lea ecx, [esp + 0x20]
call fcn.004225ed
lea ecx, [esp + 0xbc]
mov byte [esp + 0x9c8], 8
call fcn.0041ea1d
lea ecx, [esp + 0xb8]
mov byte [esp + 0x9c8], 7
call fcn.0041ea1d
lea ecx, [esp + 0x7c]
mov byte [esp + 0x9c8], 6
call fcn.0041f91a
lea ecx, [esp + 0x20]
mov byte [esp + 0x9c8], 4
call fcn.004222c0
mov byte [esp + 0x9c8], 3
lea ecx, [esp + 0x14]
call fcn.0041ea1d
lea ecx, [esp + 0x1c]
mov byte [esp + 0x9c8], 2
call fcn.0041ea1d
lea ecx, [esp + 0x19c]
mov byte [esp + 0x9c8], 0x1c
call fcn.0041ea1d
lea ecx, [esp + 0x160]
mov byte [esp + 0x9c8], 0x1b
call fcn.0041f91a
lea ecx, [esp + 0x104]
mov byte [esp + 0x9c8], 1
call fcn.004222c0
lea ecx, [esp + 0x10]
mov byte [esp + 0x9c8], bl
call fcn.0041ea1d
lea ecx, [esp + 0x9d0]
mov dword [esp + 0x9c8], 0xffffffff
call fcn.0041ea1d
mov ecx, dword [esp + 0x9c0]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x9bc
ret 4