Function at 0x5314b010
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x531f3e7e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x1d3c
call fcn.531ed990
mov eax, dword [0x5327d000]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x1d44], eax
mov dword [esp + 0x18], ebx
xor eax, eax
mov word [esp + 0x140], bx
mov ecx, 0x1ff
lea edi, [esp + 0x142]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0x14]
stosw word es:[edi], ax
lea eax, [esp + 0x1340]
push eax
push 0x53215f38
push ecx
mov byte [esp + 0x23], bl
mov dword [esp + 0x28], ebx
call fcn.5314a980
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
lea edx, [esp + 0x94c]
push edx
push edi
push esi
call fcn.5314a980
mov edx, dword [ebp + 8]
add esp, 0x18
lea eax, [esp + 0x940]
push eax
lea ecx, [esp + 0x1344]
push ecx
push edx
call dword [sym.libOCAHelperw_2_13.dll_int____stdcall___void___struct_ID_Kind_Struct_const___struct_ID_Kind_Struct_const___Ocalibhelper213::OSCASimpleFactory::m_fn_NS_Unregister]
test eax, eax
je 0x5314b0cd
mov esi, dword [sym.imp.cxlibw_2_6.dll_protected:_void___thiscall_CXLib206::SString_t_unsigned_short_int__1_::releaseBuffer_void_]
mov byte [esp + 0x17], 1
jmp 0x5314b492
mov edx, dword [ebp + 8]
push 0x400
lea eax, [esp + 0x144]
push eax
lea ecx, [esp + 0x24]
push ecx
push edx
call dword [sym.libOCAHelperw_2_13.dll_int____stdcall___void___enum_NS_ErrorCode___unsigned_short_int___long_int__Ocalibhelper213::OSCASimpleFactory::m_fn_NS_GetLastError]
push str..oscafactory.cpp
push 0
call dword [sym.imp.cxlibw_2_6.dll_bool___cdecl_CXLib206::ShouldTrace_int__char_const__]
add esp, 8
test al, al
je 0x5314b309
push edi
lea ecx, [esp + 0x13c]
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::STraceParameter::constructor_char_const__]
push esi
lea ecx, [esp + 0x124]
mov dword [esp + 0x1d58], 0
mov dword [esp + 0x14], 1
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::STraceParameter::constructor_unsigned_short_int_const__]
mov eax, dword [sym.imp.cxlibw_2_6.dll_class_CXLib206::SString_t_unsigned_short_int__1_::_EmptyBuffer_CXLib206::SString_t_unsigned_short_int__1_::EmptyBuffer]
mov dword [esp + 0x108], eax
mov byte [esp + 0x10c], 1
mov edi, 7
lea ecx, [esp + 0x68]
mov dword [esp + 0x1d54], 2
mov dword [esp + 0x10], edi
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::SWCharString::constructor_void_]
mov byte [esp + 0x6c], 1
lea ecx, [esp + 0xd8]
mov dword [esp + 0x1d54], 3
mov dword [esp + 0x10], 0xf
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::SWCharString::constructor_void_]
mov byte [esp + 0xdc], 1
lea ecx, [esp + 0x58]
mov dword [esp + 0x1d54], 4
mov dword [esp + 0x10], 0x1f
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::SWCharString::constructor_void_]
mov byte [esp + 0x5c], 1
lea ecx, [esp + 0xf8]
mov dword [esp + 0x1d54], 5
mov dword [esp + 0x10], 0x3f
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::SWCharString::constructor_void_]
mov byte [esp + 0xfc], 1
lea ecx, [esp + 0x48]
mov dword [esp + 0x1d54], 6
mov dword [esp + 0x10], 0x7f
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::SWCharString::constructor_void_]
mov byte [esp + 0x4c], 1
lea ecx, [esp + 0xc8]
mov dword [esp + 0x1d54], edi
mov dword [esp + 0x10], 0xff
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::SWCharString::constructor_void_]
mov byte [esp + 0xcc], 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x1d54], 8
mov dword [esp + 0x10], 0x1ff
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::SWCharString::constructor_void_]
mov byte [esp + 0x3c], 1
lea ecx, [esp + 0xf0]
mov dword [esp + 0x1d54], 9
mov dword [esp + 0x10], 0x3ff
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::SWCharString::constructor_void_]
mov byte [esp + 0xf4], 1
lea ecx, [esp + 0x100]
mov dword [esp + 0x1d54], 0xa
mov dword [esp + 0x10], 0x7ff
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::SWCharString::constructor_void_]
mov byte [esp + 0x104], 1
lea ecx, [esp + 0x108]
push ecx
lea edx, [esp + 0x6c]
push edx
lea eax, [esp + 0xe0]
mov ebx, 0xfff
push eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x1d60], 0xb
mov dword [esp + 0x1c], ebx
push ecx
lea edx, [esp + 0x108]
push edx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0xe0]
push ecx
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x110]
push eax
lea ecx, [esp + 0x124]
push ecx
lea edx, [esp + 0x160]
push edx
lea eax, [esp + 0x14c]
push eax
push str.OSCAFactory__s_of_kind__s_n
call dword [sym.imp.cxlibw_2_6.dll_void___cdecl_CXLib206::STrace_char_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const__]
add esp, 0x34
jmp 0x5314b30e
mov edi, 7
test bh, 8
mov esi, dword [sym.imp.cxlibw_2_6.dll_protected:_void___thiscall_CXLib206::SString_t_unsigned_short_int__1_::releaseBuffer_void_]
mov dword [esp + 0x1d54], 0xa
je 0x5314b337
and ebx, 0xfffff7ff
lea ecx, [esp + 0x100]
mov dword [esp + 0x10], ebx
call esi
test bh, 4
mov dword [esp + 0x1d54], 9
je 0x5314b35a
and ebx, 0xfffffbff
lea ecx, [esp + 0xf0]
mov dword [esp + 0x10], ebx
call esi
test bh, 2
mov dword [esp + 0x1d54], 8
je 0x5314b37a
and ebx, 0xfffffdff
lea ecx, [esp + 0x38]
mov dword [esp + 0x10], ebx
call esi
test bh, 1
mov dword [esp + 0x1d54], edi
je 0x5314b399
and ebx, 0xfffffeff
lea ecx, [esp + 0xc8]
mov dword [esp + 0x10], ebx
call esi
test bl, bl
mov dword [esp + 0x1d54], 6
jns 0x5314b3b8
and ebx, 0xffffff7f
lea ecx, [esp + 0x48]
mov dword [esp + 0x10], ebx
call esi
test bl, 0x40
mov dword [esp + 0x1d54], 5
je 0x5314b3d8
and ebx, 0xffffffbf
lea ecx, [esp + 0xf8]
mov dword [esp + 0x10], ebx
call esi
test bl, 0x20
mov dword [esp + 0x1d54], 4
je 0x5314b3f5
and ebx, 0xffffffdf
lea ecx, [esp + 0x58]
mov dword [esp + 0x10], ebx
call esi
test bl, 0x10
mov dword [esp + 0x1d54], 3
je 0x5314b415
and ebx, 0xffffffef
lea ecx, [esp + 0xd8]
mov dword [esp + 0x10], ebx
call esi
test bl, 8
mov dword [esp + 0x1d54], 2
je 0x5314b432
and ebx, 0xfffffff7
lea ecx, [esp + 0x68]
mov dword [esp + 0x10], ebx
call esi
test bl, 4
mov dword [esp + 0x1d54], 1
je 0x5314b452
and ebx, 0xfffffffb
lea ecx, [esp + 0x108]
mov dword [esp + 0x10], ebx
call esi
test bl, 2
mov dword [esp + 0x1d54], 0
je 0x5314b472
and ebx, 0xfffffffd
lea ecx, [esp + 0x120]
mov dword [esp + 0x10], ebx
call esi
test bl, 1
mov dword [esp + 0x1d54], 0xffffffff
je 0x5314b492
and ebx, 0xfffffffe
lea ecx, [esp + 0x138]
mov dword [esp + 0x10], ebx
call esi
mov eax, dword [esp + 0x1c]
mov edi, 0x22
cmp eax, edi
jl 0x5314b802
cmp eax, 0x23
jle 0x5314b4b1
cmp eax, 0x25
jne 0x5314b802
push str..oscafactory.cpp
push 0
call dword [sym.imp.cxlibw_2_6.dll_bool___cdecl_CXLib206::ShouldTrace_int__char_const__]
add esp, 8
test al, al
mov edi, 0x15
mov esi, 0x16
je 0x5314b658
lea ecx, [esp + 0x140]
push ecx
lea ecx, [esp + 0x134]
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::STraceParameter::constructor_unsigned_short_int_const__]
mov eax, dword [sym.imp.cxlibw_2_6.dll_class_CXLib206::SString_t_unsigned_short_int__1_::_EmptyBuffer_CXLib206::SString_t_unsigned_short_int__1_::EmptyBuffer]
or ebx, 0x1000
mov dword [esp + 0x30], eax
mov byte [esp + 0x34], 1
or ebx, 0x2000
mov dword [esp + 0x28], eax
mov byte [esp + 0x2c], 1
or ebx, 0x4000
mov dword [esp + 0xb8], eax
mov byte [esp + 0xbc], 1
or ebx, 0x8000
mov dword [esp + 0x20], eax
mov byte [esp + 0x24], 1
or ebx, 0x10000
mov dword [esp + 0xa8], eax
mov byte [esp + 0xac], 1
or ebx, 0x20000
mov dword [esp + 0x110], eax
mov byte [esp + 0x114], 1
or ebx, 0x40000
mov dword [esp + 0x98], eax
mov byte [esp + 0x9c], 1
or ebx, 0x80000
mov dword [esp + 0x118], eax
mov byte [esp + 0x11c], 1
or ebx, 0x100000
mov dword [esp + 0x88], eax
mov byte [esp + 0x8c], 1
or ebx, 0x200000
lea ecx, [esp + 0xe8]
mov dword [esp + 0x1d54], edi
mov dword [esp + 0x10], ebx
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::SWCharString::constructor_void_]
mov byte [esp + 0xec], 1
or ebx, 0x400000
lea ecx, [esp + 0x78]
mov dword [esp + 0x1d54], esi
mov dword [esp + 0x10], ebx
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::SWCharString::constructor_void_]
mov byte [esp + 0x7c], 1
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xc0]
push ecx
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0xb8]
push eax
lea ecx, [esp + 0x124]
push ecx
lea edx, [esp + 0xb0]
push edx
lea eax, [esp + 0x134]
push eax
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0x10c]
or ebx, 0x800000
push edx
lea eax, [esp + 0xa0]
mov dword [esp + 0x1d7c], 0x17
mov dword [esp + 0x38], ebx
push eax
lea ecx, [esp + 0x15c]
push ecx
push str.SIWarning:__s_n
call dword [sym.imp.cxlibw_2_6.dll_void___cdecl_CXLib206::STrace_char_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const__]
add esp, 0x34
test ebx, 0x800000
mov dword [esp + 0x1d54], esi
mov esi, dword [sym.imp.cxlibw_2_6.dll_protected:_void___thiscall_CXLib206::SString_t_unsigned_short_int__1_::releaseBuffer_void_]
je 0x5314b67d
and ebx, 0xff7fffff
lea ecx, [esp + 0x78]
mov dword [esp + 0x10], ebx
call esi
test ebx, 0x400000
mov dword [esp + 0x1d54], edi
je 0x5314b69f
and ebx, 0xffbfffff
lea ecx, [esp + 0xe8]
mov dword [esp + 0x10], ebx
call esi
test ebx, 0x200000
mov dword [esp + 0x1d54], 0x14
je 0x5314b6c5
and ebx, 0xffdfffff
lea ecx, [esp + 0x88]
mov dword [esp + 0x10], ebx
call esi
test ebx, 0x100000
mov dword [esp + 0x1d54], 0x13
je 0x5314b6eb
and ebx, 0xffefffff
lea ecx, [esp + 0x118]
mov dword [esp + 0x10], ebx
call esi
test ebx, 0x80000
mov dword [esp + 0x1d54], 0x12
je 0x5314b711
and ebx, 0xfff7ffff
lea ecx, [esp + 0x98]
mov dword [esp + 0x10], ebx
call esi
test ebx, 0x40000
mov dword [esp + 0x1d54], 0x11
je 0x5314b737
and ebx, 0xfffbffff
lea ecx, [esp + 0x110]
mov dword [esp + 0x10], ebx
call esi
test ebx, 0x20000
mov dword [esp + 0x1d54], 0x10
je 0x5314b75d
and ebx, 0xfffdffff
lea ecx, [esp + 0xa8]
mov dword [esp + 0x10], ebx
call esi
test ebx, 0x10000
mov dword [esp + 0x1d54], 0xf
je 0x5314b780
and ebx, 0xfffeffff
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], ebx
call esi
test bh, bh
mov dword [esp + 0x1d54], 0xe
jns 0x5314b7a2
and ebx, 0xffff7fff
lea ecx, [esp + 0xb8]
mov dword [esp + 0x10], ebx
call esi
test bh, 0x40
mov dword [esp + 0x1d54], 0xd
je 0x5314b7c2
and ebx, 0xffffbfff
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], ebx
call esi
test bh, 0x20
mov dword [esp + 0x1d54], 0xc
je 0x5314b7e2
and ebx, 0xffffdfff
lea ecx, [esp + 0x30]
mov dword [esp + 0x10], ebx
call esi
test bh, 0x10
mov dword [esp + 0x1d54], 0xffffffff
je 0x5314bb24
lea ecx, [esp + 0x130]
jmp 0x5314bb22
push str..oscafactory.cpp
push 0
call dword [sym.imp.cxlibw_2_6.dll_bool___cdecl_CXLib206::ShouldTrace_int__char_const__]
add esp, 8
test al, al
je 0x5314b985
lea edx, [esp + 0x140]
push edx
lea ecx, [esp + 0x12c]
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::STraceParameter::constructor_unsigned_short_int_const__]
mov eax, dword [sym.imp.cxlibw_2_6.dll_class_CXLib206::SString_t_unsigned_short_int__1_::_EmptyBuffer_CXLib206::SString_t_unsigned_short_int__1_::EmptyBuffer]
or ebx, 0x1000000
mov dword [esp + 0xe0], eax
mov byte [esp + 0xe4], 1
or ebx, 0x2000000
mov dword [esp + 0xd0], eax
mov byte [esp + 0xd4], 1
or ebx, 0x4000000
mov dword [esp + 0xc0], eax
mov byte [esp + 0xc4], 1
or ebx, 0x8000000
mov dword [esp + 0xb0], eax
mov byte [esp + 0xb4], 1
or ebx, 0x10000000
mov dword [esp + 0xa0], eax
mov byte [esp + 0xa4], 1
or ebx, 0x20000000
mov dword [esp + 0x90], eax
mov byte [esp + 0x94], 1
or ebx, 0x40000000
mov dword [esp + 0x80], eax
mov byte [esp + 0x84], 1
or ebx, 0x80000000
mov dword [esp + 0x10], ebx
mov dword [esp + 0x70], eax
mov byte [esp + 0x74], 1
mov dword [esp + 0x60], eax
mov byte [esp + 0x64], 1
mov dword [esp + 0x50], eax
mov byte [esp + 0x54], 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x1d54], edi
mov dword [esp + 0x18], 7
call dword [sym.imp.cxlibw_2_6.dll_public:_void___thiscall_CXLib206::SWCharString::constructor_void_]
mov byte [esp + 0x44], 1
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0xd4]
push ecx
lea edx, [esp + 0xc8]
push edx
lea eax, [esp + 0xbc]
push eax
lea ecx, [esp + 0xb0]
push ecx
lea edx, [esp + 0xa4]
push edx
lea eax, [esp + 0x98]
push eax
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x80]
push edx
lea eax, [esp + 0x74]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x154]
push edx
push str.OSCAInfoserverFactory_impl::UnbindFactory:__s_n
mov dword [esp + 0x1d88], 0x23
mov dword [esp + 0x4c], 0xf
call dword [sym.imp.cxlibw_2_6.dll_void___cdecl_CXLib206::STrace_char_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const___class_CXLib206::STraceParameter_const__]
add esp, 0x34
test byte [esp + 0x18], 8
mov dword [esp + 0x1d54], edi
je 0x5314b9a4
mov eax, dword [esp + 0x18]
and eax, 0xfffffff7
lea ecx, [esp + 0x40]
mov dword [esp + 0x18], eax
call esi
test byte [esp + 0x18], 4
mov dword [esp + 0x1d54], 0x21
je 0x5314b9c7
mov eax, dword [esp + 0x18]
and eax, 0xfffffffb
lea ecx, [esp + 0x50]
mov dword [esp + 0x18], eax
call esi
test byte [esp + 0x18], 2
mov dword [esp + 0x1d54], 0x20
je 0x5314b9ea
mov eax, dword [esp + 0x18]
and eax, 0xfffffffd
lea ecx, [esp + 0x60]
mov dword [esp + 0x18], eax
call esi
test byte [esp + 0x18], 1
mov dword [esp + 0x1d54], 0x1f
je 0x5314ba02
lea ecx, [esp + 0x70]
call esi
test ebx, ebx
mov dword [esp + 0x1d54], 0x1e
jns 0x5314ba24
and ebx, 0x7fffffff
lea ecx, [esp + 0x80]
mov dword [esp + 0x10], ebx
call esi
test ebx, 0x40000000
mov dword [esp + 0x1d54], 0x1d
je 0x5314ba4a
and ebx, 0xbfffffff
lea ecx, [esp + 0x90]
mov dword [esp + 0x10], ebx
call esi
test ebx, 0x20000000
mov dword [esp + 0x1d54], 0x1c
je 0x5314ba70
and ebx, 0xdfffffff
lea ecx, [esp + 0xa0]
mov dword [esp + 0x10], ebx
call esi
test ebx, 0x10000000
mov dword [esp + 0x1d54], 0x1b
je 0x5314ba96
and ebx, 0xefffffff
lea ecx, [esp + 0xb0]
mov dword [esp + 0x10], ebx
call esi
test ebx, 0x8000000
mov dword [esp + 0x1d54], 0x1a
je 0x5314babc
and ebx, 0xf7ffffff
lea ecx, [esp + 0xc0]
mov dword [esp + 0x10], ebx
call esi
test ebx, 0x4000000
mov dword [esp + 0x1d54], 0x19
je 0x5314bae2
and ebx, 0xfbffffff
lea ecx, [esp + 0xd0]
mov dword [esp + 0x10], ebx
call esi
test ebx, 0x2000000
mov dword [esp + 0x1d54], 0x18
je 0x5314bb08
and ebx, 0xfdffffff
lea ecx, [esp + 0xe0]
mov dword [esp + 0x10], ebx
call esi
test ebx, 0x1000000
mov dword [esp + 0x1d54], 0xffffffff
je 0x5314bb24
lea ecx, [esp + 0x128]
call esi
mov ecx, dword [esp + 0x1d4c]
mov al, byte [esp + 0x17]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1d44]
call fcn.531ed911
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret