joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b440
Capabilities:
Check for time delay via gettickcount
Create directory
Delete file
Enumerate files on windows

Disassembly:
sub esp, 0x684
mov eax, dword [0x50a4c0]
xor eax, esp
mov dword [esp + 0x67c], eax
push ebx
push ebp
push esi
push edi
push 0
push 0x511210
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov eax, dword [esp + 0x14]
push 1
push 0
push 0
push eax
call fcn.004ad480
mov ecx, dword [esp + 0x10]
xor esi, esi
add eax, ecx
adc edx, esi
mov ebx, eax
add eax, 0x9e3b9800
mov esi, edx
adc edx, 0xfffffff7
add ebx, 0xd71bc000
adc esi, 0xfffffa7f
mov dword [esp + 0x14], edx
xor edx, edx
push 0x206
mov dword [esp + 0x14], eax
push edx
lea eax, [esp + 0x282]
push eax
mov word [esp + 0x284], dx
call fcn.004a7380
add esp, 0xc
push 0x511210
push str._s.
lea ecx, [esp + 0x280]
push 0x104
push ecx
call fcn.004a56ce
add esp, 0x10
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x27c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x40b680
cmp word [esp + 0x54], 0
je 0x40b647
test byte [esp + 0x28], 0x10
jne 0x40b633
mov ecx, 0x4ef614
lea eax, [esp + 0x54]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b55d
test dx, dx
je 0x40b559
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b55d
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b537
xor eax, eax
jmp 0x40b562
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40b633
mov ecx, 0x4ef618
lea eax, [esp + 0x54]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b599
test dx, dx
je 0x40b595
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b599
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b573
xor eax, eax
jmp 0x40b59e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40b633
lea ecx, [esp + 0x54]
push str.sgs1003.tmp
push ecx
call fcn.004a5ede
add esp, 8
test eax, eax
je 0x40b633
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x14]
cmp eax, ecx
ja 0x40b633
jne 0x40b5d4
mov edx, dword [esp + 0x3c]
cmp edx, dword [esp + 0x10]
jae 0x40b633
lea eax, [esp + 0x54]
push eax
push 0x511210
push 0x4ef484
lea ecx, [esp + 0x48c]
push 0x104
push ecx
call fcn.004a56ce
add esp, 0x14
lea edi, [esp + 0x480]
call fcn.00408e20
test al, al
je 0x40b618
mov eax, dword [esp + 0x40]
cmp eax, esi
ja 0x40b633
jne 0x40b618
cmp dword [esp + 0x3c], ebx
jae 0x40b633
lea edx, [esp + 0x480]
push edx
call fcn.004085e0
lea eax, [esp + 0x480]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [esp + 0x28]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40b517
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [0x51af9c], 0
jne 0x40b65f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
jmp 0x40b67b
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x51af9c]
cmp eax, 0x927c0
jb 0x40b680
call fcn.00409340
call esi
mov dword [0x51af9c], eax
mov ecx, dword [esp + 0x68c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004a4a25
add esp, 0x684
ret
Function at 0x410eb0
Capabilities:
Create thread

Disassembly:
cmp byte [0x511206], 0
jne 0x410f1a
mov byte [0x511206], 1
test eax, eax
je 0x410eeb
mov ecx, eax
push esi
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x410ed0
sub ecx, esi
sar ecx, 1
push ecx
mov esi, 0x50cf88
call fcn.00401b70
pop esi
push 0
push 0x10000
push 0x51444c
push 0x411120
push 0x100000
push 0
mov dword [0x51120c], 0x50cd68
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
ret

Function at 0x4112e0
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
sub esp, 8
cmp dword [esi + 8], 0
push ebx
push edi
jne 0x41132b
push 1
call fcn.004a5359
mov edi, eax
add esp, 4
mov dword [esi + 8], edi
call fcn.00418390
mov ecx, eax
call fcn.004189c0
test al, al
je 0x41132b
push 0
push 0x10000
push edi
push 0x416550
push 0x100000
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
push eax
push esi
call fcn.00415c90
lea eax, [esp + 0xc]
push eax
push esi
call fcn.00415e50
lea ecx, [esp + 8]
push ecx
push esi
mov dword [esp + 0x10], 0
call fcn.00415730
call edi
sub eax, dword [esp + 8]
mov ebx, dword [esp + 0xc]
cmp eax, 0x6ddd00
jbe 0x41136e
cmp ebx, 1
je 0x411375
cmp byte [esp + 0x14], 0
jne 0x41137c
mov eax, esi
call fcn.004115f0
call edi
push eax
push esi
call fcn.00415c90
pop edi
cmp ebx, 1
pop ebx
je 0x411394
push 1
push esi
call fcn.00415d70
add esp, 8
ret 4
Function at 0x412d20
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x50a4c0]
xor eax, esp
mov dword [esp + 0x114], eax
mov eax, dword [0x50e3dc]
cmp eax, 0xffffffff
jne 0x412d83
push 0x110
lea eax, [esp + 8]
push 0
push eax
mov dword [esp + 0xc], 0x114
call fcn.004a7380
add esp, 0xc
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x412d7c
cmp dword [esp + 4], 5
jb 0x412d7c
push str.Wininet.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x412d7e
xor eax, eax
mov dword [0x50e3dc], eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004a4a25
add esp, 0x118
ret

