joyce8/EMBER2024-capa huggingface dataset:
Function at 0x489724
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp + 4], ecx
mov dword [esp], edx
mov esi, eax
lea edi, [esp + 8]
mov edx, edi
mov eax, dword [esp]
mov ecx, 8
call fcn.00402880
mov ebx, 4
mov eax, edi
mov dx, word [eax]
mov ecx, edx
shl ecx, 8
movzx edx, dx
shr edx, 8
or cx, dx
mov word [eax], cx
add eax, 2
dec ebx
jne 0x48974e
xor ebx, ebx
mov ebp, ebx
add ebp, ebp
lea ebp, [ebp + ebp*2]
mov dx, word [esi + ebp*2 + 0xb8]
mov eax, edi
call fcn.004894a0
mov ax, word [esi + ebp*2 + 0xba]
add word [edi + 2], ax
mov ax, word [esi + ebp*2 + 0xbc]
add word [edi + 4], ax
mov dx, word [esi + ebp*2 + 0xbe]
lea eax, [edi + 6]
call fcn.004894a0
mov ax, word [edi + 4]
mov word [esp + 0x10], ax
mov ax, word [edi]
xor word [edi + 4], ax
mov dx, word [esi + ebp*2 + 0xc0]
lea eax, [edi + 4]
call fcn.004894a0
mov ax, word [edi + 2]
mov word [esp + 0x12], ax
mov ax, word [edi + 6]
xor word [edi + 2], ax
mov ax, word [edi + 4]
add word [edi + 2], ax
mov dx, word [esi + ebp*2 + 0xc2]
lea eax, [edi + 2]
call fcn.004894a0
mov ax, word [edi + 2]
add word [edi + 4], ax
mov ax, word [edi + 2]
xor word [edi], ax
mov ax, word [edi + 4]
xor word [edi + 6], ax
mov ax, word [esp + 0x10]
xor word [edi + 2], ax
mov ax, word [esp + 0x12]
xor word [edi + 4], ax
inc ebx
cmp ebx, 8
jne 0x48976a
mov dx, word [esi + 0x118]
mov eax, edi
call fcn.004894a0
mov ax, word [esi + 0x11a]
add word [edi + 4], ax
mov ax, word [esi + 0x11c]
add word [edi + 2], ax
mov dx, word [esi + 0x11e]
lea eax, [edi + 6]
call fcn.004894a0
mov ax, word [edi]
mov edx, eax
shl edx, 8
movzx eax, ax
shr eax, 8
or dx, ax
mov word [edi], dx
mov ax, word [edi + 4]
mov edx, eax
shl edx, 8
movzx eax, ax
shr eax, 8
or dx, ax
mov word [esp + 0x12], dx
mov ax, word [edi + 2]
mov edx, eax
shl edx, 8
movzx eax, ax
shr eax, 8
or dx, ax
mov word [edi + 4], dx
mov ax, word [edi + 6]
mov edx, eax
shl edx, 8
movzx eax, ax
shr eax, 8
or dx, ax
mov word [edi + 6], dx
mov ax, word [esp + 0x12]
mov word [edi + 2], ax
mov edx, dword [esp + 4]
mov eax, edi
mov ecx, 8
call fcn.00402880
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x48aea4
Capabilities:
Encrypt data using twofish

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov dword [esp + 4], ecx
mov dword [esp], eax
mov ebx, dword [esp]
and ebx, 0xff
mov ecx, dword [esp]
shr ecx, 8
and ecx, 0xff
mov eax, dword [esp]
shr eax, 0x10
and eax, 0xff
mov esi, dword [esp]
shr esi, 0x18
mov dword [esp + 8], esi
cmp dword [esp + 4], 0x100
jne 0x48af35
movzx ebx, byte [ebx + 0x59bb5c]
mov esi, dword [edx + 0xc]
mov edi, esi
and edi, 0xff
xor ebx, edi
movzx ecx, byte [ecx + 0x59ba5c]
mov edi, esi
shr edi, 8
and edi, 0xff
xor ecx, edi
movzx eax, byte [eax + 0x59ba5c]
mov edi, esi
shr edi, 0x10
and edi, 0xff
xor eax, edi
mov edi, dword [esp + 8]
movzx edi, byte [edi + 0x59bb5c]
shr esi, 0x18
xor edi, esi
mov dword [esp + 8], edi
cmp dword [esp + 4], 0xc0
jb 0x48af8f
movzx ebx, byte [ebx + 0x59bb5c]
mov esi, dword [edx + 8]
mov edi, esi
and edi, 0xff
xor ebx, edi
movzx ecx, byte [ecx + 0x59bb5c]
mov edi, esi
shr edi, 8
and edi, 0xff
xor ecx, edi
movzx eax, byte [eax + 0x59ba5c]
mov edi, esi
shr edi, 0x10
and edi, 0xff
xor eax, edi
mov edi, dword [esp + 8]
movzx edi, byte [edi + 0x59ba5c]
shr esi, 0x18
xor edi, esi
mov dword [esp + 8], edi
movzx ebx, byte [ebx + 0x59ba5c]
mov esi, dword [edx + 4]
and esi, 0xff
xor ebx, esi
movzx ebx, byte [ebx + 0x59ba5c]
mov esi, dword [edx]
and esi, 0xff
xor ebx, esi
mov ebx, dword [ebx*4 + 0x5c4cac]
movzx ecx, byte [ecx + 0x59bb5c]
mov esi, dword [edx + 4]
shr esi, 8
and esi, 0xff
xor ecx, esi
movzx ecx, byte [ecx + 0x59ba5c]
mov esi, dword [edx]
shr esi, 8
and esi, 0xff
xor ecx, esi
xor ebx, dword [ecx*4 + 0x5c50ac]
movzx eax, byte [eax + 0x59ba5c]
mov ecx, dword [edx + 4]
shr ecx, 0x10
and ecx, 0xff
xor eax, ecx
movzx eax, byte [eax + 0x59bb5c]
mov ecx, dword [edx]
shr ecx, 0x10
and ecx, 0xff
xor eax, ecx
xor ebx, dword [eax*4 + 0x5c54ac]
mov eax, dword [esp + 8]
movzx eax, byte [eax + 0x59bb5c]
mov ecx, dword [edx + 4]
shr ecx, 0x18
xor eax, ecx
movzx eax, byte [eax + 0x59bb5c]
mov edx, dword [edx]
shr edx, 0x18
xor eax, edx
xor ebx, dword [eax*4 + 0x5c58ac]
mov eax, ebx
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x48b560
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov esi, dword [edx + ebx*4]
mov edi, ecx
and edi, 0xff
imul edi, edi, 0x1010101
xor esi, edi
mov dword [eax + ebx*4], esi
inc ebx
cmp ebx, 0x40
jne 0x48b565
pop edi
pop esi
pop ebx
ret
Function at 0x48cd0c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jl 0x48cd60
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x59de5c]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x59e25c]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x59e65c]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x59ea5c]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x48cd1b
pop edi
pop esi
pop ebx
ret
Function at 0x495c1c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp], ecx
mov esi, eax
lea edi, [esp + 4]
mov eax, edx
mov edx, edi
mov ecx, 8
call fcn.00402880
mov eax, dword [esi + 0x50]
add dword [edi], eax
mov eax, dword [esi + 0x54]
add dword [edi + 4], eax
mov ebx, 1
mov eax, dword [edi + 4]
xor dword [edi], eax
mov edx, dword [edi + 4]
mov eax, dword [edi]
call fcn.00488c00
mov ebp, eax
mov eax, ebx
add eax, eax
add ebp, dword [esi + eax*4 + 0x50]
mov dword [edi], ebp
xor dword [edi + 4], ebp
mov edx, dword [edi]
mov eax, dword [edi + 4]
call fcn.00488c00
mov edx, ebx
add edx, edx
add eax, dword [esi + edx*4 + 0x54]
mov dword [edi + 4], eax
inc ebx
cmp ebx, 0xd
jne 0x495c4a
mov edx, dword [esp]
mov eax, edi
mov ecx, 8
call fcn.00402880
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x495c9c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp], ecx
mov esi, eax
lea edi, [esp + 4]
mov eax, edx
mov edx, edi
mov ecx, 8
call fcn.00402880
mov ebx, 0xc
mov ebp, ebx
add ebp, ebp
mov eax, dword [edi + 4]
sub eax, dword [esi + ebp*4 + 0x54]
mov edx, dword [edi]
call fcn.00488c08
mov dword [edi + 4], eax
mov eax, dword [edi]
xor dword [edi + 4], eax
mov eax, dword [edi]
sub eax, dword [esi + ebp*4 + 0x50]
mov edx, dword [edi + 4]
call fcn.00488c08
mov dword [edi], eax
mov eax, dword [edi + 4]
xor dword [edi], eax
dec ebx
test ebx, ebx
jne 0x495cbf
mov eax, dword [esi + 0x54]
sub dword [edi + 4], eax
mov eax, dword [esi + 0x50]
sub dword [edi], eax
mov edx, dword [esp]
mov eax, edi
mov ecx, 8
call fcn.00402880
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x496500
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ebp, eax
lea edi, [esp + 0xc]
mov edx, edi
mov eax, dword [esp]
mov ecx, 0x10
call fcn.00402880
mov eax, dword [ebp + 0x60]
add dword [edi + 4], eax
mov eax, dword [ebp + 0x64]
add dword [edi + 0xc], eax
mov esi, 1
Function at 0x4965e0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe4
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ebp, eax
lea edi, [esp + 0xc]
mov edx, edi
mov eax, dword [esp]
mov ecx, 0x10
call fcn.00402880
mov eax, dword [ebp + 0x10c]
sub dword [edi + 8], eax
mov eax, dword [ebp + 0x108]
sub dword [edi], eax
mov esi, 0x14
mov ebx, dword [edi]
mov eax, dword [edi + 0xc]
mov dword [edi], eax
mov eax, dword [edi + 8]
mov dword [edi + 0xc], eax
mov eax, dword [edi + 4]
mov dword [edi + 8], eax
mov dword [edi + 4], ebx
mov eax, dword [edi + 0xc]
mov edx, eax
add edx, edx
inc edx
imul edx, eax
mov eax, edx
mov edx, 5
call fcn.00488c00
mov dword [esp + 8], eax
mov eax, dword [edi + 4]
mov edx, eax
add edx, edx
inc edx
imul edx, eax
mov eax, edx
mov edx, 5
call fcn.00488c00
mov ebx, eax
mov eax, esi
add eax, eax
push dword [ebp + eax*4 + 0x64]
mov eax, dword [edi + 8]
pop edx
sub eax, edx
mov edx, ebx
call fcn.00488c08
xor eax, dword [esp + 8]
mov dword [edi + 8], eax
mov eax, esi
add eax, eax
push dword [ebp + eax*4 + 0x60]
mov eax, dword [edi]
pop edx
sub eax, edx
mov edx, dword [esp + 8]
call fcn.00488c08
xor ebx, eax
mov dword [edi], ebx
dec esi
test esi, esi
jne 0x496619
mov eax, dword [ebp + 0x64]
sub dword [edi + 0xc], eax
mov eax, dword [ebp + 0x60]
sub dword [edi + 4], eax
mov edx, dword [esp + 4]
mov eax, edi
mov ecx, 0x10
call fcn.00402880
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x496d6c
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov dword [esp], edx
mov esi, eax
mov eax, esi
call fcn.00403fc0
add eax, 2
mov ecx, 3
cdq
idiv ecx
mov edx, eax
shl edx, 2
mov eax, dword [esp]
call fcn.004042f4
mov eax, esi
call fcn.00403fc0
add eax, 2
mov ecx, 3
cdq
idiv ecx
mov edi, eax
test edi, edi
jle 0x496eb3
mov ebx, 1
mov eax, esi
call fcn.00403fc0
lea edx, [ebx + ebx*2]
cmp eax, edx
jge 0x496deb
mov eax, esi
call fcn.00403fc0
mov ecx, eax
mov eax, ebx
dec eax
lea eax, [eax + eax*2]
sub ecx, eax
lea edx, [esp + 4]
mov eax, ebx
dec eax
lea eax, [eax + eax*2]
lea eax, [esi + eax]
call fcn.00402880
jmp 0x496e02
lea edx, [esp + 4]
mov eax, ebx
dec eax
lea eax, [eax + eax*2]
lea eax, [esi + eax]
mov ecx, 3
call fcn.00402880
mov al, byte [esp + 4]
mov edx, eax
and dl, 0xfc
and edx, 0xff
shr edx, 2
mov ecx, 0x496f38
mov dl, byte [ecx + edx]
mov byte [esp + 7], dl
and al, 3
mov ebp, eax
and ebp, 0xff
shl ebp, 4
mov dl, byte [esp + 5]
mov eax, edx
and al, 0xf0
and eax, 0xff
shr eax, 4
or ebp, eax
mov eax, 0x496f38
mov al, byte [eax + ebp]
mov byte [esp + 8], al
and dl, 0xf
mov ebp, edx
and ebp, 0xff
shl ebp, 2
mov al, byte [esp + 6]
mov edx, eax
and dl, 0xc0
and edx, 0xff
shr edx, 6
or ebp, edx
mov edx, 0x496f38
mov dl, byte [edx + ebp]
mov byte [esp + 9], dl
and al, 0x3f
and eax, 0xff
mov edx, 0x496f38
mov al, byte [edx + eax]
mov byte [esp + 0xa], al
mov eax, dword [esp]
call fcn.00404190
mov edx, ebx
dec edx
shl edx, 2
lea edx, [eax + edx]
lea eax, [esp + 7]
mov ecx, 4
call fcn.00402880
inc ebx
dec edi
jne 0x496db8
mov eax, esi
call fcn.00403fc0
mov ecx, 3
cdq
idiv ecx
dec edx
jne 0x496ef9
mov eax, dword [esp]
mov eax, dword [eax]
call fcn.00403fc0
mov ebx, eax
mov eax, dword [esp]
call fcn.00404190
mov byte [eax + ebx - 2], 0x3d
mov eax, dword [esp]
mov eax, dword [eax]
call fcn.00403fc0
mov ebx, eax
mov eax, dword [esp]
call fcn.00404190
mov byte [eax + ebx - 1], 0x3d
jmp 0x496f26
mov eax, esi
call fcn.00403fc0
mov ecx, 3
cdq
idiv ecx
cmp edx, 2
jne 0x496f26
mov eax, dword [esp]
mov eax, dword [eax]
call fcn.00403fc0
mov ebx, eax
mov eax, dword [esp]
call fcn.00404190
mov byte [eax + ebx - 1], 0x3d
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4aece0
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg

Disassembly:
and edx, edx
je 0x4aecfe
and ecx, ecx
jle 0x4aecfe
push ebx
xor al, byte [edx]
imul eax, eax, 0x8088405
inc eax
mov ebx, eax
shr ebx, 0x18
mov byte [edx], bl
inc edx
dec ecx
jne 0x4aece9
pop ebx
ret
Function at 0x4b1130
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x28]
shr edx, 1
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, dword [eax + 0x28]
shr ecx, 1
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x38]
call fcn.00402880
add dword [ebp - 8], 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x40]
shl eax, 2
sub eax, 5
test eax, eax
jl 0x4b120f
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x5a99e4]
mov edx, 8
call fcn.004ae7f8
mov ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
and eax, 0xff
xor ebx, dword [eax*4 + 0x5a99e4]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x5a99e4]
mov edx, 0x10
call fcn.004ae7f8
xor ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
shr eax, 0x18
mov eax, dword [eax*4 + 0x5a99e4]
mov edx, 0x18
call fcn.004ae7f8
xor ebx, eax
mov eax, dword [ebp - 8]
mov dword [eax], ebx
add dword [ebp - 8], 4
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x4b1192
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4b692c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
test dl, dl
je 0x4b693e
add esp, 0xfffffff0
call fcn.00403334
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
call fcn.00404174
xor eax, eax
push ebp
push 0x4b69f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x34], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x38], edx
mov dl, 1
mov eax, dword [0x40f2dc]
call fcn.00402fc4
mov edx, dword [ebp - 4]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 4]
add eax, 0x28
mov edx, dword [ebp - 0xc]
call fcn.00403d94
mov al, byte [ebp + 0xc]
mov edx, dword [ebp - 4]
mov byte [edx + 0x1c], al
push 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
push eax
mov al, byte [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x38]
mov dl, 1
mov eax, dword [0x4b3960]
call fcn.004b5754
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 4]
mov byte [eax + 0x30], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b69f8
lea eax, [ebp - 0xc]
call fcn.00403d40
ret

Function at 0x4b6a78
Capabilities:
Encode data using xor

Disassembly:
and edx, edx
je 0x4b6a9a
and ecx, ecx
jle 0x4b6a9a
push ebx
push edi
xor ebx, ebx
lea edi, [0x4b6aa0]
mov bl, al
shr eax, 8
xor bl, byte [edx]
xor eax, dword [edi + ebx*4]
inc edx
dec ecx
jne 0x4b6a8a
pop edi
pop ebx
ret
Function at 0x4b6f58
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4b708a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40f030]
call fcn.00402fc4
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 0x4b6ed4
call sub.user32.dll_EnumWindows
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4b6ff8
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x18]
mov eax, 0x4b70a0
call fcn.004042ac
dec eax
je 0x4b6fea
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0x1c]
mov eax, 0x4b70b0
call fcn.004042ac
dec eax
jne 0x4b6ff0
mov byte [ebp - 5], 1
jmp 0x4b6ff8
inc dword [ebp - 0xc]
dec dword [ebp - 0x14]
jne 0x4b6fae
mov dl, 1
mov eax, dword [0x4777f0]
call fcn.0047795c
mov dword [ebp - 0x10], eax
mov edx, 0x80000001
mov eax, dword [ebp - 0x10]
call fcn.00477a38
mov edx, 0x4b70c4
mov eax, dword [ebp - 0x10]
call fcn.00477f40
test al, al
jne 0x4b7036
mov edx, 0x4b70e8
mov eax, dword [ebp - 0x10]
call fcn.00477f40
test al, al
je 0x4b703c
mov byte [ebp - 6], 1
jmp 0x4b7040
mov byte [ebp - 6], 0
mov eax, dword [ebp - 0x10]
call fcn.00402ff4
cmp byte [ebp - 5], 0
nop
nop
cmp byte [ebp - 6], 0
jmp 0x4b7067
mov eax, dword [ebp - 4]
call fcn.00402ff4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b7091
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00403d64
ret
Function at 0x4be720
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
mov dword [esp], edx
mov esi, eax
mov ebp, dword [0x5c1998]
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [esi + 0x3f4]
call fcn.004bb5c0
cmp dword [esp], 0
je 0x4be784
xor edx, edx
mov eax, dword [esp]
call fcn.00469968
mov edx, 0x4f
mov eax, dword [esp]
call fcn.00469974
mov eax, dword [ebp]
call fcn.00453f10
mov edx, 1
mov eax, dword [esp]
call fcn.00469984
mov eax, dword [ebp]
call fcn.00453f10
xor edi, edi
mov bl, 0xe5
push ebx
mov ecx, 1
mov edx, edi
mov eax, esi
call fcn.004c0cc4
cmp eax, 3
je 0x4be7a5
cmp byte [esi + 0x8ad], 0
je 0x4be7b9
mov byte [esi + 0x8ad], 0
mov dword [esp + 4], 3
jmp 0x4be99d
mov eax, dword [ebp]
call fcn.00453f10
cmp dword [esp], 0
je 0x4be7d2
lea edx, [edi + 1]
mov eax, dword [esp]
call fcn.00469984
mov eax, dword [ebp]
call fcn.00453f10
inc edi
cmp edi, 0x50
jne 0x4be786
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
mov ecx, 0xe5
mov edx, 0x1000
call fcn.00402bfc
mov eax, 0x101
lea edx, [esp + 0xa0c]
mov byte [edx], 0
inc edx
dec eax
jne 0x4be807
mov eax, 0x580
lea edx, [esp + 0xb0c]
mov ecx, eax
sub cl, 0x80
inc ecx
mov byte [edx], cl
cmp eax, 0x680
jge 0x4be82f
mov byte [edx + 1], 0
jmp 0x4be847
cmp eax, 0x780
jge 0x4be83c
mov byte [edx + 1], 1
jmp 0x4be847
cmp eax, 0x800
jge 0x4be847
mov byte [edx + 1], 2
inc eax
add edx, 2
cmp eax, 0x800
jne 0x4be81a
mov byte [esp + 0xa0c], 0x5a
mov byte [esp + 0xa0d], 0x53
mov byte [esp + 0xa0e], 0x4b
mov byte [esp + 0xa0f], 0x2d
mov byte [esp + 0xa10], 0x44
mov byte [esp + 0xa11], 0x49
mov byte [esp + 0xa12], 0x53
mov byte [esp + 0xa13], 0x4b
mov byte [esp + 0xa14], 0x20
mov byte [esp + 0xa15], 0x20
mov byte [esp + 0xa16], 0x4b
mov byte [esp + 0xa17], 0x53
xor eax, eax
lea edx, [eax + 0xb00]
mov byte [esp + edx + 0xc], 0
inc eax
cmp eax, 0x12
jne 0x4be8b4
mov byte [esp + 0xb0c], 0x78
mov byte [esp + 0xb0d], 2
mov byte [esp + 0xb0e], 9
mov byte [esp + 0xb10], 0x7f
mov byte [esp + 0xb11], 2
mov byte [esp + 0xb12], 1
mov byte [esp + 0xb14], 8
mov byte [esp + 0xb16], 8
mov byte [esp + 0x100a], 0
mov byte [esp + 0x100b], 0
lea eax, [esp + 0xc]
push eax
push 2
xor ecx, ecx
xor edx, edx
mov eax, esi
call fcn.004c1d94
lea eax, [esp + 0xc]
mov dword [esp + 8], eax
lea eax, [esp + 8]
mov ecx, 0xe5
mov edx, 0x1000
call fcn.00402bfc
mov eax, 0x400
lea edx, [esp + 0xc]
mov byte [edx], 0
inc edx
dec eax
jne 0x4be94b
mov byte [esp + 0xd], pe_nt_image_headers32
mov byte [esp + 0xe], 6
mov byte [esp + 0x1008], 0x7f
mov byte [esp + 0x1009], 2
mov byte [esp + 0x100a], 0
mov byte [esp + 0x100b], 0
lea eax, [esp + 0xc]
push eax
push 2
xor ecx, ecx
mov edx, 1
mov eax, esi
call fcn.004c1d94
mov cl, 1
mov edx, dword [esp]
mov eax, esi
call fcn.004bc5c8
mov eax, dword [esp + 4]
add esp, 0x1010
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4c2064
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x30
push 0
push 0
dec ecx
jne 0x4c206c
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4c229c
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14c]
push eax
push 0x4c22ac
call sub.kernel32.dll_FindFirstFileA_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x4a0], edx
cmp dword [ebp - 8], 0xffffffff
je 0x4c227e
xor eax, eax
push ebp
push 0x4c2174
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x150]
push eax
lea eax, [ebp - 0x15c]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00403f70
mov eax, dword [ebp - 0x15c]
lea edx, [ebp - 0x158]
call fcn.004bbe64
mov eax, dword [ebp - 0x158]
lea edx, [ebp - 0x154]
call fcn.00408eb0
mov eax, dword [ebp - 0x154]
call fcn.00403fc0
push eax
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00403f70
mov eax, dword [ebp - 0x168]
lea edx, [ebp - 0x164]
call fcn.004bbe64
mov eax, dword [ebp - 0x164]
lea edx, [ebp - 0x160]
call fcn.00408eb0
mov eax, dword [ebp - 0x160]
mov edx, 2
pop ecx
call fcn.004041c8
mov eax, dword [ebp - 0x150]
call fcn.00408aac
mov edx, dword [ebp - 4]
mov dword [edx + 0x4a0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c2266
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4c2242
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x16c]
push eax
lea eax, [ebp - 0x178]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00403f70
mov eax, dword [ebp - 0x178]
lea edx, [ebp - 0x174]
call fcn.004bbe64
mov eax, dword [ebp - 0x174]
lea edx, [ebp - 0x170]
call fcn.00408eb0
mov eax, dword [ebp - 0x170]
call fcn.00403fc0
push eax
lea eax, [ebp - 0x184]
lea edx, [ebp - 0x120]
mov ecx, 0x104
call fcn.00403f70
mov eax, dword [ebp - 0x184]
lea edx, [ebp - 0x180]
call fcn.004bbe64
mov eax, dword [ebp - 0x180]
lea edx, [ebp - 0x17c]
call fcn.00408eb0
mov eax, dword [ebp - 0x17c]
mov edx, 2
pop ecx
call fcn.004041c8
mov eax, dword [ebp - 0x16c]
call fcn.00408aac
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c224c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4a0]
cmp eax, dword [ebp - 0xc]
jge 0x4c2266
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x4a0], edx
lea eax, [ebp - 0x14c]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FindNextFileA
test eax, eax
jne 0x4c2183
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c22a3
lea eax, [ebp - 0x184]
mov edx, 0xe
call fcn.00403d64
ret
Function at 0x4c7c7c
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe9c
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404174
xor eax, eax
push ebp
push 0x4c7cdb
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x2000
push 0x160
lea eax, [ebp - 0x164]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00404184
push eax
call sub.shell32.dll_SHGetFileInfo
test eax, eax
setne bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c7ce2
lea eax, [ebp - 4]
call fcn.00403d40
ret