joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446b00
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x48d078
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push esi
push edi
push str.Config_rmServer.ini
lea eax, [esp + 0xc]
push 0
mov edi, ecx
push eax
call dword [sym.imp.Staff2.dll_class_CString___cdecl_STAFFGetInstancePathAndFilename_struct_HINSTANCE_____char_const__]
add esp, 0xc
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
push ecx
push 0x64
push edx
push str.NoAddress
push str.MINIMAP
push 0x49c238
mov dword [esp + 0x94], 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [esp + 0x70], 0
mov esi, str.NoAddress
lea eax, [esp + 0xc]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x446b8f
test cl, cl
je 0x446b8b
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x446b8f
add eax, 2
add esi, 2
test cl, cl
jne 0x446b6b
xor eax, eax
jmp 0x446b94
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x446bbc
lea ecx, [esp + 8]
mov dword [esp + 0x7c], 0xffffffff
call fcn.00489b20
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret
lea esi, [edi + 0x355c]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::operator
mov ecx, esi
call sub.MFC42.DLL_CString::TrimLeft
mov ecx, esi
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esi]
mov dword [esp + 0x7c], 0xffffffff
mov eax, dword [ecx - 8]
lea ecx, [esp + 8]
test eax, eax
jne 0x446c09
call fcn.00489b20
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret
call fcn.00489b20
mov ecx, dword [esp + 0x74]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x78
ret
Function at 0x45fd90
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x40
push ebp
push edi
mov edi, ecx
mov dword [esp + 8], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, dword [edi + 0x3598]
mov dword [esp + 0x14], eax
test ebp, ebp
je 0x45feb1
push ebx
push esi
jmp 0x45fdbb
mov edi, dword [esp + 0x10]
mov eax, ebp
mov esi, ebp
mov ebp, dword [ebp]
mov dword [esp + 0x18], esi
mov ebx, dword [eax + 8]
test ebx, ebx
je 0x45fea7
cmp word [ebx + 0x12], 0
jg 0x45fded
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [edi + 0x3594]
push esi
jmp 0x45fea2
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x21]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
lea ecx, [esi + 0x31dc]
call fcn.00488180
test eax, eax
je 0x45fe8e
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x43a4], 1
jne 0x45fe7e
call fcn.004400c0
mov cx, word [ebx + 0x16]
test eax, eax
jne 0x45fe51
movsx eax, cx
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov esi, dword [ebx + 0x18]
movsx ecx, cx
sub eax, esi
cmp eax, ecx
jbe 0x45fea7
dec word [ebx + 0x12]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dx, word [ebx + 0x14]
mov ecx, dword [esp + 0x14]
push edx
mov dword [ebx + 0x18], eax
call fcn.0043c680
jmp 0x45fea7
push ebx
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
jmp 0x45fe9c
push ebx
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x1c]
add esp, 4
push ecx
lea ecx, [esi + 0x3594]
call sub.MFC42.DLL_CPtrList::RemoveAt
test ebp, ebp
jne 0x45fdb7
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x40
ret
Function at 0x460880
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48d168
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [esp + 0x20]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x30], eax
mov ebp, eax
xor ebx, ebx
lea eax, [edi + 0x31ac]
push ebx
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CSingleLock::CSingleLock
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], ebx
call sub.MFC42.DLL_CSingleLock::Lock
mov ecx, dword [esp + 0x2c]
push ebx
push ecx
lea ecx, [edi + 0x3184]
call fcn.004079f0
mov esi, eax
test esi, esi
je 0x460909
mov ecx, edi
call fcn.004445a0
mov eax, dword [eax + 8]
inc esi
push esi
mov ecx, eax
call dword [sym.imp.rmDB.dll_public:_unsigned_long_int___thiscall_CUserDB::GetLevel_char_const__]
test eax, eax
jbe 0x460909
cmp eax, dword [esp + 0x30]
jae 0x460903
mov dword [esp + 0x30], eax
cmp ebp, eax
jae 0x460909
mov ebp, eax
inc ebx
cmp ebx, 5
jl 0x4608ca
xor esi, esi
cmp ebp, 0xa
jae 0x46091d
cmp dword [esp + 0x30], 0xa
jb 0x46093c
lea edx, [ebp + ebp]
mov eax, 0xaaaaaaab
mul edx
shr edx, 1
mov eax, ebp
sub eax, edx
cmp eax, 0x64
jbe 0x460936
lea edx, [ebp - 0x64]
cmp edx, dword [esp + 0x30]
jae 0x460941
mov esi, 1
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CSingleLock::Unlock
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CSingleLock::Unlock
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8