Function at 0x415350
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x20
xor eax, eax
push esi
push edi
cmp dword [ebx + 4], eax
je 0x41546e
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 7
mov dword [esp + 0x24], esp
mov word [esi + 4], ax
push 4
mov eax, 0x4eff4c
call fcn.00401b70
lea edi, [esp + 0x28]
call fcn.00417170
mov esi, 8
add esp, 0x1c
cmp dword [eax + 0x18], esi
jb 0x41539e
mov eax, dword [eax + 4]
jmp 0x4153a1
add eax, 4
push eax
push 0
call fcn.0041a170
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
cmp dword [esp + 0x24], esi
jb 0x4153c5
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004a4a1a
add esp, 4
xor edx, edx
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], dx
test edi, edi
je 0x415468
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x415461
cmp dword [esp + 0x34], 0
mov eax, dword [ebx + 4]
je 0x415410
test eax, eax
je 0x41545a
lea edx, [eax + 0x100030]
test edx, edx
je 0x41545a
mov eax, dword [eax + 0x10002c]
jmp 0x41541e
test eax, eax
je 0x41545a
lea edx, [eax + 0x1c]
test edx, edx
je 0x41545a
mov eax, dword [eax + 0x18]
test eax, eax
je 0x41545a
cmp byte [edx], 0x4d
jne 0x41545a
cmp byte [edx + 1], 0x5a
jne 0x41545a
mov esi, dword [esp + 0x30]
mov ecx, dword [esi]
test ecx, ecx
jne 0x41543b
mov dword [esi], eax
jmp 0x41545a
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x41545a
cmp ecx, eax
jne 0x41545a
cmp ecx, 0x100000
jae 0x41545a
push eax
push edx
push esi
call fcn.004a7800
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
pop edi
pop esi
add esp, 0x20
ret 0xc
Function at 0x415480
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x24
push ebx
push ebp
mov ebp, dword [esp + 0x34]
mov ebx, eax
xor eax, eax
push esi
push edi
mov dword [esp + 0x3c], eax
cmp dword [ebx + 4], eax
jne 0x4154a2
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
sub esp, 0x1c
mov esi, esp
mov dword [esi + 0x14], eax
xor eax, eax
mov dword [esi + 0x18], 7
mov dword [esp + 0x30], esp
mov word [esi + 4], ax
push 4
mov eax, 0x4eff4c
call fcn.00401b70
lea edi, [esp + 0x34]
call fcn.00417170
mov esi, 8
add esp, 0x1c
cmp dword [eax + 0x18], esi
jb 0x4154e2
mov eax, dword [eax + 4]
jmp 0x4154e5
add eax, 4
push eax
push 0
call fcn.0041a170
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
mov dword [esp + 0x14], edi
cmp dword [esp + 0x30], esi
jb 0x41550d
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.004a4a1a
add esp, 4
xor edx, edx
mov dword [esp + 0x30], 7
mov dword [esp + 0x2c], 0
mov word [esp + 0x1c], dx
test edi, edi
je 0x4155e7
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4155e0
mov esi, dword [ebx + 4]
test esi, esi
je 0x4155e0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x415585
lea edi, [esi + 0x1c]
test edi, edi
je 0x415585
lea ebx, [esi + 0x10001c]
test ebx, ebx
je 0x415585
lea ecx, [ebp - 0xb]
cmp ecx, 0xffff4
ja 0x415585
push ebp
push eax
push edi
mov dword [esi + 0x18], ebp
call fcn.004a7800
add esp, 0xc
push ebp
push edi
mov ecx, ebx
call fcn.0041b9b0
add esp, 8
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4155cd
lea edi, [esi + 0x100030]
test edi, edi
je 0x4155cd
lea ebx, [esi + 0x200030]
test ebx, ebx
je 0x4155cd
mov ebp, dword [esp + 0x44]
lea edx, [ebp - 0xb]
cmp edx, 0xffff4
ja 0x4155cd
push ebp
push eax
push edi
mov dword [esi + 0x10002c], ebp
call fcn.004a7800
add esp, 0xc
push ebp
push edi
mov ecx, ebx
call fcn.0041b9b0
add esp, 8
mov edi, dword [esp + 0x14]
push edi
mov dword [esp + 0x40], 1
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x10
Function at 0x415600
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [eax + 4], ebx
je 0x415718
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x28], esp
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 4
mov eax, 0x4eff4c
mov word [esi + 4], cx
call fcn.00401b70
lea edi, [esp + 0x2c]
call fcn.00417170
mov esi, 8
add esp, 0x1c
cmp dword [eax + 0x18], esi
jb 0x415655
mov eax, dword [eax + 4]
jmp 0x415658
add eax, 4
push eax
push ebx
call fcn.0041a170
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov edi, eax
cmp dword [esp + 0x28], esi
jb 0x41567b
mov edx, dword [esp + 0x14]
push edx
call fcn.004a4a1a
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], ax
cmp edi, ebx
je 0x415718
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x415711
mov ecx, dword [esp + 0x30]
mov esi, dword [ecx + 4]
cmp esi, ebx
je 0x41570a
cmp dword [esp + 0x34], ebx
je 0x4156da
lea eax, [esi + 0x100030]
mov dword [esi + 0x10002c], ebx
cmp eax, ebx
je 0x4156d2
push 0x100000
push ebx
push eax
call fcn.004a7380
add esp, 0xc
lea eax, [esi + 0x200030]
jmp 0x4156f9
lea eax, [esi + 0x1c]
mov dword [esi + 0x18], ebx
cmp eax, ebx
je 0x4156f3
push 0x100000
push ebx
push eax
call fcn.004a7380
add esp, 0xc
lea eax, [esi + 0x10001c]
cmp eax, ebx
je 0x41570a
xor ecx, ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
add esp, 0x20
ret 8

