joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f2b0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x144
push ebx
mov ebx, dword [esp + 0x14c]
push ebp
mov ebp, dword [esp + 0x15c]
push esi
push edi
mov esi, dword [ebp]
mov dword [esp + 0x10], 0
test ebx, ebx
je 0x43f33b
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x43f33b
test esi, esi
je 0x43f2f5
cmp esi, 0xffffffff
je 0x43f2f5
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp], esi
je 0x43f381
mov eax, dword [esp + 0x160]
test eax, eax
je 0x43f324
mov ecx, dword [esp + 0x14]
and ecx, 0x10
cmp cl, 0x10
je 0x43f33b
jmp 0x43f333
mov edx, dword [esp + 0x15c]
mov eax, dword [esp + 0x14]
test edx, eax
je 0x43f33b
mov dword [esp + 0x10], 1
test esi, esi
je 0x43f381
cmp esi, 0xffffffff
je 0x43f381
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x43f3b8
mov eax, dword [esp + 0x160]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
lea eax, [esp + 0x14]
push eax
push esi
je 0x43f38e
call edi
test eax, eax
je 0x43f381
mov ecx, dword [esp + 0x14]
and ecx, 0x10
cmp cl, 0x10
jne 0x43f3b8
lea edx, [esp + 0x14]
push edx
push esi
call edi
test eax, eax
jne 0x43f369
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x144
ret
call edi
test eax, eax
je 0x43f381
mov ebx, dword [esp + 0x15c]
test dword [esp + 0x14], ebx
jne 0x43f3b8
lea ecx, [esp + 0x14]
push ecx
push esi
call edi
test eax, eax
jne 0x43f39b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0043a100
mov edx, eax
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret

Function at 0x43f510
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
mov eax, dword [esp + 0x10]
push edi
push 0
push 0x20
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x43f5a2
mov eax, dword [esp + 0x10]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push esi
mov dword [esp + 0x10], ebx
jle 0x43f594
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x43f58c
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x43f555
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
mov dword [esp + 0x10], 0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
pop esi
pop ebp
pop ebx
pop edi
add esp, 8
ret
Function at 0x43f5b0
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 8]
push esi
push edi
push 0
push 0x20
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43f5d8
pop edi
or eax, eax
pop esi
ret
lea ecx, [esp + 0x10]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], 0xffffffff
jne 0x43f5fa
pop edi
or eax, 0xffffffff
pop esi
ret
mov eax, edi
pop edi
pop esi
ret
Function at 0x442a10
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
xor ecx, ecx
xor eax, eax
push ebp
mov ebp, dword [esp + 0x18]
mov byte [eax + ebp], al
inc eax
cmp eax, 0x100
jl 0x442a1c
mov eax, dword [esp + 0x14]
mov byte [ebp + 0x100], cl
cmp eax, ecx
mov byte [ebp + 0x101], cl
jle 0x442aaf
push ebx
push esi
push edi
mov byte [esp + 0x24], cl
xor esi, esi
mov ebx, ebp
mov dword [esp + 0x10], 0x100
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
and edi, 0xff
xor eax, eax
xor edx, edx
mov al, byte [edi + ecx]
mov dl, byte [ebx]
add esi, eax
add edx, esi
and edx, 0x800000ff
jns 0x442a79
dec edx
or edx, 0xffffff00
inc edx
mov byte [esp + 0x14], dl
mov esi, dword [esp + 0x14]
and esi, 0xff
lea eax, [esi + ebp]
push eax
push ebx
call fcn.00442ac0
lea eax, [edi + 1]
add esp, 8
cdq
idiv dword [esp + 0x20]
mov eax, dword [esp + 0x10]
inc ebx
dec eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], dl
jne 0x442a4e
pop edi
pop esi
pop ebx
pop ebp
add esp, 8
ret

Function at 0x442ae0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x14]
push ebx
push esi
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov al, byte [esi + 0x100]
mov cl, byte [esi + 0x101]
test edx, edx
mov byte [esp + 0x20], al
mov byte [esp + 8], cl
jle 0x442bdd
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x28]
and edi, 0xff
and ebp, 0xff
lea eax, [edi + 1]
and eax, 0x800000ff
jns 0x442b32
dec eax
or eax, 0xffffff00
inc eax
mov byte [esp + 0x28], al
xor ecx, ecx
mov edi, dword [esp + 0x28]
and edi, 0xff
mov cl, byte [edi + esi]
lea eax, [edi + esi]
add ecx, ebp
mov dword [esp + 0x18], eax
and ecx, 0x800000ff
jns 0x442b5e
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ebp, dword [esp + 0x10]
and ebp, 0xff
lea ecx, [esi + ebp]
push ecx
push eax
mov dword [esp + 0x1c], ecx
call fcn.00442ac0
mov eax, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
add esp, 8
mov dl, byte [eax]
mov eax, dword [esp + 0x18]
mov cl, byte [eax]
add edx, ecx
and edx, 0x800000ff
jns 0x442b9f
dec edx
or edx, 0xffffff00
inc edx
mov eax, dword [esp + 0x20]
and edx, 0xff
mov cl, byte [edx + esi]
mov dl, byte [ebx + eax]
xor dl, cl
mov byte [ebx + eax], dl
mov eax, dword [esp + 0x24]
inc ebx
cmp ebx, eax
jl 0x442b21
mov dl, byte [esp + 0x28]
mov al, byte [esp + 0x10]
pop edi
mov byte [esi + 0x100], dl
mov byte [esi + 0x101], al
pop ebp
pop esi
pop ebx
add esp, 0xc
ret
mov byte [esi + 0x100], al
mov byte [esi + 0x101], cl
pop esi
pop ebx
add esp, 0xc
ret
Function at 0x445730
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x4a0e2c]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x445743
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x445784
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x4a0ed4]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4457b6
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4457ba
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4457ab
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4457d8
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4457dc
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4457cd
xor ecx, ecx
mov eax, 0x4a0e3c
xor ebx, ebx
mov bl, byte [ecx + 0x4a0ee4]
cmp byte [esp + ebx + 0x14], 0
je 0x445807
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x4a0efc]
cmp byte [esp + ebx + 0x14], 0
je 0x44581e
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x4457ee
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x445777
lea edx, [esp + 0x84]
push edx
call fcn.00445860
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x44d72f
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [ebp + 0x10]
push esi
mov esi, ecx
push 1
mov ecx, dword [eax]
mov dword [esi + 4], ecx
mov ecx, dword [eax + 4]
mov dword [esi + 8], ecx
mov ecx, dword [eax]
mov dword [esi + 0xc], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0x10], eax
mov dword [esi], 0x463398
and dword [0x4b71fc], 0
pop eax
cmp dword [ebp + 0xc], eax
jae 0x44d770
mov dword [0x4b71fc], eax
jmp 0x44d877
push 0x38
pop eax
cmp dword [ebp + 0xc], eax
jbe 0x44d77b
mov dword [ebp + 0xc], eax
push ebx
push edi
push dword [ebp + 0xc]
lea eax, [ebp - 0x48]
push dword [ebp + 8]
push eax
call fcn.004555e0
lea edi, [esi + 0x14]
push 0x48
push 0x462350
push edi
call fcn.004555e0
lea eax, [esi + 0x5c]
push 0x1000
push 0x462398
push eax
call fcn.004555e0
add esp, 0x24
and dword [ebp + 0x10], 0
lea eax, [ebp - 0x48]
mov ecx, edi
push 4
mov dword [ebp - 8], 0x12
pop ebx
and dword [ebp + 8], 0
mov dword [ebp - 4], ebx
mov edx, dword [ebp + 8]
movzx ebx, byte [eax]
shl edx, 8
or edx, ebx
inc eax
inc dword [ebp + 0x10]
mov dword [ebp + 8], edx
mov edx, dword [ebp + 0x10]
cmp edx, dword [ebp + 0xc]
jne 0x44d7ed
and dword [ebp + 0x10], 0
lea eax, [ebp - 0x48]
dec dword [ebp - 4]
jne 0x44d7cc
mov edx, dword [ebp + 8]
push 4
xor dword [ecx], edx
pop ebx
add ecx, ebx
dec dword [ebp - 8]
jne 0x44d7c5
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0044d89a
mov eax, dword [ebp - 0x10]
inc dword [ebp + 0xc]
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
add edi, ebx
inc dword [ebp + 0xc]
mov dword [edi], eax
add edi, ebx
cmp dword [ebp + 0xc], 0x12
jb 0x44d80c
lea eax, [esi + 0x5c]
mov dword [ebp + 8], ebx
mov dword [ebp + 0x10], eax
and dword [ebp + 0xc], 0
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0044d89a
mov eax, dword [ebp - 0x10]
inc dword [ebp + 0xc]
mov dword [edi], eax
mov eax, dword [ebp - 0xc]
add edi, ebx
inc dword [ebp + 0xc]
mov dword [edi], eax
add edi, ebx
cmp dword [ebp + 0xc], 0x100
jl 0x44d841
add dword [ebp + 0x10], 0x400
dec dword [ebp + 8]
jne 0x44d83a
pop edi
pop ebx
mov eax, esi
pop esi
leave
ret 0xc
Function at 0x44db24
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
xor ecx, ecx
push edi
cmp eax, ecx
mov dword [0x4b71fc], ecx
je 0x44dc59
test al, 7
jne 0x44dc59
cmp dword [ebp + 0x14], 1
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
jne 0x44dbb0
mov edi, dword [esi + 0xc]
mov ebx, dword [esi + 0x10]
cmp eax, 8
jb 0x44dc63
shr eax, 3
mov dword [ebp + 0x14], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.0044da80
xor dword [ebp - 8], edi
xor dword [ebp - 4], ebx
pop ecx
lea eax, [ebp - 8]
pop ecx
push eax
mov ecx, esi
call fcn.0044d89a
add dword [ebp + 0xc], 8
mov edi, dword [ebp - 8]
push dword [ebp + 0xc]
mov ebx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
call fcn.0044dadd
add dword [ebp + 8], 8
dec dword [ebp + 0x14]
pop ecx
pop ecx
jne 0x44db6b
jmp 0x44dc63
cmp dword [ebp + 0x14], 2
jne 0x44dc1b
mov ecx, dword [esi + 0xc]
cmp eax, 8
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0xc], ecx
jb 0x44dc63
shr eax, 3
mov edi, eax
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0044d89a
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.0044da80
mov eax, dword [ebp - 8]
add dword [ebp + 0xc], 8
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
push dword [ebp + 0xc]
xor ecx, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 0xc], ecx
call fcn.0044dadd
add dword [ebp + 8], 8
add esp, 0x10
dec edi
jne 0x44dbd0
jmp 0x44dc63
cmp eax, 8
jb 0x44dc63
shr eax, 3
mov edi, eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.0044da80
pop ecx
lea eax, [ebp - 8]
pop ecx
push eax
mov ecx, esi
call fcn.0044d89a
add dword [ebp + 0xc], 8
lea eax, [ebp - 8]
push dword [ebp + 0xc]
push eax
call fcn.0044dadd
add dword [ebp + 8], 8
pop ecx
dec edi
pop ecx
jne 0x44dc25
jmp 0x44dc63
mov dword [0x4b71fc], 1
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x44dc6a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
xor ecx, ecx
push edi
cmp eax, ecx
mov dword [0x4b71fc], ecx
je 0x44ddb6
test al, 7
jne 0x44ddb6
cmp dword [ebp + 0x14], 1
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ecx
jne 0x44dd08
mov ecx, dword [esi + 0xc]
cmp eax, 8
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0xc], ecx
jb 0x44ddc0
shr eax, 3
mov dword [ebp + 0x14], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.0044da80
mov edi, dword [ebp - 8]
mov ebx, dword [ebp - 4]
pop ecx
lea eax, [ebp - 8]
pop ecx
push eax
mov ecx, esi
call fcn.0044d98d
mov eax, dword [ebp - 0x10]
add dword [ebp + 0xc], 8
xor dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
xor dword [ebp - 4], eax
push dword [ebp + 0xc]
lea eax, [ebp - 8]
mov dword [ebp - 0x10], edi
push eax
mov dword [ebp - 0xc], ebx
call fcn.0044dadd
add dword [ebp + 8], 8
dec dword [ebp + 0x14]
pop ecx
pop ecx
jne 0x44dcb7
jmp 0x44ddc0
cmp dword [ebp + 0x14], 2
jne 0x44dd78
mov ecx, dword [esi + 0xc]
cmp eax, 8
mov dword [ebp - 0x10], ecx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0xc], ecx
jb 0x44ddc0
shr eax, 3
mov ebx, eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.0044da80
pop ecx
lea eax, [ebp - 0x10]
pop ecx
push eax
mov ecx, esi
call fcn.0044d89a
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add dword [ebp + 0xc], 8
mov edx, eax
xor eax, dword [ebp - 0x10]
push dword [ebp + 0xc]
mov edi, ecx
xor ecx, dword [ebp - 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edi
call fcn.0044dadd
add dword [ebp + 8], 8
pop ecx
dec ebx
pop ecx
jne 0x44dd28
jmp 0x44ddc0
cmp eax, 8
jb 0x44ddc0
shr eax, 3
mov edi, eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.0044da80
pop ecx
lea eax, [ebp - 8]
pop ecx
push eax
mov ecx, esi
call fcn.0044d98d
add dword [ebp + 0xc], 8
lea eax, [ebp - 8]
push dword [ebp + 0xc]
push eax
call fcn.0044dadd
add dword [ebp + 8], 8
pop ecx
dec edi
pop ecx
jne 0x44dd82
jmp 0x44ddc0
mov dword [0x4b71fc], 1
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x44e2af
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2c04
call fcn.004545d0
push ebx
push esi
push dword [ebp + 8]
lea eax, [ebp - 0x10c]
push str..PhysicalDrive_d
push eax
call fcn.00453de0
add esp, 0xc
xor esi, esi
lea eax, [ebp - 0x10c]
push esi
push esi
push 3
push esi
push 3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44e3a2
push edi
push 0xc
lea eax, [ebp - 0xc]
push esi
push eax
mov dword [ebp + 8], esi
call fcn.004554b0
mov edi, 0x2710
lea eax, [ebp - 0x2c04]
push edi
push esi
push eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call fcn.004554b0
add esp, 0x18
lea eax, [ebp + 8]
push esi
push eax
lea eax, [ebp - 0x2c04]
push edi
push eax
lea eax, [ebp - 0xc]
push 0xc
push eax
push 0x2d1400
push ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
pop edi
je 0x44e3a9
lea eax, [ebp - 0x4f4]
push eax
push 1
push dword [ebp - 0x2bec]
lea eax, [ebp - 0x2c04]
push eax
call fcn.0044e154
movsx eax, byte [ebp - 0x4f4]
push eax
call fcn.0045512c
add esp, 0x14
test eax, eax
jne 0x44e388
movsx eax, byte [ebp - 0x4e1]
push eax
call fcn.0045512c
test eax, eax
pop ecx
je 0x44e39b
lea eax, [ebp - 0x4f4]
push eax
push 0x4b7204
call fcn.004553c0
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop esi
pop ebx
leave
ret
xor eax, eax
jmp 0x44e3a5
Function at 0x44fda5
Capabilities:
Hash data using sha256

Disassembly:
push esi
push edi
mov eax, ecx
mov edx, 0x4634c0
push 8
sub edx, eax
pop esi
mov edi, dword [edx + ecx]
mov dword [ecx], edi
add ecx, 4
dec esi
jne 0x44fdb3
and dword [eax + 0x20], 0
and dword [eax + 0x24], 0
pop edi
pop esi
ret

Function at 0x44ffc7
Capabilities:
Hash data using sha256

Disassembly:
push esi
push edi
mov edx, 0x4634c0
push 8
mov eax, ecx
sub edx, ecx
pop esi
mov edi, dword [edx + eax]
mov dword [eax], edi
add eax, 4
dec esi
jne 0x44ffd5
xor eax, eax
pop edi
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
mov byte [ecx + 0x68], al
pop esi
ret
Function at 0x451ac2
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x45eeab
call fcn.004555b8
push ecx
mov eax, dword [0x4a3f18]
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [ecx], eax
and dword [ebp - 4], 0
push 0x4b71f8
mov dword [esi + 8], 0x13579bdf
mov dword [esi + 0xc], 0x2468ace0
mov dword [esi + 0x10], 0xfdb97531
mov dword [esi + 0x14], WSAAsyncSelect
mov dword [esi + 0x18], 0x40000020
mov dword [esi + 0x1c], 0x10000002
mov dword [esi + 0x20], SysReAllocString
mov dword [esi + 0x24], 0x3fffffff
mov dword [esi + 0x28], 0xfffffff
mov dword [esi + 0x2c], SysReAllocString
mov dword [esi + 0x30], 0xc0000000
mov dword [esi + 0x34], 0xf0000000
mov dword [esi], fcn.00451d33
call fcn.0044be83
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x451f05
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
cmp byte [ebp + 0x10], 1
mov eax, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 0xc]
jne 0x451f26
mov edx, 0xfefefefe
and eax, edx
and ecx, edx
push ebx
mov ebx, dword [ebp + 0x14]
push esi
xor esi, esi
push edi
mov dword [ebp - 0xf4], ecx
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x58], esi
lea edi, [ebx + 2]
mov ecx, dword [ebp + esi - 0xf4]
lea eax, [ebp + esi - 0xf4]
mov dword [ebp + esi - 0x54], ecx
mov ecx, dword [ebp + esi - 0x190]
mov edx, dword [ebp + esi - 0x58]
mov dword [ebp + esi - 0xf0], ecx
xor edx, ecx
mov ecx, dword [ebp - 4]
push edx
push dword [eax]
call fcn.00451e4e
lea ecx, [ebp + esi - 0x18c]
mov dword [ecx], eax
shr eax, 0x10
mov word [esi + ebx], ax
mov ax, word [ecx]
mov word [edi], ax
add esi, 4
add edi, 4
cmp esi, 0x4c
jle 0x451f40
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x452057
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
mov esi, ecx
push edi
movzx eax, word [esi + 0x40]
movzx ecx, word [esi + 0x42]
shl eax, 0x10
movzx edx, word [esi + 0x46]
or eax, ecx
mov ecx, dword [ebp + 0xc]
xor eax, ecx
mov dword [ebp + 0xc], esi
movzx ecx, word [esi + 0x44]
shl ecx, 0x10
or ecx, edx
mov dword [ebp - 0x108], eax
xor ecx, dword [ebp + 8]
xor ecx, eax
xor edi, edi
mov dword [ebp - 0x84], ecx
mov eax, dword [ebp + 0xc]
lea ebx, [ebp + edi - 0x84]
mov ecx, esi
movzx eax, word [eax]
push eax
push dword [ebx]
call fcn.00451fc5
xor eax, dword [ebp + edi - 0x108]
add dword [ebp + 0xc], 2
mov dword [ebp + edi - 0x80], eax
mov eax, dword [ebx]
mov dword [ebp + edi - 0x104], eax
add edi, 4
cmp edi, 0x7c
jle 0x45209a
movzx eax, word [esi + 0x48]
movzx edi, word [esi + 0x4a]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x88]
shl eax, 0x10
xor ecx, edx
or eax, edi
xor eax, ecx
pop edi
xor edx, eax
movzx eax, word [esi + 0x4c]
movzx esi, word [esi + 0x4e]
shl eax, 0x10
or eax, esi
xor esi, esi
xor ecx, eax
xor eax, eax
or eax, ecx
or edx, esi
pop esi
pop ebx
leave
ret 8
Function at 0x4521c2
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
and edx, dword [esp + 0xc]
push edi
push 1
xor eax, eax
pop esi
lea ecx, [esi - 1]
mov edi, edx
shr edi, cl
and edi, 1
xor eax, edi
inc esi
cmp esi, 0x20
jle 0x4521d1
pop edi
pop esi
ret

Function at 0x4497bd
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
pushal
push ebp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add dl, dl
jne 0x4497da
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x4497cb
add dl, dl
jne 0x4497e5
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x449831
xor eax, eax
add dl, dl
jne 0x4497f2
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x4498ce
add dl, dl
jne 0x449801
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x44980c
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x449817
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x449822
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x44982c
push edi
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
jmp 0x4497d1
mov eax, 1
add dl, dl
jne 0x44983f
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x44984a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x449836
sub eax, 2
jne 0x449879
mov ecx, 1
add dl, dl
jne 0x44985f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x44986a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x449856
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4497d1
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x449890
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x44989b
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x449887
cmp eax, 0x7d00
jae 0x4498be
cmp eax, 0x500
jb 0x4498b9
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4497d1
cmp eax, 0x7f
ja 0x4498c1
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4497d1
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x4498ea
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x4497d1
pop ebp
sub edi, dword [ebp + 0xc]
mov dword [ebp - 4], edi
popal
pop ebp
ret 8