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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
lea edi, [ebp - 0xcc]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0x100
mov eax, dword [ebp + 0x10]
or eax, 0x100
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x14]
shl eax, 1
mov dword [ebp + 0x14], eax
mov eax, dword [ebp + 0x10]
shr eax, 7
and eax, 1
push eax
mov ecx, dword [ebp + 0x14]
and ecx, dword [ebp - 8]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x10]
shr edx, 8
add ecx, edx
mov eax, dword [ebp + 0xc]
lea ecx, [eax + ecx*2]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0053e420
mov eax, dword [ebp + 0x10]
shl eax, 1
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x14]
xor eax, dword [ebp + 0x10]
not eax
and eax, dword [ebp - 8]
mov dword [ebp - 8], eax
cmp dword [ebp + 0x10], 0x10000
jb 0x53e590
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret 0x10

Function at 0x540890
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
lea edi, [ebp - 0xcc]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0xc]
or eax, 0x100
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
shr eax, 8
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp + 0xc]
shr eax, 7
and eax, 1
neg eax
and eax, 0x7ff
xor edx, eax
sar edx, 4
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp - 8]
add eax, dword [ecx + edx*4]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
shl eax, 1
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0xc], 0x10000
jb 0x5408c0
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x540910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
lea edi, [ebp - 0xd8]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0x100
mov eax, dword [ebp + 0xc]
or eax, 0x100
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
shl eax, 1
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
and eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
shr ecx, 8
add eax, ecx
mov edx, dword [ebp + 8]
movzx eax, word [edx + eax*2]
mov ecx, dword [ebp + 0xc]
shr ecx, 7
and ecx, 1
neg ecx
and ecx, 0x7ff
xor eax, ecx
sar eax, 4
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
add ecx, dword [edx + eax*4]
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
shl eax, 1
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x10]
xor eax, dword [ebp + 0xc]
not eax
and eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0xc], 0x10000
jb 0x540947
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x542010
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
push ebx
push esi
push edi
lea edi, [ebp - 0xe4]
mov ecx, 0x39
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 0x14], 0x100000
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
jbe 0x542043
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov esi, esp
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov edi, esp
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
cmp edi, esp
call fcn.005848f3
push eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
cmp esi, esp
call fcn.005848f3
mov dword [ebp - 0x20], eax
cmp dword [ebp + 0x14], 0
je 0x542083
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 8]
mov dword [eax], ecx
cmp dword [ebp - 0x20], 0
jne 0x5420a1
mov esi, esp
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp esi, esp
call fcn.005848f3
cmp eax, 0x6d
jne 0x5420a1
xor eax, eax
jmp 0x5420b1
cmp dword [ebp - 0x20], 0
setne al
movzx ecx, al
push ecx
call fcn.00541f40
push edx
mov ecx, ebp
push eax
lea edx, [0x5420d8]
call fcn.00584916
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xe4
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret 0x10

Function at 0x5424f0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
push ebx
push esi
push edi
lea edi, [ebp - 0xe4]
mov ecx, 0x39
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
cmp dword [ebp + 0x14], 0
je 0x54251d
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov dword [ebp - 0x14], 1
cmp dword [ebp + 0x10], 0
jbe 0x542596
mov dword [ebp - 0x20], 0x8000
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 0x10]
jbe 0x54253f
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
mov esi, esp
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov edi, esp
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
cmp edi, esp
call fcn.005848f3
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
cmp esi, esp
call fcn.005848f3
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 8]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 8]
mov dword [ebp + 0xc], eax
cmp dword [ebp + 0x14], 0
je 0x542596
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
add ecx, dword [ebp - 8]
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
cmp dword [ebp - 0x14], 0
setne al
movzx ecx, al
push ecx
call fcn.00541f40
push edx
mov ecx, ebp
push eax
lea edx, [0x5425d0]
call fcn.00584916
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xe4
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret 0x10
Function at 0x542740
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xe4]
mov ecx, 0x39
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov esi, esp
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
cmp esi, esp
call fcn.005848f3
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
jne 0x54279c
mov esi, esp
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp esi, esp
call fcn.005848f3
test eax, eax
je 0x54279c
xor al, al
jmp 0x5427bb
mov eax, dword [ebp - 0x14]
xor edx, edx
mov cl, 0x20
call fcn.005862f0
mov ecx, dword [ebp - 0x20]
xor esi, esi
add eax, ecx
adc edx, esi
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov al, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x5427e4]
call fcn.00584916
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xe4
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret 4

Function at 0x542a40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xe4]
mov ecx, 0x39
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], 0
mov esi, esp
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
cmp esi, esp
call fcn.005848f3
push eax
call fcn.00518ea0
mov byte [ebp - 0x1d], al
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov al, byte [ebp - 0x1d]
push edx
mov ecx, ebp
push eax
lea edx, [0x542ac8]
call fcn.00584916
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xe4
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret 0xc

Function at 0x542dc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xe4]
mov ecx, 0x39
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 0xc]
cmp eax, dword [0x65ecc4]
jbe 0x542df6
mov eax, dword [0x65ecc4]
mov dword [ebp + 0xc], eax
mov dword [ebp - 0x14], 0
mov esi, esp
push 0
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
cmp esi, esp
call fcn.005848f3
push eax
call fcn.00518ea0
mov byte [ebp - 0x1d], al
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov al, byte [ebp - 0x1d]
push edx
mov ecx, ebp
push eax
lea edx, [0x542e5c]
call fcn.00584916
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xe4
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret 0xc
Function at 0x542f50
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xcc]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 8], ecx
mov esi, esp
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
cmp esi, esp
call fcn.005848f3
push eax
call fcn.00518ea0
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret

Function at 0x543060
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push ebx
push esi
push edi
lea edi, [ebp - 0xd0]
mov ecx, 0x34
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
push 0x105
push 0x105
mov ecx, dword [ebp + 8]
call fcn.00513460
push eax
call dword [sym.imp.KERNEL32.DLL_GetWindowsDirectoryW]
cmp esi, esp
call fcn.005848f3
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
call fcn.005445a0
cmp dword [ebp - 8], 0
jbe 0x5430c6
cmp dword [ebp - 8], 0x104
ja 0x5430c6
mov dword [ebp - 0xd0], 1
jmp 0x5430d0
mov dword [ebp - 0xd0], 0
mov al, byte [ebp - 0xd0]
pop edi
pop esi
pop ebx
add esp, 0xd0
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret 4

Function at 0x5431a0
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
push edi
lea edi, [ebp - 0xc0]
mov ecx, 0x30
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
cmp esi, esp
call fcn.005848f3
test eax, eax
je 0x5431dd
mov al, 1
jmp 0x5431df
xor al, al
pop edi
pop esi
pop ebx
add esp, 0xc0
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret 8

Function at 0x543200
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
push edi
lea edi, [ebp - 0xc0]
mov ecx, 0x30
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
cmp esi, esp
call fcn.005848f3
test eax, eax
je 0x543239
mov al, 1
jmp 0x54323b
xor al, al
pop edi
pop esi
pop ebx
add esp, 0xc0
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret 4

Function at 0x543260
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
push edi
lea edi, [ebp - 0xc0]
mov ecx, 0x30
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
cmp esi, esp
call fcn.005848f3
test eax, eax
je 0x54329d
mov al, 1
jmp 0x54329f
xor al, al
pop edi
pop esi
pop ebx
add esp, 0xc0
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret 8
Function at 0x5432c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
push edi
lea edi, [ebp - 0xc0]
mov ecx, 0x30
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
cmp esi, esp
call fcn.005848f3
test eax, eax
je 0x5432fb
mov al, 1
jmp 0x5432fd
xor al, al
pop edi
pop esi
pop ebx
add esp, 0xc0
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret 4

