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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x47900c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, edx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], 0
push ebx
mov ebx, dword [ebp + 8]
push esi
cmp eax, 0xffffffff
je 0x427625
test ebx, ebx
je 0x427625
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x427625
test ecx, ecx
je 0x427625
push edi
push 0x14
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x42753a
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x10], eax
test eax, eax
jne 0x427557
lea esi, [eax + 1]
jmp 0x4275f3
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x42758a
push edi
lea eax, [ebp - 8]
push eax
push esi
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4275a3
mov eax, dword [ebp - 0x14]
mov dword [eax], edi
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x4275a3
push edi
lea eax, [ebp - 8]
push eax
push esi
push ebx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x427572
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x427572
cmp eax, 0x7a
ja 0x4275d4
je 0x4275cd
cmp eax, 6
je 0x4275c6
cmp eax, 0x1f
jne 0x4275e0
lea esi, [eax - 0x1a]
jmp 0x4275f3
mov esi, 4
jmp 0x4275f3
mov esi, 0xb
jmp 0x4275f3
sub eax, 0x48f
je 0x4275ee
sub eax, 1
je 0x4275e7
mov esi, 1
jmp 0x4275f3
mov esi, 8
jmp 0x4275f3
mov esi, 3
mov eax, dword [edi + 0x10]
test eax, eax
je 0x427601
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
mov ax, si
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, 4
pop esi
xor ecx, ebp
pop ebx
call fcn.00434098
mov esp, ebp
pop ebp
ret
Function at 0x427c30
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x47900c]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [0x47c924]
xorps xmm0, xmm0
movaps xmmword [esp + 8], xmm0
movaps xmmword [esp + 0x18], xmm0
movq qword [esp + 0x28], xmm0
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jne 0x427c7c
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x47c924], eax
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x47c924]
xor eax, eax
cmp dword [0x47c920], 1
sete al
mov dword [esp + 0x4c], eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [esp + 0x48], 0
jne 0x427cb2
mov esi, 0xf0001000
jmp 0x427dc7
test esi, esi
je 0x427dc2
test edi, edi
je 0x427dc2
lea edx, [esp + 0x68]
mov ecx, esi
call fcn.00429a40
test eax, eax
je 0x427dc2
lea eax, [esp + 0x10]
mov dword [esp + 0x60], 4
push eax
push str.Beihai_Download__x_n
call fcn.00403910
mov ecx, dword [0x479a88]
add esp, 8
mov eax, dword [0x479a8c]
mov dword [esp + 0x48], ecx
add ecx, 1
mov dword [esp + 0x4c], eax
push 0xffffffffffffffff
push dword [0x47c930]
adc eax, 0
mov dword [0x479a88], ecx
mov dword [0x479a8c], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x48]
push eax
call fcn.0042b080
lea ecx, [esp + 0x10]
mov dword [eax], ecx
mov eax, ecx
push eax
push dword [esp + 0x50]
push dword [esp + 0x50]
push str.rrmap_add__llx__x_n
call fcn.00403910
add esp, 0x10
push dword [0x47c930]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [esp + 0x4c]
mov edx, 0x28
lea ecx, [esp + 0x54]
push dword [esp + 0x4c]
push dword [ebp + 0x10]
push edi
call fcn.00429c10
mov ecx, dword [esp + 0x28]
mov esi, eax
push ecx
lea eax, [esp + 0x24]
test esi, esi
push eax
push str.Beihai_Download__x_ret__x_n
cmove esi, ecx
call fcn.00403910
mov edi, dword [0x47b7dc]
add esp, 0x1c
test edi, edi
je 0x427db4
push 0x4b1
push str.D:_buildagent_cd_8816p4218434198_thirdparty_bhplugin1Beihai_toolsjhi_libBeihaiPlugin.cpp
push dword [esp + 0x30]
mov ecx, edi
call dword [0x45e29c]
call edi
add esp, 0xc
jmp 0x427dc7
push dword [esp + 0x28]
call fcn.0043da60
add esp, 4
jmp 0x427dc7
mov esi, 0xf0001005
push ecx
push esi
call fcn.00429310
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
xor ecx, esp
call fcn.00434098
mov esp, ebp
pop ebp
ret 0xc
Function at 0x427df0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x47900c]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [0x47c924]
xorps xmm0, xmm0
movaps xmmword [esp + 8], xmm0
movaps xmmword [esp + 0x18], xmm0
movq qword [esp + 0x28], xmm0
push esi
mov esi, dword [ebp + 8]
push edi
test eax, eax
jne 0x427e39
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x47c924], eax
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x47c924]
xor eax, eax
cmp dword [0x47c920], 1
sete al
mov dword [esp + 0x4c], eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [esp + 0x48], 0
jne 0x427e6f
mov esi, 0xf0001000
jmp 0x427f53
test esi, esi
jne 0x427e7d
mov esi, 0xf0001005
jmp 0x427f53
lea edx, [esp + 0x68]
mov ecx, esi
call fcn.00429a40
test eax, eax
je 0x427e73
mov ecx, dword [0x479a88]
mov eax, dword [0x479a8c]
mov dword [esp + 0x48], ecx
add ecx, 1
push 0xffffffffffffffff
push dword [0x47c930]
mov dword [esp + 0x54], eax
adc eax, 0
mov dword [esp + 0x68], 3
mov dword [0x479a88], ecx
mov dword [0x479a8c], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x48]
push eax
call fcn.0042b080
lea ecx, [esp + 0x10]
mov dword [eax], ecx
mov eax, ecx
push eax
push dword [esp + 0x50]
push dword [esp + 0x50]
push str.rrmap_add__llx__x_n
call fcn.00403910
add esp, 0x10
push dword [0x47c930]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [esp + 0x4c]
mov edx, 0x28
lea ecx, [esp + 0x54]
push dword [esp + 0x4c]
push 0
push 0
call fcn.00429c10
mov edi, dword [0x47b7dc]
mov esi, eax
add esp, 0x10
test esi, esi
cmove esi, dword [esp + 0x18]
test edi, edi
je 0x427f47
push 0x48f
push str.D:_buildagent_cd_8816p4218434198_thirdparty_bhplugin1Beihai_toolsjhi_libBeihaiPlugin.cpp
push dword [esp + 0x30]
mov ecx, edi
call dword [0x45e29c]
call edi
add esp, 0xc
jmp 0x427f53
push dword [esp + 0x28]
call fcn.0043da60
add esp, 4
push ecx
push esi
call fcn.00429310
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
xor ecx, esp
call fcn.00434098
mov esp, ebp
pop ebp
ret 8
Function at 0x4287f0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x47900c]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push esi
push edi
movaps xmmword [esp + 0x10], xmm0
mov esi, dword [eax]
mov eax, esi
cdq
mov edi, eax
mov dword [esp + 0xc], edx
mov eax, dword [0x47c924]
mov dword [esp + 0x48], edi
movaps xmmword [esp + 0x20], xmm0
movq qword [esp + 0x30], xmm0
test eax, eax
jne 0x428848
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x47c924], eax
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x47c924]
xor eax, eax
cmp dword [0x47c920], 1
sete al
mov dword [esp + 0x44], eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [esp + 0x40], 0
jne 0x42887e
mov edi, 0xf0001000
jmp 0x4289f1
test esi, esi
jne 0x42888c
mov edi, 0xf0001005
jmp 0x4289f1
push dword [esp + 0xc]
push edi
call fcn.00429790
mov esi, eax
add esp, 8
test esi, esi
jne 0x4288a9
mov edi, 0xf000100c
jmp 0x4289f1
mov dword [esp + 0x60], 0xc
mov eax, dword [esi + 0x10]
mov dword [esp + 0x68], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x10]
push eax
push str.Beihai_ForceCloseSession__x_n
call fcn.00403910
mov ecx, dword [0x479a88]
add esp, 8
mov eax, dword [0x479a8c]
mov dword [esp + 0x40], ecx
add ecx, 1
mov dword [esp + 0x44], eax
push 0xffffffffffffffff
push dword [0x47c930]
adc eax, 0
mov dword [0x479a88], ecx
mov dword [0x479a8c], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [esp + 0x40]
push eax
call fcn.0042b080
lea ecx, [esp + 0x10]
mov dword [eax], ecx
mov eax, ecx
push eax
push dword [esp + 0x48]
push dword [esp + 0x48]
push str.rrmap_add__llx__x_n
call fcn.00403910
add esp, 0x10
push dword [0x47c930]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [esp + 0x44]
mov edx, 0x20
lea ecx, [esp + 0x54]
push dword [esp + 0x44]
push 0
push 0
call fcn.00429c10
mov ecx, dword [esp + 0x28]
mov edi, eax
push ecx
lea eax, [esp + 0x24]
test edi, edi
push eax
push str.Beihai_ForceCloseSession__x_ret__x_n
cmove edi, ecx
call fcn.00403910
mov eax, dword [0x47b7dc]
add esp, 0x1c
mov dword [esp + 0x40], eax
test eax, eax
je 0x42899b
push 0x56b
push str.D:_buildagent_cd_8816p4218434198_thirdparty_bhplugin1Beihai_toolsjhi_libBeihaiPlugin.cpp
push dword [esp + 0x30]
mov ecx, eax
call dword [0x45e29c]
call dword [esp + 0x4c]
add esp, 0xc
jmp 0x4289a7
push dword [esp + 0x28]
call fcn.0043da60
add esp, 4
mov eax, dword [esp + 0x48]
push 0xffffffffffffffff
push dword [0x47c930]
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x54], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add dword [esi + 4], 0xffffffff
jne 0x4289de
lea eax, [esp + 0x48]
push eax
call fcn.0042b150
mov ecx, esi
call fcn.00429700
jmp 0x4289e5
mov dword [esi + 0x24], 1
push dword [0x47c930]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ecx
push edi
call fcn.00429310
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
xor ecx, esp
call fcn.00434098
mov esp, ebp
pop ebp
ret 4
Function at 0x428a10
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x47900c]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, dword [eax]
mov eax, esi
cdq
mov edi, eax
mov dword [esp + 0xc], edx
mov eax, dword [0x47c924]
mov dword [esp + 0x10], edi
test eax, eax
jne 0x428a50
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x47c924], eax
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0x47c924]
xor ebx, ebx
cmp dword [0x47c920], 1
sete bl
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test ebx, ebx
jne 0x428a7f
mov edi, 0xf0001000
jmp 0x428b53
test esi, esi
jne 0x428a8d
mov edi, 0xf0001005
jmp 0x428b53
mov ebx, dword [esp + 0xc]
push ebx
push edi
call fcn.00429840
mov esi, eax
add esp, 8
test esi, esi
jne 0x428aab
mov edi, 0xf000100c
jmp 0x428b53
mov dword [esp + 0x28], 7
mov eax, dword [esi + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [esi + 0x14]
push esi
push str.Beihai_CloseSession__x_n
mov dword [esp + 0x3c], eax
call fcn.00403910
push ebx
push edi
push 0
push 0
mov edx, 0x20
lea ecx, [esp + 0x30]
call fcn.00429c10
mov edi, eax
add esp, 0x18
mov eax, dword [esi + 8]
test edi, edi
jne 0x428aee
mov edi, eax
push eax
push esi
push str.Beihai_CloseSession__x_ret__x_n
call fcn.00403910
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
push 0xffffffffffffffff
push dword [0x47c930]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add dword [esi + 4], 0xffffffff
mov eax, dword [esi + 0x1c]
push eax
jne 0x428b3a
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea eax, [esp + 0x10]
push eax
call fcn.0042b150
mov ecx, esi
call fcn.00429700
jmp 0x428b47
mov dword [esi + 0x24], 1
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push dword [0x47c930]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ecx
push edi
call fcn.00429310
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00434098
mov esp, ebp
pop ebp
ret 4
Function at 0x42a0a0
Capabilities:
Check mutex on windows
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x47c924]
push ebx
push esi
xor esi, esi
mov dword [ebp - 4], edx
mov ebx, ecx
test eax, eax
jne 0x42a0c4
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x47c924], eax
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x47c920]
test eax, eax
jne 0x42a272
cmp dword [0x47b90c], esi
jne 0x42a0f0
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x47b90c], eax
mov eax, dword [0x47c930]
test eax, eax
jne 0x42a107
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x47c930], eax
cmp dword [0x47b914], esi
jne 0x42a127
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x47b914], eax
mov eax, dword [0x47c930]
push edi
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [0x47b7fc]
mov esi, dword [edi + 4]
cmp byte [esi + 0xd], 0
jne 0x42a167
push dword [esi + 8]
mov ecx, 0x47b7fc
push 0x47b7fc
call fcn.0042b3f0
mov eax, esi
mov esi, dword [esi]
push 0x20
push eax
call fcn.00434541
add esp, 8
cmp byte [esi + 0xd], 0
je 0x42a140
push dword [0x47c930]
mov dword [edi + 4], edi
mov dword [edi], edi
mov dword [edi + 8], edi
mov dword [0x47b800], 0
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [0x47b918], 0
mov eax, dword [ebx]
mov dword [0x47b91c], eax
mov eax, dword [ebx + 4]
mov dword [0x47c92c], eax
mov eax, dword [ebx + 8]
mov dword [0x47c934], eax
mov eax, dword [ebx + 0xc]
mov dword [0x47b910], eax
mov dword [0x47c928], eax
pop edi
jne 0x42a1cf
push 0
push 0
push 0
push 0x429f10
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x47b918], eax
jmp 0x42a1db
push dword [0x47b914]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push dword [0x47c924]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp dword [ebp - 4], esi
je 0x42a1f5
call fcn.0042a2b0
mov esi, eax
mov eax, dword [0x47c924]
test eax, eax
jne 0x42a20c
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x47c924], eax
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test esi, esi
jne 0x42a237
push dword [0x47c924]
mov eax, 1
mov dword [0x47c920], eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [0x47b914]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, 0xf0001001
mov dword [0x47b910], 0
call fcn.00429e00
push dword [0x47c924]
xor eax, eax
mov dword [0x47c920], eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, 1
jne 0x42a290
push dword [0x47c924]
mov esi, 0xf000100b
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [0x47c924]
cmp eax, 2
mov ecx, 0xf0001001
cmove esi, ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f8c0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x47900c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov eax, ecx
mov dword [ebp - 8], 0
push esi
push edi
mov dword [ebp - 0x14], eax
lea edi, [eax + eax*2]
mov dword [ebp - 0x10], edx
shl edi, 4
lea ebx, [edi + 0x47b818]
mov dword [edi + 0x47b80c], 0
mov dword [edi + 0x47b820], 0
mov dword [edi + 0x47b824], 0
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
mov esi, dword [eax + 4]
cmp byte [esi + 0xd], 0
jne 0x42f943
nop word [eax + eax]
push dword [esi + 8]
mov ecx, ebx
push ebx
call fcn.0042b3f0
mov eax, esi
mov esi, dword [esi]
push 0x20
push eax
call fcn.00434541
add esp, 8
cmp byte [esi + 0xd], 0
je 0x42f920
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], eax
xorps xmm0, xmm0
mov dword [eax], eax
mov dword [eax + 8], eax
lea eax, [ebp - 8]
mov esi, dword [0x47d948]
mov ecx, esi
push eax
push dword [ebp - 0x10]
mov dword [ebx + 4], 0
movups xmmword [edi + 0x47b828], xmm0
call dword [0x45e29c]
call esi
add esp, 8
test eax, eax
je 0x42f981
mov ebx, 0xd
jmp 0x42f9ad
mov eax, dword [ebp - 8]
push 0
push 0
push dword [ebp - 0x14]
mov dword [edi + 0x47b80c], eax
push 0x42f800
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x47b820], eax
test eax, eax
jne 0x42f9ed
lea ebx, [eax + 0xb]
cmp dword [edi + 0x47b80c], 0
je 0x42f9da
mov eax, dword [edi + 0x47b80c]
mov esi, dword [0x47d94c]
mov ecx, esi
push eax
call dword [0x45e29c]
call esi
add esp, 4
mov dword [edi + 0x47b80c], 0
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00434098
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00434098
mov esp, ebp
pop ebp
ret
Function at 0x42fad0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, 0x47b83c
nop dword [eax]
mov dword [edi + 0x18], 0
lea ebx, [edi + 0xc]
mov dword [edi], 0
mov dword [edi + 0x14], 0
mov eax, dword [ebx]
mov dword [ebp - 4], eax
mov esi, dword [eax + 4]
cmp byte [esi + 0xd], 0
jne 0x42fb28
push dword [esi + 8]
mov ecx, ebx
push ebx
call fcn.0042b3f0
mov eax, esi
mov esi, dword [esi]
push 0x20
push eax
call fcn.00434541
add esp, 8
cmp byte [esi + 0xd], 0
je 0x42fb05
mov eax, dword [ebp - 4]
push 0
push 0
mov dword [eax + 4], eax
mov dword [eax], eax
mov dword [eax + 8], eax
push 0
mov dword [ebx + 4], 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi - 4], eax
test eax, eax
je 0x42fbb1
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi + 4], eax
test eax, eax
je 0x42fbb1
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi + 8], eax
test eax, eax
je 0x42fbb1
add edi, 0x30
cmp edi, 0x47b8fc
jl 0x42fae0
mov esi, 1
nop dword [eax]
nop dword [eax + eax]
mov edx, dword [esi*4 + 0x4709f8]
mov ecx, esi
call fcn.0042f8c0
mov ebx, eax
test ebx, ebx
jne 0x42fbb6
inc esi
cmp esi, 4
jl 0x42fb90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, 0xb
mov edi, 0x47b850
nop dword [eax + eax]
cmp dword [edi - 0x14], 0
je 0x42fbfb
mov eax, dword [edi - 0x14]
mov esi, dword [0x47d94c]
mov ecx, esi
push eax
call dword [0x45e29c]
call esi
mov eax, dword [edi]
add esp, 4
test eax, eax
je 0x42fbee
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
mov eax, dword [edi - 0xc]
test eax, eax
je 0x42fc10
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi - 0xc], 0
mov eax, dword [edi - 0x10]
test eax, eax
je 0x42fc25
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi - 0x10], 0
mov eax, dword [edi - 0x18]
test eax, eax
je 0x42fc3a
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi - 0x18], 0
add edi, 0x30
cmp edi, 0x47b8e0
jl 0x42fbc0
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ffe0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x47900c]
xor eax, esp
mov dword [esp + 0xb4], eax
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
test edi, edi
jne 0x43002d
lea eax, [ecx + 6]
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.00434098
mov esp, ebp
pop ebp
ret
mov eax, dword [0x47d950]
test eax, eax
jne 0x430061
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x47d950], eax
test eax, eax
jne 0x430061
mov eax, 0xb
pop edi
pop esi
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.00434098
mov esp, ebp
pop ebp
ret
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x47d93c], eax
test eax, eax
jne 0x430087
lea esi, [eax + 0xb]
jmp 0x4301f4
cmp dword [0x47d938], 1
jne 0x43009a
mov esi, 0xc
jmp 0x4301f4
movups xmm0, xmmword [edi]
xor esi, esi
movups xmmword [0x47d940], xmm0
psrldq xmm0, 8
movd eax, xmm0
test eax, eax
je 0x4300cb
cmp dword [0x47d94c], esi
je 0x4300cb
cmp dword [0x47d940], esi
je 0x4300cb
cmp dword [0x47d944], esi
jne 0x4300d0
mov esi, 6
test esi, esi
jne 0x4301f4
call fcn.0042fad0
mov esi, eax
test esi, esi
jne 0x4301f4
cmp dword [esp + 0x1c], eax
je 0x43015d
lea ecx, [eax + 2]
call fcn.0042fcd0
mov esi, eax
test esi, esi
jne 0x4301e3
lea edx, [esp + 0x14]
lea ecx, [esp + 0x18]
call fcn.0042fd70
mov edi, dword [esp + 0x14]
mov esi, eax
test esi, esi
jne 0x430136
cmp dword [esp + 0x18], 0
jbe 0x430136
mov edx, dword [edi]
mov ecx, 4
call fcn.0042f8c0
mov esi, eax
test esi, esi
jne 0x430136
call fcn.0042fed0
mov esi, eax
test edi, edi
je 0x430143
push edi
call fcn.0043da60
add esp, 4
test esi, esi
jne 0x4301e3
lea ecx, [esi + 3]
call fcn.0042fcd0
mov esi, eax
test esi, esi
jne 0x4301e3
push 0x64
lea eax, [esp + 0x54]
push 0
push eax
call fcn.00437ca0
xorps xmm0, xmm0
mov dword [esp + 0x6c], 0x1a
add esp, 0xc
movaps xmmword [esp + 0x20], xmm0
lea edx, [esp + 0x20]
movaps xmmword [esp + 0x30], xmm0
mov ecx, 2
movq qword [esp + 0x40], xmm0
call fcn.0042ee80
push edx
push eax
push 0
push 0
push 0x18
lea edx, [esp + 0x64]
mov ecx, 2
call fcn.0042f370
mov esi, eax
add esp, 0x14
mov eax, dword [esp + 0x2c]
test esi, esi
jne 0x4301d2
mov esi, dword [esp + 0x24]
test esi, esi
jne 0x4301d2
test eax, eax
je 0x4301cd
cmp dword [esp + 0x28], 0x10
je 0x4301d2
mov esi, 8
test eax, eax
je 0x4301df
push eax
call fcn.0043da60
add esp, 4
test esi, esi
je 0x4301ea
call fcn.0042fc60
jmp 0x4301f4
mov dword [0x47d938], 1
push dword [0x47d950]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [esp + 0xbc]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.00434098
mov esp, ebp
pop ebp
ret