Function at 0x460b70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48d1a9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x9c]
push eax
call dword [sym.imp.Staff2.dll_public:_void___thiscall_CSWMRLock::constructor_class_CSWMRG__]
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0
call dword [sym.imp.Staff2.dll_public:_int___thiscall_CSWMRLock::WriteLock_void_]
mov ebx, dword [esp + 0x28]
lea ecx, [esi + 0x3184]
push ebx
call fcn.00407da0
mov edi, eax
test edi, edi
jle 0x460c0c
push edi
mov ecx, esi
call fcn.00460c40
push ebx
push edi
mov ecx, esi
call fcn.00460f80
lea ecx, [esp + 0xc]
call dword [sym.imp.Staff2.dll_public:_int___thiscall_CSWMRLock::Unlock_void_]
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.Staff2.dll_public_virtual:_void___thiscall_CSWMRLock::destructor_void_]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret 4
jne 0x460bda
lea ecx, [esp + 0xc]
call dword [sym.imp.Staff2.dll_public:_int___thiscall_CSWMRLock::Unlock_void_]
lea ecx, [esp + 0xc]
mov dword [esp + 0x20], 0xffffffff
call dword [sym.imp.Staff2.dll_public_virtual:_void___thiscall_CSWMRLock::destructor_void_]
mov ecx, dword [esp + 0x18]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x4627a0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x48d3a8
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [esp + 0x34]
push edi
mov edi, ecx
cmp byte [esi], 6
je 0x4628a4
mov eax, dword [edi + 0x32cc]
test eax, eax
je 0x4628a4
mov eax, dword [eax + 0x58]
push 0
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CSingleLock::CSingleLock
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x34], 0
call sub.MFC42.DLL_CSingleLock::Lock
mov ebx, dword [esp + 0x3c]
mov ecx, dword [edi + 0x32cc]
push ebx
push esi
add ecx, 0x3c
call fcn.00408610
cmp eax, 1
jne 0x46288a
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov edx, dword [esi + 8]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x18]
push ebx
push ecx
mov ecx, dword [edi + 0x32cc]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xc]
add ecx, 0x3c
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
call fcn.0040a7b0
test eax, eax
jne 0x46284a
mov dword [esp + 0x1c], eax
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CSingleLock::Unlock
lea edx, [esp + 0x18]
push ebx
push edx
mov ecx, edi
call fcn.00467920
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CSingleLock::Unlock
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret 8
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CSingleLock::Unlock
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call sub.MFC42.DLL_CSingleLock::Unlock
mov ecx, dword [esp + 0x28]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret 8

Function at 0x463890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48d429
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [esp + 0x58]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x19]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x30]
mov eax, dword [ecx + 0x9c]
lea ecx, [esp + 0xc]
push eax
call dword [sym.imp.Staff2.dll_public:_void___thiscall_CSWMRLock::constructor_class_CSWMRG__]
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], 0
call dword [sym.imp.Staff2.dll_public:_int___thiscall_CSWMRLock::ReadLock_void_]
lea edx, [esp + 0x58]
lea eax, [esp + 0x18]
push edx
push eax
lea ecx, [ebx + 0x31dc]
call fcn.00488180
pop edi
pop esi
test eax, eax
pop ebx
je 0x46391d
mov ecx, dword [esp + 0x4c]
call fcn.00425f90
lea ecx, [esp]
call dword [sym.imp.Staff2.dll_public:_int___thiscall_CSWMRLock::Unlock_void_]
lea ecx, [esp]
mov dword [esp + 0x44], 0xffffffff
call dword [sym.imp.Staff2.dll_public_virtual:_void___thiscall_CSWMRLock::destructor_void_]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret 4
Function at 0x463950
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48d449
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [esp + 0x58]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x19]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x30]
mov eax, dword [ecx + 0x9c]
lea ecx, [esp + 0xc]
push eax
call dword [sym.imp.Staff2.dll_public:_void___thiscall_CSWMRLock::constructor_class_CSWMRG__]
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], 0
call dword [sym.imp.Staff2.dll_public:_int___thiscall_CSWMRLock::ReadLock_void_]
lea edx, [esp + 0x58]
lea eax, [esp + 0x18]
push edx
push eax
lea ecx, [ebx + 0x31dc]
call fcn.00488180
pop edi
pop esi
test eax, eax
pop ebx
je 0x4639dd
mov ecx, dword [esp + 0x4c]
call fcn.00425ff0
lea ecx, [esp]
call dword [sym.imp.Staff2.dll_public:_int___thiscall_CSWMRLock::Unlock_void_]
lea ecx, [esp]
mov dword [esp + 0x44], 0xffffffff
call dword [sym.imp.Staff2.dll_public_virtual:_void___thiscall_CSWMRLock::destructor_void_]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret 4

Function at 0x463a10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48d469
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [esp + 0x58]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x19]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x30]
mov eax, dword [ecx + 0x9c]
lea ecx, [esp + 0xc]
push eax
call dword [sym.imp.Staff2.dll_public:_void___thiscall_CSWMRLock::constructor_class_CSWMRG__]
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], 0
call dword [sym.imp.Staff2.dll_public:_int___thiscall_CSWMRLock::ReadLock_void_]
lea edx, [esp + 0x58]
lea eax, [esp + 0x18]
push edx
push eax
lea ecx, [ebx + 0x31dc]
call fcn.00488180
pop edi
pop esi
test eax, eax
pop ebx
je 0x463a9d
mov ecx, dword [esp + 0x4c]
call fcn.00426040
lea ecx, [esp]
call dword [sym.imp.Staff2.dll_public:_int___thiscall_CSWMRLock::Unlock_void_]
lea ecx, [esp]
mov dword [esp + 0x44], 0xffffffff
call dword [sym.imp.Staff2.dll_public_virtual:_void___thiscall_CSWMRLock::destructor_void_]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret 4
Function at 0x464ea0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48d549
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [esp + 0x60]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x19]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x30]
mov eax, dword [ecx + 0x9c]
lea ecx, [esp + 0xc]
push eax
call dword [sym.imp.Staff2.dll_public:_void___thiscall_CSWMRLock::constructor_class_CSWMRG__]
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], 0
call dword [sym.imp.Staff2.dll_public:_int___thiscall_CSWMRLock::ReadLock_void_]
lea edx, [esp + 0x60]
lea eax, [esp + 0x18]
push edx
push eax
lea ecx, [ebx + 0x31dc]
call fcn.00488180
pop edi
pop esi
test eax, eax
pop ebx
je 0x464f37
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x58]
push edx
call fcn.00412e80
lea ecx, [esp]
call dword [sym.imp.Staff2.dll_public:_int___thiscall_CSWMRLock::Unlock_void_]
lea ecx, [esp]
mov dword [esp + 0x44], 0xffffffff
call dword [sym.imp.Staff2.dll_public_virtual:_void___thiscall_CSWMRLock::destructor_void_]
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret 0xc

