Function at 0x100a56d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10131b4d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x103b2018]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea eax, [esp + 0x10]
push eax
push ecx
push edx
lea ecx, [edi + 0x174]
lea eax, [esp + 0x24]
call fcn.10014c80
test eax, eax
je 0x100a57c4
mov esi, dword [eax + 8]
mov eax, dword [edi + 0x308]
cmp eax, 2
je 0x100a57ef
cmp eax, 0x14
jl 0x100a5a52
push 0x10381aec
lea ecx, [esi + 0xc0]
call dword [0x10137600]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push 1
push ecx
push edx
mov ecx, edi
mov dword [esi + 0x80], 0x969696
mov dword [esi + 0x84], 0xffffff
call sym.NirvanaBiz.dll_public:_void___thiscall_CSWordModel::NtfAdjustKeywordList_unsigned_long_long_unsigned___int64___int_
mov eax, dword [edi + 0x308]
push eax
lea ecx, [esp + 0x14]
push ecx
call sub.NirvanaUtils.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetAccountStateString_int_
mov dword [esp + 0x30], 1
mov edx, dword [eax]
mov eax, dword [edi + 0x638]
push edx
push 0x10381af8
push eax
call sub.NirvanaUtils.dll_public:_long_int___cdecl_GLog::WriteLogFormat_wchar_t_const__
add esp, 0x14
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 0x638]
push str.CanBeginRank
push eax
call sub.NirvanaUtils.dll_public:_long_int___cdecl_GLog::WriteLogFormat_wchar_t_const__
add esp, 8
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x14]
cdq
lea ecx, [esp + 0x18]
push ecx
push edx
push eax
lea ecx, [edi + 0x2d0]
lea eax, [esp + 0x1c]
call fcn.10014ce0
test eax, eax
je 0x100a598e
mov ebx, dword [eax + 8]
test ebx, ebx
jne 0x100a5989
mov eax, dword [esi + 0x10]
lea edx, [esp + 0x10]
push edx
cdq
push edx
push eax
lea eax, [edi + 0x2ec]
push eax
mov dword [esp + 0x20], 0xffffffff
call fcn.100a8610
mov ebx, dword [esp + 0x10]
test eax, eax
je 0x100a58c0
test ebx, ebx
jne 0x100a58c0
cmp dword [esi + 0xfc], 1
jne 0x100a5a52
lea ebx, [esi + 0xc0]
push 0x10381b2c
push ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 8]
add esp, 8
push 1
push ecx
push edx
mov ecx, edi
mov dword [esi + 0x80], 0x8cdc
mov dword [esi + 0x84], 0xffffff
call sym.NirvanaBiz.dll_public:_void___thiscall_CSWordModel::NtfAdjustKeywordList_unsigned_long_long_unsigned___int64___int_
mov eax, dword [ebx]
mov ecx, dword [esi + 0x18]
mov edx, dword [edi + 0x638]
push eax
push ecx
push str._s__s
push edx
call sub.NirvanaUtils.dll_public:_long_int___cdecl_GLog::WriteLogFormat_wchar_t_const__
add esp, 0x10
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp ebx, 0xffffffff
jne 0x100a58d4
mov eax, dword [esi + 0x10]
cdq
push edx
push eax
mov ecx, edi
call sym.NirvanaBiz.dll_protected:_int___thiscall_CSWordModel::ValidateSingleUnitState_unsigned_long_long_unsigned___int64__
mov ebx, eax
test ebx, ebx
je 0x100a5a52
lea eax, [esp + 0x10]
push ebx
push eax
call sub.NirvanaUtils.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetUnitStateString_int_
mov dword [esp + 0x30], 4
mov ecx, dword [eax]
push ecx
lea edx, [esi + 0xc0]
push 0x10381b20
push edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x14
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push 1
push eax
push ecx
mov ecx, edi
mov dword [esi + 0x80], 0x8cdc
mov dword [esi + 0x84], 0xffffff
call sym.NirvanaBiz.dll_public:_void___thiscall_CSWordModel::NtfAdjustKeywordList_unsigned_long_long_unsigned___int64___int_
lea edx, [esp + 0x14]
push ebx
push edx
call sub.NirvanaUtils.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetUnitStateString_int_
mov dword [esp + 0x30], 5
mov eax, dword [eax]
mov ecx, dword [edi + 0x638]
push eax
push 0x10381b20
push ecx
call sub.NirvanaUtils.dll_public:_long_int___cdecl_GLog::WriteLogFormat_wchar_t_const__
lea ecx, [esp + 0x28]
add esp, 0x14
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp ebx, 0xffffffff
jne 0x100a599d
mov eax, dword [esi + 0x14]
cdq
push edx
push eax
mov ecx, edi
call sym.NirvanaBiz.dll_protected:_int___thiscall_CSWordModel::ValidateSinglePlanState_unsigned_long_long_unsigned___int64__
mov ebx, eax
test ebx, ebx
je 0x100a5a52
lea edx, [esp + 0x10]
push ebx
push edx
call sub.NirvanaUtils.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetPlanStateString_int_
mov dword [esp + 0x30], 2
mov eax, dword [eax]
push eax
lea ecx, [esi + 0xc0]
push 0x10381b08
push ecx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x14
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
push 1
push edx
push eax
mov ecx, edi
mov dword [esi + 0x80], 0x8cdc
mov dword [esi + 0x84], 0xffffff
call sym.NirvanaBiz.dll_public:_void___thiscall_CSWordModel::NtfAdjustKeywordList_unsigned_long_long_unsigned___int64___int_
lea ecx, [esp + 0x10]
push ebx
push ecx
call sub.NirvanaUtils.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_GetPlanStateString_int_
mov dword [esp + 0x30], 3
mov edx, dword [eax]
mov eax, dword [edi + 0x638]
push edx
push 0x10381b14
push eax
call sub.NirvanaUtils.dll_public:_long_int___cdecl_GLog::WriteLogFormat_wchar_t_const__
lea ecx, [esp + 0x24]
add esp, 0x14
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8