Function at 0x44edf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8d94
call fcn.00469670
push edi
mov dword [ebp - 0x6368], 0
mov dword [ebp - 0x4e40], 0
push 0x1518
push 0
lea eax, [ebp - 0x6358]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x6c]
movsx eax, word [edx + 2]
test eax, eax
jne 0x44f13a
mov byte [ebp - 0x8c54], 0
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x8c53]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x64dc], 0
mov ecx, 0x18
xor eax, eax
lea edi, [ebp - 0x64db]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x8bf0], 0
mov ecx, 0x9c4
xor eax, eax
lea edi, [ebp - 0x8bef]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x8c58], 0
mov dword [ebp - 0x636c], 0
mov dword [ebp - 0x6478], 0
mov byte [ebp - 0x6470], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x646f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x6474], 0
xor ecx, ecx
mov byte [ebp - 0x6473], cl
push 0x3b
push 0x4757c0
lea edx, [ebp - 0x6474]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x317]
test ecx, ecx
je 0x44eefe
mov edx, dword [ebp + 8]
add edx, 0x317
mov dword [ebp - 0x8d7c], edx
jmp 0x44ef0c
mov eax, dword [ebp + 8]
add eax, 0x30c
mov dword [ebp - 0x8d7c], eax
mov ecx, dword [ebp - 0x8d7c]
push ecx
push 0x4757c4
lea edx, [ebp - 0x8c54]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x317]
test ecx, ecx
je 0x44ef47
mov edx, dword [ebp + 8]
add edx, 0x317
mov dword [ebp - 0x8d80], edx
jmp 0x44ef55
mov eax, dword [ebp + 8]
add eax, 0x30c
mov dword [ebp - 0x8d80], eax
mov ecx, dword [ebp - 0x8d80]
push ecx
push str._s_LF
lea edx, [ebp - 0x64dc]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push 0x2711
lea eax, [ebp - 0x8bf0]
push eax
push str.LM_LICENSE_FILE
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041765f
add esp, 0x10
mov dword [ebp - 0x8c58], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3fc]
and eax, 0x10
test eax, eax
je 0x44efdc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3fc]
and edx, 0x2000000
test edx, edx
jne 0x44efdc
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00418155
add esp, 8
mov dword [ebp - 0x636c], eax
mov ecx, dword [ebp - 0x636c]
mov dword [ebp - 0x6478], ecx
jmp 0x44f060
push 0x104
lea edx, [ebp - 0x6470]
push edx
lea eax, [ebp - 0x8c54]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041765f
add esp, 0x10
mov dword [ebp - 0x636c], eax
cmp dword [ebp - 0x636c], 0
jne 0x44f060
lea edx, [ebp - 0x64dc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00417b05
add esp, 8
mov dword [ebp - 0x636c], eax
cmp dword [ebp - 0x636c], 0
jne 0x44f060
lea ecx, [ebp - 0x8c54]
push ecx
call fcn.0042dd50
add esp, 4
push 0x104
lea edx, [ebp - 0x6470]
push edx
lea eax, [ebp - 0x8c54]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041765f
add esp, 0x10
mov dword [ebp - 0x636c], eax
cmp dword [ebp - 0x8c58], 0
je 0x44f077
mov edx, dword [ebp - 0x8c58]
mov dword [ebp - 0x8d84], edx
jmp 0x44f081
mov dword [ebp - 0x8d84], 0x4865b4
cmp dword [ebp - 0x636c], 0
je 0x44f0a1
cmp dword [ebp - 0x8c58], 0
je 0x44f0a1
lea eax, [ebp - 0x6474]
mov dword [ebp - 0x8d88], eax
jmp 0x44f0ab
mov dword [ebp - 0x8d88], 0x4865b8
cmp dword [ebp - 0x636c], 0
je 0x44f0c2
mov ecx, dword [ebp - 0x636c]
mov dword [ebp - 0x8d8c], ecx
jmp 0x44f0cc
mov dword [ebp - 0x8d8c], 0x4865bc
mov edx, dword [ebp - 0x8d84]
push edx
mov eax, dword [ebp - 0x8d88]
push eax
mov ecx, dword [ebp - 0x8d8c]
push ecx
push str._s_s_s
lea edx, [ebp - 0x4e34]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
lea eax, [ebp - 0x4e34]
mov dword [ebp - 0x6368], eax
cmp dword [ebp - 0x6368], 0
je 0x44f122
mov ecx, dword [ebp - 0x6368]
movsx edx, byte [ecx]
test edx, edx
jne 0x44f122
mov dword [ebp - 0x6368], 0
cmp dword [ebp - 0x6478], 0
je 0x44f13a
mov eax, dword [ebp - 0x6478]
push eax
call fcn.0041ac76
add esp, 4
cmp dword [0x4757bc], 0xffffffff
jne 0x44f159
push str.FLEXLM_USE_FINDER
mov ecx, dword [ebp + 8]
push ecx
call fcn.00417b05
add esp, 8
mov dword [0x4757bc], eax
cmp dword [ebp - 0x6368], 0
jne 0x44f174
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x6c]
movsx ecx, word [eax + 0xf46]
cmp ecx, 1
jne 0x44f17d
cmp dword [0x4757bc], 0
je 0x44f18f
mov edx, dword [ebp + 8]
push edx
call fcn.0046588c
add esp, 4
mov dword [ebp - 0x6368], eax
cmp dword [ebp - 0x6368], 0
jne 0x44f1b5
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6c]
movsx edx, word [ecx + 0xa]
test edx, edx
je 0x44f1b5
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x6368], edx
cmp dword [ebp - 0x6368], 0
jne 0x44f1f2
push 0xc7
lea eax, [ebp - 0x8d20]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
movsx ecx, byte [ebp - 0x8d20]
cmp ecx, 0x41
jne 0x44f1e8
mov dword [ebp - 0x6368], str.A:_flexlmlicense.dat
jmp 0x44f1f2
mov dword [ebp - 0x6368], 0x475820
mov edx, dword [ebp + 8]
push edx
call fcn.0040f80c
add esp, 4
push 0x2711
push 0
lea eax, [ebp - 0x271c]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x271c]
push ecx
mov edx, dword [ebp - 0x6368]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0044f95b
add esp, 0xc
mov dword [ebp - 0x6368], eax
mov ecx, dword [ebp - 0x6368]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004506bf
add esp, 8
mov dword [ebp - 0x4e3c], eax
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x4e3c]
mov dword [eax + 0x84], ecx
mov edx, dword [ebp - 0x6368]
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
add eax, 3
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.0041ab90
add esp, 8
mov dword [ebp - 0x4e38], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x4e38]
mov dword [ecx + 0x8c], edx
mov eax, dword [ebp - 0x4e3c]
lea ecx, [eax*4 + 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0041ab90
add esp, 8
mov dword [ebp - 0x6364], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x6364]
mov dword [eax + 0x7c], ecx
mov edx, dword [ebp - 0x4e3c]
imul edx, edx, 0x34
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0041ab90
add esp, 8
mov dword [ebp - 0x635c], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x635c]
mov dword [ecx + 0x88], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x635c]
mov dword [eax + 0x88], ecx
mov dword [ebp - 0x4e3c], 0
mov edx, dword [ebp - 0x6368]
push edx
mov eax, dword [ebp - 0x4e38]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
cmp dword [ebp - 0x4e38], 0
je 0x44f3f4
mov ecx, dword [ebp - 0x4e3c]
mov edx, dword [ebp - 0x6364]
mov eax, dword [ebp - 0x4e38]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 0x4e3c]
imul ecx, ecx, 0x34
mov edx, dword [ebp - 0x635c]
mov dword [edx + ecx + 4], 0
mov eax, dword [ebp - 0x4e3c]
imul eax, eax, 0x34
mov ecx, dword [ebp - 0x635c]
mov dl, byte [ecx + eax + 0x10]
or dl, 2
mov eax, dword [ebp - 0x4e3c]
imul eax, eax, 0x34
mov ecx, dword [ebp - 0x635c]
mov byte [ecx + eax + 0x10], dl
mov edx, dword [ebp - 0x4e3c]
add edx, 1
imul edx, edx, 0x34
mov eax, dword [ebp - 0x635c]
add eax, edx
mov ecx, dword [ebp - 0x4e3c]
imul ecx, ecx, 0x34
mov edx, dword [ebp - 0x635c]
mov dword [edx + ecx], eax
mov eax, dword [ebp - 0x4e38]
push eax
call fcn.0044f89d
add esp, 4
mov dword [ebp - 0x4e38], eax
cmp dword [ebp - 0x4e38], 0
je 0x44f3e0
mov ecx, dword [ebp - 0x4e38]
mov byte [ecx], 0
mov edx, dword [ebp - 0x4e38]
add edx, 1
mov dword [ebp - 0x4e38], edx
mov eax, dword [ebp - 0x4e3c]
add eax, 1
mov dword [ebp - 0x4e3c], eax
jmp 0x44f322
mov ecx, dword [ebp - 0x4e3c]
mov edx, dword [ebp - 0x6364]
mov dword [edx + ecx*4], 0
mov eax, dword [ebp - 0x4e3c]
sub eax, 1
imul eax, eax, 0x34
mov ecx, dword [ebp - 0x635c]
mov dword [ecx + eax], 0
mov edx, dword [ebp + 8]
mov dword [edx + 0x80], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x7c]
cmp dword [eax + ecx*4], 0
je 0x44f702
push 2
mov ecx, dword [ebp + 8]
push ecx
call fcn.004590a0
add esp, 8
mov dword [ebp - 0x635c], eax
cmp dword [ebp - 0x635c], 0
je 0x44f6e8
mov edx, dword [ebp - 0x635c]
mov eax, dword [edx + 4]
mov dword [ebp - 0x6360], eax
mov ecx, dword [ebp - 0x4e40]
add ecx, 1
mov dword [ebp - 0x4e40], ecx
lea edx, [ebp - 0x6358]
push edx
mov eax, dword [ebp - 0x635c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0044ae7f
add esp, 0xc
mov dword [ebp - 8], eax
push 0x4c
push 0
lea edx, [ebp - 0x8d6c]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, 0x14
push eax
lea ecx, [ebp - 0x8d6c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00404d34
add esp, 0xc
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xfffffff3
jne 0x44f4f2
lea ecx, [ebp - 0x8d6c]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x14
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00404d34
add esp, 0xc
lea ecx, [ebp - 0x8d6c]
push ecx
call fcn.00404cda
add esp, 4
mov dword [ebp - 0x4e3c], 0
mov edx, dword [ebp - 8]
mov dword [ebp - 0x2720], edx
jmp 0x44f537
mov eax, dword [ebp - 0x2720]
mov ecx, dword [eax + 0x408]
mov dword [ebp - 0x2720], ecx
mov edx, dword [ebp - 0x4e3c]
add edx, 1
mov dword [ebp - 0x4e3c], edx
cmp dword [ebp - 0x2720], 0
je 0x44f542
jmp 0x44f516
cmp dword [ebp - 0x4e3c], 0
jle 0x44f65a
call dword [sym.imp.MSVCRT.dll__errno]
mov dword [eax], 0
mov eax, dword [ebp - 0x4e3c]
imul eax, eax, 0x438
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041ab90
add esp, 8
mov dword [ebp - 0x2720], eax
mov edx, dword [ebp - 0x4e3c]
imul edx, edx, 0x438
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 0x2720]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x8d70], 0
jmp 0x44f5b5
mov edx, dword [ebp - 0x8d70]
add edx, 1
mov dword [ebp - 0x8d70], edx
mov eax, dword [ebp - 0x8d70]
cmp eax, dword [ebp - 0x4e3c]
jge 0x44f5f5
mov ecx, dword [ebp - 0x8d70]
add ecx, 1
imul ecx, ecx, 0x438
mov edx, dword [ebp - 0x2720]
add edx, ecx
mov eax, dword [ebp - 0x8d70]
imul eax, eax, 0x438
mov ecx, dword [ebp - 0x2720]
mov dword [ecx + eax + 0x408], edx
jmp 0x44f5a6
mov edx, dword [ebp - 0x8d70]
sub edx, 1
imul edx, edx, 0x438
mov eax, dword [ebp - 0x2720]
mov dword [eax + edx + 0x408], 0
push 8
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041ab90
add esp, 8
mov dword [ebp - 0x8d74], eax
mov edx, dword [ebp - 0x8d74]
mov eax, dword [ebp - 0x2720]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0x8d74]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x414]
mov dword [ecx], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x8d74]
mov dword [ecx + 0x414], edx
jmp 0x44f664
mov dword [ebp - 0x2720], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
push ecx
mov edx, dword [ebp - 0x2720]
push edx
mov eax, dword [ebp - 0x635c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00423210
add esp, 0x10
mov edx, dword [ebp - 0x6364]
add edx, 4
mov dword [ebp - 0x6364], edx
cmp dword [ebp - 0x6360], 1
jne 0x44f6e8
mov eax, dword [ebp - 0x635c]
cmp dword [eax + 4], 3
jne 0x44f6e8
mov ecx, dword [ebp - 0x635c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x8d78], edx
mov eax, dword [ebp - 0x635c]
mov ecx, dword [ebp - 0x6360]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x635c]
push edx
call fcn.0042cd26
add esp, 4
mov eax, dword [ebp - 0x635c]
mov ecx, dword [ebp - 0x8d78]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x80], eax
jmp 0x44f42d
mov edx, dword [ebp + 8]
mov dword [edx + 0x80], 0
push 4
mov eax, dword [ebp + 8]
push eax
call fcn.004654f0
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
call fcn.00456484
add esp, 4
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.004654f0
add esp, 8
mov eax, dword [ebp + 8]
push eax
call fcn.00450109
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
call fcn.00450b6c
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x80], 0
jmp 0x44f773
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
add ecx, 1
mov edx, dword [ebp + 8]
mov dword [edx + 0x80], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x7c]
cmp dword [eax + ecx*4], 0
je 0x44f7aa
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x80]
imul edx, edx, 0x34
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x88]
add ecx, edx
push ecx
call fcn.0042cd26
add esp, 4
jmp 0x44f75e
mov edx, dword [ebp + 8]
mov dword [edx + 0x80], 0
cmp dword [0x4865b0], 0
je 0x44f7c6
call dword [0x4865b0]
cmp dword [ebp - 0x4e40], 0
je 0x44f833
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xffffffff
je 0x44f7e1
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0xffffffc3
jne 0x44f82f
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0
je 0x44f7fe
xor eax, eax
test eax, eax
je 0x44f7fe
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x8d90], edx
jmp 0x44f808
mov dword [ebp - 0x8d90], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x8d90]
mov dword [eax + 0x14], ecx
push 0
push 0xff
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00404a80
add esp, 0x1c
xor eax, eax
jmp 0x44f898
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x44f844
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x14]
jmp 0x44f898
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0
je 0x44f861
xor eax, eax
test eax, eax
je 0x44f861
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x8d94], edx
jmp 0x44f86b
mov dword [ebp - 0x8d94], 0xffffffff
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x8d94]
mov dword [eax + 0x14], ecx
push 0
push 0xff
push 0
push 0
push 0x168
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
push edx
call fcn.00404a80
add esp, 0x1c
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret