joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435efd
Capabilities:
Create process on windows

Disassembly:
push 0x44
push 0
push 0x4a6d00
call fcn.00414580
push 0x10
push 0
push 0x4a6cec
call fcn.00414580
mov ecx, dword [esp + 0x1c]
add esp, 0x18
push 0x4a6cec
push 0x4a6d00
push 0
push 0
push 0x20
push 0
push 0
push 0
push ecx
mov eax, 1
push 0
mov dword [0x4a6d00], 0x44
mov dword [0x4a6d2c], 1
mov word [0x4a6d30], ax
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
je 0x435f70
mov edx, dword [0x4a6cec]
mov dword [esp + 4], edx
jmp dword [sym.imp.KERNEL32.DLL_CloseHandle]
ret 4
Function at 0x44e9c1
Capabilities:
Copy file
Move file

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x438
push ebx
mov bl, byte [esp + 0x448]
lea eax, [esp + 0x230]
call fcn.0040fdc0
mov ecx, dword [esp + 0x444]
lea eax, [esp + 0x24]
call fcn.0040fdc0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x234]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x44ea40
test bl, bl
je 0x44ea69
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x234]
push eax
call fcn.00414774
add esp, 8
test eax, eax
je 0x44ea36
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x234]
push edx
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
mov al, 1
pop ebx
add esp, 0x438
ret
lea eax, [esp + 0x230]
push eax
call fcn.00438baa
add esp, 4
test al, al
je 0x44ea69
lea ecx, [esp + 0x24]
push ecx
call fcn.00438baa
add esp, 4
test al, al
je 0x44ea73
test bl, bl
jne 0x44ea95
xor al, al
pop ebx
add esp, 0x438
ret
lea edx, [esp + 0x24]
push edx
call fcn.004387a4
add esp, 4
test al, al
je 0x44ea69
lea eax, [esp + 0x24]
push eax
call fcn.00438baa
add esp, 4
test al, al
je 0x44ea69
lea ecx, [esp + 0x230]
push str..
push ecx
call fcn.004129f3
lea edx, [esp + 0x238]
push edx
call fcn.00412665
lea edx, [esp + 0x30]
xor ecx, ecx
push edx
mov word [esp + eax*2 + 0x242], cx
call fcn.00412665
xor ecx, ecx
mov word [esp + eax*2 + 0x36], cx
lea edx, [esp + 0x240]
lea eax, [esp + 0x34]
mov dword [esp + 0x1c], edx
add esp, 0x10
mov dword [esp + 0x10], eax
xor eax, eax
lea edx, [esp + 4]
mov ecx, 0x614
push edx
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov word [esp + 0x18], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
pop ebx
add esp, 0x438
ret
Function at 0x44eb21
Capabilities:
Copy file
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10b4
call fcn.0041fe20
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
lea eax, [esp + 0x438]
xor bl, bl
call fcn.0040fdc0
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x648]
call fcn.0040fdc0
lea eax, [esp + 0x648]
push eax
lea ecx, [esp + 0x43c]
push ecx
call fcn.00438b03
lea edx, [esp + 0x440]
push edx
mov byte [esp + 0x1b], al
call fcn.00438baa
add esp, 0xc
test al, al
je 0x44eb96
lea eax, [esp + 0x438]
push str..
push eax
call fcn.004129f3
add esp, 8
lea ecx, [esp + 0x648]
push ecx
call fcn.00438baa
add esp, 4
test al, al
je 0x44ebbf
lea edx, [esp + 0x648]
push str..
push edx
call fcn.004129f3
add esp, 8
lea eax, [esp + 0xcb0]
push eax
lea ecx, [esp + 0xebc]
push ecx
lea edx, [esp + 0xab0]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x448]
push ecx
call fcn.00415140
add esp, 0x14
lea edx, [esp + 0x858]
push edx
lea eax, [esp + 0x43c]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
mov byte [esp + 0xe], 1
cmp esi, 0xffffffff
je 0x44ed75
mov edi, dword [sym.imp.KERNEL32.DLL_CopyFileW]
cmp byte [esp + 0xe], 1
jne 0x44ed75
test byte [esp + 0x858], 0x10
jne 0x44ed55
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x64c]
push edx
lea eax, [esp + 0xcb8]
push eax
lea ecx, [esp + 0xec4]
push ecx
lea edx, [esp + 0x894]
push edx
call fcn.0043895f
add esp, 0x14
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00412a21
lea edx, [esp + 0xab0]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004129f3
lea ecx, [esp + 0x894]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.004129f3
lea eax, [esp + 0x240]
push eax
call fcn.00438c08
add esp, 0x1c
test al, al
je 0x44ecd3
cmp byte [ebp + 0x10], 0
je 0x44ed2c
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
je 0x44ed3c
lea eax, [esp + 0x228]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp byte [ebp + 0x14], 1
jne 0x44ed17
cmp byte [esp + 0xf], 0
jne 0x44ecf5
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
jmp 0x44ed28
push 0
lea eax, [esp + 0x22c]
push eax
lea ecx, [esp + 0x20]
push ecx
call edi
test eax, eax
je 0x44ed2c
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x44ed28
push 0
lea eax, [esp + 0x22c]
push eax
lea ecx, [esp + 0x20]
push ecx
call edi
test eax, eax
jne 0x44ed53
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x228]
push edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
test eax, eax
je 0x44ed2c
mov bl, 1
lea ecx, [esp + 0x858]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x44ec18
mov byte [esp + 0xe], al
jmp 0x44ec18
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44ed85
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa88
mov ecx, dword [ebp + 8]
push ebx
push esi
lea eax, [esp + 0x18]
mov byte [esp + 0xf], 0
call fcn.0040fdc0
lea eax, [esp + 0x18]
push eax
call fcn.00438baa
add esp, 4
test al, al
je 0x44edc7
lea ecx, [esp + 0x18]
push str..
push ecx
call fcn.004129f3
add esp, 8
lea edx, [esp + 0x680]
push edx
lea eax, [esp + 0x88c]
push eax
lea ecx, [esp + 0x480]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00415140
add esp, 0x14
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
mov bl, 1
cmp esi, 0xffffffff
je 0x44ee8c
cmp bl, 1
jne 0x44ee8c
test byte [esp + 0x228], 0x10
jne 0x44ee66
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x17], bl
call fcn.00412a21
lea edx, [esp + 0x480]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004129f3
lea ecx, [esp + 0x264]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.004129f3
add esp, 0x18
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp eax, 1
jne 0x44ee7d
lea ecx, [esp + 0x228]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x44ee0d
xor bl, bl
jmp 0x44ee0d
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor al, al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov al, byte [esp + 0xf]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000530a
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5a4d
sub esp, 0xc
cmp word [ebx], ax
je 0x1000531e
xor eax, eax
leave
ret
mov eax, dword [ebx + 0x3c]
cmp dword [eax + ebx], 0x4550
jne 0x1000531a
push esi
mov esi, dword [eax + ebx + 0x78]
test esi, esi
jne 0x10005337
xor eax, eax
jmp 0x1000537c
and dword [ebp - 4], 0
add esi, ebx
mov ecx, dword [esi + 0x1c]
lea eax, [ecx + ebx]
push edi
mov edi, dword [esi + 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0x24]
add eax, ebx
add edi, ebx
mov dword [ebp - 8], eax
test ecx, ecx
je 0x10005379
mov eax, dword [ebp - 4]
mov eax, dword [edi + eax*4]
add eax, ebx
push eax
push dword [ebp + 8]
call dword [0x1bfd180]
test eax, eax
je 0x1000537f
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x1c]
jb 0x10005358
xor eax, eax
pop edi
pop esi
leave
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
movzx eax, word [eax + ecx*2]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + eax*4]
add eax, ebx
jmp 0x1000537b
Function at 0x100065f4
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x120
push esi
push edi
push 8
mov esi, eax
pop ecx
lea edi, [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
add eax, 0x29
mov cl, byte [eax - 1]
movzx edx, cl
mov cl, byte [eax]
shl edx, 8
movzx ecx, cl
or ecx, edx
mov dl, byte [eax + 1]
shl ecx, 8
movzx edx, dl
or edx, ecx
mov cl, byte [eax + 2]
shl edx, 8
movzx ecx, cl
or ecx, edx
mov dword [ebp + esi*4 - 0x120], ecx
inc esi
add eax, 4
cmp esi, 0x10
jl 0x10006611
push 0x30
pop esi
lea eax, [ebp - 0xe8]
push ebx
mov ecx, dword [eax - 0x34]
mov edx, dword [eax]
mov edi, ecx
rol edi, 0xe
mov ebx, ecx
shr ecx, 3
ror ebx, 7
xor edi, ebx
xor edi, ecx
mov ecx, edx
rol ecx, 0xf
mov ebx, edx
rol ebx, 0xd
xor ecx, ebx
shr edx, 0xa
xor ecx, edx
add edi, ecx
add edi, dword [eax - 0x38]
add eax, 4
add edi, dword [eax - 0x18]
dec esi
mov dword [eax + 4], edi
jne 0x10006651
mov esi, dword [ebp - 0x10]
xor edx, edx
mov edi, dword [ebp - 0xc]
mov eax, esi
ror eax, 0xb
mov ecx, esi
rol ecx, 7
xor eax, ecx
and edi, esi
mov ecx, esi
ror ecx, 6
xor eax, ecx
mov ebx, dword [ebp - 0x1c]
mov ecx, esi
not ecx
and ecx, dword [ebp - 8]
and ebx, dword [ebp - 0x20]
xor ecx, edi
mov edi, dword [ebp - 0x20]
add eax, ecx
add eax, dword [edx + 0x1bfd4d0]
mov ecx, dword [ebp - 0x20]
add eax, dword [ebp + edx - 0x120]
add edx, 4
add eax, dword [ebp - 4]
ror ecx, 0xd
rol edi, 0xa
xor ecx, edi
mov edi, dword [ebp - 0x20]
ror edi, 2
xor ecx, edi
mov edi, dword [ebp - 0x1c]
xor edi, dword [ebp - 0x20]
and edi, dword [ebp - 0x18]
xor edi, ebx
add ecx, edi
mov edi, dword [ebp - 8]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0xc]
mov dword [ebp - 8], edi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x20]
add ecx, eax
add esi, eax
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], ecx
cmp edx, 0x100
jl 0x1000668e
mov eax, dword [ebp + 8]
push 8
lea ecx, [ebp - 0x20]
pop edx
mov dword [ebp - 0x10], esi
sub ecx, eax
pop ebx
mov esi, dword [ecx + eax]
add dword [eax], esi
add eax, 4
dec edx
jne 0x10006733
pop edi
pop esi
leave
ret

Function at 0x10006742
Capabilities:
Hash data using sha256

Disassembly:
and dword [eax + 0x20], 0
and dword [eax + 0x24], 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 0x10007adc
Capabilities:
Encode data using xor
Manually build aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
push ebx
xor ebx, ebx
push esi
xor ecx, ecx
inc ebx
push edi
mov eax, ebx
mov esi, 0xff
mov edx, eax
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
and edx, 0x1b
lea edi, [eax + eax]
xor edx, edi
mov dword [ebp + ecx*4 - 0x80c], eax
mov dword [ebp + eax*4 - 0x40c], ecx
xor eax, edx
and eax, esi
inc ecx
cmp ecx, 0x100
jl 0x10007af4
mov eax, ebx
mov ecx, 0x1c00900
mov edx, eax
and dl, 0x80
movsx edx, dl
neg edx
sbb edx, edx
mov dword [ecx], eax
add eax, eax
and edx, 0x1b
xor eax, edx
add ecx, 4
and eax, esi
cmp ecx, 0x1c00928
jl 0x10007b2a
mov byte [0x1c00000], 0x63
mov byte [0x1c0218b], 0
mov eax, dword [ebp + ebx*4 - 0x40c]
shl eax, 2
lea ecx, [ebp - 0x410]
sub ecx, eax
mov eax, dword [ecx]
mov ecx, eax
sar ecx, 7
lea edx, [eax + eax]
or ecx, edx
and ecx, esi
xor eax, ecx
mov edx, ecx
sar edx, 7
add ecx, ecx
or edx, ecx
and edx, esi
xor eax, edx
mov ecx, edx
add edx, edx
sar ecx, 7
or ecx, edx
and ecx, esi
xor eax, ecx
mov edx, ecx
sar edx, 7
add ecx, ecx
or edx, ecx
xor edx, 0x63
and edx, esi
xor eax, edx
mov byte [ebx + 0x1c00000], al
mov byte [eax + 0x1c02128], bl
inc ebx
cmp ebx, 0x100
jl 0x10007b5a
xor edi, edi
movzx edx, byte [edi + 0x1c00000]
mov eax, edx
and al, 0x80
movsx ecx, al
neg ecx
sbb ecx, ecx
and ecx, 0x1b
lea eax, [edx + edx]
xor ecx, eax
and ecx, esi
mov eax, ecx
xor eax, edx
shl eax, 8
xor eax, edx
shl eax, 8
xor eax, edx
shl eax, 8
xor eax, ecx
mov ecx, edi
mov dword [ecx*4 + 0x1c01d28], eax
rol eax, 8
mov dword [ecx*4 + 0x1c01928], eax
rol eax, 8
mov dword [ecx*4 + 0x1c01528], eax
rol eax, 8
mov dword [ecx*4 + 0x1c01128], eax
movzx eax, byte [edi + 0x1c02128]
test eax, eax
je 0x10007c3c
mov eax, dword [ebp + eax*4 - 0x40c]
add eax, dword [ebp - 0x3d4]
mov ebx, esi
cdq
idiv ebx
mov eax, dword [ebp + edx*4 - 0x80c]
mov dword [ebp - 4], eax
jmp 0x10007c40
and dword [ebp - 4], 0
movzx eax, byte [edi + 0x1c02128]
test eax, eax
je 0x10007c69
mov eax, dword [ebp + eax*4 - 0x40c]
add eax, dword [ebp - 0x3e8]
mov ebx, esi
cdq
idiv ebx
mov eax, dword [ebp + edx*4 - 0x80c]
mov dword [ebp - 0xc], eax
jmp 0x10007c6d
and dword [ebp - 0xc], 0
movzx eax, byte [edi + 0x1c02128]
test eax, eax
je 0x10007c96
mov eax, dword [ebp + eax*4 - 0x40c]
add eax, dword [ebp - 0x3d8]
mov ebx, esi
cdq
idiv ebx
mov eax, dword [ebp + edx*4 - 0x80c]
mov dword [ebp - 8], eax
jmp 0x10007c9a
and dword [ebp - 8], 0
movzx eax, byte [edi + 0x1c02128]
test eax, eax
je 0x10007cc0
mov eax, dword [ebp + eax*4 - 0x40c]
add eax, dword [ebp - 0x3e0]
mov ebx, esi
cdq
idiv ebx
mov edx, dword [ebp + edx*4 - 0x80c]
jmp 0x10007cc2
xor edx, edx
shl edx, 8
xor edx, dword [ebp - 8]
shl edx, 8
xor edx, dword [ebp - 0xc]
shl edx, 8
xor edx, dword [ebp - 4]
inc edi
mov dword [ecx*4 + 0x1c00d28], edx
rol edx, 8
mov eax, edx
mov dword [ecx*4 + 0x1c00928], eax
rol eax, 8
mov dword [ecx*4 + 0x1c00500], eax
rol eax, 8
mov dword [ecx*4 + 0x1c00100], eax
cmp edi, 0x100
jl 0x10007bbd
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10007f53
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
push esi
push edi
push dword [ebp + 8]
mov edi, eax
lea esi, [edi + 8]
lea eax, [ebp - 0x124]
mov dword [edi], 0xe
mov dword [edi + 4], esi
call fcn.10007d0d
pop ecx
test eax, eax
jne 0x1000804d
mov eax, dword [ebp - 0x124]
shl eax, 4
add eax, dword [ebp - 0x120]
push 4
mov ecx, dword [eax]
mov dword [esi], ecx
pop ecx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
mov edi, dword [edi]
add esi, ecx
dec edi
sub eax, 0x1c
jmp 0x1000801a
mov dword [ebp - 8], ecx
movzx edx, byte [eax + 3]
movzx edx, byte [edx + 0x1c00000]
movzx ebx, byte [eax + 2]
movzx ebx, byte [ebx + 0x1c00000]
mov edx, dword [edx*4 + 0x1c00100]
xor edx, dword [ebx*4 + 0x1c00500]
movzx ebx, byte [eax + 1]
movzx ebx, byte [ebx + 0x1c00000]
xor edx, dword [ebx*4 + 0x1c00928]
mov ebx, dword [eax]
and ebx, 0xff
movzx ebx, byte [ebx + 0x1c00000]
xor edx, dword [ebx*4 + 0x1c00d28]
add eax, ecx
mov dword [esi], edx
add esi, ecx
dec dword [ebp - 8]
jne 0x10007fbf
dec edi
sub eax, 0x20
test edi, edi
jg 0x10007fbc
mov edx, dword [eax]
mov dword [esi], edx
add eax, ecx
mov edx, dword [eax]
add esi, ecx
mov dword [esi], edx
add eax, ecx
add esi, ecx
mov ecx, dword [eax]
mov dword [esi], ecx
mov eax, dword [eax + 4]
mov dword [esi + 4], eax
lea eax, [ebp - 0x124]
push 0x118
push eax
call fcn.10004c4a
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000896e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
test cl, 0xf
je 0x1000897e
push 0xffffffffffffffde
pop eax
leave
ret
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
jne 0x100089ed
test ecx, ecx
je 0x10008a42
mov eax, dword [ebp + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp + 0x18]
lea ebx, [ecx - 1]
shr ebx, 4
mov dword [ebp - 8], eax
inc ebx
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
mov esi, eax
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 0
push dword [ebp + 8]
movsd dword es:[edi], dword [esi]
call fcn.10008052
mov eax, dword [ebp + 0x18]
add esp, 0xc
push 0x10
pop esi
mov ecx, dword [ebp - 8]
mov cl, byte [ecx + eax]
xor byte [eax], cl
inc eax
dec esi
jne 0x100089c7
mov edi, dword [ebp + 0x10]
add dword [ebp - 4], 0x10
sub dword [ebp - 8], 0x10
dec ebx
lea esi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp + 0x18], eax
jne 0x100089a5
jmp 0x10008a42
test ecx, ecx
je 0x10008a42
mov ebx, dword [ebp + 0x10]
sub ebx, dword [ebp + 0x14]
lea eax, [ecx - 1]
shr eax, 4
inc eax
mov dword [ebp - 8], eax
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov edi, esi
push 0x10
sub edi, eax
pop ecx
mov dl, byte [ebx + eax]
xor dl, byte [eax]
mov byte [edi + eax], dl
inc eax
dec ecx
jne 0x10008a0e
push esi
push dword [ebp + 0xc]
mov eax, esi
push dword [ebp + 8]
call fcn.10008052
mov edi, dword [ebp + 0x10]
add dword [ebp + 0x14], 0x10
add dword [ebp + 0x18], 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
add esp, 0xc
sub ebx, 0x10
dec dword [ebp - 8]
movsd dword es:[edi], dword [esi]
jne 0x10008a01
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x43fb2f2a
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x3dd7fb9
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x10002210
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10027e35
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10034040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
push 0
lea ecx, [ebp - 0x20]
call fcn.100083de
mov dword [ebp - 4], 0
mov eax, dword [0x10035e80]
mov edi, dword [0x100361e0]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
test edi, edi
jne 0x10002292
push edi
lea ecx, [ebp - 0x10]
call fcn.100083de
cmp dword [0x100361e0], edi
jne 0x10002284
mov eax, dword [0x10035190]
inc eax
mov dword [0x10035190], eax
mov dword [0x100361e0], eax
lea ecx, [ebp - 0x10]
call fcn.10008436
mov edi, dword [0x100361e0]
mov edx, dword [ebp + 8]
lea ecx, [edi*4]
mov dword [ebp - 0x10], ecx
mov edx, dword [edx + 4]
cmp edi, dword [edx + 0xc]
jae 0x100022b3
mov eax, dword [edx + 8]
mov esi, dword [ecx + eax]
test esi, esi
jne 0x10002314
jmp 0x100022b8
xor esi, esi
mov dword [ebp - 0x10], ecx
cmp byte [edx + 0x14], 0
je 0x100022d1
call fcn.1000872b
cmp edi, dword [eax + 0xc]
jae 0x100022d5
mov eax, dword [eax + 8]
mov esi, dword [ebp - 0x10]
mov esi, dword [esi + eax]
test esi, esi
jne 0x10002314
mov esi, dword [ebp - 0x1c]
test esi, esi
jne 0x10002314
push dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.10004100
add esp, 8
cmp eax, 0xffffffff
je 0x100023af
mov esi, dword [ebp - 0x14]
mov dword [ebp + 8], esi
push esi
mov byte [ebp - 4], 1
call fcn.100086ff
mov eax, dword [esi]
add esp, 4
mov ecx, esi
call dword [eax + 4]
mov dword [0x10035e80], esi
lea ecx, [ebp - 0x20]
call fcn.10008436
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xc]
call eax
test al, al
je 0x10002344
mov dword [ebx + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x18]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x38], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp + 8], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp + 8]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.10001ac0
int3
Function at 0x10003a20
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10027f40
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x10034040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.100090ca
mov esi, eax
push 1
mov dword [ebp - 4], 0
call fcn.10008731
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.100039c0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10004320
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
movzx eax, byte [ebp + 0xc]
push 0x40
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 4
call fcn.100090ca
mov esi, eax
xor dl, dl
lea eax, [ebp + 0x14]
add esp, 4
mov dword [esi], eax
mov cl, byte [ebp + 0x10]
cmp byte [ebp + 0xc], dl
jbe 0x1000436c
movzx eax, dl
inc dl
mov byte [eax + edi], cl
mov ecx, dword [esi]
lea eax, [ecx + 4]
mov dword [esi], eax
mov cl, byte [ecx]
cmp dl, byte [ebp + 0xc]
jb 0x10004356
push 4
push esi
mov dword [esi], 0
call fcn.10009414
add esp, 8
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
movzx eax, byte [ebp + 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
mov esp, ebp
pop ebp
ret