Function at 0x4650b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48d589
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x19]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x30]
mov eax, dword [ecx + 0x9c]
lea ecx, [esp + 0xc]
push eax
call dword [sym.imp.Staff2.dll_public:_void___thiscall_CSWMRLock::constructor_class_CSWMRG__]
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], 0
call dword [sym.imp.Staff2.dll_public:_int___thiscall_CSWMRLock::ReadLock_void_]
lea edx, [esp + 0x5c]
lea eax, [esp + 0x18]
push edx
push eax
lea ecx, [ebx + 0x31dc]
call fcn.00488180
test eax, eax
je 0x465185
mov al, byte [esp + 0x60]
cmp al, 1
jne 0x465144
push 0
push 0
push 0xf2
jmp 0x46517c
cmp al, 2
jne 0x465161
mov edx, dword [esp + 0x58]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 0xf3
jmp 0x46517c
cmp al, 3
jne 0x465185
mov edx, dword [esp + 0x58]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 0xd9
mov ecx, dword [esp + 0x68]
call fcn.0043fc10
lea ecx, [esp + 0xc]
call dword [sym.imp.Staff2.dll_public:_int___thiscall_CSWMRLock::Unlock_void_]
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], 0xffffffff
call dword [sym.imp.Staff2.dll_public_virtual:_void___thiscall_CSWMRLock::destructor_void_]
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 0xc
Function at 0x465ab0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48d649
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [esp + 0x58]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x19]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x30]
mov eax, dword [ecx + 0x9c]
lea ecx, [esp + 0xc]
push eax
call dword [sym.imp.Staff2.dll_public:_void___thiscall_CSWMRLock::constructor_class_CSWMRG__]
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], 0
call dword [sym.imp.Staff2.dll_public:_int___thiscall_CSWMRLock::ReadLock_void_]
lea edx, [esp + 0x58]
lea eax, [esp + 0x18]
push edx
push eax
lea ecx, [ebx + 0x31dc]
call fcn.00488180
test eax, eax
je 0x465b73
mov al, byte [esp + 0x60]
cmp al, 1
jne 0x465b4f
mov edx, dword [esp + 0x5c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 0x41
jmp 0x465b6a
test al, al
jne 0x465b73
mov edx, dword [esp + 0x5c]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 0xe7
mov ecx, dword [esp + 0x64]
call fcn.0043fc10
lea ecx, [esp + 0xc]
call dword [sym.imp.Staff2.dll_public:_int___thiscall_CSWMRLock::Unlock_void_]
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], 0xffffffff
call dword [sym.imp.Staff2.dll_public_virtual:_void___thiscall_CSWMRLock::destructor_void_]
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 0xc
Function at 0x4660c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48d6c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [esp + 0x5c]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x19]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x30]
mov eax, dword [ecx + 0x9c]
lea ecx, [esp + 0xc]
push eax
call dword [sym.imp.Staff2.dll_public:_void___thiscall_CSWMRLock::constructor_class_CSWMRG__]
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], 0
call dword [sym.imp.Staff2.dll_public:_int___thiscall_CSWMRLock::ReadLock_void_]
lea edx, [esp + 0x5c]
lea eax, [esp + 0x18]
push edx
push eax
lea ecx, [ebx + 0x31dc]
call fcn.00488180
test eax, eax
je 0x466186
mov al, byte [esp + 0x60]
cmp al, 1
jne 0x466162
mov edx, dword [esp + 0x58]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 0x10f
jmp 0x46617d
test al, al
jne 0x466186
mov edx, dword [esp + 0x58]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
push 0xd9
mov ecx, dword [esp + 0x68]
call fcn.0043fc10
lea ecx, [esp + 0xc]
call dword [sym.imp.Staff2.dll_public:_int___thiscall_CSWMRLock::Unlock_void_]
lea ecx, [esp + 0xc]
mov dword [esp + 0x50], 0xffffffff
call dword [sym.imp.Staff2.dll_public_virtual:_void___thiscall_CSWMRLock::destructor_void_]
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 0xc

