joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4eaef0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x474
call fcn.00498090
mov eax, dword [0x61c850]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push esi
mov esi, dword [ebp + 8]
test esi, esi
push edi
mov dword [esp + 0x3c], 0
jne 0x4eaf37
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.00493f9c
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x48]
push eax
push esi
call fcn.0056f3ea
add esp, 8
test eax, eax
jl 0x4eaf20
mov eax, 8
call fcn.00498090
fldz
fstp qword [esp]
lea ecx, [esp + 0x50]
push 0x30
push ecx
call fcn.004ead60
mov ebx, dword [ebp + 0xc]
add esp, 0x10
test ebx, ebx
je 0x4eaf20
push 0x60598c
push esi
call fcn.0049aac6
add esp, 8
test eax, eax
mov dword [esp + 0x40], eax
je 0x4eb011
jmp 0x4eaf94
mov eax, dword [esp + 0x40]
test ebx, ebx
jle 0x4eafa2
cmp ebx, 0x400
mov esi, ebx
jl 0x4eafa7
mov esi, 0x400
push eax
push esi
lea edx, [esp + 0x80]
push 1
push edx
call fcn.0049860a
mov edi, eax
add esp, 0x10
test edi, edi
mov dword [esp + 0x44], edi
jle 0x4eaff5
fild dword [esp + 0x44]
mov eax, 8
call fcn.00498090
lea eax, [esp + 0x80]
fstp qword [esp]
push esi
push eax
call fcn.004ead60
add dword [esp + 0x4c], edi
add esp, 0x10
test ebx, ebx
jle 0x4eaf90
sub ebx, esi
test ebx, ebx
jg 0x4eaf90
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0049834c
lea edx, [esp + 0x7c]
push 0x400
push edx
call fcn.00587a90
add esp, 0xc
mov ecx, dword [esp + 0x47c]
mov eax, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00493f9c
mov esp, ebp
pop ebp
ret

Function at 0x5005f0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.00496f40
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, 1
pop esi
ret

Function at 0x500630
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax + 0x2c]
push esi
push edi
mov edi, dword [ebx]
mov esi, dword [edi + 0x1ec]
test esi, esi
jne 0x50064b
mov esi, dword [eax + 0x28]
mov ecx, dword [eax + 0x24]
mov edx, dword [eax + 0x20]
push ecx
push edx
call fcn.004cc7a0
push edx
push eax
call fcn.004cc7d0
add esp, 0x10
sub esi, eax
cmp dword [edi + 0x1e0], 0
je 0x500698
mov eax, dword [ebx + 0x144]
mov ecx, dword [ebx + 0x140]
push eax
push ecx
call fcn.004cc7a0
push edx
push eax
call fcn.004cc7d0
mov ecx, dword [edi + 0x1e0]
sub ecx, eax
add esp, 0x10
mov eax, ecx
cmp esi, ecx
jge 0x50069a
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x501640
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push esi
mov byte [esi], 0
call dword [sym.imp.WS2_32.dll_gethostname]
mov byte [esi + edi - 1], 0
test eax, eax
jne 0x501673
push 0x2e
push esi
call fcn.0049f9d0
add esp, 8
test eax, eax
je 0x501671
mov byte [eax], 0
xor eax, eax
pop edi
pop esi
pop ebp
ret
Function at 0x502ce0
Capabilities:
Read file on windows

