Function at 0x100025c0
Capabilities:
Get common file path
Link many functions at runtime
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101d4d04
mov eax, dword fs:[0]
push eax
sub esp, 0x3b0
mov eax, dword [0x10263fdc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, edx
cmp dword [esi + 0xc], 0
je 0x10002603
mov eax, 1
jmp 0x1000299e
push 0xffffffffffffffff
mov dword [esi + 0x10], ecx
push eax
lea ecx, [ebp - 0x2a4]
mov dword [0x10268378], esi
call dword [sym.imp.szutils.dll_public:_void___thiscall_TCommon::TString::constructor_wchar_t_const___int_]
push str.devicem11_
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 4], 0
call dword [sym.imp.szutils.dll_public:_class_TCommon::TString_const____thiscall_TCommon::TString::operator_wchar_t_const__]
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x216]
push eax
mov word [ebp - 0x218], dx
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea ecx, [ebp - 0x2a4]
call dword [sym.imp.szutils.dll_public:_wchar_t_const____thiscall_TCommon::TString::GetUnicode_void_]
mov ebx, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push eax
call ebx
mov edi, dword [sym.imp.szutils.dll_public:_class_TCommon::TString___thiscall_TCommon::TString::operator_wchar_t_const__]
push str.WritingPad.dll
lea edx, [ebp - 0x330]
push edx
lea ecx, [ebp - 0x2a4]
call edi
lea ecx, [ebp - 0x330]
mov byte [ebp - 4], 1
call dword [sym.imp.szutils.dll_public:_wchar_t_const____thiscall_TCommon::TString::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 4], eax
push str.DoccameraDll.dll
lea eax, [ebp - 0x3bc]
push eax
lea ecx, [ebp - 0x2a4]
call edi
push eax
lea ecx, [ebp - 0x330]
mov byte [ebp - 4], 2
call dword [sym.imp.szutils.dll_public:_class_TCommon::TString_const____thiscall_TCommon::TString::operator_class_TCommon::TString_const__]
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.szutils.dll_public_virtual:_void___thiscall_TCommon::TString::destructor_void_]
lea ecx, [ebp - 0x3bc]
call edi
lea ecx, [ebp - 0x330]
call dword [sym.imp.szutils.dll_public:_wchar_t_const____thiscall_TCommon::TString::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [ebp - 0x218]
push ecx
mov dword [esi + 8], eax
call ebx
cmp dword [esi + 8], 0
je 0x1000297e
mov eax, dword [esi + 4]
test eax, eax
je 0x1000297e
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GWQ_GetSerialNum
push eax
mov dword [esi + 0x18], 0
call ebx
mov dword [esi + 0x18], eax
test eax, eax
jne 0x10002755
lea ecx, [ebp - 0x330]
mov byte [ebp - 4], 0
call edi
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 4], 0xffffffff
call edi
xor eax, eax
jmp 0x1000299e
mov edx, dword [esi + 4]
push str.DoGWQ_StartSign2
push edx
mov dword [esi + 0x1c], 0
call ebx
mov dword [esi + 0x1c], eax
test eax, eax
je 0x10002733
mov eax, dword [esi + 4]
push str.SignExit
push eax
mov dword [esi + 0x20], 0
call ebx
mov dword [esi + 0x20], eax
test eax, eax
je 0x10002733
mov ecx, dword [esi + 4]
push str.GWQ_SetPenWidth
push ecx
mov dword [esi + 0x24], 0
call ebx
mov dword [esi + 0x24], eax
test eax, eax
je 0x10002733
mov edx, dword [esi + 4]
push str.GWQ_GetFPInfo
push edx
mov dword [esi + 0x28], 0
call ebx
mov dword [esi + 0x28], eax
test eax, eax
je 0x10002733
mov eax, dword [esi + 4]
push str.GWQ_GetFPTemplate
push eax
mov dword [esi + 0x2c], 0
call ebx
mov dword [esi + 0x2c], eax
test eax, eax
je 0x10002733
mov ecx, dword [esi + 8]
push str.ReadCard
push ecx
mov dword [esi + 0x30], 0
call ebx
mov dword [esi + 0x30], eax
test eax, eax
je 0x10002733
mov edx, dword [esi + 8]
push str.GetName
push edx
mov dword [esi + 0x34], 0
call ebx
mov dword [esi + 0x34], eax
test eax, eax
je 0x10002733
mov eax, dword [esi + 8]
push str.GetSex
push eax
mov dword [esi + 0x38], 0
call ebx
mov dword [esi + 0x38], eax
test eax, eax
je 0x10002733
mov ecx, dword [esi + 8]
push str.GetCode
push ecx
mov dword [esi + 0x3c], 0
call ebx
mov dword [esi + 0x3c], eax
test eax, eax
je 0x10002733
mov edx, dword [esi + 8]
push str.GetAddress
push edx
mov dword [esi + 0x40], 0
call ebx
mov dword [esi + 0x40], eax
test eax, eax
je 0x10002733
mov eax, dword [esi + 8]
push str.GetAgency
push eax
mov dword [esi + 0x44], 0
call ebx
mov dword [esi + 0x44], eax
test eax, eax
je 0x10002733
mov ecx, dword [esi + 8]
push str.GetValid
push ecx
mov dword [esi + 0x48], 0
call ebx
mov dword [esi + 0x48], eax
test eax, eax
je 0x10002733
mov edx, dword [esi + 8]
push str.bStartPlay3Ex
push edx
mov dword [esi + 0x4c], 0
call ebx
mov dword [esi + 0x4c], eax
test eax, eax
je 0x10002733
mov eax, dword [esi + 8]
push str.vSetGetFrameSwitch
push eax
mov dword [esi + 0x50], 0
call ebx
mov dword [esi + 0x50], eax
test eax, eax
je 0x10002733
mov ecx, dword [esi + 8]
push str.iInitFaceMatch
push ecx
mov dword [esi + 0x54], 0
call ebx
mov dword [esi + 0x54], eax
test eax, eax
je 0x10002733
mov edx, dword [esi + 8]
push str.lGetFrameLen
push edx
mov dword [esi + 0x58], 0
call ebx
mov dword [esi + 0x58], eax
test eax, eax
je 0x10002733
mov eax, dword [esi + 8]
push str.bSaveJPG
push eax
mov dword [esi + 0x5c], 0
call ebx
mov dword [esi + 0x5c], eax
test eax, eax
je 0x10002733
mov ecx, dword [esi + 8]
push str.lImageMatch
push ecx
mov dword [esi + 0x60], 0
call ebx
mov dword [esi + 0x60], eax
test eax, eax
je 0x10002733
mov edx, dword [esi + 8]
push str.bStopPlay
push edx
mov dword [esi + 0x64], 0
call ebx
mov dword [esi + 0x64], eax
test eax, eax
je 0x10002733
mov eax, dword [esi + 0x54]
push 0
call eax
mov dword [esi + 0xc], 1
mov esi, dword [esi + 0xc]
lea ecx, [ebp - 0x330]
mov byte [ebp - 4], 0
call edi
lea ecx, [ebp - 0x2a4]
mov dword [ebp - 4], 0xffffffff
call edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101ce9e2
mov esp, ebp
pop ebp
ret 4