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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4e2c97
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00407460
mov eax, ebx
call fcn.00415fd8
test al, al
je 0x4e2c79
push 0
mov ecx, ebx
mov dl, 1
mov eax, dword [0x433b98]
call fcn.0043f9a8
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov dl, 1
mov eax, dword [0x433fc4]
call fcn.004056c8
mov dword [ebp - 0xc], eax
mov edx, 0x1008
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 4]
lea edx, [ebp - 0x18]
mov ecx, 8
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x10]
xor ebx, ebx
mov eax, ebx
cdq
push edx
push eax
push 0
push 0x20
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.004087f8
call fcn.004087b0
push edx
push eax
mov eax, dword [ebp - 0x1c]
call fcn.0043eff4
push 0
push 0x80
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0043f298
inc ebx
cmp ebx, 0x20
jne 0x4e2b97
mov ebx, 0x1008
mov edi, 0x77
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 4]
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
sub eax, 1
sbb edx, 0
add esi, eax
mov eax, ebx
dec eax
test eax, eax
jl 0x4e2c0c
inc eax
movzx edx, byte [esi]
mov ecx, edi
xor byte [esi], cl
add edi, edx
and edi, 0xff
dec esi
dec eax
jne 0x4e2bf9
xor ebx, ebx
mov eax, dword [ebp - 0xc]
mov esi, dword [eax + 4]
push 0
push 0x10
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, ebx
cdq
call fcn.004087b0
call fcn.004087f8
add esi, eax
movzx edi, byte [esi]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x28], edi
mov byte [ebp - 0x24], 0
lea edx, [ebp - 0x28]
xor ecx, ecx
mov eax, 0x4e2cb4
call fcn.00416d4c
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 4]
call fcn.00407874
inc ebx
cmp ebx, 0x10
jne 0x4e2c0e
mov eax, dword [ebp - 0xc]
call fcn.004056f8
mov eax, dword [ebp - 0x1c]
call fcn.004056f8
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00407460
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e2c9e
lea eax, [ebp - 0x20]
call fcn.00407450
lea eax, [ebp - 4]
call fcn.00407450
ret
Function at 0x4e4574
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
xor edx, edx
mov ecx, dword [ebp - 4]
add ecx, ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x208]
mov eax, dword [eax + ecx*8 + 4]
mov ebx, dword [ebp + 8]
mov esi, dword [ebx - 0x204]
cmp esi, eax
jne 0x4e45dc
mov edx, dword [ebp + 8]
mov edx, dword [edx - 0x208]
mov edx, dword [edx + ecx*8 + 8]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 0x210]
add edx, dword [ecx + 4]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffe00
xor esi, esi
dec eax
test eax, eax
jl 0x4e45d7
inc eax
mov ebx, dword [ecx]
xor ebx, dword [edx]
or esi, ebx
add edx, 4
add ecx, 4
dec eax
jne 0x4e45c8
test esi, esi
sete dl
mov eax, edx
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x4e8b7c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
push eax
push ebx
push ecx
push edx
push esi
mov eax, dword [ebp - 4]
mov ebx, 0x8df21431
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
xor eax, ebx
mul ebx
add eax, edx
mov dword [esi], eax
add esi, 4
dec ecx
jne 0x4e8b9e
pop esi
pop edx
pop ecx
pop ebx
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x4e8bb8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, 0x85f532
mov esi, 0x33f641
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
test eax, eax
je 0x4e8bf7
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4e8bf7
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp + 8]
add eax, 8
call fcn.00406b68
test eax, eax
je 0x4e8c00
sub eax, 4
mov eax, dword [eax]
mov edx, eax
dec edx
test edx, edx
jl 0x4e8c27
inc edx
xor eax, eax
lea ecx, [eax + 1]
mov edi, dword [ebp + 8]
mov edi, dword [edi + 8]
movzx edi, word [edi + ecx*2 - 2]
mov ecx, eax
and ecx, 7
shl edi, cl
add ebx, edi
xor esi, ebx
inc eax
dec edx
jne 0x4e8c0a
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor eax, 0x8f32dc
xor eax, ebx
add eax, ebx
mov edx, dword [ebp + 8]
add eax, dword [edx - 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
and edx, 0xffffff
mov ecx, edx
add edx, edx
add edx, edx
add edx, edx
sub edx, ecx
add eax, edx
mov edx, dword [ebp + 8]
xor eax, dword [edx + 0xc]
add esi, eax
mov eax, esi
and eax, 0xffffff
lea eax, [eax + eax*8]
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004e8b7c
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x4e8c7c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
lea eax, [ebp - 0x110]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00404f60
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x110]
mov edx, 0x40
call fcn.004e8bb8
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
shr eax, 3
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4e8d31
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xdc]
and eax, 0xf
add eax, eax
add eax, eax
add eax, eax
mov dword [ebp - 8], eax
push eax
push ebx
push ecx
push edx
push esi
push edi
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
movq mm7, qword [esi + 0x18]
lea eax, [edx + esi]
movq mm6, qword [eax]
pxor mm7, mm6
paddd mm7, mm6
movq mm0, qword [edi]
movq mm1, mm0
pxor mm0, mm7
movq qword [edi], mm0
paddb mm7, mm1
pxor mm7, mm1
pslld mm7, 1
paddw mm7, mm1
add edi, 8
add edx, 8
and edx, 0x7f
dec ecx
jne 0x4e8cf8
emms
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x4e8d38
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
lea eax, [ebp - 0x110]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00404f60
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x110]
mov edx, 0x40
call fcn.004e8bb8
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
shr eax, 3
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4e8ded
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xdc]
and eax, 0xf
add eax, eax
add eax, eax
add eax, eax
mov dword [ebp - 8], eax
push eax
push ebx
push ecx
push edx
push esi
push edi
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
movq mm7, qword [esi + 0x18]
lea eax, [edx + esi]
movq mm6, qword [eax]
pxor mm7, mm6
paddd mm7, mm6
movq mm0, qword [edi]
pxor mm0, mm7
movq mm1, mm0
movq qword [edi], mm0
paddb mm7, mm1
pxor mm7, mm1
pslld mm7, 1
paddw mm7, mm1
add edi, 8
add edx, 8
and edx, 0x7f
dec ecx
jne 0x4e8db4
emms
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x4e8e50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], eax
push eax
push ebx
push ecx
push edx
push esi
mov eax, dword [ebp - 4]
mov ebx, 0x8a77f473
mov ecx, dword [ebp - 8]
mov esi, dword [ebp - 0xc]
xor eax, ebx
mul ebx
add eax, edx
mov dword [esi], eax
add esi, 4
dec ecx
jne 0x4e8e72
pop esi
pop edx
pop ecx
pop ebx
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x4e8e8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, 0x86f7e2
mov esi, 0x4437f1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
test eax, eax
je 0x4e8ecb
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4e8ecb
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov eax, dword [ebp + 8]
add eax, 8
call fcn.00406b68
test eax, eax
je 0x4e8ed4
sub eax, 4
mov eax, dword [eax]
mov edx, eax
dec edx
test edx, edx
jl 0x4e8efb
inc edx
xor eax, eax
lea ecx, [eax + 1]
mov edi, dword [ebp + 8]
mov edi, dword [edi + 8]
movzx edi, word [edi + ecx*2 - 2]
mov ecx, eax
and ecx, 7
shl edi, cl
add ebx, edi
xor esi, ebx
inc eax
dec edx
jne 0x4e8ede
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor eax, 0x56e213
xor eax, ebx
add eax, ebx
mov edx, dword [ebp + 8]
add eax, dword [edx - 4]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
and edx, 0xffffff
imul edx, edx, 0xd
add eax, edx
mov edx, dword [ebp + 8]
xor eax, dword [edx + 0xc]
add esi, eax
mov eax, esi
and eax, 0xffffff
imul eax, eax, 0xd
mov ecx, eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004e8e50
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4e8f48
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
lea eax, [ebp - 0x114]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00404f60
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x114]
mov edx, 0x40
call fcn.004e8e8c
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
shr eax, 3
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4e9029
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x15c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xf4]
and eax, 0xd
add eax, eax
add eax, eax
add eax, eax
mov dword [ebp - 8], eax
push eax
push ebx
push ecx
push edx
push esi
push edi
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
movq mm7, qword [esi + 0x18]
mov eax, edx
and eax, 0xf
lea eax, [esi + eax*8]
movq mm6, qword [eax]
mov eax, edx
and eax, 0x7f
lea eax, [ebx + eax*8]
movq mm5, qword [eax]
pxor mm6, mm5
pxor mm7, mm6
paddd mm7, mm6
movq mm0, qword [edi]
movq mm1, mm0
pxor mm0, mm7
movq qword [edi], mm0
paddb mm7, mm1
pxor mm7, mm1
pslld mm7, 1
paddw mm7, mm1
add edi, 8
add edx, 1
and edx, 0x7f
dec ecx
jne 0x4e8fdd
emms
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x4e9030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
lea eax, [ebp - 0x114]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00404f60
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x114]
mov edx, 0x40
call fcn.004e8e8c
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
shr eax, 3
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4e9111
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov eax, dword [eax + 0x15c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xf4]
and eax, 0xd
add eax, eax
add eax, eax
add eax, eax
mov dword [ebp - 8], eax
push eax
push ebx
push ecx
push edx
push esi
push edi
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x14]
movq mm7, qword [esi + 0x18]
mov eax, edx
and eax, 0xf
lea eax, [esi + eax*8]
movq mm6, qword [eax]
mov eax, edx
and eax, 0x7f
lea eax, [ebx + eax*8]
movq mm5, qword [eax]
pxor mm6, mm5
pxor mm7, mm6
paddd mm7, mm6
movq mm0, qword [edi]
pxor mm0, mm7
movq mm1, mm0
movq qword [edi], mm0
paddb mm7, mm1
pxor mm7, mm1
pslld mm7, 1
paddw mm7, mm1
add edi, 8
add edx, 1
and edx, 0x7f
dec ecx
jne 0x4e90c5
emms
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x4e9c20
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov dword [esp], eax
mov eax, dword [esp]
mov eax, dword [eax + 0x15c]
test eax, eax
je 0x4e9c3e
call fcn.004056f8
mov dl, 1
mov eax, dword [0x433fc4]
call fcn.004056c8
mov ebx, eax
mov eax, dword [esp]
mov dword [eax + 0x15c], ebx
mov eax, ebx
mov edx, 0x400
mov ecx, dword [eax]
call dword [ecx + 4]
mov eax, dword [esp]
mov eax, dword [eax + 0x15c]
mov ecx, dword [eax + 4]
xor ebx, ebx
mov eax, ebx
mov esi, 3
cdq
idiv esi
test edx, edx
jne 0x4e9c89
lea eax, [ebx + 3]
lea edx, [ebx + 7]
imul edx
mov dword [ecx], eax
jmp 0x4e9c95
lea eax, [ebx + 3]
neg eax
lea edx, [ebx + 7]
imul edx
mov dword [ecx], eax
add ecx, 4
inc ebx
cmp ebx, 0x100
jne 0x4e9c6f
test edi, edi
je 0x4e9d18
mov eax, edi
mov edx, dword [eax]
call dword [edx]
mov dword [esp + 4], eax
cmp dword [esp + 4], 0x80
jl 0x4e9d18
mov ecx, dword [edi + 4]
add ecx, 0x31
movzx eax, byte [ecx]
mov ebx, 0x49
xor edx, edx
div ebx
mov esi, edx
add esi, 0x80
add ecx, 0x1e
movzx eax, byte [ecx]
mov ecx, 7
xor edx, edx
div ecx
add edx, 7
mov dword [esp + 8], edx
mov eax, dword [esp]
mov eax, dword [eax + 0x15c]
mov ebp, dword [eax + 4]
mov ebx, 0x400
add esi, dword [esp + 8]
mov ecx, dword [esp + 4]
mov eax, esi
cdq
idiv ecx
mov esi, edx
mov ecx, dword [edi + 4]
add ecx, esi
movzx eax, byte [ecx]
xor byte [ebp], al
inc ebp
dec ebx
jne 0x4e9cfa
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4e9f14
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push esi
push edi
mov edi, edx
mov esi, eax
xor eax, eax
mov edx, eax
mov ecx, edx
imul cx, dx
add cl, dl
and cl, 0xff
mov byte [esi + eax + 0x54], cl
inc eax
cmp eax, 0x100
jne 0x4e9f1c
test edi, edi
je 0x4e9f64
mov eax, edi
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x4e9f4d
cmp eax, 0x100
jb 0x4e9f64
jmp 0x4e9f4f
jl 0x4e9f64
mov edx, dword [edi + 4]
xor eax, eax
movzx ecx, byte [edx]
xor byte [esi + eax + 0x54], cl
inc edx
inc eax
cmp eax, 0x100
jne 0x4e9f54
lea eax, [esi + 0x54]
mov edx, pe_nt_image_headers32
call fcn.004e2578
and eax, 0xfffffff
mov dword [esi + 0x50], eax
pop edi
pop esi
ret

Function at 0x4eb9c4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov esi, eax
mov edi, dword [ebp + 8]
add edi, 0xfffffffc
xor eax, eax
push ebp
push 0x4eba67
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea edx, [ebp - 8]
mov eax, esi
call fcn.004163f8
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
mov ecx, 0x4eba84
call fcn.00407934
mov eax, dword [ebp - 4]
call fcn.004074ec
push eax
call sub.kernel32.dll_GetDriveTypeW
cmp eax, 1
jne 0x4eba18
test byte [edi], 1
je 0x4eba4c
cmp eax, 2
jne 0x4eba22
test byte [edi], 2
je 0x4eba4c
cmp eax, 3
jne 0x4eba2c
test byte [edi], 4
je 0x4eba4c
cmp eax, 4
jne 0x4eba36
test byte [edi], 8
je 0x4eba4c
cmp eax, 5
jne 0x4eba40
test byte [edi], 0x10
je 0x4eba4c
cmp eax, 6
jne 0x4eba4a
test byte [edi], 0x20
je 0x4eba4c
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4eba6e
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407458
ret
Function at 0x4ebb28
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4ebbe2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
xor edx, edx
call fcn.00407460
push 1
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 0x10], eax
call sub.kernel32.dll_GetLogicalDrives
mov esi, eax
xor ebx, ebx
test esi, 1
je 0x4ebbb4
lea eax, [ebp - 4]
mov edx, ebx
add dx, 0x41
call fcn.004075cc
push dword [ebp - 4]
push 0x4ebc00
push edi
lea eax, [ebp - 4]
mov edx, 3
call fcn.00407a18
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004eba88
test al, al
je 0x4ebbb4
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
call fcn.00407460
jmp 0x4ebbbc
shr esi, 1
inc ebx
cmp ebx, 0x1a
jne 0x4ebb69
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_SetErrorMode
push 0
call sub.kernel32.dll_Sleep_2
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ebbe9
lea eax, [ebp - 4]
call fcn.00407450
ret

Function at 0x50213c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde8
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov ebx, eax
lea eax, [ebp - 0x216]
xor ecx, ecx
mov edx, 0x105
call fcn.00404f60
xor eax, eax
push ebp
push 0x502193
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push ebx
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [ebp - 0x216]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.shell32.dll_SHGetPathFromIDListW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5021ae
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x216]
mov ecx, 0x105
call fcn.00407660
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x50287c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x5028fa
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x6f5330], 0
je 0x5028cf
lea eax, [ebp - 4]
mov ecx, ebx
mov edx, dword [0x6f5330]
call fcn.00407934
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
call fcn.004074ec
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
jmp 0x5028e4
mov eax, ebx
call fcn.004074ec
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x502901
lea eax, [ebp - 4]
call fcn.00407450
ret
Function at 0x508d80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
test dl, dl
je 0x508d93
add esp, 0xfffffff0
call fcn.00405c2c
mov ebx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x18]
test esi, esi
js 0x508da4
mov edi, dword [ebx + esi*4]
dec esi
push edi
jns 0x508d9d
mov dword [ebp + 0x1c], esp
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
mov esi, dword [ebp + 0x18]
mov eax, dword [ebp + 8]
call fcn.00407448
xor eax, eax
push ebp
push 0x508e72
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebx + 0xc], edi
xor eax, eax
mov dword [ebx + 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x34], eax
xor eax, eax
mov dword [ebx + 0x10], eax
xor eax, eax
mov dword [ebx + 0x68], eax
mov byte [ebx + 0x6c], 0
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x38], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x3c], eax
lea eax, [esi + 1]
push eax
lea eax, [ebx + 0x14]
mov ecx, 1
mov edx, dword [0x504804]
call fcn.00408e48
add esp, 4
mov edx, esi
test edx, edx
jl 0x508e29
inc edx
xor ecx, ecx
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebx + 0x14]
mov edi, dword [eax]
mov dword [esi + ecx*4], edi
inc ecx
add eax, 4
dec edx
jne 0x508e1a
push ebx
push fcn.00509a00
push ebx
push 0x509a50
push ebx
push 0x509a80
push ebx
push 0x509a6c
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebp + 8]
mov edx, ebx
call fcn.00508660
mov dword [ebx + 4], eax
lea eax, [ebx + 8]
mov edx, dword [ebp + 8]
call fcn.00407460
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x508e79
lea eax, [ebp + 8]
call fcn.00407450
ret
Function at 0x5091e8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50938a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x30]
test edi, edi
je 0x509237
push edi
mov eax, dword [edi]
call dword [eax + 8]
mov edx, 0x5093a4
call fcn.00505b28
mov eax, dword [ebp - 4]
call fcn.0050956c
mov edi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], edi
lea edx, [ebp - 8]
mov eax, edi
call fcn.00505ca0
push ebp
lea eax, [ebp - 0x14]
call fcn.00508ffc
pop ecx
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0xc]
call fcn.004074b4
push ebp
lea eax, [ebp - 0x18]
call fcn.00508ea0
pop ecx
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
call fcn.004074b4
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 0x48], 0
mov dword [ebp - 0x44], esi
mov byte [ebp - 0x40], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0x11
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0x11
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
lea edx, [ebp - 0x4c]
mov ecx, 5
mov eax, 0x5093e4
call fcn.00416d4c
mov eax, dword [ebp - 0x1c]
push eax
push 0
mov eax, dword [ebp - 4]
add eax, 0x30
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x38]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x64]
push eax
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [eax]
call dword [eax + 0x5c]
pop edx
call fcn.00505b28
lea eax, [ebp - 0x50]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x3c]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x5c], eax
fild qword [ebp - 0x60]
fdiv dword [0x50947c]
fstp xword [ebp - 0x6c]
wait
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 3
lea edx, [ebp - 0x58]
xor ecx, ecx
mov eax, 0x50948c
call fcn.00416d4c
mov eax, dword [ebp - 0x50]
call fcn.00505ad8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00506b14
shr eax, 3
mov edx, dword [ebp - 4]
mov dword [edx + 0x60], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x509391
lea eax, [ebp - 0x50]
call fcn.00407450
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00407458
ret