joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6bd6d0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7adb87
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x44], 0
push 1
mov ecx, dword [ebp - 0x4c]
call fcn.0040e560
push eax
mov ecx, dword [ebp - 0x50]
call fcn.0040e560
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x6bd780
mov ecx, dword [ebp - 0x4c]
call fcn.0040e560
push eax
lea ecx, [ebp - 0x40]
call fcn.004419d0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x44]
or eax, 1
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x50]
call fcn.0040e560
push eax
lea ecx, [ebp - 0x28]
call fcn.004419d0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x44]
or ecx, 2
mov dword [ebp - 0x44], ecx
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.006bd6d0
movzx edx, al
test edx, edx
jne 0x6bd780
mov dword [ebp - 0x54], 0
jmp 0x6bd787
mov dword [ebp - 0x54], 1
mov al, byte [ebp - 0x54]
mov byte [ebp - 0x45], al
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x44]
and ecx, 2
je 0x6bd7a8
and dword [ebp - 0x44], 0xfffffffd
lea ecx, [ebp - 0x28]
call fcn.0040e580
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
and edx, 1
je 0x6bd7c3
and dword [ebp - 0x44], 0xfffffffe
lea ecx, [ebp - 0x40]
call fcn.0040e580
mov al, byte [ebp - 0x45]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret

Function at 0x6bd7e0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0
mov ecx, dword [ebp - 0xc]
call fcn.0040e560
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x6bd817
cmp dword [ebp - 4], 0xb7
je 0x6bd817
mov dword [ebp - 8], 0
jmp 0x6bd81e
mov dword [ebp - 8], 1
mov al, byte [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x6bdc60
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
call fcn.0040e560
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x6bdc8a
mov dword [ebp - 4], 1
jmp 0x6bdc91
mov dword [ebp - 4], 0
mov al, byte [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x6bdca0
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7adc2d
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x30]
call fcn.00403420
movzx eax, al
test eax, eax
jne 0x6bdce9
mov ecx, dword [ebp - 0x30]
call fcn.00403450
cmp eax, 0x104
jbe 0x6bdcf0
xor al, al
jmp 0x6bdded
mov ecx, dword [ebp - 0x30]
call fcn.006bdc60
movzx ecx, al
test ecx, ecx
jne 0x6bdd06
mov al, 1
jmp 0x6bdded
mov edx, dword [ebp - 0x30]
push edx
lea ecx, [ebp - 0x28]
call fcn.006b9910
mov dword [ebp - 4], 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00403450
add eax, 2
push eax
lea ecx, [ebp - 0x28]
call fcn.006be3c0
push 0x1e
push 0
lea eax, [ebp - 0x50]
push eax
call fcn.00774aa0
add esp, 0xc
movzx ecx, word [ebp - 0x40]
or ecx, 4
mov word [ebp - 0x40], cx
movzx edx, word [ebp - 0x40]
or edx, 0x400
mov word [ebp - 0x40], dx
movzx eax, word [ebp - 0x40]
or eax, 0x10
mov word [ebp - 0x40], ax
movzx ecx, word [ebp - 0x40]
and ecx, 0xffffffbf
mov word [ebp - 0x40], cx
mov dword [ebp - 0x3a], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x36], 0
mov dword [ebp - 0x4c], 3
push 0
lea ecx, [ebp - 0x28]
call fcn.006bd540
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
jne 0x6bddc6
mov byte [ebp - 0x29], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040e580
mov al, byte [ebp - 0x29]
jmp 0x6bdded
mov byte [ebp - 0x2a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040e580
mov al, byte [ebp - 0x2a]
jmp 0x6bdded
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret
Function at 0x6cccb0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7aed70
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x8a0204]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dx, word [ecx]
mov word [eax], dx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dx, word [ecx + 2]
mov word [eax + 2], dx
mov eax, dword [ebp + 8]
mov cx, word [eax + 4]
mov edx, dword [ebp - 0x10]
mov word [edx + 4], cx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
mov dword [ecx + 0x18], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
mov dword [ecx + 0x20], eax
mov ecx, dword [ebp + 8]
add ecx, 0x24
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.006d5600
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
add edx, 0x30
push edx
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.006cca00
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x6d6e60
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x68], ecx
mov eax, dword [ebp - 0x68]
xor ecx, ecx
mov dword [eax], SysReAllocStringLen
mov dword [eax + 4], ecx
mov dword [ebp - 0x64], 0x40
push str.GlobalMemoryStatusEx
push 0x850fb4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0
je 0x6d6ed4
lea edx, [ebp - 0x64]
push edx
call dword [ebp - 0x6c]
test eax, eax
je 0x6d6ed4
mov eax, dword [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp - 0x3c]
push eax
call fcn.006d6d40
mov ecx, dword [ebp - 0x68]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov al, 1
jmp 0x6d6efc
mov dword [ebp - 0x24], 0x20
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
call fcn.006d6d10
xor ecx, ecx
mov edx, dword [ebp - 0x68]
mov dword [edx], eax
mov dword [edx + 4], ecx
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7afdac
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x8a0204]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.004053d0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.004053d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.004053d0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.004053d0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x20
call fcn.004053d0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x24
call fcn.006c2890
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x30], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x6f1e90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x6f1eab
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jae 0x6f1edd
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 0x3c], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [ecx + eax*4 + 0x30], 0
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [eax + edx*4 + 0x24], 0
jmp 0x6f1ea2
mov dword [ebp - 4], 0
jmp 0x6f1eef
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp eax, dword [edx + 8]
jae 0x6f1f25
imul ecx, dword [ebp - 4], 0x18
mov edx, dword [ebp - 8]
lea eax, [edx + ecx + 0x78]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov edx, dword [edx + 0xc]
call edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [ecx + eax*4 + 0x68], 0
jmp 0x6f1ee6
mov edx, dword [ebp - 8]
mov dword [edx + 0x14], 0
mov eax, dword [ebp - 8]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp - 8]
mov dword [edx + 0x20], 0
mov esp, ebp
pop ebp
ret
Function at 0x7054b0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
jmp 0x7054c8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jae 0x70551a
mov ecx, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
jmp 0x7054e9
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jae 0x70550b
mov eax, dword [ebp - 8]
shr eax, 1
mov ecx, dword [ebp - 8]
and ecx, 1
xor edx, edx
sub edx, ecx
and edx, 0xedb88320
xor eax, edx
mov dword [ebp - 8], eax
jmp 0x7054e0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [eax*4 + 0x8b0fc0], ecx
jmp 0x7054bf
mov dword [ebp - 4], 0x100
jmp 0x70552c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0x800
jae 0x705564
mov eax, dword [ebp - 4]
mov ecx, dword [eax*4 + 0x8b0bc0]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
and edx, 0xff
mov eax, dword [ebp - 0x10]
shr eax, 8
xor eax, dword [edx*4 + 0x8b0fc0]
mov ecx, dword [ebp - 4]
mov dword [ecx*4 + 0x8b0fc0], eax
jmp 0x705523
mov dword [0x8b0fa8], 0x7a6000
mov dword [0x8b0fa0], 0x7a6000
mov dword [0x8b0fa4], 0x7a5f20
call fcn.007310d0
test eax, eax
jne 0x705595
mov dword [0x8b0fa0], 0x7a5f20
mov esp, ebp
pop ebp
ret

