Function at 0x55db90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1820
call fcn.00475ce0
mov eax, dword [0x5fd0b0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x14d8], 0
mov dword [ebp - 0x14d4], 0
mov dword [ebp - 0x14dc], 0
mov dword [ebp - 4], 0
push 0x5141
mov eax, dword [ebp + 8]
push eax
call fcn.00536190
add esp, 8
mov dword [ebp - 0x14dc], eax
push 0x5141
mov ecx, dword [ebp + 8]
push ecx
call fcn.00536190
add esp, 8
mov dword [ebp - 4], eax
push 0x14b4
push 0
lea edx, [ebp - 0x14c0]
push edx
call fcn.004720b0
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd4]
movsx edx, word [ecx + 2]
test edx, edx
jne 0x55df5f
mov byte [ebp - 0x16c8], 0
push 0x63
push 0
lea eax, [ebp - 0x16c7]
push eax
call fcn.004720b0
add esp, 0xc
mov byte [ebp - 0x1558], 0
push 0x63
push 0
lea ecx, [ebp - 0x1557]
push ecx
call fcn.004720b0
add esp, 0xc
mov dword [ebp - 0x16e0], 0
mov dword [ebp - 0x16dc], 0
mov dword [ebp - 0x16d0], 0
mov dword [ebp - 0x16cc], 0
mov byte [ebp - 0x1660], 0
push 0x103
push 0
lea edx, [ebp - 0x165f]
push edx
call fcn.004720b0
add esp, 0xc
mov byte [ebp - 0x14ec], 0
xor eax, eax
mov byte [ebp - 0x14eb], al
mov ecx, dword [ebp + 8]
push ecx
call fcn.00533550
add esp, 4
mov dword [ebp - 0x16d4], eax
mov edx, dword [ebp + 8]
push edx
call fcn.00533650
add esp, 4
mov dword [ebp - 0x16d8], eax
push 0x5141
mov eax, dword [ebp + 8]
push eax
call fcn.00536190
add esp, 8
mov dword [ebp - 0x16e0], eax
push 0x3b
push 0x5f165c
lea ecx, [ebp - 0x14ec]
push ecx
call fcn.00471bce
add esp, 0xc
mov edx, dword [ebp - 0x16d8]
movsx eax, byte [edx]
test eax, eax
je 0x55dd16
mov ecx, dword [ebp - 0x16d8]
mov dword [ebp - 0x1808], ecx
jmp 0x55dd22
mov edx, dword [ebp - 0x16d4]
mov dword [ebp - 0x1808], edx
mov eax, dword [ebp - 0x1808]
push eax
push str._s_LICENSE_FILE
lea ecx, [ebp - 0x16c8]
push ecx
call fcn.00471bce
add esp, 0xc
mov edx, dword [ebp - 0x16d8]
movsx eax, byte [edx]
test eax, eax
je 0x55dd58
mov ecx, dword [ebp - 0x16d8]
mov dword [ebp - 0x180c], ecx
jmp 0x55dd64
mov edx, dword [ebp - 0x16d4]
mov dword [ebp - 0x180c], edx
mov eax, dword [ebp - 0x180c]
push eax
push str._s_LF
lea ecx, [ebp - 0x1558]
push ecx
call fcn.00471bce
add esp, 0xc
push 0x5140
mov edx, dword [ebp - 0x16e0]
push edx
push str.LM_LICENSE_FILE
mov eax, dword [ebp + 8]
push eax
call fcn.0053bf50
add esp, 0x10
mov dword [ebp - 0x16dc], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x13c]
and edx, 0x10
je 0x55dde6
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x13c]
and ecx, 0x2000000
jne 0x55dde6
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.0053cb30
add esp, 8
mov dword [ebp - 0x16d0], eax
mov eax, dword [ebp - 0x16d0]
mov dword [ebp - 0x16cc], eax
jmp 0x55de6a
push 0x104
lea ecx, [ebp - 0x1660]
push ecx
lea edx, [ebp - 0x16c8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0053bf50
add esp, 0x10
mov dword [ebp - 0x16d0], eax
cmp dword [ebp - 0x16d0], 0
jne 0x55de6a
lea ecx, [ebp - 0x1558]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0053c430
add esp, 8
mov dword [ebp - 0x16d0], eax
cmp dword [ebp - 0x16d0], 0
jne 0x55de6a
lea eax, [ebp - 0x16c8]
push eax
call fcn.00575940
add esp, 4
push 0x104
lea ecx, [ebp - 0x1660]
push ecx
lea edx, [ebp - 0x16c8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0053bf50
add esp, 0x10
mov dword [ebp - 0x16d0], eax
cmp dword [ebp - 4], 0
je 0x55df0f
cmp dword [ebp - 0x16dc], 0
je 0x55de8b
mov ecx, dword [ebp - 0x16dc]
mov dword [ebp - 0x1810], ecx
jmp 0x55de95
mov dword [ebp - 0x1810], 0x6100c8
cmp dword [ebp - 0x16d0], 0
je 0x55deb5
cmp dword [ebp - 0x16dc], 0
je 0x55deb5
lea edx, [ebp - 0x14ec]
mov dword [ebp - 0x1814], edx
jmp 0x55debf
mov dword [ebp - 0x1814], 0x6100c9
cmp dword [ebp - 0x16d0], 0
je 0x55ded6
mov eax, dword [ebp - 0x16d0]
mov dword [ebp - 0x1818], eax
jmp 0x55dee0
mov dword [ebp - 0x1818], 0x6100ca
mov ecx, dword [ebp - 0x1810]
push ecx
mov edx, dword [ebp - 0x1814]
push edx
mov eax, dword [ebp - 0x1818]
push eax
push str._s_s_s
mov ecx, dword [ebp - 4]
push ecx
call fcn.00471bce
add esp, 0x14
mov edx, dword [ebp - 4]
mov dword [ebp - 0x14d8], edx
cmp dword [ebp - 0x14d8], 0
je 0x55df2f
mov eax, dword [ebp - 0x14d8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x55df2f
mov dword [ebp - 0x14d8], 0
cmp dword [ebp - 0x16cc], 0
je 0x55df47
mov edx, dword [ebp - 0x16cc]
push edx
call fcn.005363c0
add esp, 4
cmp dword [ebp - 0x16e0], 0
je 0x55df5f
mov eax, dword [ebp - 0x16e0]
push eax
call fcn.005363c0
add esp, 4
cmp dword [0x5f1658], 0xffffffff
jne 0x55df7e
push str.FLEXLM_USE_FINDER
mov ecx, dword [ebp + 8]
push ecx
call fcn.0053c430
add esp, 8
mov dword [0x5f1658], eax
cmp dword [ebp - 0x14d8], 0
jne 0x55df9c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xd4]
movsx ecx, word [eax + 0x109a]
cmp ecx, 1
jne 0x55dfa5
cmp dword [0x5f1658], 0
je 0x55dfb7
mov edx, dword [ebp + 8]
push edx
call fcn.005b1e70
add esp, 4
mov dword [ebp - 0x14d8], eax
cmp dword [ebp - 0x14d8], 0
jne 0x55dfe3
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd4]
movsx edx, word [ecx + 8]
test edx, edx
je 0x55dfe3
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd4]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x14d8], edx
cmp dword [ebp - 0x14d8], 0
jne 0x55e020
push 0xc7
lea eax, [ebp - 0x17a8]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
movsx ecx, byte [ebp - 0x17a8]
cmp ecx, 0x41
jne 0x55e016
mov dword [ebp - 0x14d8], str.A:_flexlmlicense.dat
jmp 0x55e020
mov dword [ebp - 0x14d8], str.C:_flexlmlicense.dat
mov edx, dword [ebp + 8]
push edx
call fcn.0055d3f0
add esp, 4
mov eax, dword [ebp - 0x14dc]
push eax
mov ecx, dword [ebp - 0x14d8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0055e930
add esp, 0xc
mov dword [ebp - 0x14d8], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0xffffff48
jne 0x55e093
cmp dword [ebp - 4], 0
je 0x55e06d
mov ecx, dword [ebp - 4]
push ecx
call fcn.005363c0
add esp, 4
cmp dword [ebp - 0x14dc], 0
je 0x55e085
mov edx, dword [ebp - 0x14dc]
push edx
call fcn.005363c0
add esp, 4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x80]
jmp 0x55e7e8
mov ecx, dword [ebp - 0x14d8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0055faf0
add esp, 8
mov dword [ebp - 0x14cc], eax
call fcn.00479871
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14cc]
mov dword [eax + 0xec], ecx
mov edx, dword [ebp - 0x14d8]
push edx
call fcn.00471d80
add esp, 4
add eax, 3
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00536190
add esp, 8
mov dword [ebp - 0x14e8], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14e8]
mov dword [ecx + 0xf4], edx
mov eax, dword [ebp - 0x14cc]
lea ecx, [eax*4 + 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00536190
add esp, 8
mov dword [ebp - 0x14c4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14c4]
mov dword [eax + 0xe4], ecx
mov edx, dword [ebp - 0x14cc]
imul edx, edx, 0x434
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00536190
add esp, 8
mov dword [ebp - 0x14e0], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14e0]
mov dword [ecx + 0xf0], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x14e0]
mov dword [eax + 0xf0], ecx
mov dword [ebp - 0x14cc], 0
mov edx, dword [ebp - 0x14d8]
push edx
mov eax, dword [ebp - 0x14e8]
push eax
call fcn.00471610
add esp, 8
cmp dword [ebp - 0x14e8], 0
je 0x55e27c
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14cc]
cmp edx, dword [ecx + 0xec]
jle 0x55e1a9
jmp 0x55e27c
mov eax, dword [ebp - 0x14cc]
mov ecx, dword [ebp - 0x14c4]
mov edx, dword [ebp - 0x14e8]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x14cc]
imul eax, eax, 0x434
mov ecx, dword [ebp - 0x14e0]
mov dword [ecx + eax + 4], 0
mov edx, dword [ebp - 0x14cc]
imul edx, edx, 0x434
mov eax, dword [ebp - 0x14e0]
movzx ecx, byte [eax + edx + 0x10]
or ecx, 2
mov edx, dword [ebp - 0x14cc]
imul edx, edx, 0x434
mov eax, dword [ebp - 0x14e0]
mov byte [eax + edx + 0x10], cl
mov ecx, dword [ebp - 0x14cc]
add ecx, 1
imul ecx, ecx, 0x434
add ecx, dword [ebp - 0x14e0]
mov edx, dword [ebp - 0x14cc]
imul edx, edx, 0x434
mov eax, dword [ebp - 0x14e0]
mov dword [eax + edx], ecx
mov ecx, dword [ebp - 0x14e8]
push ecx
call fcn.0055e870
add esp, 4
mov dword [ebp - 0x14e8], eax
cmp dword [ebp - 0x14e8], 0
je 0x55e268
mov edx, dword [ebp - 0x14e8]
mov byte [edx], 0
mov eax, dword [ebp - 0x14e8]
add eax, 1
mov dword [ebp - 0x14e8], eax
mov ecx, dword [ebp - 0x14cc]
add ecx, 1
mov dword [ebp - 0x14cc], ecx
jmp 0x55e186
mov edx, dword [ebp - 0x14cc]
mov eax, dword [ebp - 0x14c4]
mov dword [eax + edx*4], 0
mov ecx, dword [ebp - 0x14cc]
sub ecx, 1
imul ecx, ecx, 0x434
mov edx, dword [ebp - 0x14e0]
mov dword [edx + ecx], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0xe8], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xe8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xe4]
cmp dword [ecx + edx*4], 0
je 0x55e5b5
push 2
mov edx, dword [ebp + 8]
push edx
call fcn.0058e940
add esp, 8
mov dword [ebp - 0x14e0], eax
cmp dword [ebp - 0x14e0], 0
je 0x55e59b
mov eax, dword [ebp - 0x14e0]
mov ecx, dword [eax + 4]
mov dword [ebp - 0x14e4], ecx
mov edx, dword [ebp - 0x14d4]
add edx, 1
mov dword [ebp - 0x14d4], edx
push 0x14b4
push 0
lea eax, [ebp - 0x14c0]
push eax
call fcn.004720b0
add esp, 0xc
lea ecx, [ebp - 0x14c0]
push ecx
mov edx, dword [ebp - 0x14e0]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005901e0
add esp, 0xc
mov dword [ebp - 0x14c8], eax
push 0x50
push 0
lea ecx, [ebp - 0x17f8]
push ecx
call fcn.004720b0
add esp, 0xc
mov edx, dword [ebp + 8]
add edx, 0x80
push edx
lea eax, [ebp - 0x17f8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0052d040
add esp, 0xc
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0xfffffff3
jne 0x55e3a2
lea eax, [ebp - 0x17f8]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x80
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052d040
add esp, 0xc
lea eax, [ebp - 0x17f8]
push eax
call fcn.0052cfd0
add esp, 4
mov dword [ebp - 0x14cc], 0
mov ecx, dword [ebp - 0x14c8]
mov dword [ebp - 0x14d0], ecx
jmp 0x55e3ea
mov edx, dword [ebp - 0x14d0]
mov eax, dword [edx + 0x408]
mov dword [ebp - 0x14d0], eax
mov ecx, dword [ebp - 0x14cc]
add ecx, 1
mov dword [ebp - 0x14cc], ecx
cmp dword [ebp - 0x14d0], 0
je 0x55e3f5
jmp 0x55e3c9
cmp dword [ebp - 0x14cc], 0
jle 0x55e50d
call fcn.00479871
mov dword [eax], 0
mov edx, dword [ebp - 0x14cc]
imul edx, edx, 0x424
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00536190
add esp, 8
mov dword [ebp - 0x14d0], eax
mov ecx, dword [ebp - 0x14cc]
imul ecx, ecx, 0x424
push ecx
mov edx, dword [ebp - 0x14c8]
push edx
mov eax, dword [ebp - 0x14d0]
push eax
call fcn.004751f0
add esp, 0xc
mov dword [ebp - 0x1800], 0
jmp 0x55e46a
mov ecx, dword [ebp - 0x1800]
add ecx, 1
mov dword [ebp - 0x1800], ecx
mov edx, dword [ebp - 0x1800]
cmp edx, dword [ebp - 0x14cc]
jge 0x55e4a8
mov eax, dword [ebp - 0x1800]
add eax, 1
imul eax, eax, 0x424
add eax, dword [ebp - 0x14d0]
mov ecx, dword [ebp - 0x1800]
imul ecx, ecx, 0x424
mov edx, dword [ebp - 0x14d0]
mov dword [edx + ecx + 0x408], eax
jmp 0x55e45b
mov eax, dword [ebp - 0x1800]
sub eax, 1
imul eax, eax, 0x424
mov ecx, dword [ebp - 0x14d0]
mov dword [ecx + eax + 0x408], 0
push 8
mov edx, dword [ebp + 8]
push edx
call fcn.00536190
add esp, 8
mov dword [ebp - 0x17fc], eax
mov eax, dword [ebp - 0x17fc]
mov ecx, dword [ebp - 0x14d0]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x17fc]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x158]
mov dword [edx], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x17fc]
mov dword [edx + 0x158], eax
jmp 0x55e517
mov dword [ebp - 0x14d0], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xe8]
push edx
mov eax, dword [ebp - 0x14d0]
push eax
mov ecx, dword [ebp - 0x14e0]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00577bf0
add esp, 0x10
mov eax, dword [ebp - 0x14c4]
add eax, 4
mov dword [ebp - 0x14c4], eax
cmp dword [ebp - 0x14e4], 1
jne 0x55e59b
mov ecx, dword [ebp - 0x14e0]
cmp dword [ecx + 4], 3
jne 0x55e59b
mov edx, dword [ebp - 0x14e0]
mov eax, dword [edx + 4]
mov dword [ebp - 0x1804], eax
mov ecx, dword [ebp - 0x14e0]
mov edx, dword [ebp - 0x14e4]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x14e0]
push eax
call fcn.0053df90
add esp, 4
mov ecx, dword [ebp - 0x14e0]
mov edx, dword [ebp - 0x1804]
mov dword [ecx + 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xe8]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0xe8], ecx
jmp 0x55e2b8
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x13c]
and ecx, 4
jne 0x55e606
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov ecx, dword [eax + 0x1d20]
and ecx, 0x10
jne 0x55e606
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1a8]
mov dword [eax + 0x1d4c], 0
push 2
mov ecx, dword [ebp + 8]
push ecx
call fcn.00545aa0
add esp, 8
test eax, eax
jne 0x55e606
mov dword [ebp - 0x14d4], 1
mov edx, dword [ebp + 8]
mov dword [edx + 0xe8], 0
push 4
mov eax, dword [ebp + 8]
push eax
call fcn.005b1590
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
call fcn.0058f820
add esp, 4
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.005b1590
add esp, 8
mov eax, dword [ebp + 8]
push eax
call fcn.0055f3a0
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
call fcn.0055ffe0
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0xe8], 0
jmp 0x55e677
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xe8]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0xe8], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xe8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xe4]
cmp dword [eax + ecx*4], 0
je 0x55e6b2
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0xe8]
imul edx, edx, 0x434
mov eax, dword [ebp + 8]
add edx, dword [eax + 0xf0]
push edx
call fcn.0053df90
add esp, 4
jmp 0x55e662
mov ecx, dword [ebp + 8]
mov dword [ecx + 0xe8], 0
cmp dword [0x6100c4], 0
je 0x55e6ce
call dword [0x6100c4]
cmp dword [ebp - 0x14dc], 0
je 0x55e6e6
mov edx, dword [ebp - 0x14dc]
push edx
call fcn.005363c0
add esp, 4
cmp dword [ebp - 4], 0
je 0x55e6f8
mov eax, dword [ebp - 4]
push eax
call fcn.005363c0
add esp, 4
cmp dword [ebp - 0x14d4], 0
je 0x55e774
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0xffffffff
je 0x55e719
mov edx, dword [ebp + 8]
cmp dword [edx + 0x80], 0xffffffc3
jne 0x55e76e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
je 0x55e73a
xor ecx, ecx
je 0x55e73a
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x181c], eax
jmp 0x55e744
mov dword [ebp - 0x181c], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x181c]
mov dword [ecx + 0x80], edx
push 0
push 0xff
push 0
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.0052cd20
add esp, 0x1c
xor eax, eax
jmp 0x55e7e8
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x55e78d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
jmp 0x55e7e8
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
je 0x55e7ae
xor ecx, ecx
je 0x55e7ae
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x1820], eax
jmp 0x55e7b8
mov dword [ebp - 0x1820], 0xffffffff
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1820]
mov dword [ecx + 0x80], edx
push 0
push 0xff
push 0
push 0
push 0x168
push 0xffffffffffffffff
mov eax, dword [ebp + 8]
push eax
call fcn.0052cd20
add esp, 0x1c
or eax, 0xffffffff
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0047209e
mov esp, ebp
pop ebp
ret