Function at 0x46084f
Capabilities:
Get common file path

Disassembly:
mov eax, 0x5e5819
call fcn.00594e8c
sub esp, 0x164
mov eax, dword [0x6534d8]
xor eax, ebp
mov dword [ebp - 0x2c], eax
push 0x32
mov ecx, dword [0x68385c]
add ecx, 0x80bbc
call fcn.0041d7d9
push eax
push 0x32
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp - 0x24]
call fcn.005c09e1
and dword [ebp - 4], 0
push str.Mach1Lic.dat
lea ecx, [ebp - 0x10]
call fcn.0040e04b
mov byte [ebp - 4], 1
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
jne 0x4608fd
lea eax, [ebp - 0x16c]
push eax
lea ecx, [ebp - 0x10]
call fcn.00517034
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
test eax, eax
je 0x4608fd
push 0
push 0
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x24]
call fcn.005c09f7
test eax, eax
je 0x4608fd
push 0xc8
push 0x683bb0
lea ecx, [ebp - 0x24]
call fcn.005c0b0d
lea ecx, [ebp - 0x24]
call fcn.005c0d7a
mov byte [ebp - 0x25], 1
movzx eax, byte [ebp - 0x25]
test eax, eax
jne 0x46096a
lea eax, [ebp - 0x16c]
push eax
push str.C:Mach1Lic.dat
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
test eax, eax
je 0x46096a
lea eax, [ebp - 0x140]
push eax
push str.C:_s
lea eax, [ebp - 0x10]
push eax
call fcn.0040ad5c
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.00517034
push eax
lea ecx, [ebp - 0x24]
call fcn.005c09f7
test eax, eax
je 0x46096a
push 0xc8
push 0x683bb0
lea ecx, [ebp - 0x24]
call fcn.005c0b0d
lea ecx, [ebp - 0x24]
call fcn.005c0d7a
mov byte [ebp - 0x25], 1
movzx eax, byte [ebp - 0x25]
test eax, eax
jne 0x4609d7
lea eax, [ebp - 0x16c]
push eax
push str.D:Mach1Lic.dat
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
test eax, eax
je 0x4609d7
lea eax, [ebp - 0x140]
push eax
push str.D:_.s
lea eax, [ebp - 0x10]
push eax
call fcn.0040ad5c
add esp, 0xc
push 0
push 0
lea ecx, [ebp - 0x10]
call fcn.00517034
push eax
lea ecx, [ebp - 0x24]
call fcn.005c09f7
test eax, eax
je 0x4609d7
push 0xc8
push 0x683bb0
lea ecx, [ebp - 0x24]
call fcn.005c0b0d
lea ecx, [ebp - 0x24]
call fcn.005c0d7a
mov byte [ebp - 0x25], 1
push 0
push 0
push str.WizLic.dat
lea ecx, [ebp - 0x24]
call fcn.005c09f7
test eax, eax
je 0x460a08
push 0xc8
push 0x683ad8
lea ecx, [ebp - 0x24]
call fcn.005c0b0d
lea ecx, [ebp - 0x24]
call fcn.005c0d7a
jmp 0x460a68
push 0
push 0
push str.C:WizLic.dat
lea ecx, [ebp - 0x24]
call fcn.005c09f7
test eax, eax
je 0x460a39
push 0xc8
push 0x683ad8
lea ecx, [ebp - 0x24]
call fcn.005c0b0d
lea ecx, [ebp - 0x24]
call fcn.005c0d7a
jmp 0x460a68
push 0
push 0
push str.D:WizLic.dat
lea ecx, [ebp - 0x24]
call fcn.005c09f7
test eax, eax
je 0x460a68
push 0xc8
push 0x683ad8
lea ecx, [ebp - 0x24]
call fcn.005c0b0d
lea ecx, [ebp - 0x24]
call fcn.005c0d7a
push 0
push 0
push str.G100Lic.dat
lea ecx, [ebp - 0x24]
call fcn.005c09f7
test eax, eax
je 0x460a99
push 0xc8
push 0x683a00
lea ecx, [ebp - 0x24]
call fcn.005c0b0d
lea ecx, [ebp - 0x24]
call fcn.005c0d7a
jmp 0x460af9
push 0
push 0
push str.C:G100Lic.dat
lea ecx, [ebp - 0x24]
call fcn.005c09f7
test eax, eax
je 0x460aca
push 0xc8
push 0x683a00
lea ecx, [ebp - 0x24]
call fcn.005c0b0d
lea ecx, [ebp - 0x24]
call fcn.005c0d7a
jmp 0x460af9
push 0
push 0
push str.D:G100Lic.dat
lea ecx, [ebp - 0x24]
call fcn.005c09f7
test eax, eax
je 0x460af9
push 0xc8
push 0x683a00
lea ecx, [ebp - 0x24]
call fcn.005c0b0d
lea ecx, [ebp - 0x24]
call fcn.005c0d7a
and dword [ebp - 0x170], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040b121
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.005c0db6
mov eax, dword [ebp - 0x170]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x2c]
xor ecx, ebp
call fcn.0059508d
leave
ret