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

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
call fcn.00401d40
pop ecx
push eax
push 0
push 0
call dword [sym.imp.kernel32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401da2
push esi
call dword [sym.imp.kernel32.dll_ReleaseMutex]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
xor eax, eax
jmp 0x401da4
mov eax, esi
pop esi
pop ebp
ret

Function at 0x402003
Capabilities:
Copy file
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
mov eax, dword [0x44145c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x449190]
push edi
add eax, 0x14
push eax
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
push 0x80
push esi
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
and dword [ebp - 0x14c], 0
lea eax, [ebp - 0x148]
push eax
push esi
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov edi, eax
push edi
call dword [sym.imp.kernel32.dll_FindClose]
cmp edi, 0xffffffff
je 0x40207d
push 0
push ebx
push esi
call dword [sym.imp.kernel32.dll_CopyFileA]
test eax, eax
jne 0x40208c
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
inc dword [ebp - 0x14c]
cmp dword [ebp - 0x14c], 0xa
jl 0x402039
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00407541
leave
ret
xor eax, eax
inc eax
jmp 0x40207f

Function at 0x402091
Capabilities:
Delete file
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x44145c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x449190]
push ebx
push esi
add eax, 0x14
push eax
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
xor ebx, ebx
lea eax, [ebp - 0x148]
push eax
push edi
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov esi, eax
push esi
call dword [sym.imp.kernel32.dll_FindClose]
cmp esi, 0xffffffff
je 0x4020fb
push edi
call dword [sym.imp.kernel32.dll_DeleteFileA]
push 0x3e8
call dword [sym.imp.kernel32.dll_Sleep]
inc ebx
cmp ebx, 0xa
jl 0x4020b7
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00407541
leave
ret
xor eax, eax
inc eax
jmp 0x4020ed

Function at 0x402135
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.00401e0a
push 0x43d8b4
call fcn.00401d69
pop ecx
mov ecx, dword [0x449190]
xor esi, esi
mov dword [ecx + 0x1824], eax
cmp dword [ebp + 0x10], esi
je 0x40216d
push esi
push 0x402da5
push esi
push 0x66
push dword [ecx]
call dword [sym.imp.user32.dll_DialogBoxParamA]
call fcn.00401e0a
push 1
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
push esi
call dword [sym.imp.shell32.dll_ShellExecuteA]
xor ecx, ecx
cmp eax, 0x20
setge cl
pop esi
mov eax, ecx
pop ebp
ret
Function at 0x402190
Capabilities:
Delete file

Disassembly:
push ebx
push esi
push edi
mov edi, 0x43d924
mov ebx, 0x43d914
mov esi, edi
call fcn.00402003
mov ebx, 0x43d91c
mov esi, 0x43d92c
call fcn.00402003
mov ebx, edi
mov edi, 0x43d904
mov esi, edi
call fcn.00402003
mov ebx, 0x43d92c
mov esi, 0x43d90c
call fcn.00402003
push edi
mov edi, dword [sym.imp.kernel32.dll_DeleteFileA]
call edi
push esi
call edi
push 0x1f4
call dword [sym.imp.kernel32.dll_Sleep]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
ret
Function at 0x407541
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44145c]
jne 0x40754b
repz ret
jmp fcn.0040cb9f