Function at 0x467850
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48d849
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [esp + 0x60]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x21]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x30]
mov eax, dword [ecx + 0x9c]
lea ecx, [esp + 0x14]
push eax
call dword [sym.imp.Staff2.dll_public:_void___thiscall_CSWMRLock::constructor_class_CSWMRG__]
lea ecx, [esp + 0x14]
mov dword [esp + 0x58], 0
call dword [sym.imp.Staff2.dll_public:_int___thiscall_CSWMRLock::ReadLock_void_]
lea edx, [esp + 0x60]
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
lea ecx, [ebx + 0x31dc]
call fcn.00488210
test eax, eax
je 0x4678e9
lea edx, [esp + 0xc]
push 5
lea eax, [esp + 0x24]
push edx
push eax
mov ecx, ebx
call fcn.00467a10
lea ecx, [esp + 0x14]
call dword [sym.imp.Staff2.dll_public:_int___thiscall_CSWMRLock::Unlock_void_]
lea ecx, [esp + 0x14]
mov dword [esp + 0x58], 0xffffffff
call dword [sym.imp.Staff2.dll_public_virtual:_void___thiscall_CSWMRLock::destructor_void_]
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4
Function at 0x467920
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48d869
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push esi
push edi
mov edi, dword [esp + 0x74]
push 1
lea eax, [esp + 0x24]
push edi
mov esi, ecx
push eax
call fcn.00468220
mov ecx, dword [esi + 0x30]
mov eax, dword [ecx + 0x9c]
lea ecx, [esp + 0x14]
push eax
call dword [sym.imp.Staff2.dll_public:_void___thiscall_CSWMRLock::constructor_class_CSWMRG__]
lea ecx, [esp + 0x14]
mov dword [esp + 0x68], 0
call dword [sym.imp.Staff2.dll_public:_int___thiscall_CSWMRLock::ReadLock_void_]
lea edx, [esp + 0x74]
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0x34]
push eax
lea edx, [esp + 0x28]
add esi, 0x31dc
push ecx
lea eax, [esp + 0x14]
push edx
push eax
mov ecx, esi
call fcn.00488500
test eax, eax
je 0x4679d4
push ebx
mov ebx, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
push 1
push edi
push ebx
call fcn.0043dc90
lea ecx, [esp + 0x78]
lea edx, [esp + 0x10]
push ecx
lea eax, [esp + 0x38]
push edx
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, esi
call fcn.00488580
test eax, eax
jne 0x4679a2
pop ebx
lea ecx, [esp + 0x14]
call dword [sym.imp.Staff2.dll_public:_int___thiscall_CSWMRLock::Unlock_void_]
lea ecx, [esp + 0x14]
mov dword [esp + 0x68], 0xffffffff
call dword [sym.imp.Staff2.dll_public_virtual:_void___thiscall_CSWMRLock::destructor_void_]
mov ecx, dword [esp + 0x60]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x64
ret 8

Function at 0x467f40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48d909
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [esp + 0x60]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x21]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x30]
mov eax, dword [ecx + 0x9c]
lea ecx, [esp + 0x14]
push eax
call dword [sym.imp.Staff2.dll_public:_void___thiscall_CSWMRLock::constructor_class_CSWMRG__]
lea ecx, [esp + 0x14]
mov dword [esp + 0x58], 0
call dword [sym.imp.Staff2.dll_public:_int___thiscall_CSWMRLock::ReadLock_void_]
lea edx, [esp + 0x60]
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
lea ecx, [ebx + 0x31dc]
call fcn.00488210
test eax, eax
lea ecx, [esp + 0x14]
jne 0x467fd2
call dword [sym.imp.Staff2.dll_public:_int___thiscall_CSWMRLock::Unlock_void_]
jmp 0x467ff5
call dword [sym.imp.Staff2.dll_public:_int___thiscall_CSWMRLock::Unlock_void_]
mov edx, dword [esp + 0x64]
lea eax, [esp + 0xc]
push edx
lea ecx, [esp + 0x24]
push eax
push ecx
mov ecx, ebx
call fcn.00468020
mov ecx, ebx
call fcn.00468f10
lea ecx, [esp + 0x14]
mov dword [esp + 0x58], 0xffffffff
call dword [sym.imp.Staff2.dll_public_virtual:_void___thiscall_CSWMRLock::destructor_void_]
mov ecx, dword [esp + 0x50]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 8