Function at 0x10011760
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1014587d
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x10197710]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x118]
push eax
push 0x104
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
call fcn.100279ad
push eax
lea ecx, [ebp - 0x130]
call fcn.1002e16c
push esi
lea ecx, [ebp - 0x120]
mov dword [ebp - 4], 0
call fcn.10001590
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x120]
mov eax, dword [ecx - 0xc]
test eax, eax
js 0x10011812
push str.JC_DRAW_GRID_VALUE
push ecx
call fcn.1011b86c
add esp, 8
test eax, eax
je 0x10011812
sub eax, dword [ebp - 0x120]
cmp eax, 0xffffffff
jle 0x10011812
push ecx
mov ecx, esp
mov dword [ebp - 0x11c], esp
push str.min_Moment_y
call fcn.10001590
call sym.JcDataManage.dll_DisplayGridValue
add esp, 4
jmp 0x100119ff
mov eax, dword [ebp - 0x120]
cmp dword [eax - 0xc], 0
jl 0x10011845
push str.JC_DRAW_GRID
push eax
call fcn.1011b86c
add esp, 8
test eax, eax
je 0x10011845
sub eax, dword [ebp - 0x120]
cmp eax, 0xffffffff
jle 0x10011845
call sym.JcDataManage.dll_DisplayGrid
jmp 0x100119ff
mov eax, dword [ebp - 0x120]
cmp dword [eax - 0xc], 0
jl 0x100118ee
push str.JC_OPEN_JCA
push eax
call fcn.1011b86c
add esp, 8
test eax, eax
je 0x100118ee
sub eax, dword [ebp - 0x120]
cmp eax, 0xffffffff
jle 0x100118ee
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x11c]
call fcn.10001590
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x11c]
push 0x10170d34
push eax
mov byte [ebp - 4], 2
call fcn.1000c5c0
add esp, 8
mov ecx, esp
mov dword [ebp - 0x128], esp
push 0x10170a0c
call fcn.10001590
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x11c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x124], esp
mov esi, esp
push eax
call fcn.10001980
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 2
call sym.JcDataManage.dll_OpenJcaFile
add esp, 8
jmp 0x100119d9
mov eax, dword [ebp - 0x120]
cmp dword [eax - 0xc], 0
jl 0x100119ff
push str.JC_CREATE_JCA
push eax
call fcn.1011b86c
add esp, 8
test eax, eax
je 0x100119ff
sub eax, dword [ebp - 0x120]
cmp eax, 0xffffffff
jle 0x100119ff
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x11c]
call fcn.10001590
push 0xb
push ecx
mov byte [ebp - 4], 4
mov ecx, esp
mov dword [ebp - 0x124], esp
push 0x10170a0c
call fcn.10001590
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x11c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x128], esp
mov esi, esp
push eax
call fcn.10001980
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [ebp - 4], 4
call sym.JcDataManage.dll_CreateJcaFileFromOUT
mov esi, dword [0x10d86464]
add esp, 0xc
mov dword [ebp - method.JcDbFilerStream.virtual_0], vtable.JcDbFilerStream.0
lea edx, [ebp - 0x118]
push edx
lea eax, [ebp - 0x11c]
push 0x10170d34
push eax
mov byte [ebp - 4], 6
call fcn.1000c5c0
mov eax, dword [ebp - 0x11c]
add esp, 0xc
push esi
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x124], esp
mov esi, esp
push eax
call fcn.10001980
add eax, 0x10
add esp, 4
lea ecx, [ebp - 0x13c]
mov dword [esi], eax
call sym.JcDataManage.dll_public_virtual:_void___thiscall_JcDbFilerStream::WriteDatabase_class_ATL::CStringT_char__class_StrTraitMFC_char__class_ATL::ChTraitsCRT_char_____class_JcDbDatabase__
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x11c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100119ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x120]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10011a25
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 0xffffffff
call fcn.1002d8a4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1011aa8e
mov esp, ebp
pop ebp
ret