joyce8/EMBER2024-capa huggingface dataset:
Function at 0x417e00
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
mov ebx, ecx
lea esi, [edx + 1]
push edi
mov dword [ebp - 0x24], ebx
xor edi, edi
nop word [eax + eax]
movzx edx, byte [esi - 1]
lea esi, [esi + 4]
movzx eax, byte [esi - 4]
shl edx, 8
or edx, eax
movzx eax, byte [esi - 3]
shl edx, 8
or edx, eax
movzx eax, byte [esi - 2]
shl edx, 8
or edx, eax
mov dword [ebp + edi*4 - 0x128], edx
inc edi
cmp edi, 0x10
jb 0x417e20
cmp edi, 0x40
jae 0x417e9f
mov ebx, 0x40
lea eax, [ebp + edi*4 - 0x130]
sub ebx, edi
mov edx, dword [eax]
lea eax, [eax + 4]
mov esi, dword [eax - 0x38]
mov edi, edx
mov ecx, edx
rol edi, 0xf
rol ecx, 0xd
xor edi, ecx
shr edx, 0xa
xor edi, edx
mov ecx, esi
mov edx, esi
ror ecx, 7
rol edx, 0xe
xor edx, ecx
shr esi, 3
xor edx, esi
add edi, edx
add edi, dword [eax - 0x3c]
add edi, dword [eax - 0x18]
mov dword [eax + 4], edi
sub ebx, 1
jne 0x417e62
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx + 0x50]
xor edx, edx
mov dword [ebp - 0x28], eax
mov edi, eax
mov eax, dword [ebx + 0x54]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x58]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x6c]
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edx
nop dword [eax]
mov esi, ebx
mov eax, ebx
rol eax, 7
mov ecx, ebx
ror esi, 0xb
not ecx
and ecx, dword [ebp - 0xc]
xor esi, eax
mov eax, ebx
ror eax, 6
xor esi, eax
mov eax, dword [ebp - 8]
and eax, ebx
xor ecx, eax
mov eax, edi
add esi, ecx
rol eax, 0xa
add esi, dword [edx + 0x53a960]
add esi, dword [ebp + edx - 0x128]
mov edx, edi
add esi, dword [ebp - 0x1c]
ror edx, 0xd
xor edx, eax
mov eax, edi
ror eax, 2
xor edx, eax
mov eax, dword [ebp - 0x10]
mov ecx, eax
and eax, edi
xor ecx, edi
and ecx, dword [ebp - 4]
xor ecx, eax
mov eax, dword [ebp - 0xc]
add edx, ecx
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov ecx, edi
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 0x14]
lea edi, [edx + esi]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x20]
add ebx, esi
mov eax, dword [ebp - 4]
add edx, 4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x20], edx
cmp edx, 0x100
jb 0x417ee0
mov eax, dword [ebp - 0x28]
add eax, edi
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x24]
pop edi
pop esi
add dword [ebx + 0x54], ecx
mov dword [ebx + 0x50], eax
mov eax, dword [ebp - 4]
add dword [ebx + 0x58], eax
mov eax, dword [ebp - 0x14]
add dword [ebx + 0x5c], eax
mov eax, dword [ebp - 0x18]
add dword [ebx + 0x60], eax
mov eax, dword [ebp - 8]
add dword [ebx + 0x64], eax
mov eax, dword [ebp - 0xc]
add dword [ebx + 0x68], eax
mov eax, dword [ebp - 0x1c]
add dword [ebx + 0x6c], eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417fb0
Capabilities:
Get common file path
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5503dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
lea eax, [ebp - 0x210]
push 0x104
push eax
mov dword [esi], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x417ff3
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004c9018
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x210]
push 0x53c52c
push eax
call fcn.004ed3da
add esp, 8
test eax, eax
je 0x418011
xor ecx, ecx
mov word [eax + 2], cx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], 0
push eax
push 0
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x417fe2
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
mov dword [esi], eax
xor ecx, ebp
mov al, 1
pop esi
call fcn.004c9018
mov esp, ebp
pop ebp
ret

Function at 0x418060
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507f68
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5503dc]
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, edx
mov dword [ebp - 0x24], edi
mov ebx, ecx
push 0x100
call fcn.0041c686
mov esi, eax
add esp, 4
mov dword [ebp - 0x1c], esi
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x80
push eax
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x44
push eax
push edi
push ebx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov edi, eax
test edi, edi
jne 0x41813c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x41813a
cmp dword [ebp - 0x14], 0x44
jbe 0x4180eb
xor bl, bl
jmp 0x41813f
mov eax, dword [ebp - 0x20]
cmp eax, 0x80
jbe 0x41811f
xor ecx, ecx
mov edx, 2
mul edx
mov edi, esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0041c686
add esp, 4
mov esi, eax
test edi, edi
je 0x41811f
push edi
call fcn.004c904c
add esp, 4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
push esi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
push ebx
push 0
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov edi, eax
test edi, edi
setne bl
test esi, esi
je 0x41814c
push esi
call fcn.004c904c
add esp, 4
mov al, bl
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.004c9018
mov esp, ebp
pop ebp
ret
Function at 0x41973b
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0xa4
mov eax, 0x508803
call fcn.004c969a
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x40]
push 0x1e
push 0x53b380
call fcn.00418a5d
and dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x419768
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x58]
call fcn.00407a10
push 0
xor ebx, ebx
lea eax, [ebp - 0x58]
inc ebx
lea ecx, [ebp - 0xb0]
push ebx
push eax
push reloc.WS2_32.dll_accept
mov byte [ebp - 4], bl
call fcn.0042a210
lea ecx, [ebp - 0x58]
call fcn.004078d0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.004078d0
push str.Path
lea ecx, [ebp - 0x70]
call fcn.00407a10
lea eax, [ebp - 0x70]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0xb0]
call fcn.0042a2b0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 7
call fcn.004078d0
cmp dword [ebp - 0x18], 0
je 0x419876
push 0x53c21c
lea ecx, [ebp - 0x28]
call fcn.00407850
push 0xf
push 0x53b370
lea ecx, [ebp - 0x40]
call fcn.00418a5d
mov byte [ebp - 4], 8
cmp dword [eax + 0x14], 0x10
jb 0x419804
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.00407850
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.004078d0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x419876
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004291a0
cmp dword [esi + 0x14], 8
pop ecx
pop ecx
jb 0x419849
mov esi, dword [esi]
cmp dword [eax + 0x14], 8
jb 0x419851
mov eax, dword [eax]
push 3
push 0
push esi
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x88]
mov esi, eax
call fcn.00407750
cmp esi, 0x20
ja 0x419878
xor bl, bl
lea ecx, [ebp - 0x28]
call fcn.004078d0
lea ecx, [ebp - 0xb0]
call fcn.0042a260
mov al, bl
call fcn.004c9655
ret

Function at 0x41bceb
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x5503dc]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x22c
xor ebx, ebx
lea eax, [ebp - 0x230]
push ebx
push eax
mov edi, ecx
call fcn.004debe0
add esp, 0xc
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x41bd2d
xor al, al
jmp 0x41bd82
lea eax, [ebp - 0x230]
mov dword [ebp - 0x230], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x41bd71
cmp dword [edi + 0x14], 8
jb 0x41bd50
mov eax, dword [edi]
jmp 0x41bd52
mov eax, edi
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x41bd77
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41bd46
jmp 0x41bd79
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c9018
mov esp, ebp
pop ebp
ret
Function at 0x41c2d2
Capabilities:
Check if file exists

Disassembly:
push 0x58
mov eax, 0x508b88
call fcn.004c969a
mov dword [ebp - 0x5c], edx
mov esi, ecx
mov dword [ebp - 0x60], esi
mov edi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
mov bl, byte [ebp + 0xc]
mov dword [ebp - 4], eax
test bl, bl
je 0x41c371
push str..MD5
push edx
lea eax, [ebp - 0x58]
push eax
call fcn.00413220
add esp, 0xc
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0041c27e
push eax
lea ecx, [ebp - 0x28]
call fcn.00407910
lea ecx, [ebp - 0x40]
call fcn.004078d0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0
call fcn.004078d0
cmp dword [edi + 0x14], 0x10
jb 0x41c34c
mov eax, dword [edi]
jmp 0x41c34e
mov eax, edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x41c371
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.0042dff0
test al, al
je 0x41c371
push edi
mov ecx, esi
call fcn.00412410
jmp 0x41c3a5
mov ecx, dword [ebp - 0x5c]
mov edx, edi
call fcn.004271e8
test al, al
je 0x41c391
test bl, bl
je 0x41c367
lea edx, [ebp - 0x28]
mov ecx, edi
call fcn.0042dff0
test al, al
jne 0x41c367
and dword [esi + 0x10], 0
mov ecx, esi
push 0
mov dword [esi + 0x14], 0xf
call fcn.00408560
lea ecx, [ebp - 0x28]
call fcn.004078d0
mov eax, esi
call fcn.004c9655
ret

Function at 0x41ca76
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], ecx
call fcn.004e2613
mov edi, eax
mov eax, dword [ebp + 0xc]
cdq
and edx, 3
lea esi, [edx + eax]
mov eax, edi
sar esi, 2
cdq
inc esi
idiv esi
mov dword [ebp + 0xc], edx
call fcn.004e2613
mov esi, eax
mov eax, dword [ebp + 0x10]
cdq
and edx, 3
lea ecx, [edx + eax]
mov eax, esi
sar ecx, 2
inc ecx
cdq
idiv ecx
mov eax, dword [ebp + 0xc]
test al, 1
jne 0x41cac5
add ebx, eax
jmp 0x41cac7
sub ebx, eax
mov eax, dword [ebp + 8]
test dl, 1
jne 0x41cad3
add eax, edx
jmp 0x41cad5
sub eax, edx
mov ecx, dword [ebp - 4]
mov dword [0x57e87c], eax
mov al, byte [ebp + 0x14]
mov byte [0x57e880], al
lea eax, [ebp - 8]
push eax
xor eax, eax
mov dword [0x57e874], ecx
push eax
push eax
push 0x41c6b7
push eax
push eax
mov dword [0x57e878], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41d86c
Capabilities:
Enumerate processes

Disassembly:
push 0x260
mov eax, 0x508d91
call fcn.004c969a
mov edi, ecx
push 0x22c
lea eax, [ebp - 0x26c]
push 0
push eax
call fcn.004debe0
add esp, 0xc
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
jne 0x41d8a7
xor al, al
jmp 0x41d918
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], 0x22c
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x41d90b
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x28]
call fcn.004077c0
and dword [ebp - 4], 0
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x40]
call fcn.00426a06
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0041dff5
lea ecx, [ebp - 0x40]
call fcn.004078d0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00407750
lea eax, [ebp - 0x26c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x41d8c0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
call fcn.004c9655
ret

Function at 0x41d91e
Capabilities:
Enumerate services

Disassembly:
push 0x58
mov eax, 0x508dd1
call fcn.004c969a
mov ebx, ecx
push 4
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
je 0x41da07
xor eax, eax
mov dword [ebp - 0x14], 0xf
mov ecx, eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
mov dword [ebp - 4], eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.00412310
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
lea ecx, [ebp - 0x60]
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 1
push 0x3b
push edi
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x41d9ab
cmp eax, 0xea
je 0x41d9a6
cmp eax, 0x7a
jne 0x41d9ff
mov ecx, dword [ebp - 0x60]
jmp 0x41d95f
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
xor edi, edi
cmp dword [ebp - 0x5c], edi
jle 0x41d9ff
push dword [esi]
lea ecx, [ebp - 0x40]
call fcn.004077c0
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00426a06
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.0041dff5
lea ecx, [ebp - 0x58]
call fcn.004078d0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.00407750
inc edi
lea esi, [esi + 0x24]
cmp edi, dword [ebp - 0x5c]
jl 0x41d9bd
lea ecx, [ebp - 0x28]
call fcn.004078d0
call fcn.004c9655
ret

Function at 0x41e9be
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov esi, dword [ebx]
test esi, esi
jne 0x41e9d3
xor eax, eax
jmp 0x41e9ef
push dword [edi]
push esi
push 1
push edx
call fcn.004ed32a
add esp, 0x10
mov dword [ebx], eax
cmp eax, esi
je 0x41e9cf
push dword [edi]
call fcn.004edaaf
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x41e9f4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov esi, dword [ebx]
test esi, esi
jne 0x41ea09
xor eax, eax
jmp 0x41ea25
push dword [edi]
push esi
push 1
push edx
call fcn.004ecb31
add esp, 0x10
mov dword [ebx], eax
cmp eax, esi
je 0x41ea05
push dword [edi]
call fcn.004edaaf
pop ecx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41eee0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov esi, dword [ebp + 0xc]
mov eax, ecx
push edi
xor edi, edi
mov dword [ebp - 4], eax
mov esi, dword [esi]
and esi, 7
cmp edx, 5
jae 0x41ef03
xor eax, eax
jmp 0x41f03d
push ebx
lea ecx, [edx - 4]
or ebx, 0xffffffff
add ecx, eax
mov dword [ebp - 8], ecx
lea edx, [edi + eax]
cmp edx, ecx
jae 0x41ef26
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x41ef23
inc edx
cmp edx, ecx
jb 0x41ef16
mov eax, dword [ebp - 4]
mov edi, edx
sub edi, eax
cmp edx, ecx
jae 0x41f021
mov ecx, edi
sub ecx, ebx
cmp ecx, 3
jbe 0x41ef5d
xor esi, esi
mov al, byte [edx + 4]
mov ebx, edi
mov dword [ebp - 0x14], ebx
test al, al
je 0x41ef9a
cmp al, 0xff
je 0x41ef9a
and esi, 3
xor eax, eax
add esi, esi
or esi, 1
inc eax
jmp 0x41f01a
dec ecx
shl esi, cl
and esi, 7
je 0x41ef3d
movzx eax, byte [esi + 0x53baf4]
mov ecx, edx
sub ecx, eax
cmp byte [esi + 0x53baa0], 0
mov al, byte [ecx + 4]
je 0x41ef84
test al, al
je 0x41ef84
cmp al, 0xff
jne 0x41ef3d
and esi, 3
mov ebx, edi
add esi, esi
or esi, 1
inc edi
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
jmp 0x41ef0f
movzx ebx, al
movzx eax, byte [edx + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 1]
shl ebx, 8
or ebx, eax
sub ebx, edi
sub ebx, 5
mov dword [ebp - 0x10], ebx
test esi, esi
je 0x41eff3
movzx eax, byte [esi + 0x53baf4]
shl eax, 3
push 0x18
pop ecx
sub ecx, eax
mov dword [ebp - 0xc], eax
mov eax, ebx
shr eax, cl
test al, al
je 0x41efe2
cmp al, 0xff
jne 0x41eff3
xor ebx, ebx
push 0x20
pop ecx
sub ecx, dword [ebp - 0xc]
inc ebx
shl ebx, cl
dec ebx
xor ebx, dword [ebp - 0x10]
jmp 0x41efb8
mov eax, ebx
mov byte [edx + 1], bl
shr eax, 0x18
and al, 1
dec al
not al
mov byte [edx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 3], al
mov eax, ebx
mov ebx, dword [ebp - 0x14]
shr eax, 8
push 5
mov byte [edx + 2], al
pop eax
add edi, eax
jmp 0x41ef8f
mov edx, edi
xor eax, eax
sub edx, ebx
pop ebx
lea ecx, [edx - 1]
shl esi, cl
and esi, 7
cmp edx, 3
cmova esi, eax
mov eax, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41f1d1
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
xor edx, edx
push 8
mov ecx, edx
pop esi
mov eax, ecx
shr ecx, 1
and eax, 1
dec eax
not eax
and eax, 0xedb88320
xor ecx, eax
sub esi, 1
jne 0x41f1d9
mov dword [edx*4 + 0x57b0b0], ecx
inc edx
cmp edx, 0x100
jb 0x41f1d4
mov esi, 0x800
jmp 0x41f222
mov ecx, dword [edx*4 + 0x57acb0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x57b0b0]
mov dword [edx*4 + 0x57b0b0], ecx
inc edx
cmp edx, esi
jb 0x41f206
mov dword [0x57e884], 0x41f24d
call fcn.0041f10a
mov ecx, dword [0x57e884]
test eax, eax
mov edx, 0x41f2e6
cmove ecx, edx
mov dword [0x57e884], ecx
pop esi
ret
Function at 0x423603
Capabilities:
Get system information on windows

Disassembly:
push 0x4c
mov eax, 0x508fea
call fcn.004c969a
mov esi, edx
push ecx
lea ecx, [ebp - 0x58]
call fcn.00423d64
xor ebx, ebx
lea ecx, [ebp - 0x54]
push esi
mov dword [ebp - 4], ebx
call fcn.00423d64
push ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
push dword [ebp - 0x58]
call fcn.00423ba4
test eax, eax
js 0x4237a3
mov eax, dword [ebp - 0x54]
add eax, 0xfffffff0
push eax
call fcn.00423e52
add eax, 0x10
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x50]
push dword [ebp - 0x58]
call fcn.00423bde
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x4c], 9
je 0x423694
cmp word [ebp - 0x4c], 6
je 0x423694
push ebx
push 0x53e22c
lea ecx, [ebp - 0x50]
call fcn.00423ba4
test eax, eax
js 0x423798
jmp 0x4237c5
push 0x11
push 0x53bac8
lea ecx, [ebp - 0x40]
call fcn.00418a5d
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 0x10
jb 0x4236af
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00418f14
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x4236c3
mov eax, dword [eax]
push ebx
push eax
lea ecx, [ebp - 0x50]
call fcn.00423ba4
test eax, eax
lea ecx, [ebp - 0x28]
setns bl
call fcn.00407750
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.004078d0
test bl, bl
jne 0x4237c3
push 0x15
push 0x53bab0
lea ecx, [ebp - 0x28]
call fcn.00418a5d
mov byte [ebp - 4], 4
cmp dword [eax + 0x14], 0x10
jb 0x423709
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00418f14
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x42371d
mov eax, dword [eax]
xor esi, esi
lea ecx, [ebp - 0x50]
push esi
push eax
call fcn.00423ba4
test eax, eax
lea ecx, [ebp - 0x40]
setns bl
call fcn.00407750
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004078d0
test bl, bl
jne 0x4237c3
push 0x15
push 0x53badc
lea ecx, [ebp - 0x28]
call fcn.00418a5d
mov byte [ebp - 4], 5
cmp dword [eax + 0x14], 0x10
jb 0x423761
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00418f14
pop ecx
pop ecx
cmp dword [eax + 0x14], 8
jb 0x423775
mov eax, dword [eax]
push esi
push eax
lea ecx, [ebp - 0x50]
call fcn.00423ba4
test eax, eax
lea ecx, [ebp - 0x40]
setns bl
call fcn.00407750
lea ecx, [ebp - 0x28]
call fcn.004078d0
test bl, bl
jne 0x4237c3
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.0041e8f0
mov bl, 1
mov ecx, dword [ebp - 0x54]
add ecx, 0xfffffff0
call fcn.0041e8f0
mov ecx, dword [ebp - 0x58]
add ecx, 0xfffffff0
call fcn.0041e8f0
mov al, bl
call fcn.004c9655
ret
xor ebx, ebx
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.0041e8f0
jmp 0x4237a5
Function at 0x424305
Capabilities:
Terminate process

Disassembly:
push esi
push 0
mov esi, ecx
push 0
push 0x10
push dword [esi + 4]
mov dword [esi], vtable.ExclusiveWindow.0
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x1388
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x424337
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
lea ecx, [esi + 0x40]
call fcn.00407750
cmp dword [esi + 0x14], 0
je 0x42434d
push dword [esi + 0x14]
call fcn.0044ae39
pop esi
ret

Function at 0x42434f
Capabilities:
Create thread

Disassembly:
push 0x50
mov eax, 0x50904a
call fcn.004c969a
mov ebx, ecx
mov esi, dword [ebp + 8]
and dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x34], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebx + 0x38], eax
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov ecx, eax
mov dword [ebx + 0x24], eax
call fcn.0042427e
push esi
lea ecx, [ebp - 0x28]
call fcn.00407a10
push str._sleepquit
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00407850
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_RegisterWindowMessageA]
mov ecx, eax
mov dword [ebx + 0x28], eax
call fcn.0042427e
cmp dword [ebp + 0x24], 0
jne 0x424401
push 0xd
push 0x53bb0c
lea ecx, [ebp - 0x58]
call fcn.00418a5d
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 0x10
jb 0x4243d8
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00428f90
pop ecx
pop ecx
push eax
lea ecx, [ebp + 0x14]
call fcn.00418ab8
lea ecx, [ebp - 0x40]
call fcn.00407750
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.004078d0
cmp dword [ebp + 0x28], 8
lea eax, [ebp + 0x14]
cmovae eax, dword [ebp + 0x14]
push eax
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov ecx, eax
mov dword [ebx + 0x2c], eax
call fcn.0042427e
lea ecx, [ebx + 0x40]
lea eax, [ebp + 0x14]
cmp ecx, eax
je 0x424431
push 0xffffffffffffffff
push 0
push eax
call fcn.004083d0
xor ecx, ecx
lea eax, [ebp - 0x5c]
push eax
push ecx
push ebx
push 0x424464
push ecx
push ecx
mov dword [ebp - 0x5c], ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 0x28]
mov dword [ebx + 0x30], eax
call fcn.004078d0
lea ecx, [ebp + 0x14]
call fcn.00407750
call fcn.004c9655
ret 0x24