Function at 0x415730
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [eax + 4], ebx
jne 0x41574c
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x20
ret 8
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x28], esp
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 4
mov eax, str.5D84
mov word [esi + 4], cx
call fcn.00401b70
lea edi, [esp + 0x2c]
call fcn.00417170
mov edi, 8
add esp, 0x1c
cmp dword [eax + 0x18], edi
jb 0x41578c
mov eax, dword [eax + 4]
jmp 0x41578f
add eax, 4
push eax
push ebx
call fcn.0041a170
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
cmp dword [esp + 0x28], edi
jb 0x4157b2
mov edx, dword [esp + 0x14]
push edx
call fcn.004a4a1a
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], ax
cmp esi, ebx
je 0x4157fc
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4157f5
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 4]
cmp eax, ebx
je 0x4157ee
mov edx, dword [eax + 0x10]
mov eax, dword [esp + 0x34]
mov dword [eax], edx
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret 8
Function at 0x415810
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [eax + 4], ebx
jne 0x41582c
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x20
ret 8
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x28], esp
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 4
mov eax, str.5D84
mov word [esi + 4], cx
call fcn.00401b70
lea edi, [esp + 0x2c]
call fcn.00417170
mov edi, 8
add esp, 0x1c
cmp dword [eax + 0x18], edi
jb 0x41586c
mov eax, dword [eax + 4]
jmp 0x41586f
add eax, 4
push eax
push ebx
call fcn.0041a170
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
cmp dword [esp + 0x28], edi
jb 0x415892
mov edx, dword [esp + 0x14]
push edx
call fcn.004a4a1a
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], ax
cmp esi, ebx
je 0x4158da
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4158d3
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 4]
cmp eax, ebx
je 0x4158cc
mov edx, dword [esp + 0x34]
mov dword [eax + 0x10], edx
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret 8

