joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41da60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x5035d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
cmp edi, 4
jbe 0x41dc03
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x4d4240
call esi
mov ebx, eax
push str.Kernel32.dll
mov dword [ebp - 0x5c], ebx
call esi
mov esi, eax
test ebx, ebx
je 0x41dc03
test esi, esi
je 0x41dc03
push edi
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
movaps xmm0, xmmword [0x4d42b0]
mov ebx, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x5c]
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x2c], 0x72506e6f
mov dword [ebp - 0x28], 0x7365636f
mov word [ebp - 0x24], 0x73
call edi
mov dword [ebp - 0x5c], eax
test eax, eax
je 0x41dbfc
movaps xmm0, xmmword [0x4d42c0]
lea eax, [ebp - 0x20]
push eax
push esi
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x10], 0x67616d49
mov dword [ebp - 0xc], 0x6d614e65
mov word [ebp - 8], 0x5765
mov byte [ebp - 6], 0
call edi
mov dword [ebp - 0x68], eax
test eax, eax
je 0x41dbfc
xor edi, edi
lea eax, [ebp - 0x58]
push edi
push 0x18
push eax
push edi
push ebx
call dword [ebp - 0x5c]
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x5c], eax
js 0x41dbe6
cmp dword [ebp - 0x60], 0
mov edi, dword [ebp - 0x44]
je 0x41dbe6
push edi
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x41dbd8
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x200
push eax
push dword [ebp - 0x60]
push 0
push esi
call dword [ebp - 0x68]
cmp eax, 1
jne 0x41dbb0
mov ecx, dword [ebp - 0x64]
xor eax, eax
push esi
mov dword [ecx], eax
call dword [ebp - 0x5c]
mov eax, dword [ebp - 0x5c]
push ebx
call eax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1365
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x64]
push esi
mov dword [ecx], eax
call dword [ebp - 0x5c]
mov eax, dword [ebp - 0x5c]
push ebx
call eax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1365
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x64]
mov dword [ecx], eax
mov eax, dword [ebp - 0x5c]
push ebx
call eax
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a1365
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004a1365
mov esp, ebp
pop ebp
ret
Function at 0x41e920
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0718
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x5035d0]
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 dword [edi + 0x3dc], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
call fcn.004ad295
add esp, 4
lea ebx, [edi + 0x268]
push 0x4d3eb0
call fcn.004ad274
mov ecx, 0xa
cdq
idiv ecx
add edx, ecx
mov ecx, ebx
push edx
call fcn.00420d70
push 0
lea esi, [edi + 0x27c]
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00407870
add esp, 0xc
cmp dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
je 0x41e9be
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0040b540
add esp, 4
push 0x4d3ecc
call fcn.004ad274
cdq
mov ecx, 0xa
idiv ecx
mov ecx, ebx
add edx, 0x14
push edx
call fcn.00420d70
mov ecx, edi
call fcn.0041fa00
mov ecx, edi
call fcn.0041d7e0
push 0x4d3ee0
call fcn.004ad274
cdq
mov ecx, 0xa
idiv ecx
mov ecx, ebx
add edx, 0x1e
push edx
call fcn.00420d70
mov ecx, edi
call fcn.0041fc30
push 0x4d3ef4
call fcn.004ad274
cdq
mov ecx, 0xa
idiv ecx
mov ecx, ebx
add edx, 0x28
push edx
call fcn.00420d70
mov ecx, edi
call fcn.0041d680
push 0x4d3f08
call fcn.004ad274
cdq
mov ecx, 0xa
idiv ecx
mov ecx, ebx
add edx, 0x32
push edx
call fcn.00420d70
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x41ea58
mov eax, dword [esi]
push eax
mov ecx, edi
call fcn.0041d410
cmp dword [esi + 0x14], 8
jb 0x41ea68
mov esi, dword [esi]
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0x4d3f1c
call fcn.004ad274
cdq
mov esi, 0xa
idiv esi
mov ecx, ebx
add edx, 0x41
push edx
call fcn.00420d70
mov ecx, edi
call fcn.0041d5a0
push 0x4d3f30
call fcn.004ad274
cdq
mov ecx, ebx
idiv esi
add edx, 0x5a
push edx
call fcn.00420d70
mov ecx, ebx
call fcn.00420c00
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x41eae6
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41eadc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41eb02
push edx
push ecx
call fcn.004a1326
add esp, 8
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.004a1365
mov esp, ebp
pop ebp
ret
call fcn.004a8d39
int3
Function at 0x41f950
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x254], 0
jne 0x41f9fd
push 0
push dword [esi + 0x248]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x264]
test ecx, ecx
je 0x41f988
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x264], 0
mov ecx, esi
call fcn.0041f770
push 0
push 0
push 0x41eb10
lea ecx, [esi + 0x3d4]
call fcn.0041eb30
mov eax, dword [esi + 0x24c]
test eax, eax
je 0x41f9be
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x24c], 0
mov eax, dword [esi + 0x250]
test eax, eax
je 0x41f9d9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x250], 0
call fcn.004259f0
call dword [sym.imp.ole32.dll_CoUninitialize]
call fcn.0041c3e0
mov ecx, eax
call fcn.00403850
call fcn.0041e690
mov ecx, eax
pop esi
jmp fcn.00403850
pop esi
ret
Function at 0x41fa00
Capabilities:
Check if file exists
Contain obfuscated stackstrings
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d096b
mov eax, dword fs:[0]
push eax
sub esp, 0x2a0
mov eax, dword [0x5035d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ecx + 0x27c]
push eax
lea ecx, [ebp - 0x258]
call fcn.00409500
xor eax, eax
mov dword [ebp - 4], 0
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0x750053
lea edx, [eax + 2]
mov dword [ebp - 0x30], 0x580069
mov dword [ebp - 0x2c], 0x6e0069
mov dword [ebp - 0x28], 0x610044
mov dword [ebp - 0x24], 0x6d0065
mov dword [ebp - 0x20], 0x6e006f
mov dword [ebp - 0x1c], 0x65002e
mov dword [ebp - 0x18], 0x650078
nop dword [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41fa90
sub eax, edx
lea ecx, [ebp - 0x258]
sar eax, 1
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004090e0
cmp dword [ebp - 0x244], 8
lea eax, [ebp - 0x258]
cmovae eax, dword [ebp - 0x258]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41fbd5
push 0x20a
lea eax, [ebp - 0x240]
push 0
push eax
call fcn.004a4df0
cmp dword [ebp - 0x244], 8
lea eax, [ebp - 0x258]
push str.uninstall
cmovae eax, dword [ebp - 0x258]
push str.type
push eax
push str.__s____s_s
push 0xffffffffffffffff
lea eax, [ebp - 0x240]
push 0x104
push eax
call fcn.00407510
add esp, 0x28
mov dword [ebp - 0x25c], 0
lea eax, [ebp - 0x2ac]
mov dword [ebp - 0x29c], 0x44
xorps xmm0, xmm0
mov dword [ebp - 0x270], 1
movlpd qword [ebp - 0x298], xmm0
push eax
lea eax, [ebp - 0x29c]
movlpd qword [ebp - 0x290], xmm0
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x240]
movlpd qword [ebp - 0x288], xmm0
push eax
push 0
movlpd qword [ebp - 0x280], xmm0
movlpd qword [ebp - 0x278], xmm0
movlpd qword [ebp - 0x26c], xmm0
movlpd qword [ebp - 0x264], xmm0
movups xmmword [ebp - 0x2ac], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41fbd5
push 0x3a98
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x2a8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x2ac]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x244]
cmp edx, 8
jb 0x41fc11
mov ecx, dword [ebp - 0x258]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41fc07
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fc2a
push edx
push ecx
call fcn.004a1326
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a1365
mov esp, ebp
pop ebp
ret
call fcn.004a8d39
int3
Function at 0x420870
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ebx, ecx
push edi
push 0x4d443c
push 0x6e
xor edi, edi
mov dword [ebx + 0xc], eax
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
test eax, eax
je 0x42098b
push eax
push edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp + 8], esi
test esi, esi
je 0x42098b
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x42098b
inc esi
push esi
call fcn.004a1357
push esi
mov esi, eax
push edi
push esi
call fcn.004a4df0
push dword [ebp + 8]
push dword [ebp - 4]
push esi
call fcn.004a4870
mov eax, dword [ebp + 8]
add esp, 0x1c
push dword [ebp - 4]
mov byte [esi + eax], 0
call dword [sym.imp.KERNEL32.dll_FreeResource]
push dword [ebp + 8]
push esi
call fcn.00425a70
mov dword [ebx + 0x10], eax
test eax, eax
je 0x42097e
push 0x4d42e8
push dword [ebx + 0xc]
push eax
call fcn.00425ba0
test eax, eax
je 0x42097e
push 0x4d42e8
push dword [ebx + 0xc]
call fcn.0042e8d0
test eax, eax
je 0x420944
push 1
push eax
call fcn.004279c0
push str.btncancel
push dword [ebx + 0xc]
call fcn.0042e8d0
test eax, eax
je 0x42095e
push eax
push dword [ebx + 0xc]
call fcn.0042e900
push 5
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov dword [ebx + 4], 1
mov edi, 1
test esi, esi
je 0x42098b
push esi
call fcn.004a1360
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x420f60
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x5035d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x420f94
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x420f94
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
movzx eax, word [ebx]
test ax, ax
je 0x42105c
push esi
mov esi, ebx
mov ecx, ebx
mov edx, eax
cmp dx, 0x2f
je 0x420fb3
cmp dx, 0x5c
jne 0x420fb5
mov esi, ecx
movzx eax, word [ecx + 2]
add ecx, 2
mov edx, eax
test ax, ax
jne 0x420fa7
cmp esi, ebx
je 0x421003
sub esi, ebx
lea eax, [ebp - 0x414]
and esi, 0xfffffffe
push esi
push ebx
push eax
call fcn.004a4870
add esp, 0xc
cmp esi, 0x208
jae 0x42106c
xor eax, eax
mov word [ebp + esi - 0x414], ax
lea eax, [ebp - 0x414]
push eax
push edi
call fcn.00420f60
add esp, 8
xor eax, eax
mov word [ebp - 0x20c], ax
pop esi
test edi, edi
je 0x421026
push edi
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004ad31c
add esp, 0xc
push ebx
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.004ad2a7
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x42105c
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004a1365
mov esp, ebp
pop ebp
ret
call fcn.004a1c90
int3
Function at 0x421a30
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
mov dword [ebp - 8], ebx
cmp dword [ebx], 0
jne 0x421bd4
cmp dword [ebx + 4], 0xffffffff
jne 0x421bd4
push esi
lea esi, [ebx + 0x244]
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x421a67
sub ecx, edx
sar ecx, 1
movzx eax, word [ebx + ecx*2 + 0x242]
cmp eax, 0x5c
je 0x421a9b
cmp eax, 0x2f
je 0x421a9b
push 0x4f61d0
push 0x104
push esi
call fcn.004ad2a7
add esp, 0xc
push edi
mov edi, dword [ebp + 0x10]
cmp edi, 1
jne 0x421ac6
mov esi, dword [ebp + 8]
push edi
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x421ae1
pop edi
pop esi
mov eax, 0x2000000
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp edi, 2
je 0x421ade
cmp edi, 3
je 0x421ade
pop edi
pop esi
mov eax, 0x10000
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 8]
xor ebx, ebx
xor al, al
mov byte [ebp - 1], al
mov byte [ebp + 0x13], bl
cmp edi, 1
je 0x421b27
cmp edi, 2
jne 0x421b43
push ebx
push 0x80
push 3
push ebx
push 1
push accept
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x421b21
pop edi
pop esi
mov eax, 0x200
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov byte [ebp + 0x13], 1
jmp 0x421b2d
mov ebx, esi
mov byte [ebp + 0x13], 0
push 1
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
setne al
mov byte [ebp - 1], al
push 0x20
call fcn.004a1376
add esp, 4
mov esi, eax
cmp edi, 1
je 0x421b7e
cmp edi, 2
je 0x421b7e
mov eax, dword [ebp + 8]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xc]
mov word [esi], 0x100
mov byte [esi + 0x10], 0
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], 0
mov dword [esi + 0xc], 0
jmp 0x421baf
mov al, byte [ebp + 0x13]
mov byte [esi + 0x10], al
mov al, byte [ebp - 1]
mov byte [esi], 1
mov byte [esi + 1], al
mov dword [esi + 4], ebx
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
test al, al
je 0x421baf
push 1
push 0
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [esi + 0xc], eax
push esi
call fcn.00424bc0
mov ecx, dword [ebp - 8]
add esp, 4
mov edx, 0x200
mov dword [ecx], eax
xor ecx, ecx
test eax, eax
pop edi
cmove ecx, edx
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 0x1000000
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4222c0
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movsx eax, byte [ebp + 0xc]
mov ecx, dword [edx]
xor eax, ecx
movzx eax, al
shr ecx, 8
mov eax, dword [eax*4 + 0x4d5768]
xor eax, ecx
mov ecx, dword [edx + 8]
mov dword [edx], eax
movzx eax, al
add eax, dword [edx + 4]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x4d5768]
mov dword [edx + 8], ecx
pop ebp
ret
Function at 0x424780
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, esi
imul ebx, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
cmp byte [edi], 0
je 0x4247be
push 0
lea eax, [ebp + 0xc]
push eax
push ebx
push dword [ebp + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4247b2
mov byte [edi + 8], 1
mov eax, dword [ebp + 0xc]
xor edx, edx
pop edi
div esi
pop esi
pop ebx
pop ebp
ret
mov edx, dword [edi + 0x1c]
mov esi, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
sub esi, edx
lea eax, [edx + ebx]
cmp eax, dword [edi + 0x18]
cmovbe esi, ebx
add ecx, edx
push esi
push ecx
push dword [ebp + 8]
call fcn.004a4870
add dword [edi + 0x1c], esi
add esp, 0xc
mov eax, esi
xor edx, edx
div dword [ebp + 0xc]
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4247f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x4247fe
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not eax
cmp esi, 8
jb 0x4248bd
push edi
mov edi, esi
shr edi, 3
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4d5768]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4d5768]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4d5768]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4d5768]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4d5768]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4d5768]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4d5768]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4d5768]
sub edi, 1
jne 0x424816
pop edi
test esi, esi
je 0x4248db
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x4d5768]
sub esi, 1
jne 0x4248c1
not eax
pop esi
pop ebp
ret
Function at 0x4256b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 1
cmp byte [esi], 0
je 0x4256e4
push 0
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xb]
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4256df
mov byte [esi + 8], 1
mov edi, dword [ebp - 4]
jmp 0x425710
mov ecx, dword [esi + 0x18]
push ebx
mov ebx, dword [esi + 0x1c]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x4256f6
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x14]
add eax, ebx
push edi
push eax
lea eax, [ebp + 0xb]
push eax
call fcn.004a4870
add esp, 0xc
lea eax, [ebx + edi]
mov dword [esi + 0x1c], eax
pop ebx
cmp edi, 1
jne 0x425726
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp + 0xb]
mov dword [eax], ecx
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x42571e
cmp byte [esi + 8], 0
je 0x42571e
pop edi
or eax, 0xffffffff
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4291f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0bc1
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5035d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
lea ebx, [edi + 0x38]
mov dword [edi], 0
mov ecx, ebx
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [ebp + 8], ebx
mov dword [ebx], 0
mov dword [ebx + 4], 0
call fcn.0042e230
mov dword [ebx], eax
lea esi, [edi + 0x40]
mov dword [ebp - 4], 0
mov ecx, esi
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00425870
mov dword [esi], eax
add edi, 0x48
mov byte [ebp - 4], 1
mov ecx, edi
mov dword [ebp + 8], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0042e250
mov dword [edi], eax
mov eax, dword [ebp - 0x10]
mov ecx, ebx
mov dword [eax + 0x50], 0
call fcn.0042e6d0
mov ecx, esi
call fcn.004258d0
mov esi, dword [edi]
mov ecx, edi
mov byte [ebp - 4], 3
push dword [esi + 4]
call fcn.0042e4a0
mov eax, dword [edi]
mov byte [ebp - 4], 2
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 8], esi
mov dword [edi + 4], 0
call fcn.00435410
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x28], eax
mov eax, ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x429d00
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x5035d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [edi], 0
je 0x429e7b
test ebx, ebx
je 0x429e7b
cmp word [ebx], 0
je 0x429e7b
push esi
push 0xfffffffffffffff0
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x429df9
push dword [edi + 0x18]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp esi, eax
jne 0x429df9
mov eax, dword [edi + 0x18]
xorps xmm0, xmm0
push 0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x34], 0x2c
mov dword [ebp - 0x30], 0xa1
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x432
push dword [edi]
mov dword [ebp - 0x10], ebx
call esi
lea ecx, [ebp - 0x3c]
call fcn.00434840
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x38]
add eax, 0xf
movzx ecx, ax
mov eax, dword [ebp - 0x3c]
add eax, 0xf
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push 0
push 0x412
push dword [edi]
call esi
lea eax, [ebp - 0x34]
push eax
push 1
push 0x411
jmp 0x429e76
mov eax, dword [edi + 0x18]
xorps xmm0, xmm0
push 0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
movlpd qword [ebp - 0x14], xmm0
movlpd qword [ebp - 0xc], xmm0
mov dword [ebp - 0x34], 0x2c
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 1
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
push dword [edi + 0x18]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x34]
push eax
push 0
push 0x432
push dword [edi]
call esi
lea ecx, [ebp - 0x3c]
call fcn.00434840
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0
push 0
push 0x41c
push dword [edi]
call esi
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.004a1365
mov esp, ebp
pop ebp
ret 4