Function at 0x41fddc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44145c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040d921
and dword [ebp - 0x14], 0
cmp dword [0x446134], 0
mov dword [ebp - 0x18], eax
jne 0x41fe8f
push 0x43d4c8
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41ff37
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x43d4bc
push ebx
call edi
test eax, eax
je 0x41ff37
mov esi, dword [sym.imp.kernel32.dll_EncodePointer]
push eax
call esi
push 0x43d4ac
push ebx
mov dword [0x446134], eax
call edi
push eax
call esi
push 0x43d498
push ebx
mov dword [0x446138], eax
call edi
push eax
call esi
push 0x43d47c
push ebx
mov dword [0x44613c], eax
call edi
push eax
call esi
mov dword [0x446144], eax
test eax, eax
je 0x41fe8f
push 0x43d464
push ebx
call edi
push eax
call esi
mov dword [0x446140], eax
mov eax, dword [0x446140]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.kernel32.dll_DecodePointer]
cmp eax, ecx
je 0x41fee8
cmp dword [0x446144], ecx
je 0x41fee8
push eax
call esi
push dword [0x446144]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41fee8
test ebx, ebx
je 0x41fee8
call edi
test eax, eax
je 0x41fedf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41fedf
test byte [ebp - 8], 1
jne 0x41fee8
or dword [ebp + 0x10], 0x200000
jmp 0x41ff1b
mov eax, dword [0x446138]
cmp eax, dword [ebp - 0x18]
je 0x41ff1b
push eax
call esi
test eax, eax
je 0x41ff1b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41ff1b
mov eax, dword [0x44613c]
cmp eax, dword [ebp - 0x18]
je 0x41ff1b
push eax
call esi
test eax, eax
je 0x41ff1b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x446134]
call esi
test eax, eax
je 0x41ff37
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41ff39
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407541
leave
ret
Function at 0x4215f0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x4466cc]
push ebx
xor ebx, ebx
cmp eax, ebx
je 0x421600
xor eax, eax
pop ebx
ret
push ebp
mov ebp, dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push esi
push edi
push 0x425e40
call ebp
push 0x2b98
mov edi, eax
call fcn.004087f5
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4216d2
lea eax, [esi + 0x28]
mov byte [esi], bl
mov byte [esi + 1], bl
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov byte [esi + 0x20], bl
mov byte [esi + 0x21], bl
mov byte [esi + 0x22], bl
mov byte [esi + 0x23], bl
push eax
mov dword [esi + 0x24], 0xffffffff
call dword [sym.imp.kernel32.dll_InitializeCriticalSection]
lea ecx, [esi + 0x1468]
mov dword [esi + 0x1464], ebx
call fcn.0042b2b0
lea ecx, [esi + 0x2ac4]
call fcn.0042a480
mov dword [esi + 0x2b0c], ebx
mov dword [esi + 0x2b30], ebx
mov dword [esi + 0x2b34], ebx
mov byte [esi + 0x2b78], bl
mov byte [esi + 0x2b79], bl
mov dword [esi + 0x2b7c], 0x3e8
mov dword [esi + 0x2b80], ebx
mov dword [esi + 0x2b84], ebx
mov dword [esi + 0x2b88], ebx
mov byte [esi + 0x2b8c], bl
mov dword [esi + 0x2b90], ebx
mov dword [esi + 0x2b94], ebx
mov byte [esi + 0x2b38], bl
mov ecx, esi
jmp 0x4216d4
xor ecx, ecx
mov edx, dword [esp + 0x14]
mov dword [0x4466cc], ecx
push edx
call fcn.00421df0
mov ecx, dword [0x4466cc]
mov dword [ecx + 0x10], eax
mov edx, dword [0x4466cc]
mov eax, dword [edx + 0x18]
cmp eax, ebx
je 0x421701
push eax
call dword [sym.imp.kernel32.dll_SetEvent]
mov eax, dword [0x4466cc]
mov eax, dword [eax + 0x1c]
cmp eax, ebx
je 0x421715
push ebx
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
cmp edi, ebx
je 0x42171c
push edi
call ebp
mov ecx, dword [0x4466cc]
pop edi
pop esi
pop ebp
mov eax, dword [ecx + 0x10]
pop ebx
ret
Function at 0x421a18
Capabilities:
Clear file content
Encode data using xor
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4398c4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
lea ecx, [esi + 0x2ac4]
mov dword [esp + 0x14], 1
call fcn.0042a4d0
lea ecx, [esi + 0x1468]
mov byte [esp + 0x14], 0
call fcn.0042b330
add esi, 0x24
mov dword [esp + 4], esi
mov eax, dword [esi]
mov dword [esp + 0x14], 2
cmp eax, 0xffffffff
je 0x421b79
push ebx
push edi
lea edi, [esi + 0x101c]
push edi
call dword [sym.imp.kernel32.dll_GetLocalTime]
mov eax, dword [esi + 0x143c]
test eax, eax
je 0x421a84
mov ecx, dword [esi + 0x1440]
cmp ecx, eax
mov eax, 0x442150
ja 0x421a89
mov eax, 0x446714
push eax
xor eax, eax
mov ax, word [esi + 0x102a]
xor ecx, ecx
mov cx, word [esi + 0x1028]
push eax
xor edx, edx
xor eax, eax
mov dx, word [esi + 0x1026]
mov ax, word [esi + 0x1024]
push ecx
push edx
xor ecx, ecx
push eax
mov cx, word [esi + 0x1022]
xor edx, edx
mov dx, word [esi + 0x101e]
xor eax, eax
mov ax, word [edi]
push ecx
push edx
push eax
push 0x4420f8
lea ebx, [esi + 0x1c]
call fcn.0042c200
add esp, 4
push eax
push ebx
call fcn.00407adb
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add esp, 0x28
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x1438]
not ecx
dec ecx
test eax, eax
mov edi, ecx
je 0x421b2f
test edi, edi
jle 0x421b41
push ebp
mov ebp, 0xffffffe4
mov eax, ebx
sub ebp, esi
mov ecx, dword [esi + 0x1438]
add ecx, 2
mov dword [esi + 0x1438], ecx
mov dl, byte [eax]
add cl, 0x43
xor dl, cl
mov byte [eax], dl
inc eax
lea edx, [eax + ebp]
cmp edx, edi
jl 0x421b0c
pop ebp
jmp 0x421b41
push ebx
push ebx
lea eax, [esi + 0x1030]
push edi
push eax
call fcn.0042bbb0
add esp, 0x10
cmp dword [esi + 0x143c], 0x3e7
je 0x421b5f
mov edx, dword [esi]
lea ecx, [esp + 0x10]
push 0
push ecx
push edi
push ebx
push edx
call dword [sym.imp.kernel32.dll_WriteFile]
mov eax, dword [esi]
push eax
call dword [sym.imp.kernel32.dll_SetEndOfFile]
mov ecx, dword [esi]
push ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
mov dword [esi], 0xffffffff
pop ebx
add esi, 4
push esi
call dword [sym.imp.kernel32.dll_DeleteCriticalSection]
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x421ba0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push esi
lea eax, [esp + 4]
push edi
push eax
mov dword [esp + 0xc], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
push 0x442180
call fcn.0042c270
add esp, 4
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
push 0x44216c
mov esi, eax
call fcn.0042c270
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
add esp, 4
push eax
push esi
call edi
test eax, eax
je 0x421c1e
push 0x442154
call fcn.0042c270
add esp, 4
push eax
push esi
call edi
test eax, eax
je 0x421c1e
mov eax, dword [esp + 0xc]
cmp eax, 5
jb 0x421c13
jne 0x421c1e
cmp dword [esp + 0x10], 1
jae 0x421c1e
pop edi
mov al, 1
pop esi
add esp, 0x94
ret
mov eax, dword [esp + 0x18]
pop edi
cmp eax, 2
pop esi
sete al
add esp, 0x94
ret
Function at 0x421d60
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x20
push esi
lea ecx, [esp + 0x10]
lea eax, [esp + 0x10]
push 1
push ecx
mov dword [esp + 0xc], 0xc
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0
xor esi, esi
call dword [fcn.0043a030]
test eax, eax
je 0x421da6
push esi
push esi
lea edx, [esp + 0x18]
push 1
push edx
call dword [fcn.0043a02c]
test eax, eax
je 0x421da6
lea esi, [esp + 4]
push 0x44221c
call fcn.0042c270
add esp, 4
push eax
push 0
push esi
call dword [sym.imp.kernel32.dll_CreateMutexA]
test eax, eax
pop esi
jne 0x421dce
call dword [sym.imp.kernel32.dll_GetLastError]
xor eax, eax
add esp, 0x20
ret
call dword [sym.imp.kernel32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xb7
sete cl
mov eax, ecx
add esp, 0x20
ret
Function at 0x424080
Capabilities:
Check for software breakpoints
Encode data using xor
Write file on windows

Disassembly:
mov eax, 0x1008
call fcn.004205a0
push ebp
push esi
mov esi, dword [esp + 0x1014]
cmp dword [esi], 0xffffffff
je 0x4241ef
mov eax, dword [esi + 0x143c]
test eax, eax
je 0x4240c7
mov ecx, dword [esp + 0x1018]
cmp byte [ecx], 0x21
je 0x4240c7
mov ecx, dword [esi + 0x1440]
cmp ecx, eax
ja 0x4241ef
inc ecx
mov dword [esi + 0x1440], ecx
lea ebp, [esi + 4]
push ebp
mov dword [esp + 0xc], ebp
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x1018]
lea edx, [esp + 0x101c]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
call fcn.0040eed0
add esp, 0xc
lea edx, [esi + 0x101c]
push edx
call dword [sym.imp.kernel32.dll_GetLocalTime]
mov eax, fcn.00407adb
cmp byte [eax], 0xcc
je 0x4241e8
mov ecx, dword [sym.imp.kernel32.dll_WriteFile]
cmp byte [ecx], 0xcc
je 0x4241e8
xor eax, eax
push ebx
mov ax, word [esi + 0x102a]
lea edx, [esp + 0x14]
push edi
push edx
xor ecx, ecx
push eax
mov cx, word [esi + 0x1028]
xor edx, edx
mov dx, word [esi + 0x1026]
xor eax, eax
mov ax, word [esi + 0x1024]
push ecx
push edx
push eax
push 0x4429e4
lea ebx, [esi + 0x1c]
call fcn.0042c200
add esp, 4
push eax
push ebx
call fcn.00407adb
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
add esp, 0x1c
repne scasb al, byte es:[edi]
mov eax, dword [esi + 0x1438]
not ecx
dec ecx
test eax, eax
mov edi, ecx
je 0x4241b0
test edi, edi
jle 0x4241c2
mov ebp, 0xffffffe4
mov eax, ebx
sub ebp, esi
mov ecx, 2
mov edx, dword [esi + 0x1438]
add edx, ecx
mov dword [esi + 0x1438], edx
add dl, 0x43
xor byte [eax], dl
inc eax
lea edx, [eax + ebp]
cmp edx, edi
jl 0x42418f
mov ebp, dword [esp + 0x10]
jmp 0x4241c2
push ebx
push ebx
lea eax, [esi + 0x1030]
push edi
push eax
call fcn.0042bbb0
add esp, 0x10
mov edx, dword [esi]
lea ecx, [esp + 0x14]
push 0
push ecx
push edi
push ebx
push edx
call dword [sym.imp.kernel32.dll_WriteFile]
push ebp
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop edi
pop ebx
pop esi
mov al, 1
pop ebp
add esp, 0x1008
ret
push ebp
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
pop esi
xor al, al
pop ebp
add esp, 0x1008
ret
Function at 0x4242b0
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push ebp
push esi
lea eax, [esp + 8]
push edi
mov ebp, ecx
push eax
mov dword [esp + 0x10], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
push 0x442180
call fcn.0042c270
add esp, 4
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
push 0x44216c
mov esi, eax
call fcn.0042c270
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
add esp, 4
push eax
push esi
call edi
test eax, eax
je 0x424339
push 0x442154
call fcn.0042c270
add esp, 4
push eax
push esi
call edi
test eax, eax
je 0x424339
mov eax, dword [esp + 0x10]
cmp eax, 5
jb 0x424326
jne 0x42433d
cmp dword [esp + 0x14], 1
jae 0x42433d
pop edi
mov byte [ebp + 0x2b8c], 1
pop esi
mov al, 1
pop ebp
add esp, 0x94
ret
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x1c], 2
jne 0x424373
cmp eax, 5
mov byte [0x4464be], 1
jne 0x424367
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x424367
mov ecx, dword [0x4420dc]
lea edx, [ecx + ecx]
mov dword [0x4420dc], edx
pop edi
pop esi
mov al, 1
pop ebp
add esp, 0x94
ret
pop edi
pop esi
xor al, al
pop ebp
add esp, 0x94
ret
Function at 0x424c70
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov al, byte [esi + 0x20]
test al, al
jne 0x424c7e
mov al, 1
pop esi
ret
push edi
push 0x442cf4
lea edi, [esi + 0x24]
call fcn.0042c270
add esp, 4
push eax
push edi
call fcn.00424080
mov ecx, dword [esi + 0x2b0c]
lea eax, [esi + 0x2b38]
push eax
push ecx
call dword [esi + 0x2b94]
mov eax, dword [esi + 0x14]
add esp, 0x10
test eax, eax
mov byte [esi + 0x20], 0
je 0x424cbf
push eax
call dword [sym.imp.kernel32.dll_SetEvent]
mov edx, dword [esi + 0x2b34]
push 0x7d0
push edx
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x424cfe
push 0x442cdc
call fcn.0042c270
add esp, 4
push eax
push edi
call fcn.00424080
mov eax, dword [esi + 0x2b34]
add esp, 8
push 0
push eax
call dword [sym.imp.kernel32.dll_TerminateThread]
mov ecx, dword [esi + 0x2b34]
push ecx
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, dword [esi + 0x2b30]
test eax, eax
je 0x424d1c
push eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
push 0x442cc8
mov dword [esi + 0x2b90], 0
mov dword [esi + 0x2b94], 0
call fcn.0042c270
add esp, 4
push eax
push edi
call fcn.00424080
add esp, 8
mov al, 1
pop edi
pop esi
ret