Disassembly:
push edi
mov edi, eax
mov eax, dword [esi]
cmp dword [eax + 4], 2
jne 0x502d02
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x502cf6
xor eax, eax
pop edi
ret
mov eax, dword [eax + 8]
push eax
push edi
push 1
push ebx
call ecx
jmp 0x502d32
cmp dword [esi + 8], 0
jne 0x502d25
mov ecx, dword [eax + 8]
push 0x60598c
push ecx
call fcn.0049aac6
add esp, 8
mov dword [esi + 8], eax
test eax, eax
jne 0x502d25
or eax, 0xffffffff
pop edi
ret
mov edx, dword [esi + 8]
push edx
push edi
push 1
push ebx
call fcn.0049860a
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x502d54
mov eax, dword [esi + 8]
test eax, eax
je 0x502d4e
push eax
call fcn.0049834c
add esp, 4
mov dword [esi + 8], edi
mov eax, dword [esi]
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, edi
pop edi
ret
Function at 0x5051e0
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.00498090
mov eax, dword [0x61c850]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x505245
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x505245
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.00497c53
add eax, 0x40
push eax
call fcn.004a7fe9
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00493f9c
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.004ca3a1
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x5052d4
call fcn.005050a0
test eax, eax
jle 0x5052d4
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00493f9c
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00493f9c
add esp, 0x108
ret

