Function at 0x46dc94
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push esi
movzx eax, byte [ebp + 0x28]
test eax, eax
je 0x46e019
mov eax, dword [ebp + 0x68]
mov dword [ebp - 0x68], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xd0], eax
lea eax, [ebp + 0x5c]
mov dword [ebp - 0x98], eax
lea eax, [ebp + 0x58]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0x4c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x60]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x98]
movzx eax, byte [eax]
test eax, eax
je 0x46ddc3
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
movzx eax, byte [eax]
test eax, eax
je 0x46ddad
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x60]
mov ecx, dword [ecx]
add ecx, dword [eax]
mov eax, dword [ebp - 0x118]
mov dword [eax], ecx
jmp 0x46ddbe
push 0
push 0x311
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
jmp 0x46e014
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x46dfd0
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x7c]
mov dword [eax], 0xecce005a
mov eax, 0xecce005a
test eax, eax
je 0x46ded9
mov eax, 0x25cf162c
test eax, eax
je 0x46ded9
mov dword [ebp - 0x1c], 1
jmp 0x46dedd
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x46def6
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x46def6
mov dword [ebp - 0x18], 1
jmp 0x46defa
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [eax]
cmp ecx, 0xfffb
je 0x46df13
mov dword [ebp - 0x20], 1
jmp 0x46df17
and dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
cmp dword [ebp - 0x20], eax
je 0x46df2a
mov dword [ebp - 4], 1
jmp 0x46df2e
and dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add eax, 0x4a59
je 0x46df4c
mov eax, dword [ebp - 0x84]
cmp dword [eax], 0
je 0x46df4c
mov dword [ebp - 0xc], 1
jmp 0x46df50
and dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0x24956218
jne 0x46df6a
mov eax, dword [ebp - 0x8c]
cmp dword [eax], 0
jne 0x46df6a
and dword [ebp - 0x14], 0
jmp 0x46df71
mov dword [ebp - 0x14], 1
xor esi, esi
inc esi
sub esi, dword [ebp - 0x14]
add esi, dword [ebp - 0x1c]
push 1
mov ecx, dword [ebp - 0x94]
call fcn.0040bd1c
cmp esi, dword [eax]
jne 0x46df94
mov dword [ebp - 0x24], 1
jmp 0x46df98
and dword [ebp - 0x24], 0
cmp dword [ebp - 0x24], 0xd710
jle 0x46dfad
mov dword [ebp - 0x9c], 1
jmp 0x46dfb4
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0xa4]
mov eax, dword [eax]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0xac]
mov dword [eax], 0
jmp 0x46e014
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0xc4]
movzx eax, byte [eax]
test eax, eax
je 0x46e014
push 0x20b
push 0x118f
push 0x1009
push 0x1744
push 0xa45
call dword [sym.imp.GDI32.dll_Ellipse]
jmp 0x46e0cd
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp + 0x70]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0x6c]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x64]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0xec], eax
push dword [ebp - 0xcc]
push 0x92d
push dword [ebp - 0xd4]
push dword [ebp - 0xdc]
push dword [ebp - 0xe4]
push dword [ebp - 0xec]
push 0
push dword [ebp - 0xf4]
push dword [ebp - 0xfc]
push dword [ebp - 0x104]
push dword [ebp - 0x10c]
push dword [ebp - 0x114]
push dword [ebp - 0x11c]
call fcn.0042648a
add esp, 0x34
pop esi
mov esp, ebp
pop ebp
ret