joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100bb500
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2908
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1012d034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xc
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x1010a8a4
mov word [ecx], ax
call fcn.10001e10
lea ecx, [ebp - 0x18]
call fcn.100bcbd0
add esp, 0x18
mov dword [ebp - 4], 0
mov esi, dword [eax]
lea ecx, [esi + 0x1c]
call fcn.100d5ff0
test al, al
je 0x100bb579
push 0xffffffffffffffff
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], 0xffffffff
or edi, 0xffffffff
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x100bb5ad
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x100bb5ad
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
jne 0x100bb5ad
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push dword [ebp + 8]
lea ecx, [ebx + 4]
call fcn.100d5280
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xc
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x1010a8c0
mov word [ecx], ax
call fcn.10001e10
lea ecx, [ebp - 0x20]
call fcn.100bcbd0
add esp, 0x18
mov esi, dword [eax]
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0x100bb5f4
mov eax, dword [eax]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x100bb61d
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
jne 0x100bb61d
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x100bb646
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x100bb646
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x100bb646
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100bc880
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2b18
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x1012d034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x1c]
call fcn.100d5ff0
test al, al
je 0x100bc8c0
push 0xffffffffffffffff
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov dword [ebp - 0x14], 7
push 0xffffffffffffffff
push eax
push edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.10001a70
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x10]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x10], 0
call fcn.100b5c40
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x100bc91f
push dword [ebp - 0x28]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x10]
test eax, eax
mov dword [edi + 0x18], eax
lea eax, [edi + 0x20]
mov dword [ebp - 0x18], 0
jne 0x100bc9a8
cmp dword [eax + 0x14], 8
jb 0x100bc948
mov eax, dword [eax]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [edi + 0x1c], eax
test eax, eax
je 0x100bc971
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
jne 0x100bc971
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [edi + 0x14], 8
jb 0x100bc979
mov edi, dword [edi]
push edi
push str.ERR:Fail_open_db__s
push 1
push 0x35
push 0x1010af28
push str.CTableManager::InitDB
call fcn.100e1770
add esp, 0x18
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [eax + 0x14], 8
jb 0x100bc9b0
mov eax, dword [eax]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [edi + 0x1c], eax
test eax, eax
je 0x100bc9d9
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
jne 0x100bc9d9
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100bc9f0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
push esi
push edi
lea ecx, [ebx + 0x1c]
call fcn.100d5ff0
test al, al
je 0x100bca12
push 0xffffffffffffffff
push dword [ebx + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp + 8]
mov ecx, esi
mov eax, dword [esi]
call dword [eax]
mov edx, dword [esi]
mov ecx, esi
mov dword [ebp + 8], eax
call dword [edx + 4]
mov edx, dword [ebp + 8]
mov esi, eax
test edx, edx
je 0x100bcafd
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 4], eax
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100bca40
sub ecx, dword [ebp - 4]
je 0x100bcafd
test esi, esi
je 0x100bcafd
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 4], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100bca60
sub ecx, dword [ebp - 4]
je 0x100bcafd
sub esp, 0x18
mov ecx, esp
push edx
call fcn.10007b40
mov ecx, dword [ebx + 0x18]
call fcn.100d6070
add esp, 0x18
test al, al
jne 0x100bcaeb
mov ecx, dword [ebp + 8]
push ecx
push str.Create_DB_table___s_...
push 1
push 0x51
push 0x1010b038
push 0x1010b074
call fcn.100e13e0
mov ecx, esp
push esi
call fcn.10007b40
mov ecx, dword [ebx + 0x18]
call fcn.100d6170
add esp, 0x18
test al, al
jne 0x100bcaeb
mov ecx, ebx
call fcn.100bcb90
push esi
push str.ERR:AddTable_fail_sql:__s_
push 1
push 0x55
push str..._srcPrivateHelperdb_managercontrolTableManager.cpp
push str.CTableManager::AddTable
call fcn.100e13e0
add esp, 0x18
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, ebx
call fcn.100bcb90
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp dword [ebx + 0x34], 8
lea eax, [ebx + 0x20]
jb 0x100bcb08
mov eax, dword [eax]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebx + 0x1c], eax
test eax, eax
je 0x100bcb31
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
jne 0x100bcb31
push dword [ebx + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
test esi, esi
mov eax, 0x100f97ff
cmovne eax, esi
test ecx, ecx
push eax
mov eax, 0x100f9803
cmovne eax, ecx
push eax
push str.ERR:AddTable_fail__arg_invalid____s___s_
push 1
push 0x44
push 0x1010afc8
push 0x1010b004
call fcn.100e13e0
add esp, 0x1c
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100bdc20
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2c8c
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x1012d034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 0
lea edi, [esi + 0x14]
push 8
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
jne 0x100bdca2
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xbad_alloc_void_]
mov dword [edi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [edi]
mov dword [eax], edi
lea eax, [esi + 0x28]
mov byte [ebp - 4], 1
push 2
push eax
call dword [sym.imp.MSVCP120.dll__Mtx_init]
mov edi, dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Throw_C_error_int_]
add esp, 8
test eax, eax
je 0x100bdcd8
push eax
call edi
add esp, 4
lea eax, [esi + 0x2c]
mov byte [ebp - 4], 2
push eax
call dword [sym.imp.MSVCP120.dll__Cnd_init]
add esp, 4
test eax, eax
je 0x100bdcf3
push eax
call edi
add esp, 4
mov byte [ebp - 4], 3
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push eax
movdqu xmmword [ebp - 0x34], xmm0
movdqu xmmword [ebp - 0x24], xmm0
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x20]
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
mov dword [esi + 0xc], eax
mov eax, esi
mov byte [esi], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100bde10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, ecx
mov dword [ebp - 8], 0
push ebx
mov dword [ebp - 0xc], eax
mov ebx, dword [eax + 4]
cmp ebx, 4
jl 0x100bde32
mov ebx, 4
jmp 0x100bde36
add ebx, ebx
je 0x100bdeb1
push esi
push edi
lea esi, [eax + 8]
jmp 0x100bde40
lea ecx, [ebp - 8]
push ecx
push 0
push eax
push 0x100bdf70
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, dword [esi + 4]
mov edi, eax
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
cmp eax, ecx
jae 0x100bde8f
mov edx, dword [esi]
cmp edx, eax
ja 0x100bde8f
mov edi, eax
sub edi, edx
sar edi, 2
cmp ecx, dword [esi + 8]
jne 0x100bde7f
push ecx
mov ecx, esi
call fcn.1000c230
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100bdea5
mov eax, dword [esi]
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
jmp 0x100bdea5
cmp ecx, dword [esi + 8]
jne 0x100bde9c
push ecx
mov ecx, esi
call fcn.1000c230
mov eax, dword [esi + 4]
test eax, eax
je 0x100bdea5
mov dword [eax], edi
add dword [esi + 4], 4
mov eax, dword [ebp - 0xc]
dec ebx
jne 0x100bde40
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100bfe90
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100f24c8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1012d034]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea eax, [ecx + 4]
push eax
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0x11
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x1010b510
mov word [ecx], ax
call fcn.10001e10
lea ecx, [esp + 0x30]
call fcn.100bcbd0
add esp, 0x18
mov dword [esp + 0x2c], 0
mov ecx, dword [eax]
call fcn.100bc9f0
mov dword [esp + 0x28], 0xffffffff
mov bl, al
mov esi, dword [esp + 0x18]
test esi, esi
je 0x100bff36
or edi, 0xffffffff
lea edx, [esi + 4]
mov ecx, edi
lock xadd dword [edx], ecx
jne 0x100bff36
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x100bff36
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100bff50
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2908
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1012d034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0x11
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x1010b534
mov word [ecx], ax
call fcn.10001e10
lea ecx, [ebp - 0x18]
call fcn.100bcbd0
add esp, 0x18
mov dword [ebp - 4], 0
mov esi, dword [eax]
lea ecx, [esi + 0x1c]
call fcn.100d5ff0
test al, al
je 0x100bffc9
push 0xffffffffffffffff
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], 0xffffffff
or edi, 0xffffffff
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x100bfffd
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x100bfffd
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
jne 0x100bfffd
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push dword [ebp + 8]
lea ecx, [ebx + 4]
call fcn.100d6390
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0x11
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x1010b558
mov word [ecx], ax
call fcn.10001e10
lea ecx, [ebp - 0x20]
call fcn.100bcbd0
add esp, 0x18
mov esi, dword [eax]
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0x100c0044
mov eax, dword [eax]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x100c006d
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
jne 0x100c006d
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x100c0096
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x100c0096
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x100c0096
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100c0140
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100f24c8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1012d034]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea eax, [ecx + 4]
push eax
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xf
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x1010b60c
mov word [ecx], ax
call fcn.10001e10
lea ecx, [esp + 0x30]
call fcn.100bcbd0
add esp, 0x18
mov dword [esp + 0x2c], 0
mov ecx, dword [eax]
call fcn.100bc9f0
mov dword [esp + 0x28], 0xffffffff
mov bl, al
mov esi, dword [esp + 0x18]
test esi, esi
je 0x100c01e6
or edi, 0xffffffff
lea edx, [esi + 4]
mov ecx, edi
lock xadd dword [edx], ecx
jne 0x100c01e6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x100c01e6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100c0200
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2908
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1012d034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xf
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x1010b62c
mov word [ecx], ax
call fcn.10001e10
lea ecx, [ebp - 0x18]
call fcn.100bcbd0
add esp, 0x18
mov dword [ebp - 4], 0
mov esi, dword [eax]
lea ecx, [esi + 0x1c]
call fcn.100d5ff0
test al, al
je 0x100c0279
push 0xffffffffffffffff
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], 0xffffffff
or edi, 0xffffffff
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x100c02ad
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x100c02ad
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
jne 0x100c02ad
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push dword [ebp + 8]
lea ecx, [ebx + 4]
call fcn.100d70a0
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xf
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x1010b64c
mov word [ecx], ax
call fcn.10001e10
lea ecx, [ebp - 0x20]
call fcn.100bcbd0
add esp, 0x18
mov esi, dword [eax]
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0x100c02f4
mov eax, dword [eax]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x100c031d
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
jne 0x100c031d
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x100c0346
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x100c0346
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x100c0346
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100c0390
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f3060
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x1012d034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
sub esp, 0x18
mov dword [ebp - 4], 1
mov ecx, esp
xor eax, eax
push 0xf
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x1010b6ac
mov word [ecx], ax
call fcn.10001e10
lea ecx, [ebp - 0x18]
call fcn.100bcbd0
add esp, 0x18
mov byte [ebp - 4], 2
mov esi, dword [eax]
lea ecx, [esi + 0x1c]
call fcn.100d5ff0
test al, al
je 0x100c040d
push 0xffffffffffffffff
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [ebp - 4], 1
or edi, 0xffffffff
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x100c043e
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x100c043e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
jne 0x100c043e
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
sub esp, 8
lea eax, [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x10], esp
push ecx
push eax
call fcn.100c0550
sub esp, 8
mov byte [ebp - 4], 3
mov ecx, esp
lea eax, [ebp + 8]
push ecx
push eax
call fcn.100c0550
lea ecx, [ebx + 4]
mov byte [ebp - 4], 1
call fcn.100d8320
sub esp, 0x18
mov bl, al
mov ecx, esp
xor eax, eax
push 0xf
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x1010b6cc
mov word [ecx], ax
call fcn.10001e10
lea ecx, [ebp - 0x18]
call fcn.100bcbd0
add esp, 0x18
mov esi, dword [eax]
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0x100c04ad
mov eax, dword [eax]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x100c04d6
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
jne 0x100c04d6
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x100c04ff
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x100c04ff
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x100c04ff
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov eax, dword [ebp + 8]
lea ecx, [ebp + 8]
push eax
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.100c0600
push dword [ebp + 8]
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
call esi
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
add esp, 4
push ecx
push dword [ecx]
lea ecx, [ebp + 0x10]
push eax
call fcn.100c0600
push dword [ebp + 0x10]
call esi
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x100c1730
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100f24c8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1012d034]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
lea eax, [ecx + 4]
push eax
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xf
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x1010b7ec
mov word [ecx], ax
call fcn.10001e10
lea ecx, [esp + 0x30]
call fcn.100bcbd0
add esp, 0x18
mov dword [esp + 0x2c], 0
mov ecx, dword [eax]
call fcn.100bc9f0
mov dword [esp + 0x28], 0xffffffff
mov bl, al
mov esi, dword [esp + 0x18]
test esi, esi
je 0x100c17d6
or edi, 0xffffffff
lea edx, [esi + 4]
mov ecx, edi
lock xadd dword [edx], ecx
jne 0x100c17d6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x100c17d6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov al, bl
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100c17f0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f2908
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x1012d034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xf
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x1010b80c
mov word [ecx], ax
call fcn.10001e10
lea ecx, [ebp - 0x18]
call fcn.100bcbd0
add esp, 0x18
mov dword [ebp - 4], 0
mov esi, dword [eax]
lea ecx, [esi + 0x1c]
call fcn.100d5ff0
test al, al
je 0x100c1869
push 0xffffffffffffffff
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], 0xffffffff
or edi, 0xffffffff
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x100c189d
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x100c189d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
jne 0x100c189d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push dword [ebp + 8]
lea ecx, [ebx + 4]
call fcn.100d9260
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xf
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x1010b82c
mov word [ecx], ax
call fcn.10001e10
lea ecx, [ebp - 0x20]
call fcn.100bcbd0
add esp, 0x18
mov esi, dword [eax]
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0x100c18e4
mov eax, dword [eax]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [esi + 0x1c], eax
test eax, eax
je 0x100c190d
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
jne 0x100c190d
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x100c1936
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x100c1936
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x100c1936
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4