Function at 0x543730
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push ebx
push esi
push edi
lea edi, [ebp - 0xc0]
mov ecx, 0x30
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
push 0
mov eax, dword [ebp + 8]
push eax
call fcn.005431a0
movzx ecx, al
test ecx, ecx
jne 0x543764
xor al, al
jmp 0x543781
mov esi, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp esi, esp
call fcn.005848f3
test eax, eax
je 0x54377f
mov al, 1
jmp 0x543781
xor al, al
pop edi
pop esi
pop ebx
add esp, 0xc0
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret 4

Function at 0x543e40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push ebx
push esi
push edi
lea edi, [ebp - 0xd0]
mov ecx, 0x34
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
push 0x105
mov ecx, dword [ebp + 8]
call fcn.00513460
mov esi, esp
push eax
push 0x105
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
cmp esi, esp
call fcn.005848f3
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
call fcn.005445a0
cmp dword [ebp - 8], 0
jbe 0x543ea6
cmp dword [ebp - 8], 0x104
ja 0x543ea6
mov dword [ebp - 0xd0], 1
jmp 0x543eb0
mov dword [ebp - 0xd0], 0
mov al, byte [ebp - 0xd0]
pop edi
pop esi
pop ebx
add esp, 0xd0
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret 4

Function at 0x543fc0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd0
push ebx
push esi
push edi
lea edi, [ebp - 0xd0]
mov ecx, 0x34
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
push 0x105
mov ecx, dword [ebp + 8]
call fcn.00513460
mov esi, esp
push eax
push 0x105
call dword [sym.imp.KERNEL32.DLL_GetTempPathW]
cmp esi, esp
call fcn.005848f3
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 8]
call fcn.005445a0
cmp dword [ebp - 8], 0
jbe 0x544026
cmp dword [ebp - 8], 0x104
ja 0x544026
mov dword [ebp - 0xd0], 1
jmp 0x544030
mov dword [ebp - 0xd0], 0
mov al, byte [ebp - 0xd0]
pop edi
pop esi
pop ebx
add esp, 0xd0
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret 4
Function at 0x544050
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
lea edi, [ebp - 0xcc]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
push 0x105
mov ecx, dword [ebp + 0x10]
call fcn.00513460
mov esi, esp
push eax
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetTempFileNameW]
cmp esi, esp
call fcn.005848f3
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0x10]
call fcn.005445a0
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret 0xc

Function at 0x5508e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ec25b
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xd8]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x65f810]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0051f6d0
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.0050a120
mov eax, dword [ebp - 0x14]
mov dword [eax], vtable.CLocalProgress.0
mov ecx, dword [ebp - 0x14]
add ecx, 8
call fcn.0050a120
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.0050a120
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x18], 0
mov dword [edx + 0x1c], 0
mov eax, dword [ebp - 0x14]
mov byte [eax + 0x31], 1
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x30], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret

Function at 0x555470
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
push ebx
push esi
push edi
lea edi, [ebp - 0xcc]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0
push 0
call fcn.0057e29f
add esp, 0x18
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.00555280
push edx
mov ecx, ebp
push eax
lea edx, [0x5554e0]
call fcn.00584916
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xcc
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret 0xc

Function at 0x559c90
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xec
push ebx
push esi
push edi
lea edi, [ebp - 0xec]
mov ecx, 0x3b
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemInfo]
cmp esi, esp
call fcn.005848f3
mov eax, dword [ebp - 0x14]
push edx
mov ecx, ebp
push eax
lea edx, [0x559cec]
call fcn.00584916
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0xec
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret
Function at 0x559d10
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
push ebx
push esi
push edi
lea edi, [ebp - 0x13c]
mov ecx, 0x4f
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 0x44], 0x40
mov esi, esp
push str.GlobalMemoryStatusEx
mov edi, esp
push 0x601a50
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
cmp edi, esp
call fcn.005848f3
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
cmp esi, esp
call fcn.005848f3
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x559d92
mov esi, esp
lea eax, [ebp - 0x44]
push eax
call dword [ebp - 0x50]
cmp esi, esp
call fcn.005848f3
test eax, eax
je 0x559d92
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0051a8e0
jmp 0x559dbb
mov dword [ebp - 0x78], 0x20
mov esi, esp
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.KERNEL32.DLL_GlobalMemoryStatus]
cmp esi, esp
call fcn.005848f3
mov eax, dword [ebp - 0x70]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
call fcn.005267b0
xor edx, edx
push edx
mov ecx, ebp
push eax
lea edx, [0x559de0]
call fcn.00584916
pop eax
pop edx
pop edi
pop esi
pop ebx
add esp, 0x13c
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret
Function at 0x55ae00
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ec9b8
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xe4]
mov ecx, 0x36
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x65f810]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
call fcn.00511500
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.005115f0
mov ecx, dword [ebp - 0x14]
add ecx, 8
call fcn.00511690
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
call fcn.0055b6a0
mov ecx, dword [ebp - 0x14]
add ecx, 0x10
call fcn.00514270
mov ecx, dword [ebp - 0x14]
add ecx, 0x14
call fcn.0055b6f0
mov ecx, dword [ebp - 0x14]
add ecx, 0x18
call fcn.005128e0
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.00512930
mov ecx, dword [ebp - 0x14]
add ecx, 0x20
call fcn.0055b740
mov ecx, dword [ebp - 0x14]
add ecx, 0x24
call fcn.00511550
mov ecx, dword [ebp - 0x14]
add ecx, 0x28
call fcn.0050a120
mov eax, dword [ebp - 0x14]
mov dword [eax], vtable.CFilterCoder.9.0
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], vtable.CFilterCoder.8.0
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], vtable.CFilterCoder.7.0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xc], vtable.CFilterCoder.6.0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x10], vtable.CFilterCoder.5.0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x14], vtable.CFilterCoder.4.0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], vtable.CFilterCoder.3.0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1c], vtable.CFilterCoder.2.0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x20], vtable.CFilterCoder.1.0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x24], vtable.CFilterCoder.0
mov ecx, dword [ebp - 0x14]
add ecx, 0x30
call fcn.0050a120
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x34
call fcn.0050a120
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x58
call fcn.0050a120
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x5c
call fcn.0050a120
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0x60
call fcn.0050a120
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
add ecx, 0x64
call fcn.0050a120
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
add ecx, 0x68
call fcn.0050a120
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
add ecx, 0x6c
call fcn.0050a120
mov byte [ebp - 4], 7
push 0x20000
call fcn.00538120
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x2c], 0
jne 0x55afca
mov dword [ebp - 0xe0], 1
push 0x63a1e8
lea eax, [ebp - 0xe0]
push eax
call fcn.00578eca
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xe4
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret
Function at 0x55b790
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5eca2d
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0xd8]
mov ecx, 0x33
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x65f810]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [eax], vtable.CFilterCoder.9.0
mov eax, dword [ebp - 0x14]
mov dword [eax + 4], vtable.CFilterCoder.8.0
mov eax, dword [ebp - 0x14]
mov dword [eax + 8], vtable.CFilterCoder.7.0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0xc], vtable.CFilterCoder.6.0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x10], vtable.CFilterCoder.5.0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x14], vtable.CFilterCoder.4.0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x18], vtable.CFilterCoder.3.0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x1c], vtable.CFilterCoder.2.0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x20], vtable.CFilterCoder.1.0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x24], vtable.CFilterCoder.0
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x2c]
push ecx
call fcn.005380c0
mov ecx, dword [ebp - 0x14]
add ecx, 0x6c
call fcn.00520110
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x14]
add ecx, 0x68
call fcn.00520110
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x14]
add ecx, 0x64
call fcn.00520110
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
add ecx, 0x60
call fcn.00520110
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x5c
call fcn.00520110
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x58
call fcn.00520110
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x34
call fcn.00520110
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0x30
call fcn.00520110
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xd8
cmp ebp, esp
call fcn.005848f3
mov esp, ebp
pop ebp
ret