Function at 0x424d50
Capabilities:
Create udp socket
Initialize winsock library
Resolve dns
Send data
Send data on socket

Disassembly:
sub esp, 0x1a0
lea eax, [esp + 0x10]
push ebx
push ebp
push eax
mov ebp, ecx
push 0x202
call dword [sym.imp.ws2_32.dll_WSAStartup]
test eax, eax
je 0x424d79
pop ebp
xor eax, eax
pop ebx
add esp, 0x1a0
ret
push 0
push 2
push 2
call dword [sym.imp.ws2_32.dll_socket]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x424d97
pop ebp
xor eax, eax
pop ebx
add esp, 0x1a0
ret
push 0x3a98
mov word [esp + 0xc], 2
call dword [sym.imp.ws2_32.dll_htons]
push 0x4464c0
mov word [esp + 0xe], ax
call dword [sym.imp.ws2_32.dll_inet_addr]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x424e02
push 0x4464c0
call dword [sym.imp.ws2_32.dll_gethostbyname]
test eax, eax
jne 0x424de3
push ebx
call dword [sym.imp.ws2_32.dll_closesocket]
pop ebp
xor eax, eax
pop ebx
add esp, 0x1a0
ret
movsx ecx, word [eax + 0xa]
mov edx, dword [eax + 0xc]
push esi
mov eax, ecx
push edi
mov esi, dword [edx]
lea edi, [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
lea ecx, [ebp + 0x1468]
call fcn.0042afe0
test eax, eax
jne 0x424e23
push ebx
call dword [sym.imp.ws2_32.dll_closesocket]
pop ebp
xor eax, eax
pop ebx
add esp, 0x1a0
ret
mov ecx, dword [eax]
lea edx, [esp + 8]
push 0x10
push edx
add ecx, 4
push 0
push ecx
push eax
push ebx
call dword [sym.imp.ws2_32.dll_sendto]
test eax, eax
jne 0x424e50
push ebx
call dword [sym.imp.ws2_32.dll_closesocket]
pop ebp
xor eax, eax
pop ebx
add esp, 0x1a0
ret
cmp eax, 0xffffffff
push ebx
jne 0x424e67
call dword [sym.imp.ws2_32.dll_closesocket]
pop ebp
xor eax, eax
pop ebx
add esp, 0x1a0
ret
call dword [sym.imp.ws2_32.dll_closesocket]
pop ebp
mov eax, 1
pop ebx
add esp, 0x1a0
ret
Function at 0x424f70
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x1c]
push 1
push ecx
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
xor edi, edi
call dword [fcn.0043a030]
test eax, eax
je 0x424fbb
push edi
push edi
lea edx, [esp + 0x24]
push 1
push edx
call dword [fcn.0043a02c]
test eax, eax
je 0x424fbb
lea edi, [esp + 0x10]
push 0x4427e0
call fcn.0042c270
mov ebx, dword [sym.imp.kernel32.dll_CreateMutexA]
add esp, 4
push eax
push 0
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x425023
push 0x4427d4
call fcn.0042c270
add esp, 4
push eax
push esi
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x425023
mov esi, dword [sym.imp.kernel32.dll_GetLastError]
call esi
call esi
push eax
push 0x442d1c
call fcn.0042c270
add esp, 4
add ebp, 0x24
push eax
push ebp
call fcn.00424080
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
jne 0x425043
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 8
mov eax, dword [esp + 0x38]
test eax, eax
je 0x425071
mov eax, dword [esp + 0x34]
push eax
push esi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x425078
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 8
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret 8
Function at 0x425090
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x20
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x1c]
lea eax, [esp + 0x1c]
push 1
push ecx
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0
xor edi, edi
call dword [fcn.0043a030]
test eax, eax
je 0x4250db
push edi
push edi
lea edx, [esp + 0x24]
push 1
push edx
call dword [fcn.0043a02c]
test eax, eax
je 0x4250db
lea edi, [esp + 0x10]
push 0x442800
call fcn.0042c270
mov ebx, dword [sym.imp.kernel32.dll_CreateMutexA]
add esp, 4
push eax
push 0
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x425143
push 0x4427f4
call fcn.0042c270
add esp, 4
push eax
push esi
push edi
call ebx
mov esi, eax
test esi, esi
jne 0x425143
mov esi, dword [sym.imp.kernel32.dll_GetLastError]
call esi
call esi
push eax
push 0x442d5c
call fcn.0042c270
add esp, 4
add ebp, 0x24
push eax
push ebp
call fcn.00424080
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
jne 0x425190
mov eax, dword [esp + 0x34]
push eax
push esi
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x425190
push 0x442d40
call fcn.0042c270
add esp, 4
add ebp, 0x24
push eax
push ebp
call fcn.00424080
add esp, 8
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret 4
push esi
call dword [sym.imp.kernel32.dll_ReleaseMutex]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret 4