Function at 0x705e00
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, 4
imul ecx, eax, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x6a09e667
mov eax, 4
shl eax, 0
mov ecx, dword [ebp - 4]
mov dword [ecx + eax], 0xbb67ae85
mov edx, 4
shl edx, 1
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0x3c6ef372
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebp - 4]
mov dword [eax + edx], 0xa54ff53a
mov ecx, 4
shl ecx, 2
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x510e527f
mov eax, 4
imul ecx, eax, 5
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x9b05688c
mov eax, 4
imul ecx, eax, 6
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x1f83d9ab
mov eax, 4
imul ecx, eax, 7
mov edx, dword [ebp - 4]
mov dword [edx + ecx], 0x5be0cd19
mov eax, dword [ebp - 4]
xor ecx, ecx
xor edx, edx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
mov esp, ebp
pop ebp
ret
Function at 0x719750
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 4]
mov ecx, dword [ebp - 0x18]
lea edx, [ecx + eax*4 + 8]
mov dword [ebp - 0xc], edx
cmp dword [ebp + 8], 0
jne 0x71977f
jmp 0x71988e
cmp dword [ebp - 8], 0x10
je 0x7197c4
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 8]
movzx edx, byte [ecx]
mov eax, dword [ebp - 4]
movzx ecx, byte [eax]
xor ecx, edx
mov edx, dword [ebp - 4]
mov byte [edx], cl
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
sub edx, 1
mov dword [ebp + 8], edx
je 0x7197c4
cmp dword [ebp - 8], 0x10
jne 0x71978b
cmp dword [ebp + 8], 0x10
jb 0x719808
mov eax, dword [ebp + 8]
shr eax, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0xc]
add ecx, 0x10
mov edx, dword [ebp - 4]
call dword [0x8aef8c]
mov edx, dword [ebp - 0x10]
shl edx, 4
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
sub ecx, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov dword [ebp - 8], 0x10
cmp dword [ebp + 8], 0
je 0x719886
mov dword [ebp - 0x14], 0
jmp 0x719820
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 4
jae 0x719835
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + eax*4], 0
jmp 0x719817
push 1
mov ecx, dword [ebp - 0xc]
add ecx, 0x10
mov edx, dword [ebp - 0xc]
call dword [0x8aef8c]
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x20], edx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
mov edx, dword [ebp - 4]
movzx eax, byte [edx]
xor eax, ecx
mov ecx, dword [ebp - 4]
mov byte [ecx], al
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
sub ecx, 1
mov dword [ebp + 8], ecx
jne 0x719853
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov dword [edx], eax
mov esp, ebp
pop ebp
ret 4
Function at 0x71e570
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0x10]
and eax, 0xfffffffc
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
sub ecx, 4
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 0x14]
jb 0x71e5b0
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0xc]
jmp 0x71e696
mov edx, dword [ebp - 8]
add edx, 4
mov dword [ebp - 8], edx
mov eax, 1
imul ecx, eax, 0xfffffffc
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0x40
jne 0x71e5e4
mov ecx, 1
imul edx, ecx, 0xfffffffd
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + edx]
and ecx, 0xc0
je 0x71e60e
mov edx, 1
imul eax, edx, 0xfffffffc
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + eax]
cmp edx, 0x7f
jne 0x71e610
mov eax, 1
imul ecx, eax, 0xfffffffd
mov edx, dword [ebp - 8]
movzx eax, byte [edx + ecx]
cmp eax, 0xc0
jl 0x71e610
jmp 0x71e612
jmp 0x71e59d
mov ecx, dword [ebp - 8]
mov edx, dword [ecx - 4]
bswap edx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shl eax, 2
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
je 0x71e63d
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0xc]
add ecx, dword [ebp + 8]
add ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
jmp 0x71e64e
mov edx, dword [ebp - 8]
sub edx, dword [ebp - 0xc]
add edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
sub eax, edx
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 0x1ffffff
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
sub edx, 0x1000000
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
xor eax, 0xff000000
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 2
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
or edx, 0x40000000
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
bswap eax
mov ecx, dword [ebp - 8]
mov dword [ecx - 4], eax
jmp 0x71e59d
mov esp, ebp
pop ebp
ret 8
Function at 0x728280
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
or eax, 0x100
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
and ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 4]
shr edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
movzx edx, word [ecx + eax*2]
mov eax, dword [ebp - 0x10]
neg eax
and eax, 0x7ff
xor edx, eax
shr edx, 4
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 8]
add eax, dword [ecx + edx*4]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 2
jae 0x72829e
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret 4

Function at 0x7282f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x100
mov eax, dword [ebp - 4]
or eax, 0x100
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
shl ecx, 1
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 8]
and edx, dword [ebp - 8]
add edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
shr eax, 8
add edx, eax
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx + edx*2]
mov eax, dword [ebp - 4]
shr eax, 7
and eax, 1
neg eax
and eax, 0x7ff
xor edx, eax
shr edx, 4
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
shl ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 8]
xor edx, dword [ebp - 4]
not edx
and edx, dword [ebp - 8]
mov dword [ebp - 8], edx
cmp dword [ebp - 4], 0x10000
jb 0x728315
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 8

Function at 0x72e6c0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax + 0x34], 0
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x1f], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], 0
mov eax, dword [ebp - 4]
or ecx, 0xffffffff
mov dword [eax + 0x468], 0xffffffff
mov dword [eax + 0x46c], ecx
mov ecx, dword [ebp - 4]
call fcn.0072efd0
mov dword [ebp - 8], 0
jmp 0x72e714
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x100
jae 0x72e766
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x72e735
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 8
jae 0x72e757
mov edx, dword [ebp - 0xc]
shr edx, 1
mov eax, dword [ebp - 0xc]
and eax, 1
xor ecx, ecx
sub ecx, eax
and ecx, 0xedb88320
xor edx, ecx
mov dword [ebp - 0xc], edx
jmp 0x72e72c
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dword [eax + edx*4 + 0x60], ecx
jmp 0x72e70b
mov esp, ebp
pop ebp
ret
Function at 0x72f560
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], edx
mov dword [ebp - 4], ecx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0
push 0
call fcn.0078a71f
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
mov ecx, dword [edx]
call fcn.0072f2a0
mov esp, ebp
pop ebp
ret 4

Function at 0x72f730
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov eax, dword [0x8a0204]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x94], ecx
lea ecx, [ebp - 0x8c]
call fcn.00705e00
mov dword [ebp - 0x90], 0x3e8
mov dword [ebp - 0xac], 0x64
mov dword [ebp - 0xb0], 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x98], eax
push 4
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x8c]
call fcn.00705eb0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x98], eax
push 4
lea edx, [ebp - 0x98]
lea ecx, [ebp - 0x8c]
call fcn.00705eb0
push 0x852720
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 0
je 0x72f825
push str.SystemFunction036
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0
je 0x72f818
push 0x20
lea ecx, [ebp - 0x24]
push ecx
call dword [ebp - 0xa4]
movzx edx, al
test edx, edx
je 0x72f818
mov dword [ebp - 0x90], 0x64
push 0x20
lea edx, [ebp - 0x24]
lea ecx, [ebp - 0x8c]
call fcn.00705eb0
mov eax, dword [ebp - 0x9c]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0xb8]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x72f849
push 8
lea edx, [ebp - 0xb8]
lea ecx, [ebp - 0x8c]
call fcn.00705eb0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xa8], eax
push 4
lea edx, [ebp - 0xa8]
lea ecx, [ebp - 0x8c]
call fcn.00705eb0
mov dword [ebp - 0xa0], 0
jmp 0x72f883
mov edx, dword [ebp - 0xa0]
add edx, 1
mov dword [ebp - 0xa0], edx
cmp dword [ebp - 0xa0], 0x64
jae 0x72f8bd
mov edx, dword [ebp - 0x94]
lea ecx, [ebp - 0x8c]
call fcn.00705d00
lea ecx, [ebp - 0x8c]
call fcn.00705e00
push 0x20
mov edx, dword [ebp - 0x94]
lea ecx, [ebp - 0x8c]
call fcn.00705eb0
jmp 0x72f874
mov eax, dword [ebp - 0x90]
sub eax, 1
mov dword [ebp - 0x90], eax
jne 0x72f825
mov edx, dword [ebp - 0x94]
lea ecx, [ebp - 0x8c]
call fcn.00705d00
mov ecx, dword [ebp - 0x94]
mov byte [ecx + 0x20], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0075c173
mov esp, ebp
pop ebp
ret
Function at 0x730ef0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
add eax, 0x1c
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
shr ecx, 2
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 8]
shr edx, 1
add edx, 3
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp - 0xc]
mov dword [eax + ecx], edx
mov ecx, dword [ebp - 0xc]
add ecx, 0x10
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
jmp 0x730f48
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jae 0x730f60
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
mov dword [eax + edx*4], ecx
jmp 0x730f36
jmp 0x730f6b
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x18]
jae 0x731078
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx*4 - 4]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 8]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
jne 0x730ffb
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
movzx ecx, byte [ecx + str.cw]
mov eax, dword [ebp - 4]
xor edx, edx
div dword [ebp + 8]
movzx edx, byte [eax + 0x852850]
xor ecx, edx
mov eax, dword [ebp - 8]
shr eax, 0x10
and eax, 0xff
movzx edx, byte [eax + str.cw]
shl edx, 8
or ecx, edx
mov eax, dword [ebp - 8]
shr eax, 0x18
movzx edx, byte [eax + str.cw]
shl edx, 0x10
or ecx, edx
mov eax, dword [ebp - 8]
and eax, 0xff
movzx edx, byte [eax + str.cw]
shl edx, 0x18
or ecx, edx
mov dword [ebp - 8], ecx
jmp 0x73105b
cmp dword [ebp + 8], 6
jbe 0x73105b
cmp dword [ebp - 0x14], 4
jne 0x73105b
mov eax, dword [ebp - 8]
and eax, 0xff
movzx ecx, byte [eax + str.cw]
mov edx, dword [ebp - 8]
shr edx, 8
and edx, 0xff
movzx eax, byte [edx + str.cw]
shl eax, 8
or ecx, eax
mov edx, dword [ebp - 8]
shr edx, 0x10
and edx, 0xff
movzx eax, byte [edx + str.cw]
shl eax, 0x10
or ecx, eax
mov edx, dword [ebp - 8]
shr edx, 0x18
movzx eax, byte [edx + str.cw]
shl eax, 0x18
or ecx, eax
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx*4]
xor eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [edx + ecx*4], eax
jmp 0x730f62
mov esp, ebp
pop ebp
ret 4