Function at 0x4158f0
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x24
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [eax + 4], ebx
jne 0x41590c
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x24
ret 0xc
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x2c], esp
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 4
mov eax, 0x4eff4c
mov word [esi + 4], cx
call fcn.00401b70
lea edi, [esp + 0x30]
call fcn.00417170
mov edi, 8
add esp, 0x1c
cmp dword [eax + 0x18], edi
jb 0x41594c
mov eax, dword [eax + 4]
jmp 0x41594f
add eax, 4
push eax
push ebx
call fcn.0041a170
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
cmp dword [esp + 0x2c], edi
jb 0x415972
mov edx, dword [esp + 0x18]
push edx
call fcn.004a4a1a
add esp, 4
xor eax, eax
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], ebx
mov word [esp + 0x18], ax
cmp esi, ebx
je 0x4159e5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4159de
mov ecx, dword [esp + 0x34]
mov eax, dword [ecx + 4]
cmp eax, ebx
je 0x4159d2
cmp dword [esp + 0x3c], ebx
je 0x4159b9
add eax, 0x200030
cmp eax, ebx
je 0x4159d2
mov edx, dword [esp + 0x38]
push 0x10
push eax
push edx
jmp 0x4159ca
add eax, 0x10001c
cmp eax, ebx
je 0x4159d2
push 0x10
push eax
mov eax, dword [esp + 0x40]
push eax
call fcn.004a7800
add esp, 0xc
push esi
mov ebx, 1
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x24
ret 0xc
Function at 0x4159f0
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [eax + 4], ebx
jne 0x415a0c
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x20
ret 8
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x28], esp
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 4
mov eax, str.BA41
mov word [esi + 4], cx
call fcn.00401b70
lea edi, [esp + 0x2c]
call fcn.00417170
mov edi, 8
add esp, 0x1c
cmp dword [eax + 0x18], edi
jb 0x415a4c
mov eax, dword [eax + 4]
jmp 0x415a4f
add eax, 4
push eax
push ebx
call fcn.0041a170
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
cmp dword [esp + 0x28], edi
jb 0x415a72
mov edx, dword [esp + 0x14]
push edx
call fcn.004a4a1a
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], ax
cmp esi, ebx
je 0x415aba
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x415ab3
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 4]
cmp eax, ebx
je 0x415aac
mov edx, dword [esp + 0x34]
mov dword [eax + 0x14], edx
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret 8