Function at 0x4251b0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov al, byte [0x4464bd]
test al, al
je 0x4251c3
xor eax, eax
mov esp, ebp
pop ebp
ret
mov al, byte [ecx + 0x2b79]
mov dword [ebp - 4], 0
test al, al
je 0x4251eb
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
movzx eax, byte [eax + 2]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
xor eax, eax
mov al, byte fs:[0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x427b90
Capabilities:
Check mutex on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
push 0x4437e0
call fcn.0042c270
mov esi, dword [sym.imp.kernel32.dll_OpenFileMappingA]
add esp, 4
push eax
push 0
push 0xf001f
call esi
mov edi, eax
test edi, edi
mov dword [esp + 0x10], edi
jne 0x427be4
push 0x4437d4
call fcn.0042c270
add esp, 4
push eax
push edi
push 0xf001f
call esi
test eax, eax
mov dword [esp + 0x10], eax
jne 0x427be0
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov edi, dword [esp + 0x10]
push 0x1000
push 0
push 0
push 0xf001f
push edi
call dword [sym.imp.kernel32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
jne 0x427c0e
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
push 0x4437c0
call fcn.0042c270
mov esi, dword [sym.imp.kernel32.dll_OpenMutexA]
add esp, 4
push eax
push 0
push 0x100000
call esi
mov ebp, eax
test ebp, ebp
jne 0x427c63
push 0x4437b4
call fcn.0042c270
add esp, 4
push eax
push ebp
push 0x100000
call esi
mov ebp, eax
test ebp, ebp
jne 0x427c63
push ebx
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
push 0xffffffffffffffff
push ebp
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov ecx, dword [ebx]
mov eax, ebx
test ecx, ecx
je 0x427c8c
add eax, ecx
mov ecx, eax
sub ecx, ebx
cmp ecx, 0xffc
jae 0x427c8a
mov ecx, dword [eax]
test ecx, ecx
jne 0x427c74
jmp 0x427c8c
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov edx, eax
mov esi, 0xffc
sub edx, ebx
sub esi, ecx
cmp edx, esi
jb 0x427ca3
mov eax, ebx
jmp 0x427cc1
mov esi, dword [esp + 0x18]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
add eax, ecx
push ebx
mov dword [eax], 0
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
mov esi, dword [sym.imp.kernel32.dll_CloseHandle]
push edi
call esi
push ebp
call dword [sym.imp.kernel32.dll_ReleaseMutex]
push ebp
call esi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret