Function at 0x119cdb80
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11a50081
push eax
mov eax, dword [0x11a6f0d4]
mov dword fs:[0], esp
sub esp, 0x214
test eax, eax
jne 0x119ce059
cmp dword [0x11a6f0d8], 3
jge 0x119ce059
push esi
push edi
push 0x11a6dc74
lea ecx, [esp + 0xc]
call fcn.119ea350
mov eax, dword [esp + 0x22c]
mov dword [esp + 0x224], 0
test eax, eax
je 0x119cdbea
push eax
lea ecx, [esp + 0xc]
call fcn.119eaea0
jmp 0x119cdca5
mov eax, dword [0x11a6f0dc]
mov esi, str.TWaterMask32.dll
test eax, eax
mov edx, str.OeaReader.dll
je 0x119cdc07
mov esi, str.TWaterMask64.dll
mov edx, str.OeaReader64.dll
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x16]
mov word [esp + 0x14], 0
rep stosd dword es:[edi], eax
push edx
stosw word es:[edi], ax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea ecx, [esp + 0x14]
push 0x104
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [esp + 0x14]
lea ecx, [esp + 0xc]
push edx
call fcn.119ea350
push 0x5c
lea ecx, [esp + 0x10]
mov byte [esp + 0x228], 1
call fcn.119ebdd0
push eax
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.119ed390
mov ecx, dword [eax]
push esi
push ecx
lea edx, [esp + 0x10]
push 0x11a65908
push edx
mov byte [esp + 0x234], 2
call fcn.119edbd0
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x224], 1
call fcn.119eabc0
lea ecx, [esp + 0xc]
mov byte [esp + 0x224], 0
call fcn.119eabc0
mov edx, dword [0x11a6f0d8]
mov eax, dword [esp + 8]
inc edx
push eax
mov dword [0x11a6f0d8], edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x119ce03e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.TWMDebugEnableDrawLine
push esi
call edi
push str.TWMDebugEnableSaveDib
push esi
mov dword [0x11a6efc4], eax
call edi
push str.TWMDebugSetLevel
push esi
mov dword [0x11a6efc8], eax
call edi
push str.TWMDebugSetPath
push esi
mov dword [0x11a6efcc], eax
call edi
push str.TWMDebugSetFontColorDif
push esi
mov dword [0x11a6efd0], eax
call edi
push str.TWMDebugSetFlag
push esi
mov dword [0x11a6efd4], eax
call edi
push str.TWMDebugGetFlag
push esi
mov dword [0x11a6efd8], eax
call edi
push str.TWMSetTextValue
push esi
mov dword [0x11a6efdc], eax
call edi
push str.TWMGetTextMask
push esi
mov dword [0x11a6efe0], eax
call edi
push str.TWMSyncServerTime
push esi
mov dword [0x11a6efe4], eax
call edi
push str.TWMHaveColorAutoPolicy
push esi
mov dword [0x11a6efe8], eax
call edi
push str.TWMLatticeHaveColorAutoPolicy
push esi
mov dword [0x11a6efec], eax
call edi
push str.TWMPolicyXmlToStruct
push esi
mov dword [0x11a6eff0], eax
call edi
push str.TWMPolicyStructToXml
push esi
mov dword [0x11a6eff4], eax
call edi
push str.TWMPolicyDestroyStruct
push esi
mov dword [0x11a6eff8], eax
call edi
push str.TWMPolicyDestroyXml
push esi
mov dword [0x11a6effc], eax
call edi
push str.TWMSetNoClearType
push esi
mov dword [0x11a6f000], eax
call edi
push str.TWMCreatePolicy
push esi
mov dword [0x11a6f004], eax
call edi
push str.TWMDestroyPolicy
push esi
mov dword [0x11a6f008], eax
call edi
push str.TWMSetPolicy
push esi
mov dword [0x11a6f00c], eax
call edi
mov dword [0x11a6f010], eax
push str.TWMSetPolicyXml
push esi
call edi
push str.TWMDraw
push esi
mov dword [0x11a6f014], eax
call edi
push str.TWMDrawXml
push esi
mov dword [0x11a6f018], eax
call edi
push str.TWMXorDraw
push esi
mov dword [0x11a6f01c], eax
call edi
push str.TWMXorDrawXml
push esi
mov dword [0x11a6f020], eax
call edi
push str.TWMDrawEx
push esi
mov dword [0x11a6f024], eax
call edi
push str.TWMDrawEx2
push esi
mov dword [0x11a6f028], eax
call edi
push str.TWMDrawXmlEx
push esi
mov dword [0x11a6f02c], eax
call edi
push str.TWMDrawXmlEx2
push esi
mov dword [0x11a6f030], eax
call edi
push str.TWMLatticeSetCodeSize
push esi
mov dword [0x11a6f034], eax
call edi
push str.TWMLatticeGenCode
push esi
mov dword [0x11a6f038], eax
call edi
push str.TWMLatticeSetCode
push esi
mov dword [0x11a6f03c], eax
call edi
push str.TWMLatticeCreatePolicy
push esi
mov dword [0x11a6f040], eax
call edi
push str.TWMLatticeDestroyPolicy
push esi
mov dword [0x11a6f044], eax
call edi
push str.TWMLatticeSetPolicy
push esi
mov dword [0x11a6f048], eax
call edi
push str.TWMLatticeSetPolicyXml
push esi
mov dword [0x11a6f04c], eax
call edi
push str.TWMLatticeDraw
push esi
mov dword [0x11a6f050], eax
call edi
push str.TWMLatticeDrawXml
push esi
mov dword [0x11a6f054], eax
call edi
push str.TWMLatticeDrawEx
push esi
mov dword [0x11a6f058], eax
call edi
push str.TWMLatticeDrawEx2
push esi
mov dword [0x11a6f05c], eax
call edi
mov dword [0x11a6f060], eax
push str.TWMLatticeDrawXmlEx
push esi
call edi
push str.TWMLatticeDrawXmlEx2
push esi
mov dword [0x11a6f064], eax
call edi
push str.TWMInitDocWaterMarkPropertyParam
push esi
mov dword [0x11a6f068], eax
call edi
push str.TWMSetWaterMarkPropertyXml
push esi
mov dword [0x11a6f06c], eax
call edi
push str.TWMSetWaterMarkProperty
push esi
mov dword [0x11a6f070], eax
call edi
push str.TWMGetWaterMark
push esi
mov dword [0x11a6f074], eax
call edi
push str.TWMDestroyBuf
push esi
mov dword [0x11a6f078], eax
call edi
push str.TWMDelWaterMark
push esi
mov dword [0x11a6f07c], eax
call edi
push str.TWMRegisterDocProperty
push esi
mov dword [0x11a6f080], eax
call edi
push str.TWMSetPropertyRaw
push esi
mov dword [0x11a6f084], eax
call edi
push str.TWMGetPropertyRaw
push esi
mov dword [0x11a6f094], eax
call edi
push str.TWMSetFlowPropertyRaw
push esi
mov dword [0x11a6f098], eax
call edi
push str.TWMGetFlowPropertyRaw
push esi
mov dword [0x11a6f0a0], eax
call edi
push str.TWMGetProperty
push esi
mov dword [0x11a6f0a4], eax
call edi
push str.TWMDelProperty
push esi
mov dword [0x11a6f088], eax
call edi
push str.TWMSetPropertyRawEx
push esi
mov dword [0x11a6f08c], eax
call edi
push str.TWMGetPropertyRawEx
push esi
mov dword [0x11a6f0ac], eax
call edi
push str.TWMDelPropertyRawEx
push esi
mov dword [0x11a6f0b0], eax
call edi
push str.TWMDelFlowPropertyRaw
push esi
mov dword [0x11a6f0b4], eax
call edi
push str.TWMDelPropertyRaw
push esi
mov dword [0x11a6f0a8], eax
call edi
push str.TWMSetWaterMarkPropertyXmlLock
mov dword [0x11a6f09c], eax
push esi
call edi
push str.TWMPolicyXmlToStructEx
push esi
mov dword [0x11a6f0b8], eax
call edi
push str.TWMFinalize
push esi
mov dword [0x11a6f0bc], eax
call edi
push str.TWMReplaceWMXmlParamToCustom
push esi
mov dword [0x11a6f0c0], eax
call edi
push str.TWMGetParamRange
push esi
mov dword [0x11a6f0c4], eax
call edi
push str.TWMDestroyParamRangeBuf
push esi
mov dword [0x11a6f0c8], eax
call edi
push str.TWMGetTextSize
push esi
mov dword [0x11a6f0cc], eax
call edi
mov dword [0x11a6f0d0], eax
mov dword [0x11a6f0d4], 1
lea ecx, [esp + 8]
mov dword [esp + 0x224], 0xffffffff
call fcn.119eabc0
mov eax, dword [0x11a6f0d4]
pop edi
pop esi
mov ecx, dword [esp + 0x214]
mov dword fs:[0], ecx
add esp, 0x220
ret