joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41df20
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x25c
mov eax, dword [0x4d100c]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
push 0
mov esi, ecx
mov byte [esp + 0x17], dl
push 2
mov dword [esp + 0x1c], esi
mov byte [esp + 0x1a], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
mov dword [esp + 0x18], 0x22c
lea eax, [esp + 0x18]
mov dword [esp + 0x20], 0xffffffff
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x41e05e
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [esp + 0x20]
cmp eax, edx
je 0x41e03a
lea ecx, [esp + 0x24c]
call fcn.0041dcf0
cmp dword [esp + 0x260], 8
lea eax, [esp + 0x24c]
push esi
cmovae eax, dword [esp + 0x250]
push eax
call fcn.0045466a
add esp, 8
test eax, eax
jne 0x41dffc
push dword [esp + 0x20]
mov byte [esp + 0x16], 1
push eax
push 0x100401
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41dff8
cmp esi, 0xffffffff
je 0x41dff8
cmp byte [esp + 0x13], 0
je 0x41dff5
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x260]
cmp edx, 8
jb 0x41e03a
mov ecx, dword [esp + 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41e030
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e07a
push edx
push ecx
call fcn.00451449
add esp, 8
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x22c
push eax
push edi
mov dword [esp + 0x28], 0xffffffff
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x41df82
push edi
call ebx
mov ecx, dword [esp + 0x264]
mov al, byte [esp + 0x12]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00450db2
mov esp, ebp
pop ebp
ret
call fcn.00460976
int3
Function at 0x4201c0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471aed
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x4d100c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [0x4d2fe4]
mov eax, dword [esi + 0x18]
lea edi, [esi + 0x18]
mov dword [ebp - 0x14], edi
mov byte [ebp - 0x10], 1
test eax, eax
jne 0x420218
mov eax, 1
lock xadd dword [edi], eax
test eax, eax
jne 0x420218
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [edi + 4], eax
push 0xffffffffffffffff
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0x10]
mov edi, ecx
mov edx, dword [esi + 0xc]
lea eax, [edx + ecx]
test al, 3
jne 0x420252
lea eax, [ecx + 4]
shr eax, 2
cmp dword [esi + 8], eax
ja 0x420252
push ecx
mov ecx, esi
call fcn.00421400
mov edx, dword [esi + 0xc]
mov edi, dword [esi + 0x10]
mov ecx, dword [esi + 8]
lea eax, [ecx*4 - 1]
dec ecx
and eax, edx
mov dword [esi + 0xc], eax
add edi, eax
mov eax, edi
shr eax, 2
and ecx, eax
lea ebx, [ecx*4]
mov ecx, dword [esi + 4]
cmp dword [ecx + ebx], 0
jne 0x42028e
push 0x10
call fcn.004511c8
mov ecx, dword [esi + 4]
add esp, 4
mov dword [ebx + ecx], eax
mov ecx, dword [esi + 4]
mov ecx, dword [ebx + ecx]
and edi, 3
mov eax, dword [ebp + 8]
mov dword [ecx + edi*4], eax
mov eax, dword [ebp - 0x14]
inc dword [esi + 0x10]
inc dword [esi + 0x14]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x420f80
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x471bb5
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x4d100c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov edx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
cmp dword [edx + 0x14], 8
mov ecx, dword [edx + 0x10]
jb 0x420fc7
mov eax, dword [edx]
mov dword [ebp - 0x18], eax
lea eax, [ecx + ecx]
mov esi, 0x811c9dc5
xor ecx, ecx
test eax, eax
je 0x420ff7
mov edi, dword [ebp - 0x18]
mov edx, eax
nop word [eax + eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x420fe0
mov edi, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
push esi
push edx
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.004149a0
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x421016
mov dword [ebx], eax
mov byte [ebx + 4], 0
jmp 0x421148
cmp dword [edi + 8], 0x7ffffff
je 0x42115e
lea eax, [edi + 4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0
push 0x20
mov dword [ebp - 0x28], 0
call fcn.004511c8
add esp, 4
mov edi, eax
mov dword [ebp - 0x28], edi
push dword [ebp - 0x14]
lea ecx, [edi + 8]
call fcn.00411780
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 1
mov eax, dword [edx + 8]
inc eax
movss xmm3, dword [edx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4ca1a0]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x20], eax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x4ca1a0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x4210fb
divss xmm0, xmm3
call fcn.004014a0
call fcn.0046fe10
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebp - 0x20]
cmp eax, ecx
jae 0x4210d4
cmp eax, 0x200
jae 0x4210d2
shl eax, 3
cmp eax, ecx
jae 0x4210d4
mov eax, ecx
mov ecx, dword [ebp - 0x10]
push eax
call fcn.00421850
mov ecx, dword [ebp - 0x10]
lea eax, [edi + 8]
push esi
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004149a0
mov edx, dword [ebp - 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
jmp 0x4210fe
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 4]
inc dword [edx + 8]
mov dword [edi + 4], eax
mov dword [edi], ecx
mov dword [eax], edi
mov dword [ecx + 4], edi
mov dword [ebp - 0x18], eax
mov eax, dword [edx + 0x18]
and eax, esi
mov dword [ebp - 0x14], ecx
mov ecx, dword [edx + 0xc]
mov esi, dword [ebp - 0x2c]
mov edx, dword [ecx + eax*8]
cmp edx, dword [esi]
jne 0x42112b
mov dword [ecx + eax*8], edi
jmp 0x42113e
cmp edx, dword [ebp - 0x14]
jne 0x421135
mov dword [ecx + eax*8], edi
jmp 0x421142
mov edx, dword [ebp - 0x18]
cmp dword [ecx + eax*8 + 4], edx
jne 0x421142
mov dword [ecx + eax*8 + 4], edi
mov dword [ebx], edi
mov byte [ebx + 4], 1
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.00450cfd
int3
Function at 0x428bb0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
movzx eax, byte [edi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 1]
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [esi + 0x18]
and ecx, eax
mov eax, dword [esi + 0xc]
mov esi, dword [esi + 4]
lea edx, [eax + ecx*8]
mov eax, dword [edx + 4]
cmp eax, esi
je 0x428c2e
mov ecx, dword [edi]
mov edx, dword [edx]
cmp ecx, dword [eax + 8]
je 0x428c30
nop word [eax + eax]
cmp eax, edx
je 0x428c2e
mov eax, dword [eax + 4]
cmp ecx, dword [eax + 8]
jne 0x428c10
mov ecx, dword [ebp + 8]
test eax, eax
pop edi
cmove eax, esi
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebp
ret 8
xor eax, eax
mov ecx, dword [ebp + 8]
test eax, eax
pop edi
cmove eax, esi
pop esi
mov dword [ecx], eax
mov eax, ecx
pop ebp
ret 8
Function at 0x4293d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 0x10], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x429533
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.00411f50
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x429506
movzx eax, byte [ecx + 8]
xor eax, 0x811c9dc5
mov edx, dword [edx]
imul edi, eax, 0x1000193
movzx eax, byte [ecx + 9]
xor edi, eax
movzx eax, byte [ecx + 0xa]
imul edi, edi, 0x1000193
xor edi, eax
movzx eax, byte [ecx + 0xb]
imul edi, edi, 0x1000193
xor edi, eax
imul eax, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, eax
mov eax, dword [ebx + 0xc]
mov ebx, dword [eax + edi*8]
mov dword [ebp - 4], ebx
lea eax, [eax + edi*8]
mov dword [ebp - 8], eax
cmp ebx, esi
jne 0x429486
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x4294f9
mov eax, dword [eax + 4]
mov ebx, dword [ecx + 8]
cmp ebx, dword [eax + 8]
jne 0x4294c0
mov eax, dword [eax]
mov dword [ebp - 4], eax
cmp eax, ecx
je 0x4294b8
mov ebx, dword [ecx + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
jmp 0x4294f9
mov edi, eax
cmp dword [ebp - 4], eax
je 0x4294d6
mov eax, dword [eax + 4]
mov edi, eax
cmp ebx, dword [eax + 8]
je 0x42950f
cmp dword [ebp - 4], eax
jne 0x4294c7
mov eax, dword [ecx + 4]
mov dword [ebp - 4], eax
mov dword [eax], edx
mov ebx, dword [edx + 4]
mov dword [ebx], edi
mov eax, dword [edi + 4]
mov dword [eax], ecx
mov dword [edi + 4], ebx
mov edi, dword [ebp - 4]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax], ecx
mov ebx, dword [ebp - 0x10]
mov ecx, edx
cmp edx, esi
jne 0x429432
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov esi, eax
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x4294f9
push str.invalid_hash_bucket_count
call fcn.00450cfd
int3
Function at 0x42c9e0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [0x4d100c]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [0x4d3360]
or eax, dword [0x4d3364]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov esi, ecx
jne 0x42ca12
push 0x4d3360
call edi
xorps xmm0, xmm0
lea eax, [esp + 8]
push eax
movq qword [esp + 0xc], xmm0
movq qword [esp + 0x14], xmm0
call edi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, dword [esp + 8]
sub ecx, dword [0x4d3360]
mov edx, dword [esp + 0xc]
sbb edx, dword [0x4d3364]
call fcn.0046ff70
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
movsd qword [esp + 8], xmm0
call fcn.0046ff70
movsd xmm1, qword [esp + 8]
divsd xmm1, xmm0
movsd qword [esi + 0x4a8], xmm1
mov eax, dword [0x4d3360]
or eax, dword [0x4d3364]
jne 0x42ca85
push 0x4d3360
call edi
xorps xmm0, xmm0
lea eax, [esp + 0x10]
push eax
movq qword [esp + 0x14], xmm0
movq qword [esp + 0xc], xmm0
call edi
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, dword [esp + 0x10]
sub ecx, dword [0x4d3360]
mov edx, dword [esp + 0x14]
sbb edx, dword [0x4d3364]
call fcn.0046ff70
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
movsd qword [esp + 0x10], xmm0
call fcn.0046ff70
cmp dword [esi + 0x308], 0
movsd xmm1, qword [esp + 0x10]
divsd xmm1, xmm0
mov byte [esi + 0x3e9], 0
mov dword [0x4d2eac], 0
mov dword [0x4d1a44], 0x4c8910
mov dword [0x4d2eb0], 0x16b
movsd qword [esi + 0x3e0], xmm1
jne 0x42cb34
lea eax, [esi + 0x2b0]
lea ecx, [esi + 0x2f8]
cmp ecx, eax
je 0x42cb34
cmp dword [eax + 0x14], 0x10
mov edx, dword [eax + 0x10]
jb 0x42cb2d
mov eax, dword [eax]
push edx
push eax
call fcn.00411c40
mov al, byte [ebp + 8]
mov ecx, dword [esp + 0x1c]
mov byte [esi + 0x47f], al
mov al, byte [ebp + 0xc]
mov byte [esi + 0x480], al
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x484], eax
mov al, 1
pop edi
pop esi
xor ecx, esp
call fcn.00450db2
mov esp, ebp
pop ebp
ret 0xc
Function at 0x42cb70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47283d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4d100c]
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 esi, dword [edi + 0x49c]
mov dword [edi + 0x498], 0
mov dword [edi + 0x49c], 0
test esi, esi
je 0x42cbdc
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [esi + 4], eax
jne 0x42cbdc
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], ebx
dec ebx
jne 0x42cbdc
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp byte [edi + 0x388], 0
jne 0x42cd53
cmp dword [edi + 0x308], 0
je 0x42cd53
cmp dword [edi + 0x36c], 0x10
lea ebx, [edi + 0x358]
jb 0x42cc07
mov ebx, dword [ebx]
cmp dword [edi + 0x354], 0x10
lea eax, [edi + 0x340]
mov dword [ebp - 0x30], eax
jb 0x42cc1e
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
cmp dword [edi + 0x324], 0x10
lea eax, [edi + 0x310]
mov dword [ebp - 0x2c], eax
jb 0x42cc35
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp dword [edi + 0x30c], 0x10
lea eax, [edi + 0x2f8]
mov dword [ebp - 0x28], eax
jb 0x42cc4c
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
cmp dword [edi + 0x2dc], 0x10
lea eax, [edi + 0x2c8]
mov dword [ebp - 0x24], eax
jb 0x42cc63
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
cmp dword [edi + 0x2c4], 0x10
lea eax, [edi + 0x2b0]
mov dword [ebp - 0x20], eax
jb 0x42cc7a
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [edi + 0x3a4], 8
lea eax, [edi + 0x390]
mov dword [ebp - 0x1c], eax
jb 0x42cc91
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
cmp dword [edi + 0x294], 8
lea eax, [edi + 0x280]
mov dword [ebp - 0x18], eax
jb 0x42cca8
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
push 0x28
call fcn.004511c8
mov esi, eax
add esp, 4
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
lea eax, [edi + 0x498]
mov dword [esi], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x28]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x30]
push 0x10
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], 0
call fcn.004511c8
add esp, 4
mov dword [ebp - 0x14], eax
mov dword [eax + 4], str.DownloadAsync
push 0
push 0
push eax
push 0x4191d0
push 0
mov dword [eax], vtable.Util::UniquePtrThreadAdapter_struct_UpdaterManifestSetStubInfo__unsigned_char____cdecl___declspec_dllexport__UpdaterManifestSetStubInfo::__int__void__.0
mov dword [eax + 8], esi
push 0
mov dword [eax + 0xc], 0x43a8f0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x488], 0x4c93ec
mov byte [edi + 0x48c], 1
mov dword [edi + 0x490], 0xffffffff
mov dword [edi + 0x494], eax
mov al, 1
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.00450db2
mov esp, ebp
pop ebp
ret
Function at 0x42dee0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x4d100c]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [0x4d3360]
or eax, dword [0x4d3364]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push esi
push edi
mov esi, ecx
jne 0x42df13
push 0x4d3360
call ebx
xorps xmm0, xmm0
lea eax, [esp + 0x10]
push eax
movq qword [esp + 0x14], xmm0
movq qword [esp + 0x1c], xmm0
call ebx
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, dword [esp + 0x10]
sub ecx, dword [0x4d3360]
mov edx, dword [esp + 0x14]
sbb edx, dword [0x4d3364]
call fcn.0046ff70
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
movsd qword [esp + 0x10], xmm0
call fcn.0046ff70
movsd xmm1, qword [esp + 0x10]
xor ecx, ecx
divsd xmm1, xmm0
mov eax, dword [esi]
add eax, 0x110
movsd qword [esi + 0x3d8], xmm1
xchg dword [eax], ecx
cmp dword [esi + 0x2dc], 0x10
lea ecx, [esi + 0x2c8]
jb 0x42df8e
mov ecx, dword [ecx]
cmp dword [esi + 0x2c4], 0x10
lea eax, [esi + 0x2b0]
jb 0x42df9f
mov eax, dword [eax]
cmp dword [esi + 0x478], 8
lea edx, [esi + 0x464]
jb 0x42dfb0
mov edx, dword [edx]
cmp dword [esi + 0x460], 8
lea edi, [esi + 0x44c]
mov ebx, edi
jb 0x42dfc3
mov ebx, dword [edi]
push ecx
push dword [esi + 0x484]
push ecx
mov ecx, dword [esi]
push eax
push edx
push ebx
call fcn.00438b20
mov bl, al
test bl, bl
je 0x42dff6
cmp byte [esi + 0x480], 0
je 0x42e01d
cmp dword [edi + 0x14], 8
jb 0x42dfec
mov edi, dword [edi]
mov ecx, dword [esi]
push edi
call fcn.00438890
jmp 0x42e01d
cmp dword [0x4d2eac], 0
jne 0x42e01d
mov dword [0x4d2eac], 0x11
mov dword [0x4d1a44], 0x4c8910
mov dword [0x4d2eb0], 0x296
mov eax, dword [0x4d3360]
or eax, dword [0x4d3364]
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jne 0x42e037
push 0x4d3360
call edi
xorps xmm0, xmm0
lea eax, [esp + 0x18]
push eax
movq qword [esp + 0x1c], xmm0
movq qword [esp + 0x14], xmm0
call edi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov ecx, dword [esp + 0x18]
sub ecx, dword [0x4d3360]
mov edx, dword [esp + 0x1c]
sbb edx, dword [0x4d3364]
call fcn.0046ff70
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
movsd qword [esp + 0x18], xmm0
call fcn.0046ff70
movsd xmm1, qword [esp + 0x18]
divsd xmm1, xmm0
subsd xmm1, qword [esi + 0x4a0]
movsd qword [esi + 0x3c8], xmm1
test bl, bl
je 0x42e0b2
cmp byte [esi + 0x47c], 0
je 0x42e0b2
mov byte [esi + 0x47d], 1
mov eax, dword [esi]
mov eax, dword [eax + 0x110]
mov ecx, dword [esp + 0x24]
test eax, eax
pop edi
setne al
mov byte [esi + 0x3e9], bl
mov byte [esi + 0x47e], al
mov al, bl
pop esi
pop ebx
xor ecx, esp
call fcn.00450db2
mov esp, ebp
pop ebp
ret
Function at 0x432530
Capabilities:
Check mutex on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472df8
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x98
mov eax, dword [0x4d100c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0xc]
mov eax, dword [0x4d2ee4]
mov dword [ebp - 0x54], 0x4d2ee4
mov byte [ebp - 0x50], 1
test eax, eax
jne 0x4325ad
mov eax, 1
mov ecx, 0x4d2ee4
lock xadd dword [ecx], eax
test eax, eax
jne 0x4325ad
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x4d2ee8], eax
jmp 0x4325b2
mov eax, dword [0x4d2ee8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x30
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00452b60
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x4325dc
mov eax, dword [esi]
lea ecx, [ebp - 0x48]
push ecx
push eax
call fcn.00461d28
add esp, 8
test eax, eax
jne 0x4326fb
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x78]
push edi
mov dword [ebp - 0x4c], eax
call fcn.00411890
movups xmm0, xmmword [ebp - 0x78]
mov edi, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x34]
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0x80], edi
movups xmmword [ebp - 0x98], xmm0
mov dword [ebp - 0x4c], eax
movq xmm0, qword [ebp - 0x68]
movq qword [ebp - 0x60], xmm0
movq qword [ebp - 0x88], xmm0
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
push esi
mov ecx, 0x4d2eec
mov byte [ebp - 4], 1
call fcn.0043c620
mov esi, eax
lea eax, [ebp - 0x98]
cmp esi, eax
je 0x4326b5
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x432693
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x432689
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432727
mov eax, edx
push ecx
push eax
call fcn.00451449
add esp, 8
movups xmm0, xmmword [ebp - 0xa8]
mov edx, 0xf
mov byte [ebp - 0x98], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x60]
movq qword [esi + 0x10], xmm0
jmp 0x4326bb
mov edx, dword [ebp - 0x84]
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], eax
cmp edx, 0x10
jb 0x4326f4
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4326ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x432727
push edx
push ecx
call fcn.00451449
add esp, 8
mov byte [0x4d2ef4], 1
push dword [0x4d2ee8]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00450db2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
call fcn.00460976
int3
Function at 0x432730
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472e3d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x4d100c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov eax, dword [0x4d2ee4]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x2c], 0x4d2ee4
mov byte [ebp - 0x28], 1
test eax, eax
jne 0x432796
mov eax, 1
mov ecx, 0x4d2ee4
lock xadd dword [ecx], eax
test eax, eax
jne 0x432796
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x4d2ee8], eax
jmp 0x43279b
mov eax, dword [0x4d2ee8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
lea eax, [ebp - 0x24]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x4d2eec
call fcn.00414390
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0xd], 0
jne 0x432806
cmp dword [eax + 0x24], 8
lea edx, [eax + 0x10]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x10], eax
jb 0x4327d4
mov edx, dword [edx]
cmp dword [edi + 0x14], 8
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x14], edi
jb 0x4327e5
mov eax, dword [edi]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], ecx
mov eax, ecx
mov ecx, dword [ebp - 0x14]
cmovb eax, dword [ebp - 0x10]
push eax
call fcn.004146b0
add esp, 4
test eax, eax
jne 0x432837
mov ecx, dword [edi + 0x10]
cmp ecx, dword [ebp - 0x10]
jae 0x432839
push esi
mov ecx, 0x4d2eec
call fcn.0043c780
push dword [0x4d2ee8]
mov byte [0x4d2ef4], 1
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
js 0x432806
mov eax, dword [ebp - 0x1c]
cmp eax, dword [0x4d2eec]
je 0x432806
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x43284e
mov edx, dword [edi]
cmp dword [esi + 0x14], 8
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x10], ecx
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0x14], esi
jb 0x432865
mov esi, dword [esi]
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x10]
cmp esi, ecx
jne 0x43287f
mov ecx, dword [ebp - 0x14]
push esi
call fcn.004146b0
add esp, 4
test eax, eax
je 0x432811
mov eax, dword [ebp - 0x1c]
push dword [ebp - 0x18]
mov ecx, 0x4d2eec
lea esi, [eax + 0x28]
call fcn.0043c620
mov ecx, eax
mov dword [ebp - 0x18], ecx
cmp ecx, esi
je 0x4328ae
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4328a2
mov eax, dword [esi]
push dword [esi + 0x10]
push eax
call fcn.00411c40
mov ecx, dword [ebp - 0x18]
mov eax, dword [esi + 0x18]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x1c], eax
push edi
jmp 0x432807