joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47f050
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d619b
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x513480]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x248]
mov dword [ebp - 0x244], 0xffffffff
push eax
mov dword [ebp - 0x248], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x47f260
cmp dword [ebp - 0x248], 0xffffffff
je 0x47f260
xor esi, esi
xor edi, edi
xor ebx, ebx
mov dword [ebp - 0x24c], esi
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x258], edi
mov dword [ebp - 0x254], ebx
push ebx
push 2
mov dword [ebp - 4], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x240], eax
cmp eax, 0xffffffff
je 0x47f229
push 0x228
lea eax, [ebp - 0x238]
mov dword [ebp - 0x23c], 0x22c
push ebx
push eax
call fcn.00494800
add esp, 0xc
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x240]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x47f1a0
jmp 0x47f130
lea eax, [ebp - 0x218]
push str.explorer.exe
push eax
call fcn.0049dae9
add esp, 8
test eax, eax
jne 0x47f17e
cmp edi, ebx
je 0x47f15f
mov eax, dword [ebp - 0x234]
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x258], edi
jmp 0x47f17e
lea eax, [ebp - 0x234]
push eax
push edi
lea ecx, [ebp - 0x25c]
call fcn.004028e0
mov ebx, dword [ebp - 0x254]
mov edi, dword [ebp - 0x258]
lea eax, [ebp - 0x23c]
push eax
push dword [ebp - 0x240]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x47f130
mov esi, dword [ebp - 0x25c]
mov dword [ebp - 0x24c], esi
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, edi
je 0x47f229
lea eax, [ebp - 0x240]
mov dword [ebp - 0x240], 0xffffffff
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x47f214
mov eax, dword [ebp - 0x240]
cmp eax, dword [ebp - 0x248]
jne 0x47f214
push dword [esi]
push 0
push 0x100400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x250], eax
test eax, eax
je 0x47f214
lea ecx, [ebp - 0x244]
push ecx
push 0xf
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push dword [ebp - 0x250]
test eax, eax
jne 0x47f21d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 4
cmp esi, edi
jne 0x47f1b0
jmp 0x47f223
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x24c]
mov edi, dword [ebp - 0x244]
test esi, esi
je 0x47f25c
sub ebx, esi
mov eax, esi
and ebx, 0xfffffffc
cmp ebx, 0x1000
jb 0x47f252
mov esi, dword [esi - 4]
add ebx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47f282
push ebx
push esi
call fcn.00491e05
add esp, 8
mov eax, edi
jmp 0x47f266
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00491e13
mov esp, ebp
pop ebp
ret
call fcn.0049d959
int3
Function at 0x480440
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d64e9
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x513480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.0047a9a0
lea ecx, [esi + 0x18]
mov dword [ebp - 4], 0
call fcn.0047a9a0
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.0047a9a0
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 2
call fcn.0047a9a0
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 3
call fcn.0047a9a0
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 4
call fcn.0047a9a0
lea ecx, [esi + 0x90]
mov byte [ebp - 4], 5
call fcn.0047a9a0
lea ecx, [esi + 0xa8]
mov byte [ebp - 4], 6
call fcn.0047a9a0
lea ecx, [esi + 0xc0]
mov byte [ebp - 4], 7
call fcn.0047a9a0
lea ecx, [esi + 0xd8]
mov byte [ebp - 4], 8
call fcn.0047a9a0
lea ecx, [esi + 0xf0]
mov byte [ebp - 4], 9
call fcn.0047a9a0
lea ecx, [esi + 0x108]
mov byte [ebp - 4], 0xa
call fcn.0047a9a0
lea ecx, [esi + 0x120]
mov byte [ebp - 4], 0xb
call fcn.0047a9a0
lea ecx, [esi + 0x138]
mov byte [ebp - 4], 0xc
call fcn.0047a9a0
lea ecx, [esi + 0x150]
mov byte [ebp - 4], 0xd
call fcn.0047a9a0
lea ecx, [esi + 0x168]
mov byte [ebp - 4], 0xe
call fcn.0047a9a0
lea ecx, [esi + 0x180]
mov byte [ebp - 4], 0xf
call fcn.0047a9a0
lea ecx, [esi + 0x198]
mov byte [ebp - 4], 0x10
call fcn.0047a9a0
mov dword [esi + 0x1b0], 0
mov eax, esi
mov dword [esi + 0x1b4], 0
mov dword [esi + 0x1b8], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x48af10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d73f7
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x513480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
call fcn.0048bd10
test al, al
jne 0x48af58
or ebx, 0xffffffff
jmp 0x48b0be
cmp dword [edi + 0xc], 0
jne 0x48afa1
push 0
push 1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
push 0
push 0
push 1
push 0
mov dword [edi + 4], eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi], eax
lea eax, [ebp - 0x10]
push eax
push 0
push edi
push 0x48c270
push 0
push 0
mov dword [ebp - 0x10], 0
call fcn.004a41df
add esp, 0x18
mov dword [edi + 0xc], eax
lea ecx, [edi + 0x10]
call fcn.0048cb50
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
push 0x20
mov byte [ebp - 4], 1
call fcn.00491dd5
add esp, 4
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x48afdf
lea ecx, [ebp + 8]
push ecx
mov ecx, eax
call fcn.0048a060
mov ebx, eax
jmp 0x48afe1
xor ebx, ebx
mov dword [ebp - 0x10], ebx
push 0x10
mov byte [ebp - 4], 3
call fcn.00491dd5
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
test esi, esi
je 0x48b014
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], vtable.std::_Ref_count_struct_KIC::Event_.0
mov dword [esi + 0xc], ebx
jmp 0x48b016
xor esi, esi
cmp dword [ebp - 0x20], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], esi
je 0x48b04d
push 4
call fcn.00491dd5
add esp, 4
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x20]
mov dword [eax], ecx
jmp 0x48b050
mov ecx, dword [ebp - 0x14]
mov edx, dword [edi + 0x20]
cmp edx, dword [edi + 0x24]
je 0x48b072
mov dword [edx + 4], esi
xor esi, esi
mov dword [edx], ebx
mov dword [edx + 8], ecx
add dword [edi + 0x20], 0xc
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], esi
jmp 0x48b082
lea ecx, [ebp - 0x1c]
push ecx
push edx
lea ecx, [edi + 0x1c]
call fcn.0048a6a0
mov esi, dword [ebp - 0x18]
lea ecx, [edi + 0x10]
call fcn.0048cb60
push 0
push 1
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
xor ebx, ebx
test esi, esi
je 0x48b0be
or edi, 0xffffffff
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x48b0be
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x48b0be
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
lea ecx, [ebp + 8]
call fcn.00408b50
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
Function at 0x48fa80
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ecx]
cmp esi, 0x10
je 0x48fa97
cmp esi, 0x20
jne 0x48fc6b
shr esi, 2
mov edx, 4
cmp esi, edx
mov dword [ebp - 0xc], esi
mov eax, esi
cmovb eax, edx
push edi
mov edi, dword [ebp + 8]
lea eax, [eax*4 + 0x1c]
mov dword [ebp - 8], eax
test edi, edi
je 0x48fc6a
mov dword [edi], 0x10
push ebx
mov dword [edi + 4], eax
xor ebx, ebx
add edi, 8
test esi, esi
je 0x48fb02
lea edx, [ecx + 5]
movzx ecx, byte [edx - 1]
lea edx, [edx + 4]
movzx eax, byte [edx - 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 3]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx - 2]
shl ecx, 8
or ecx, eax
mov dword [edi + ebx*4], ecx
inc ebx
cmp ebx, esi
jl 0x48fad5
mov eax, dword [ebp - 8]
mov ebx, dword [edi + ebx*4 - 4]
mov ecx, esi
cmp esi, eax
jge 0x48fbea
mov dword [ebp + 8], 0
mov dword [ebp - 4], edi
lea ebx, [ebx]
mov eax, ecx
cdq
idiv esi
test edx, edx
jne 0x48fb80
mov eax, dword [ebp + 8]
cdq
idiv esi
mov dl, byte [eax + 0x4f00a0]
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx esi, byte [eax + str.cw]
movzx eax, dl
xor esi, eax
mov eax, ebx
shr eax, 8
movzx eax, al
shl esi, 8
movzx eax, byte [eax + str.cw]
xor esi, eax
movzx eax, bl
shl esi, 8
shr ebx, 0x18
movzx eax, byte [eax + str.cw]
xor esi, eax
movzx ebx, byte [ebx + str.cw]
shl esi, 8
xor ebx, esi
mov esi, dword [ebp - 0xc]
jmp 0x48fbcd
cmp esi, 6
jbe 0x48fbcd
cmp edx, 4
jne 0x48fbcd
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + str.cw]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
xor edx, eax
mov eax, ebx
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
xor edx, eax
movzx eax, bl
shl edx, 8
movzx ebx, byte [eax + str.cw]
xor ebx, edx
mov eax, dword [ebp - 4]
inc dword [ebp + 8]
xor ebx, dword [eax]
add eax, 4
mov dword [edi + ecx*4], ebx
inc ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
cmp ecx, eax
jl 0x48fb20
xor esi, esi
sub ecx, 1
js 0x48fc69
lea eax, [edi + eax*4]
mov dword [ebp + 8], eax
mov ebx, dword [edi + ecx*4]
cmp esi, 4
jl 0x48fc59
cmp ecx, 4
jb 0x48fc59
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + str.cw]
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [edx*4 + 0x4ef4a0]
movzx eax, byte [eax + str.cw]
xor edx, dword [eax*4 + 0x4ef8a0]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
xor edx, dword [eax*4 + 0x4ef0a0]
movzx eax, bl
movzx eax, byte [eax + str.cw]
xor edx, dword [eax*4 + 0x4efca0]
mov eax, dword [ebp + 8]
jmp 0x48fc5b
mov edx, ebx
mov dword [eax], edx
inc esi
add eax, 4
sub ecx, 1
mov dword [ebp + 8], eax
jns 0x48fbf7
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4900a0
Capabilities:
Decode data using base64 via dword translation table
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
mov eax, dword [ebx + 0x10]
add eax, 3
shr eax, 2
lea eax, [eax + eax*2]
push eax
call fcn.00491f5c
mov ecx, ebx
add esp, 4
mov esi, eax
cmp dword [ecx + 0x14], 0x10
jb 0x4900cc
mov ecx, dword [ecx]
mov ebx, dword [ebx + 0x10]
lea eax, [ebx - 1]
add eax, ecx
cmp byte [eax], 0x3d
jne 0x4900e9
lea esp, [esp]
lea eax, [eax - 1]
dec ebx
cmp byte [eax], 0x3d
je 0x4900e0
push edi
xor edi, edi
test ebx, ebx
je 0x490186
mov eax, 1
mov dword [ebp + 8], 2
sub eax, ecx
lea edx, [ecx + 2]
mov dword [ebp - 8], eax
lea eax, [ebx - 1]
shr eax, 2
inc eax
mov dword [ebp - 4], eax
movsx eax, byte [edx - 1]
mov ch, byte [eax + 0x4f0108]
movsx eax, byte [edx - 2]
mov cl, byte [eax + 0x4f0108]
mov al, ch
sar al, 4
and al, 3
shl cl, 2
or cl, al
mov eax, dword [ebp + 8]
mov byte [edi + esi], cl
inc edi
cmp eax, ebx
jae 0x490177
movsx eax, byte [edx]
shl ch, 4
mov cl, byte [eax + 0x4f0108]
mov al, cl
sar al, 2
and al, 0xf
or al, ch
mov byte [edi + esi], al
inc edi
mov eax, dword [ebp - 8]
add eax, edx
cmp eax, ebx
jae 0x490174
movsx eax, byte [edx + 1]
shl cl, 6
mov al, byte [eax + 0x4f0108]
and al, 0x3f
or al, cl
mov byte [edi + esi], al
inc edi
mov eax, dword [ebp + 8]
add eax, 4
add edx, 4
sub dword [ebp - 4], 1
mov dword [ebp + 8], eax
jne 0x490112
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x49018f
mov dword [eax], edi
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4901b2
lea eax, [ebp + 8]
cmp ecx, eax
je 0x4901b2
mov edx, dword [ecx]
mov eax, esi
xor esi, esi
mov dword [ecx], eax
test edx, edx
je 0x4901b2
push edx
call fcn.00491f65
add esp, 4
test edi, edi
pop edi
setne bl
test esi, esi
je 0x4901c5
push esi
call fcn.00491f65
add esp, 4
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b314c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004b2fc2

Function at 0x4b5118
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004b4c6b

Function at 0x4c0c60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d7da3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x513480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0xffffffff
mov dword [esi + 4], 0xffffffff
mov dword [esi + 0xc], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0xf
mov byte [esi + 0x20], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
lea ecx, [esi + 0x48]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [ebp - 4], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov dword [esi + 0x68], 0xffffffff
mov dword [esi + 0x64], 0xffffffff
push 0
push 0x4dde54
mov byte [ebp - 4], 1
mov dword [esi + 0x60], 4
mov byte [esi + 0x6c], 0
mov byte [esi + 0x40], 0
mov dword [esi + 0x44], 0
call fcn.0040c3c0
mov dword [esi + 0x68], 0
mov eax, esi
mov dword [esi + 0x64], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c7d70
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d8257
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x513480]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
cmp dword [ebp + 0xc], 0
mov dword [ebp - 0x10], 0
je 0x4c7dc5
mov dword [ebx], 0x4fd6c0
mov dword [ebx + 0x50], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
push 0
lea esi, [ebx + 4]
mov ecx, ebx
push 0
push esi
mov dword [ebp + 0xc], esi
call fcn.004c7ba0
mov eax, dword [ebx]
push 8
mov dword [ebp - 4], 1
mov dword [ebp - 0x18], esi
mov eax, dword [eax + 4]
mov dword [ebx + eax], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebx]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ecx + ebx - 4], eax
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00491dd5
mov esi, eax
add esp, 4
test esi, esi
je 0x4c7e22
push 1
mov byte [ebp - 4], 2
call fcn.004909d3
add esp, 4
mov dword [esi + 4], eax
jmp 0x4c7e24
xor esi, esi
lea eax, [ebx + 4]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
lea ecx, [eax + 0x18]
mov dword [eax + 0x20], ecx
lea edx, [eax + 0x24]
mov dword [eax + 0x2c], edx
lea edi, [eax + 0x14]
mov dword [eax + 0x1c], edi
add eax, 0x28
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x10]
mov dword [esi], 0
mov esi, dword [ebp + 0xc]
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov ebx, dword [ebp + 8]
mov ecx, ebx
not ecx
mov dword [edi], 0
mov dword [edx], 0
and ecx, 1
shl ecx, 2
mov eax, ebx
mov edx, ecx
mov dword [esi], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
or edx, 8
mov dword [esi + 0x38], 0
and al, 8
cmove edx, ecx
mov eax, edx
or eax, 0x10
and bl, 4
cmove eax, edx
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x10005737
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x10005746
pop dword [ebp - 0x4c]
mov eax, 0x10005746
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x390fa4b3
add dword [ebp - 0x5c], 0x1542a098
mov dword [ebp - 0x58], 0x229e9e37
add dword [ebp - 0x58], 0xf94ae0e
mov dword [ebp - 0x54], 0xa17da155
sub dword [ebp - 0x54], 0x55315d27
mov dword [ebp - 0x50], 0x79b42eba
add dword [ebp - 0x50], 0x864bd146
lea eax, [ebp - 0x5c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x688a2e0b
add dword [ebp - 0x5c], 0xbe83b4b
mov dword [ebp - 0x58], 0x2bf65a44
add dword [ebp - 0x58], 0x15760731
mov dword [ebp - 0x54], 0x4eeccfb6
sub dword [ebp - 0x54], 0xeb7d634a
mov dword [ebp - 0x50], 0x901498de
sub dword [ebp - 0x50], 0x901498de
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x143a491c
add eax, 0xfbc9b83c
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3be89
push 0
call eax
mov ecx, 0x37b9ae78
add ecx, 0xc8469c53
xor ebx, ebx
add ebx, eax
mov edi, 0x72c97fb4
sub edi, 0x62c035b4
add edi, dword [ebp - 0x4c]
mov edx, 0x8e9f5e7e
sub dword [ebp - 0xc], ecx
mov esi, dword [edi]
mov dword [ebp - 0x48], 0x38f07125
xor esi, edx
xor dword [ebp - 0xc], 0xa94e5755
mov dword [ebx], esi
sub dword [ebp - 0x20], edi
add ebx, 0x2923f19b
add ebx, 0xd6dc0e69
add edi, 4
loop 0x1000585a
add eax, 0x11dff
xor ebx, ebx
add ebx, eax
add eax, 0x5920bc91
sub eax, 0x5920bc8c
mov ecx, 0x10000000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

Function at 0x100058e1
Capabilities:
Hash data using sha256

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x24], 0
and dword [eax + 0x20], 0
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
ret
Function at 0x1003dfd1
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov eax, dword [esi + 0x50]
cmp eax, dword [esi + 0x54]
jae 0x1003dfe8
mov bl, byte [eax]
inc eax
mov dword [esi + 0x50], eax
jmp 0x1003e054
cmp dword [esi + 0x4c], 0
jl 0x1003e052
mov edi, dword [esi + 0x58]
push 0xfa0
push edi
push dword [esi + 0x4c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
jne 0x1003e020
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 4
je 0x1003dff1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 0xb
je 0x1003dff1
cmp ebx, 1
jge 0x1003e02d
or dword [esi + 0x4c], 0xffffffff
xor bl, bl
jmp 0x1003e072
lea eax, [edi + 1]
mov dword [esi + 0x50], eax
lea eax, [ebx + edi]
mov dword [esi + 0x54], eax
mov bl, byte [edi]
test bl, bl
jne 0x1003e054
push esi
call fcn.1003f085
mov eax, dword [esi + 0x50]
or dword [esi + 0x4c], 0xffffffff
pop ecx
mov dword [esi + 0x54], eax
jmp 0x1003e054
xor bl, bl
cmp bl, 0xa
jne 0x1003e068
mov eax, dword [esp + 0x18]
and dword [eax], 0
mov eax, dword [esp + 0x14]
inc dword [eax]
jmp 0x1003e072
test bl, bl
je 0x1003e072
mov ecx, dword [esp + 0x18]
inc dword [ecx]
pop edi
pop esi
mov al, bl
pop ebx
ret

Function at 0x1003ef85
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov eax, dword [esi + 0x50]
cmp eax, dword [esi + 0x54]
jae 0x1003ef98
mov al, byte [eax]
jmp 0x1003efdb
cmp dword [esi + 0x4c], 0
jl 0x1003efd9
mov edi, dword [esi + 0x58]
push 0xfa0
push edi
push dword [esi + 0x4c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
mov ebx, eax
add esp, 0xc
cmp ebx, 0xffffffff
jne 0x1003efd0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 4
je 0x1003efa1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [eax], 0xb
je 0x1003efa1
cmp ebx, 1
jge 0x1003efdf
or dword [esi + 0x4c], 0xffffffff
xor al, al
pop edi
pop esi
pop ebx
ret
lea ecx, [ebx + edi]
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], ecx
mov al, byte [edi]
jmp 0x1003efdb

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0xd840b0
Capabilities:
Decompress data using aplib

Disassembly:
call 0xd84200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xd840d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd840c2
add dl, dl
jne 0xd840e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd84134
xor eax, eax
add dl, dl
jne 0xd840ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xd841d5
add dl, dl
jne 0xd840fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd84108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd84113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd8411e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xd8412a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xd840cd
mov eax, 1
add dl, dl
jne 0xd84142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xd8414d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd84139
sub eax, ebx
mov ebx, 1
jne 0xd84180
mov ecx, 1
add dl, dl
jne 0xd84166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd84171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd8415d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd840cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xd84197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xd841a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xd8418e
cmp eax, 0x7d00
jae 0xd841c5
cmp eax, 0x500
jb 0xd841c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd840cd
cmp eax, 0x7f
ja 0xd841c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xd840cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xd841f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xd840cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10