Function at 0x424fd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8d94
call fcn.00404da0
push edi
mov dword [ebp - 0x6368], 0
mov dword [ebp - 0x4e40], 0
push 0x1518
push 0
lea eax, [ebp - 0x6358]
push eax
call fcn.004059c0
add esp, 0xc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x6c]
movsx eax, word [edx + 2]
test eax, eax
jne 0x425316
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 0x4903b8
lea edx, [ebp - 0x6474]
push edx
call fcn.00404911
add esp, 0xc
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x317]
test ecx, ecx
je 0x4250dd
mov edx, dword [ebp + 8]
add edx, 0x317
mov dword [ebp - 0x8d7c], edx
jmp 0x4250eb
mov eax, dword [ebp + 8]
add eax, 0x30c
mov dword [ebp - 0x8d7c], eax
mov ecx, dword [ebp - 0x8d7c]
push ecx
push 0x4903bc
lea edx, [ebp - 0x8c54]
push edx
call fcn.00404911
add esp, 0xc
mov eax, dword [ebp + 8]
movsx ecx, byte [eax + 0x317]
test ecx, ecx
je 0x425125
mov edx, dword [ebp + 8]
add edx, 0x317
mov dword [ebp - 0x8d80], edx
jmp 0x425133
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 fcn.00404911
add esp, 0xc
push 0x2711
lea eax, [ebp - 0x8bf0]
push eax
push 0x4903d4
mov ecx, dword [ebp + 8]
push ecx
call fcn.00420fed
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 0x4251b9
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x3fc]
and edx, 0x2000000
test edx, edx
jne 0x4251b9
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.00421ad0
add esp, 8
mov dword [ebp - 0x636c], eax
mov ecx, dword [ebp - 0x636c]
mov dword [ebp - 0x6478], ecx
jmp 0x42523d
push 0x104
lea edx, [ebp - 0x6470]
push edx
lea eax, [ebp - 0x8c54]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00420fed
add esp, 0x10
mov dword [ebp - 0x636c], eax
cmp dword [ebp - 0x636c], 0
jne 0x42523d
lea edx, [ebp - 0x64dc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0042148d
add esp, 8
mov dword [ebp - 0x636c], eax
cmp dword [ebp - 0x636c], 0
jne 0x42523d
lea ecx, [ebp - 0x8c54]
push ecx
call fcn.0042b620
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.00420fed
add esp, 0x10
mov dword [ebp - 0x636c], eax
cmp dword [ebp - 0x8c58], 0
je 0x425254
mov edx, dword [ebp - 0x8c58]
mov dword [ebp - 0x8d84], edx
jmp 0x42525e
mov dword [ebp - 0x8d84], 0x499654
cmp dword [ebp - 0x636c], 0
je 0x42527e
cmp dword [ebp - 0x8c58], 0
je 0x42527e
lea eax, [ebp - 0x6474]
mov dword [ebp - 0x8d88], eax
jmp 0x425288
mov dword [ebp - 0x8d88], 0x499658
cmp dword [ebp - 0x636c], 0
je 0x42529f
mov ecx, dword [ebp - 0x636c]
mov dword [ebp - 0x8d8c], ecx
jmp 0x4252a9
mov dword [ebp - 0x8d8c], 0x49965c
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 fcn.00404911
add esp, 0x14
lea eax, [ebp - 0x4e34]
mov dword [ebp - 0x6368], eax
cmp dword [ebp - 0x6368], 0
je 0x4252fe
mov ecx, dword [ebp - 0x6368]
movsx edx, byte [ecx]
test edx, edx
jne 0x4252fe
mov dword [ebp - 0x6368], 0
cmp dword [ebp - 0x6478], 0
je 0x425316
mov eax, dword [ebp - 0x6478]
push eax
call fcn.00410532
add esp, 4
cmp dword [0x4903b4], 0xffffffff
jne 0x425335
push 0x4903ec
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042148d
add esp, 8
mov dword [0x4903b4], eax
cmp dword [ebp - 0x6368], 0
jne 0x425350
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x6c]
movsx ecx, word [eax + 0xf46]
cmp ecx, 1
jne 0x425359
cmp dword [0x4903b4], 0
je 0x42536b
mov edx, dword [ebp + 8]
push edx
call fcn.0044698c
add esp, 4
mov dword [ebp - 0x6368], eax
cmp dword [ebp - 0x6368], 0
jne 0x425391
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6c]
movsx edx, word [ecx + 0xa]
test edx, edx
je 0x425391
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 0x4253ce
push 0xc7
lea eax, [ebp - 0x8d20]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
movsx ecx, byte [ebp - 0x8d20]
cmp ecx, 0x41
jne 0x4253c4
mov dword [ebp - 0x6368], str.A:_flexlmlicense.dat
jmp 0x4253ce
mov dword [ebp - 0x6368], 0x490418
mov edx, dword [ebp + 8]
push edx
call fcn.0040fbfa
add esp, 4
push 0x2711
push 0
lea eax, [ebp - 0x271c]
push eax
call fcn.004059c0
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.00425b2e
add esp, 0xc
mov dword [ebp - 0x6368], eax
mov ecx, dword [ebp - 0x6368]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00426887
add esp, 8
mov dword [ebp - 0x4e3c], eax
call fcn.004062e9
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 fcn.00405b80
add esp, 4
add eax, 3
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00410450
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.00410450
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.00410450
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 fcn.0040c6a0
add esp, 8
cmp dword [ebp - 0x4e38], 0
je 0x4255cf
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.00425a77
add esp, 4
mov dword [ebp - 0x4e38], eax
cmp dword [ebp - 0x4e38], 0
je 0x4255bb
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 0x4254fd
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 0x4258dc
push 2
mov ecx, dword [ebp + 8]
push ecx
call fcn.00446390
add esp, 8
mov dword [ebp - 0x635c], eax
cmp dword [ebp - 0x635c], 0
je 0x4258c2
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.0044578f
add esp, 0xc
mov dword [ebp - 8], eax
push 0x4c
push 0
lea edx, [ebp - 0x8d6c]
push edx
call fcn.004059c0
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.0041087d
add esp, 0xc
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xfffffff3
jne 0x4256cd
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.0041087d
add esp, 0xc
lea ecx, [ebp - 0x8d6c]
push ecx
call fcn.00410823
add esp, 4
mov dword [ebp - 0x4e3c], 0
mov edx, dword [ebp - 8]
mov dword [ebp - 0x2720], edx
jmp 0x425712
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 0x42571d
jmp 0x4256f1
cmp dword [ebp - 0x4e3c], 0
jle 0x425834
call fcn.004062e9
mov dword [eax], 0
mov eax, dword [ebp - 0x4e3c]
imul eax, eax, 0x438
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00410450
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 fcn.00405170
add esp, 0xc
mov dword [ebp - 0x8d70], 0
jmp 0x42578f
mov edx, dword [ebp - 0x8d70]
add edx, 1
mov dword [ebp - 0x8d70], edx
mov eax, dword [ebp - 0x8d70]
cmp eax, dword [ebp - 0x4e3c]
jge 0x4257cf
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 0x425780
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.00410450
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 0x42583e
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.00441560
add esp, 0x10
mov edx, dword [ebp - 0x6364]
add edx, 4
mov dword [ebp - 0x6364], edx
cmp dword [ebp - 0x6360], 1
jne 0x4258c2
mov eax, dword [ebp - 0x635c]
cmp dword [eax + 4], 3
jne 0x4258c2
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.00412784
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 0x425608
mov edx, dword [ebp + 8]
mov dword [edx + 0x80], 0
push 4
mov eax, dword [ebp + 8]
push eax
call fcn.00441210
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
call fcn.00440e0e
add esp, 4
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00441210
add esp, 8
mov eax, dword [ebp + 8]
push eax
call fcn.004262d4
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
call fcn.00426d34
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x80], 0
jmp 0x42594d
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 0x425984
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.00412784
add esp, 4
jmp 0x425938
mov edx, dword [ebp + 8]
mov dword [edx + 0x80], 0
cmp dword [0x499650], 0
je 0x4259a0
call dword [0x499650]
cmp dword [ebp - 0x4e40], 0
je 0x425a0d
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xffffffff
je 0x4259bb
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0xffffffc3
jne 0x425a09
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0
je 0x4259d8
xor eax, eax
test eax, eax
je 0x4259d8
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x8d90], edx
jmp 0x4259e2
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.004105d0
add esp, 0x1c
xor eax, eax
jmp 0x425a72
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x425a1e
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x14]
jmp 0x425a72
mov edx, dword [ebp + 8]
cmp dword [edx + 0x14], 0
je 0x425a3b
xor eax, eax
test eax, eax
je 0x425a3b
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x8d94], edx
jmp 0x425a45
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.004105d0
add esp, 0x1c
or eax, 0xffffffff
pop edi
mov esp, ebp
pop ebp
ret