Function at 0x415ad0
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [eax + 4], ebx
jne 0x415aec
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x20
ret 8
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x28], esp
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 4
mov eax, str.BA41
mov word [esi + 4], cx
call fcn.00401b70
lea edi, [esp + 0x2c]
call fcn.00417170
mov edi, 8
add esp, 0x1c
cmp dword [eax + 0x18], edi
jb 0x415b2c
mov eax, dword [eax + 4]
jmp 0x415b2f
add eax, 4
push eax
push ebx
call fcn.0041a170
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
cmp dword [esp + 0x28], edi
jb 0x415b52
mov edx, dword [esp + 0x14]
push edx
call fcn.004a4a1a
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], ax
cmp esi, ebx
je 0x415b9c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x415b95
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 4]
cmp eax, ebx
je 0x415b8e
mov edx, dword [eax + 0x14]
mov eax, dword [esp + 0x34]
mov dword [eax], edx
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret 8
Function at 0x415bb0
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [eax + 4], ebx
jne 0x415bcc
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x20
ret 8
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x28], esp
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 4
mov eax, str.B39A
mov word [esi + 4], cx
call fcn.00401b70
lea edi, [esp + 0x2c]
call fcn.00417170
mov edi, 8
add esp, 0x1c
cmp dword [eax + 0x18], edi
jb 0x415c0c
mov eax, dword [eax + 4]
jmp 0x415c0f
add eax, 4
push eax
push ebx
call fcn.0041a170
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
cmp dword [esp + 0x28], edi
jb 0x415c32
mov edx, dword [esp + 0x14]
push edx
call fcn.004a4a1a
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], ax
cmp esi, ebx
je 0x415c7c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x415c75
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 4]
cmp eax, ebx
je 0x415c6e
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x34]
mov dword [eax], edx
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret 8

Function at 0x415c90
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [eax + 4], ebx
jne 0x415cac
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x20
ret 8
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x28], esp
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 4
mov eax, str.B39A
mov word [esi + 4], cx
call fcn.00401b70
lea edi, [esp + 0x2c]
call fcn.00417170
mov edi, 8
add esp, 0x1c
cmp dword [eax + 0x18], edi
jb 0x415cec
mov eax, dword [eax + 4]
jmp 0x415cef
add eax, 4
push eax
push ebx
call fcn.0041a170
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
cmp dword [esp + 0x28], edi
jb 0x415d12
mov edx, dword [esp + 0x14]
push edx
call fcn.004a4a1a
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], ax
cmp esi, ebx
je 0x415d5a
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x415d53
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 4]
cmp eax, ebx
je 0x415d4c
mov edx, dword [esp + 0x34]
mov dword [eax + 0xc], edx
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret 8
Function at 0x415d70
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [eax + 4], ebx
jne 0x415d8c
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x20
ret 8
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x28], esp
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 4
mov eax, str.7C2C
mov word [esi + 4], cx
call fcn.00401b70
lea edi, [esp + 0x2c]
call fcn.00417170
mov edi, 8
add esp, 0x1c
cmp dword [eax + 0x18], edi
jb 0x415dcc
mov eax, dword [eax + 4]
jmp 0x415dcf
add eax, 4
push eax
push ebx
call fcn.0041a170
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
cmp dword [esp + 0x28], edi
jb 0x415df2
mov edx, dword [esp + 0x14]
push edx
call fcn.004a4a1a
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], ax
cmp esi, ebx
je 0x415e3a
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x415e33
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 4]
cmp eax, ebx
je 0x415e2c
mov edx, dword [esp + 0x34]
mov dword [eax + 8], edx
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret 8

Function at 0x415e50
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x20
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [eax + 4], ebx
jne 0x415e6c
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x20
ret 8
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0x28], esp
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push 4
mov eax, str.7C2C
mov word [esi + 4], cx
call fcn.00401b70
lea edi, [esp + 0x2c]
call fcn.00417170
mov edi, 8
add esp, 0x1c
cmp dword [eax + 0x18], edi
jb 0x415eac
mov eax, dword [eax + 4]
jmp 0x415eaf
add eax, 4
push eax
push ebx
call fcn.0041a170
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
cmp dword [esp + 0x28], edi
jb 0x415ed2
mov edx, dword [esp + 0x14]
push edx
call fcn.004a4a1a
add esp, 4
xor eax, eax
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], ax
cmp esi, ebx
je 0x415f1c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x415f15
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx + 4]
cmp eax, ebx
je 0x415f0e
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x34]
mov dword [eax], edx
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x20
ret 8