Function at 0x46d93b
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcb97
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xa8
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x2c]
test eax, eax
je 0x46d9de
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x94], eax
lea eax, [ebp + 0x3c]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0xa0]
movzx eax, byte [eax]
push eax
push dword [ebp - 0x94]
push dword [ebp - 0x40]
push dword [ebp - 0x70]
push dword [ebp - 0x48]
push 1
push dword [ebp - 0x88]
push dword [ebp - 0x50]
push dword [ebp - 0x78]
push dword [ebp - 0x58]
call fcn.0046dc84
add esp, 0x28
jmp 0x46dc73
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x60], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x2c], 0x7d49
mov dword [ebp - 0x34], str.zwiceka_gxu_yraq_emfodats_lfvnp_hfawmyq
cmp dword [ebp - 0x2c], 0x7d8f
jle 0x46da82
and dword [ebp - 0x24], 0
jmp 0x46da1a
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x3243
jge 0x46da82
and dword [ebp - 0x28], 0
jmp 0x46da30
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x732a
jge 0x46da80
mov eax, dword [ebp - 0x24]
xor eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x8c], edx
push dword [ebp - 0x8c]
push dword [ebp - 0x90]
lea ecx, [ebp - 0xb8]
call fcn.00401a01
pop ecx
pop ecx
mov ecx, eax
call fcn.004063c6
push eax
call fcn.004a68c7
pop ecx
lea ecx, [ebp - 0xb8]
call fcn.004063bc
jmp 0x46da29
jmp 0x46da13
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x44], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x2c], 0x7be6
jge 0x46da9e
push dword [ebp - 0x34]
call fcn.004a68c7
pop ecx
jmp 0x46daba
or dword [ebp - 4], 0xffffffff
jmp 0x46dac4
mov eax, dword [ebp - 0x60]
movzx eax, byte [eax]
test eax, eax
je 0x46db3b
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x46db1f
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x46db1d
push 0
push 0x1f62
push 0x5387
push 0x30e7
push 0x1276
push 0xc7
push 0x6fd8
push 0
push 0x2fbf
push 1
push 0
call fcn.0045cde6
add esp, 0x2c
jmp 0x46db36
push 0x1374
push 0
push 0x1c3d
push 0x1a5e
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
jmp 0x46dc73
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
test eax, eax
je 0x46db6e
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov byte [eax], 1
jmp 0x46dc73
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x30], 0xb14
mov dword [ebp - 0x84], str.pmld_scahgsnjz_bhlw_lql_hyxd_lfus_bxuxis_obyzlndrc_uadcksukw_wzfpzq
cmp dword [ebp - 0x30], 0xc55
jle 0x46dc19
push 0
push 0x15dd
call dword [sym.imp.GDI32.dll_GetCurrentPositionEx]
and dword [ebp - 0x18], 0
jmp 0x46dbb2
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2620
jge 0x46dc19
and dword [ebp - 0x1c], 0
jmp 0x46dbc8
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x19ec
jge 0x46dc17
and dword [ebp - 0x20], 0
jmp 0x46dbde
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x1ce6
jge 0x46dc15
mov eax, dword [ebp - 0x18]
and eax, dword [ebp - 0x1c]
or eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], edx
push dword [ebp - 0x98]
push dword [ebp - 0x9c]
mov ecx, 0xace058
call fcn.004063d1
jmp 0x46dbd7
jmp 0x46dbc1
jmp 0x46dbab
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
test eax, eax
je 0x46dc2d
push 0x28
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov dword [ebp - 4], 2
cmp dword [ebp - 0x30], 0x79f
jge 0x46dc4d
mov edx, dword [ebp - 0x84]
mov ecx, 0xace058
call fcn.00409042
jmp 0x46dc69
or dword [ebp - 4], 0xffffffff
jmp 0x46dc73
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret