joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ab220
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push edi
mov edi, ecx
mov dword [ebp - 8], edx
test edi, edi
jne 0x100ab237
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
push 2
push 0
push edi
call dword [sym.imp.MSVCR120.dll_fseek]
push edi
call dword [sym.imp.MSVCR120.dll_ftell]
push edi
mov ebx, eax
call dword [sym.imp.MSVCR120.dll_rewind]
add esp, 0x14
test ebx, ebx
jne 0x100ab26c
push edi
call dword [sym.imp.MSVCR120.dll_fclose]
add esp, 4
xor eax, eax
pop ebx
pop edi
mov esp, ebp
pop ebp
ret
push esi
lea esi, [ebx + 1]
push esi
call dword [sym.imp.MSVCR120.dll_malloc]
push esi
push 0
push eax
mov dword [ebp - 4], eax
call sub.MSVCR120.dll_memset
mov esi, dword [ebp - 4]
push edi
push ebx
push 1
push esi
call dword [sym.imp.MSVCR120.dll_fread]
push edi
call dword [sym.imp.MSVCR120.dll_fclose]
mov eax, dword [ebp - 8]
add esp, 0x24
test eax, eax
je 0x100ab2a4
mov dword [eax], ebx
mov eax, esi
pop esi
pop ebx
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x100ab600
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100e21a8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10115034]
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 0xb
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x100f57f0
mov word [ecx], ax
call fcn.10001df0
lea ecx, [esp + 0x30]
call fcn.100b04a0
add esp, 0x18
mov dword [esp + 0x2c], 0
mov ecx, dword [eax]
call fcn.100b02c0
mov dword [esp + 0x28], 0xffffffff
mov bl, al
mov esi, dword [esp + 0x18]
test esi, esi
je 0x100ab6a6
or edi, 0xffffffff
lea edx, [esi + 4]
mov ecx, edi
lock xadd dword [edx], ecx
jne 0x100ab6a6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x100ab6a6
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 0x100abfb0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e2252
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x10115034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0xa0], 0
mov dword [ebp - 4], 1
mov dword [edi + 0x14], 0xf
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
add eax, eax
push eax
push ecx
lea ecx, [ebp - 0x98]
mov dword [ebp - 0xa0], 1
mov byte [ebp - 0x30], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x98], 0x67452301
mov dword [ebp - 0x94], 0xefcdab89
mov dword [ebp - 0x90], 0x98badcfe
mov dword [ebp - 0x8c], 0x10325476
call fcn.100b3a00
lea ecx, [ebp - 0x98]
call fcn.100b3b00
lea ecx, [ebp - 0x98]
call fcn.100b3c10
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
xor esi, esi
mov dword [ebp - 0x9c], eax
movzx eax, byte [esi + eax]
push eax
lea eax, [ebp - 0x28]
push 0x100f5878
push eax
call fcn.1002e4c0
add esp, 0xc
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
mov ecx, edi
call fcn.100069b0
mov byte [ebp - 4], 1
cmp dword [ebp - 0x14], 0x10
jb 0x100ac0ce
push dword [ebp - 0x28]
call ebx
add esp, 4
mov eax, dword [ebp - 0x9c]
inc esi
cmp esi, 0x10
jl 0x100ac093
cmp dword [ebp + 0x1c], 8
jb 0x100ac0e8
push dword [ebp + 8]
call ebx
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100dc8fb
mov esp, ebp
pop ebp
ret
Function at 0x100aca50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e23b6
mov eax, dword fs:[0]
push eax
sub esp, 0x43c
mov eax, dword [0x10115034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x41
push str.C:Program_Files__x86_Windows_Assistant_AppMVConfiguration.ini
lea ecx, [ebp - 0x440]
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x42c], 0xf
mov dword [ebp - 0x430], 0
mov byte [ebp - 0x440], 0
call fcn.10006eb0
push 0x3ff
lea eax, [ebp - 0x40f]
mov dword [ebp - 4], 0
push 0
push eax
mov byte [ebp - 0x410], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x440]
cmp dword [ebp - 0x42c], 0x10
cmovae eax, dword [ebp - 0x440]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push 0
push str.UniquePC
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [ebp - 0x410], 0
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
jne 0x100acb34
xor ecx, ecx
jmp 0x100acb49
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100acb40
sub ecx, edx
push ecx
lea eax, [ebp - 0x410]
push eax
lea ecx, [ebp - 0x428]
call fcn.10006eb0
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
lea eax, [ebp - 0x428]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.10006b20
mov ecx, edi
call fcn.1002e8a0
add esp, 0x18
cmp dword [ebp - 0x414], 0x10
jb 0x100acba8
push dword [ebp - 0x428]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x42c], 0x10
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
jb 0x100acbdb
push dword [ebp - 0x440]
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100dc8fb
mov esp, ebp
pop ebp
ret
Function at 0x100ad470
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x10115034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x100ad5ef
push 0x228
lea eax, [ebp - 0x24c]
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x250], 0x22c
lea eax, [ebp - 0x250]
mov dword [ebp - 0x254], 0xffffffff
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x100ad589
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jmp 0x100ad4f0
xor eax, eax
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
mov word [ebp - 0x1c], ax
cmp word [ebp - 0x22c], ax
je 0x100ad525
lea eax, [ebp - 0x22c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100ad516
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10001df0
push 0xd
push 0
push 0x100f5b90
lea ecx, [ebp - 0x1c]
call fcn.10005890
cmp eax, 0xffffffff
jne 0x100ad56f
lea eax, [ebp - 0x250]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp dword [ebp - 8], 8
mov esi, eax
jb 0x100ad569
push dword [ebp - 0x1c]
call ebx
add esp, 4
test esi, esi
jne 0x100ad4f0
jmp 0x100ad589
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x254], eax
jb 0x100ad589
push dword [ebp - 0x1c]
call ebx
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x254]
cmp esi, 0xffffffff
jne 0x100ad5ca
push str.find_service_process_fail_
push 1
push 0x1cd
push 0x100f5bc8
push 0x100f5be8
call fcn.100d1270
add esp, 0x14
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100dc8fb
mov esp, ebp
pop ebp
ret
push str.kill_service_process_
push 1
push 0x1d0
push 0x100f5c14
push str.KillServiceProcess
call fcn.100d1270
add esp, 0x14
mov ecx, esi
call fcn.100c65a0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100dc8fb
mov esp, ebp
pop ebp
ret
Function at 0x100af5f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e257c
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x10115034]
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 0x100af672
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 0x100af6a8
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 0x100af6c3
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 0x100af7e0
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 0x100af802
mov ebx, 4
jmp 0x100af806
add ebx, ebx
je 0x100af881
push esi
push edi
lea esi, [eax + 8]
jmp 0x100af810
lea ecx, [ebp - 8]
push ecx
push 0
push eax
push 0x100af940
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 0x100af85f
mov edx, dword [esi]
cmp edx, eax
ja 0x100af85f
mov edi, eax
sub edi, edx
sar edi, 2
cmp ecx, dword [esi + 8]
jne 0x100af84f
push ecx
mov ecx, esi
call fcn.1000a8e0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x100af875
mov eax, dword [esi]
mov eax, dword [eax + edi*4]
mov dword [ecx], eax
jmp 0x100af875
cmp ecx, dword [esi + 8]
jne 0x100af86c
push ecx
mov ecx, esi
call fcn.1000a8e0
mov eax, dword [esi + 4]
test eax, eax
je 0x100af875
mov dword [eax], edi
add dword [esi + 4], 4
mov eax, dword [ebp - 0xc]
dec ebx
jne 0x100af810
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100b0150
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e26d8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x10115034]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [edi + 0x1c]
call fcn.100c6700
test al, al
je 0x100b0190
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.10001a60
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.100aa2c0
add esp, 8
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 8
jb 0x100b01ef
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 0x100b0278
cmp dword [eax + 0x14], 8
jb 0x100b0218
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 0x100b0241
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
jne 0x100b0241
push dword [edi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [edi + 0x14], 8
jb 0x100b0249
mov edi, dword [edi]
push edi
push str.ERR:Fail_open_db__s
push 1
push 0x35
push 0x100f62f0
push str.CTableManager::InitDB
call fcn.100d1600
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 0x100b0280
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 0x100b02a9
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
jne 0x100b02a9
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 0x100b02c0
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.100c6700
test al, al
je 0x100b02e2
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 0x100b03cd
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 0x100b0310
sub ecx, dword [ebp - 4]
je 0x100b03cd
test esi, esi
je 0x100b03cd
mov ecx, esi
lea eax, [ecx + 1]
mov dword [ebp - 4], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b0330
sub ecx, dword [ebp - 4]
je 0x100b03cd
sub esp, 0x18
mov ecx, esp
push edx
call fcn.100068a0
mov ecx, dword [ebx + 0x18]
call fcn.100c6780
add esp, 0x18
test al, al
jne 0x100b03bb
mov ecx, dword [ebp + 8]
push ecx
push str.Create_DB_table___s_...
push 1
push 0x51
push 0x100f6400
push 0x100f643c
call fcn.100d1270
mov ecx, esp
push esi
call fcn.100068a0
mov ecx, dword [ebx + 0x18]
call fcn.100c6880
add esp, 0x18
test al, al
jne 0x100b03bb
mov ecx, ebx
call fcn.100b0460
push esi
push str.ERR:AddTable_fail_sql:__s_
push 1
push 0x55
push str..._srcPrivateHelperdb_managercontrolTableManager.cpp
push str.CTableManager::AddTable
call fcn.100d1270
add esp, 0x18
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, ebx
call fcn.100b0460
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 0x100b03d8
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 0x100b0401
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
jne 0x100b0401
push dword [ebx + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
test esi, esi
mov eax, 0x100e8567
cmovne eax, esi
test ecx, ecx
push eax
mov eax, 0x100e856a
cmovne eax, ecx
push eax
push str.ERR:AddTable_fail__arg_invalid____s___s_
push 1
push 0x44
push 0x100f6390
push 0x100f63cc
call fcn.100d1270
add esp, 0x1c
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100b2f10
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100e21a8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10115034]
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 0x100f6590
mov word [ecx], ax
call fcn.10001df0
lea ecx, [esp + 0x30]
call fcn.100b04a0
add esp, 0x18
mov dword [esp + 0x2c], 0
mov ecx, dword [eax]
call fcn.100b02c0
mov dword [esp + 0x28], 0xffffffff
mov bl, al
mov esi, dword [esp + 0x18]
test esi, esi
je 0x100b2fb6
or edi, 0xffffffff
lea edx, [esi + 4]
mov ecx, edi
lock xadd dword [edx], ecx
jne 0x100b2fb6
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x100b2fb6
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 0x100b2fd0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e2b38
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x10115034]
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 0x100f65b0
mov word [ecx], ax
call fcn.10001df0
lea ecx, [ebp - 0x18]
call fcn.100b04a0
add esp, 0x18
mov dword [ebp - 4], 0
mov esi, dword [eax]
lea ecx, [esi + 0x1c]
call fcn.100c6700
test al, al
je 0x100b3049
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 0x100b307d
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x100b307d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
jne 0x100b307d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push dword [ebp + 8]
lea ecx, [ebx + 4]
call fcn.100c6aa0
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xf
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x100f65d0
mov word [ecx], ax
call fcn.10001df0
lea ecx, [ebp - 0x20]
call fcn.100b04a0
add esp, 0x18
mov esi, dword [eax]
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0x100b30c4
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 0x100b30ed
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
jne 0x100b30ed
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x1c]
test esi, esi
je 0x100b3116
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x100b3116
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x100b3116
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 0x100b3160
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e2b80
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x10115034]
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 0x100f6630
mov word [ecx], ax
call fcn.10001df0
lea ecx, [ebp - 0x18]
call fcn.100b04a0
add esp, 0x18
mov byte [ebp - 4], 2
mov esi, dword [eax]
lea ecx, [esi + 0x1c]
call fcn.100c6700
test al, al
je 0x100b31dd
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 0x100b320e
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x100b320e
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
mov edx, edi
lock xadd dword [eax], edx
jne 0x100b320e
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.100b3320
sub esp, 8
mov byte [ebp - 4], 3
mov ecx, esp
lea eax, [ebp + 8]
push ecx
push eax
call fcn.100b3320
lea ecx, [ebx + 4]
mov byte [ebp - 4], 1
call fcn.100c7d20
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 0x100f6650
mov word [ecx], ax
call fcn.10001df0
lea ecx, [ebp - 0x18]
call fcn.100b04a0
add esp, 0x18
mov esi, dword [eax]
cmp dword [esi + 0x34], 8
lea eax, [esi + 0x20]
jb 0x100b327d
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 0x100b32a6
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test eax, eax
jne 0x100b32a6
push dword [esi + 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x100b32cf
lea eax, [esi + 4]
mov ecx, edi
lock xadd dword [eax], ecx
jne 0x100b32cf
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x100b32cf
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.100b33d0
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.100b33d0
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 0x100b4780
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100e21a8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10115034]
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 0x100f6770
mov word [ecx], ax
call fcn.10001df0
lea ecx, [esp + 0x30]
call fcn.100b04a0
add esp, 0x18
mov dword [esp + 0x2c], 0
mov ecx, dword [eax]
call fcn.100b02c0
mov dword [esp + 0x28], 0xffffffff
mov bl, al
mov esi, dword [esp + 0x18]
test esi, esi
je 0x100b4826
or edi, 0xffffffff
lea edx, [esi + 4]
mov ecx, edi
lock xadd dword [edx], ecx
jne 0x100b4826
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lea eax, [esi + 8]
lock xadd dword [eax], edi
dec edi
jne 0x100b4826
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