Function at 0x505330
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
xor cl, cl
test edi, edi
jbe 0x505356
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
sub esi, eax
mov dl, byte [esi + eax]
xor dl, byte [eax]
add eax, 1
or cl, dl
sub edi, 1
jne 0x505346
pop esi
movzx eax, cl
pop edi
ret
Function at 0x529b10
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x14]
lea eax, [ecx + eax*2 + 0xc]
push edi
push eax
call dword [0x61e4f4]
mov edi, eax
add esp, 4
test edi, edi
jne 0x529b3b
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [edi + 0xc]
mov dword [edi], esi
mov dword [edi + 4], eax
mov edx, dword [esi + 0xc]
add edx, eax
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [edi + 8], edx
cmp ebx, dword [esi + 0x10]
jbe 0x529b82
push eax
mov eax, dword [esi]
call eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push ebx
push ecx
push edx
call eax
mov ebx, dword [edi + 8]
mov ecx, dword [edi + 4]
add ebx, dword [esi + 0xc]
mov edx, dword [esi + 8]
push ecx
push ebx
call edx
mov eax, dword [esi + 0x14]
add esp, 0x18
mov dword [ebp + 0x10], eax
jmp 0x529b85
mov ebx, dword [ebp + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [esi]
push ecx
call edx
mov eax, dword [edi + 8]
mov ecx, dword [esi]
push eax
call ecx
mov eax, dword [ebp + 0x10]
add esp, 8
mov dword [ebp - 4], 0
test eax, eax
je 0x529be6
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea esp, [esp]
mov dl, byte [ebx]
xor dl, 0x36
mov byte [ebp + 0xb], dl
mov ecx, dword [edi + 4]
mov edx, dword [esi + 4]
push 1
lea eax, [ebp + 0xb]
push eax
push ecx
call edx
mov al, byte [ebx]
xor al, 0x5c
mov byte [ebp + 0xb], al
mov edx, dword [edi + 8]
mov eax, dword [esi + 4]
push 1
lea ecx, [ebp + 0xb]
push ecx
push edx
inc ebx
call eax
add esp, 0x18
dec dword [ebp - 8]
jne 0x529bb0
mov ecx, dword [ebp - 4]
pop ebx
cmp ecx, dword [esi + 0x10]
jae 0x529c1f
nop
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
push 1
push 0x5e0d54
push edx
call eax
mov ecx, dword [edi + 8]
mov edx, dword [esi + 4]
push 1
push 0x5e0d55
push ecx
call edx
mov eax, dword [ebp - 4]
inc eax
add esp, 0x18
mov dword [ebp - 4], eax
cmp eax, dword [esi + 0x10]
jb 0x529bf0
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x545740
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 4]
push ebp
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
jle 0x545830
push esi
mov esi, dword [esp + 0x14]
lea esp, [esp]
cmp edi, 3
jl 0x5457c2
movzx eax, byte [esi + 2]
xor edx, edx
mov dh, byte [esi]
add ecx, 1
add ecx, 1
add ecx, 1
mov dl, byte [esi + 1]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 3], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 2], al
mov eax, edx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx - 1], al
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
jmp 0x54581b
movzx edx, byte [esi]
shl edx, 0x10
cmp edi, 2
jne 0x5457d4
xor eax, eax
mov ah, byte [esi + 1]
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
add ecx, 1
mov byte [ecx], al
add ecx, 1
cmp edi, 1
jne 0x545806
lea edx, [edi + 0x3c]
jmp 0x545813
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
add ecx, 1
mov byte [ecx], 0x3d
sub edi, 3
add ecx, 1
add ebp, 4
add esi, 3
test edi, edi
jg 0x545760
pop esi
pop edi
mov eax, ebp
mov byte [ecx], 0
pop ebp
ret
Function at 0x559f59
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xa0
call fcn.00498090
mov eax, dword [0x61c850]
xor eax, esp
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0xa8]
test eax, eax
push ebp
mov ebp, dword [esp + 0xa8]
push esi
mov esi, ecx
jbe 0x55a0ec
push ebx
add eax, 0xffffffff
push edi
lea edi, [ebp + 0xc]
shr eax, 3
add ebp, 0x14
add eax, 1
mov dword [esp + 0x18], eax
movzx ebx, byte [esi]
xor eax, eax
mov ah, byte [esi + 1]
add esi, 1
movzx ecx, byte [esi + 1]
add esi, 1
movzx edx, byte [esi + 1]
or ebx, eax
add esi, 1
movzx eax, byte [esi + 1]
shl ecx, 0x10
add esi, 1
or ebx, ecx
xor ecx, ecx
mov ch, byte [esi + 1]
add esi, 1
shl edx, 0x18
or ebx, edx
movzx edx, byte [esi + 1]
or eax, ecx
add esi, 1
movzx ecx, byte [esi + 1]
add esi, 1
shl edx, 0x10
or eax, edx
mov dl, byte [edi]
shl ecx, 0x18
or eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov al, byte [ebp]
and dl, 0xdf
and al, 0xbf
or dl, 0x40
or al, 0x20
push edi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x28], ebx
add esi, 1
mov byte [edi], dl
mov byte [ebp], al
call fcn.005434f0
lea ecx, [esp + 0x30]
push ecx
push edi
call fcn.00543670
push 1
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.00591bc0
push ebp
call fcn.005434f0
lea ecx, [esp + 0x48]
push ecx
push ebp
call fcn.00543670
push 1
lea edx, [esp + 0x54]
push edx
lea eax, [esp + 0x48]
push eax
call fcn.00591bc0
mov eax, dword [esp + 0x50]
xor eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x58]
xor dword [esp + 0x40], edx
xor ecx, ebx
xor ebx, dword [esp + 0x54]
mov dword [esp + 0x44], eax
mov eax, edi
mov byte [eax], bl
mov edx, ebx
add eax, 1
shr edx, 8
add esp, 0x30
mov byte [eax], dl
add eax, 1
add eax, 1
mov edx, ebx
shr edx, 0x10
mov byte [eax - 1], dl
mov edx, dword [esp + 0x14]
add eax, 1
shr ebx, 0x18
mov byte [eax - 1], bl
mov byte [eax], dl
mov ebx, edx
add eax, 1
add eax, 1
shr ebx, 8
mov byte [eax - 1], bl
mov ebx, edx
shr edx, 0x18
shr ebx, 0x10
mov byte [eax], bl
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 8
mov eax, ebp
mov byte [eax], cl
mov byte [eax + 1], dl
add eax, 1
add eax, 1
mov edx, ecx
shr edx, 0x10
mov byte [eax], dl
add eax, 1
shr ecx, 0x18
mov byte [eax], cl
mov ecx, dword [esp + 0x10]
add eax, 1
mov byte [eax], cl
mov edx, ecx
shr edx, 8
add eax, 1
mov byte [eax], dl
mov edx, ecx
add eax, 1
shr edx, 0x10
shr ecx, 0x18
sub dword [esp + 0x18], 1
mov byte [eax], dl
mov byte [eax + 1], cl
jne 0x559f77
pop edi
pop ebx
mov ecx, dword [esp + 0xa4]
pop esi
pop ebp
xor ecx, esp
call fcn.00493f9c
add esp, 0xa0
ret
Function at 0x55f060
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x55f079
mov esi, edi
mov edi, eax
jmp 0x55f07b
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x55f08b
mov eax, ebx
jmp 0x55f095
push eax
push ebx
call fcn.004fe930
add esp, 8
test eax, eax
jne 0x55f09d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x55f0bb
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, dword [edi + 4]
jl 0x55f0a4
cmp eax, dword [esi + 4]
jge 0x55f0d2
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
add eax, 1
cmp eax, dword [esi + 4]
jl 0x55f0c0
mov eax, dword [esi + 4]
test eax, eax
mov dword [ebx + 4], eax
jle 0x55f0f5
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x55f0f2
sub eax, 1
test eax, eax
jg 0x55f0e2
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x5710e0
Capabilities:
Get common file path
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
mov eax, dword [0x61c850]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x44c], ecx
lea eax, [ebp - 0x218]
push eax
push 0x200
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov dword [ebp - 0x42c], eax
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
push 0x100
lea edx, [ebp - 0x428]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 3
jb 0x57114b
xor eax, eax
mov word [ebp - 0x422], ax
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx]
test edx, edx
je 0x5712ef
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x5712e1
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x434], 0
lea ecx, [ebp - 0x438]
push ecx
lea edx, [ebp - 0x448]
push edx
lea eax, [ebp - 0x440]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x5712e1
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
lea eax, [ebp - 0x428]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00498d2b
add esp, 8
test eax, eax
jne 0x571289
push 0
push 0x100000
mov edx, dword [ebp - 0x43c]
push edx
mov eax, dword [ebp - 0x440]
push eax
call fcn.00498150
mov dword [ebp - 0x440], eax
mov dword [ebp - 0x43c], edx
push 0
push 0x100000
mov ecx, dword [ebp - 0x444]
push ecx
mov edx, dword [ebp - 0x448]
push edx
call fcn.00498150
mov dword [ebp - 0x448], eax
mov dword [ebp - 0x444], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x440]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x43c]
mov dword [eax + 0xc], edx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x448]
mov dword [eax + 0x10], ecx
mov edx, dword [ebp - 0x444]
mov dword [eax + 0x14], edx
jmp 0x5712e1
push 0
push 0x100000
mov eax, dword [ebp - 0x43c]
push eax
mov ecx, dword [ebp - 0x440]
push ecx
call fcn.00498150
add eax, dword [ebp - 0x228]
adc edx, dword [ebp - 0x224]
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], edx
push 0
push 0x100000
mov edx, dword [ebp - 0x444]
push edx
mov eax, dword [ebp - 0x448]
push eax
call fcn.00498150
add eax, dword [ebp - 0x10]
adc edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
mov ecx, dword [ebp - 0x14]
add ecx, 8
mov dword [ebp - 0x14], ecx
jmp 0x57116d
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x228]
mov dword [edx + 0x18], eax
mov ecx, dword [ebp - 0x224]
mov dword [edx + 0x1c], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x20], eax
mov ecx, dword [ebp - 0xc]
mov dword [edx + 0x24], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00493f9c
mov esp, ebp
pop ebp
ret 4
Function at 0x5734c0
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a5ff2
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x61c850]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0x40
lea eax, [ebp - 0x8c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov dword [ebp - 0x4c], eax
push 0x5fd160
lea ecx, [ebp - 0x48]
call fcn.00405770
mov dword [ebp - 4], 0
cmp dword [ebp - 0x4c], 0
je 0x5735c7
push 0
push 0x400
mov ecx, dword [ebp - 0x80]
push ecx
mov edx, dword [ebp - 0x84]
push edx
call fcn.00498150
push 0
push 0x400
push edx
push eax
call fcn.00498150
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0044f160
add esp, 8
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x9c]
push edx
lea ecx, [ebp - 0x48]
call fcn.00405880
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004058b0
lea eax, [ebp - 0x48]
push eax
mov ecx, dword [ebp + 8]
call fcn.004057f0
mov ecx, dword [ebp - 0x90]
or ecx, 1
mov dword [ebp - 0x90], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004058b0
mov eax, dword [ebp + 8]
jmp 0x573606
push 0x5fd164
mov ecx, dword [ebp + 8]
call fcn.00405770
mov edx, dword [ebp - 0x90]
or edx, 1
mov dword [ebp - 0x90], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.004058b0
mov eax, dword [ebp + 8]
jmp 0x573606
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00493f9c
mov esp, ebp
pop ebp
ret 4
Function at 0x576a80
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x6684
call fcn.00498090
mov eax, dword [0x61c850]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov dword [ebp - 0x6680], ecx
mov dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x6680]
cmp dword [eax + 0x10], 0
jne 0x576ac0
mov ecx, dword [ebp - 0x6680]
call fcn.005765f0
mov ecx, dword [ebp - 0x6680]
mov edx, dword [ecx + 4]
cmp dword [edx + 4], 0
jne 0x576ae1
push 0x45a
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x57716a
mov eax, dword [ebp + 0x10]
mov dword [0x62f570], eax
mov ecx, dword [ebp + 0x14]
mov dword [0x62f574], ecx
cmp dword [ebp + 0xc], 0
jne 0x576b97
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x576b45
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea edx, [ebp - 0x6678]
push edx
call fcn.00496f40
add esp, 0xc
mov dword [ebp - 0x6678], 0x10007
lea eax, [ebp - 0x6678]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x576b95
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
jmp 0x57716a
mov esi, dword [ebp + 0xc]
mov ecx, 0xb3
lea edi, [ebp - 0x6678]
rep movsd dword es:[edi], dword [esi]
Function at 0x57a400
Capabilities:
Access firewall policy via inetfwpolicy2
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xb0], 0
je 0x57a42f
jmp 0x57a51d
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0xb8], 0
je 0x57a4a6
mov edx, dword [ebp - 0x14]
add edx, 0xb4
push edx
push 0x605fe0
push 1
push 0
push 0x605fd0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x57a4a6
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xb4], 0
je 0x57a4a2
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xb4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xb4]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0xb4], 0
xor edx, edx
jne 0x57a4a2
lea eax, [ebp - 8]
push eax
push 0x606000
push 1
push 0
push 0x605ff0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x57a4cd
xor ecx, ecx
jne 0x57a4c7
jmp 0x57a51d
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 0x1c]
call eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x57a4ee
xor ecx, ecx
jne 0x57a4e8
jmp 0x57a51d
mov edx, dword [ebp - 0x14]
add edx, 0xb0
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 0x1c]
call eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x57a515
xor ecx, ecx
jne 0x57a50f
jmp 0x57a51d
xor edx, edx
jne 0x57a41e
cmp dword [ebp - 4], 0
je 0x57a531
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 8], 0
je 0x57a545
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 8]
call ecx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x581a90
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x48], ecx
cmp dword [ebp + 8], 0
jne 0x581aa6
xor eax, eax
jmp 0x581ba3
push 0x1c
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x581ac1
xor eax, eax
jmp 0x581ba3
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp - 0x2c]
mov dword [eax], ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x581aec
xor eax, eax
jmp 0x581ba3
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x34], 0
jmp 0x581b33
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x14]
add edx, 0x28
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 6]
cmp dword [ebp - 0x34], ecx
jae 0x581ba1
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 8]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x44], ecx
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x44]
push eax
call fcn.0043bf30
add esp, 8
mov ecx, dword [ebp - 0x38]
add ecx, dword [eax]
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x38]
jb 0x581b9f
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x3c]
ja 0x581b9f
mov ecx, dword [ebp - 0x34]
add ecx, 1
mov edx, dword [ebp + 0x14]
mov dword [edx], ecx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x38]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, 1
jmp 0x581ba3
jmp 0x581b21
xor eax, eax
mov esp, ebp
pop ebp
ret 0x18