joyce8/EMBER2024-capa huggingface dataset:
Function at 0x477f04
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x477fe5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x105
call fcn.00404780
lea eax, [ebp - 4]
call fcn.0040464c
push eax
push 0x104
call sub.kernel32.dll_GetTempPathA
mov edx, eax
lea eax, [ebp - 4]
call fcn.00404780
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004083d4
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.004041cc
mov eax, dword [ebp - 4]
call fcn.004043f4
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x477f7d
lea eax, [ebp - 4]
mov edx, 0x477ffc
call fcn.004043fc
call fcn.00402af4
mov eax, 0x32
call fcn.00402da4
push eax
call sub.kernel32.dll_Sleep_1
push dword [ebp - 4]
call sub.kernel32.dll_GetTickCount_1
xor edx, edx
push edx
push eax
lea edx, [ebp - 0xc]
mov eax, 8
call fcn.00408610
push dword [ebp - 0xc]
push 0x478008
mov eax, ebx
mov edx, 3
call fcn.004044b4
mov eax, dword [ebx]
call fcn.00408a0c
test al, al
jne 0x477f7d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x477fec
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404158
ret
Function at 0x478688
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x478836
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 1
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x78]
mov word [ebp - 0xc], ax
mov dx, 0xfff5
mov eax, dword [ebp - 4]
call fcn.0044c858
xor eax, eax
push ebp
push 0x478819
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x33a], 0
je 0x478739
mov eax, dword [ebp - 4]
cmp byte [eax + 0x339], 0
je 0x478739
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e0]
mov edx, dword [ebp - 8]
call fcn.00404540
jne 0x478739
push 0
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x33c]
mov eax, dword [ebp - 8]
call fcn.00408ab4
mov eax, dword [ebp - 0x10]
call fcn.004045f4
push eax
mov eax, dword [ebp - 8]
call fcn.004045f4
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x478739
call fcn.00403c1c
jmp 0x478820
xor eax, eax
push ebp
push 0x478787
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2bc]
call fcn.004033e4
push 0
mov eax, dword [ebp - 8]
call fcn.004045f4
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e4]
call fcn.004045f4
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x478795
push 2
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2e4]
mov dl, 1
mov eax, dword [0x4163f0]
call fcn.0041aa78
mov edx, dword [ebp - 4]
mov dword [edx + 0x2bc], eax
cmp byte [ebp - 9], 0
je 0x4787f7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e8]
xor edx, edx
call fcn.0041864c
mov eax, dword [ebp - 4]
mov byte [eax + 0x339], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x2cc], 0
mov eax, dword [ebp - 4]
add eax, 0x2e0
mov edx, dword [ebp - 8]
call fcn.00404188
mov eax, dword [ebp - 4]
call fcn.0047afac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478820
mov dx, word [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.0044c858
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x7c]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47883d
lea eax, [ebp - 0x10]
call fcn.00404134
ret
Function at 0x478998
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
lea edx, [eax + 0x2cc]
mov eax, ebx
call fcn.00478010
test al, al
je 0x478aca
mov eax, dword [ebp - 4]
call fcn.00478410
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x78]
mov word [ebp - 8], ax
mov dx, 0xfff5
mov eax, dword [ebp - 4]
call fcn.0044c858
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e4]
call fcn.004045f4
push eax
mov eax, ebx
call fcn.004045f4
push eax
call sub.kernel32.dll_CopyFileA
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e4]
call fcn.004045f4
push eax
call sub.kernel32.dll_SetFileAttributesA
push 2
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x2e4]
mov dl, 1
mov eax, dword [0x4163f0]
call fcn.0041aa78
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x2bc], esi
xor eax, eax
push ebp
push 0x478ac3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov eax, esi
call fcn.0041a5e4
mov eax, dword [ebp - 4]
add eax, 0x2e0
mov edx, ebx
call fcn.00404188
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x478aca
mov dx, word [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0044c858
mov eax, dword [ebp - 4]
call fcn.0047afac
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2e8]
xor edx, edx
call fcn.0041864c
mov eax, dword [ebp - 4]
call fcn.00478b20
mov eax, dword [ebp - 4]
mov byte [eax + 0x339], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0x320], 0
push 1
push 1
xor ecx, ecx
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00472180
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x47d198
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4151e0]
call fcn.00404acc
xor eax, eax
push ebp
push 0x47d2dc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x492470], 0
jne 0x47d1eb
mov ecx, dword [0x492588]
mov dl, 1
mov eax, dword [0x4074b8]
call fcn.0040bea4
call fcn.00403b70
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402d84
mov eax, ebx
call fcn.0040499c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x47d2ec
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405a50
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004049ac
test eax, eax
jle 0x47d283
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x47d27c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004043bc
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004043a4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408364
test eax, eax
jne 0x47d27c
mov ebx, 0x15
jmp 0x47d288
mov ebx, 0x10
jmp 0x47d288
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x492470]
call fcn.0047d0f0
mov eax, dword [ebp - 8]
call fcn.0047d0f0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405a68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47d2e3
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404158
lea eax, [ebp - 0x10]
mov edx, dword [0x4151e0]
call fcn.00404b9c
ret

Function at 0x483b38
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x483bb8
push dword fs:[eax]
mov dword fs:[eax], esp
mov bl, 0x5a
lea eax, [ebp - 0xc]
mov edx, 0x483bd0
call fcn.004041cc
mov dword [ebp - 8], 8
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
xor edi, edi
mov esi, dword [ebp - 4]
mov al, byte [esi]
mov edx, dword [ebp - 0xc]
mov dl, byte [edx + edi]
sub al, dl
xor bl, al
mov eax, ebx
call fcn.00483b28
mov ebx, eax
inc edi
inc esi
cmp edi, 8
jne 0x483b78
mov eax, dword [ebp - 0x10]
mov byte [eax], bl
inc ebx
inc dword [ebp - 0x10]
dec dword [ebp - 8]
jne 0x483b73
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483bbf
lea eax, [ebp - 0xc]
call fcn.00404134
ret
Function at 0x483bdc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004045e4
xor eax, eax
push ebp
push 0x483c2d
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, 0xc5
mov edx, ebx
mov eax, esi
sub eax, edx
jl 0x483c15
inc eax
mov ebx, dword [ebp - 4]
xor cl, byte [ebx + edx - 1]
inc edx
dec eax
jne 0x483c0a
mov ebx, ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483c34
lea eax, [ebp - 4]
call fcn.00404134
ret

Function at 0x483c3c
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffff800
mov esi, eax
lea edi, [esp]
push ecx
mov ecx, 0x200
rep movsd dword es:[edi], dword [esi]
pop ecx
mov ebx, ecx
mov cl, 0xc5
mov eax, edx
mov edx, ebx
sub edx, eax
jl 0x483c69
inc edx
lea eax, [esp + eax]
xor cl, byte [eax]
inc eax
dec edx
jne 0x483c63
mov eax, ecx
add esp, 0x800
pop edi
pop esi
pop ebx
ret

Function at 0x483ea4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov dword [esp], eax
mov eax, dword [esp]
cmp byte [eax], 0xff
jne 0x483ec8
mov eax, dword [esp]
cmp byte [eax + 1], 0xff
jne 0x483ec8
mov eax, dword [esp]
cmp byte [eax + 2], 0xff
je 0x483f46
mov ebx, 0x46
xor ebp, ebp
lea eax, [esp + 1]
mov dword [esp + 0xc], eax
mov eax, dword [esp]
inc eax
mov dword [esp + 0x10], eax
mov edi, 8
mov esi, dword [esp]
xor eax, eax
mov al, byte [esi]
xor ebx, eax
test ebx, ebx
jge 0x483ef7
add ebx, 0x100
mov eax, ebx
call fcn.00483e94
and eax, 0xff
mov ebx, eax
inc esi
dec edi
jne 0x483ee7
cmp ebp, 2
jle 0x483f14
mov eax, dword [esp + 0xc]
mov byte [eax], bl
mov eax, dword [esp + 0x10]
mov byte [eax], bl
dec ebx
inc ebp
inc dword [esp + 0x10]
inc dword [esp + 0xc]
cmp ebp, 6
jne 0x483edf
mov eax, dword [esp]
call fcn.00483de4
mov ebp, 3
lea eax, [esp + 4]
mov edx, dword [esp]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebp
jne 0x483f3d
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x484028
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
add esp, 0xfffffff4
mov dword [esp + 4], edx
mov dword [esp], eax
mov edi, dword [esp + 4]
movzx edi, byte [edi + 7]
add edi, 0x40
test edi, edi
jle 0x484079
mov byte [esp + 8], 0
mov esi, 7
mov eax, dword [esp]
mov edx, dword [esp + 4]
mov cl, byte [eax]
and cl, byte [edx]
xor byte [esp + 8], cl
inc edx
inc eax
dec esi
jne 0x484054
mov al, byte [esp + 8]
call fcn.00483f94
mov ecx, eax
mov eax, dword [esp]
mov edx, ecx
call fcn.00483fb8
dec edi
jne 0x484043
add esp, 0xc
pop edi
pop esi
ret
Function at 0x484354
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f4
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004045e4
xor eax, eax
push ebp
push 0x4843f1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x80c]
call fcn.00483de4
mov eax, dword [ebp - 4]
call fcn.004043f4
mov ebx, eax
test ebx, ebx
jle 0x4843b0
mov esi, 1
lea eax, [ebp - 0x80c]
mov edx, dword [ebp - 4]
mov dl, byte [edx + esi - 1]
mov byte [eax], dl
inc esi
inc eax
dec ebx
jne 0x4843a2
mov al, 0x5a
mov esi, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
add ebx, dword [ebp - 8]
dec ebx
sub ebx, esi
jl 0x4843d7
inc ebx
lea edx, [ebp + esi - 0x80c]
mov esi, edx
mov dl, byte [esi]
xor al, dl
call fcn.00484344
inc esi
dec ebx
jne 0x4843ca
mov ebx, eax
not bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4843f8
lea eax, [ebp - 4]
call fcn.00404134
ret

Function at 0x48440c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f4
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x808]
push ecx
mov ecx, 0x200
rep movsd dword es:[edi], dword [esi]
pop ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov bl, 5
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 8]
add edi, dword [ebp - 4]
dec edi
sub edi, eax
jl 0x484485
inc edi
lea esi, [ebp + eax - 0x808]
mov al, byte [esi]
and al, 0xf0
and eax, 0xff
mov dword [ebp - 0x80c], eax
fild dword [ebp - 0x80c]
fdiv dword [0x4844d4]
call fcn.00402b4c
xor bl, al
mov eax, ebx
call fcn.00484400
mov ebx, eax
mov al, byte [esi]
and al, 0xf
xor bl, al
mov eax, ebx
call fcn.00484400
mov ebx, eax
inc esi
dec edi
jne 0x484447
cmp byte [ebp + 8], 0
jne 0x484492
mov eax, ebx
shl eax, 4
jmp 0x4844ca
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
mov al, byte [ebp + eax - 0x808]
and al, 0xf0
and eax, 0xff
mov dword [ebp - 0x80c], eax
fild dword [ebp - 0x80c]
fdiv dword [0x4844d4]
call fcn.00402b4c
xor bl, al
mov eax, ebx
call fcn.00484400
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4844e4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7f4
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x808]
push ecx
mov ecx, 0x200
rep movsd dword es:[edi], dword [esi]
pop ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov bl, 0xa
mov eax, dword [ebp - 4]
mov edi, dword [ebp - 8]
add edi, dword [ebp - 4]
dec edi
sub edi, eax
jl 0x48455d
inc edi
lea esi, [ebp + eax - 0x808]
mov al, byte [esi]
and al, 0xf0
and eax, 0xff
mov dword [ebp - 0x80c], eax
fild dword [ebp - 0x80c]
fdiv dword [0x4845a4]
call fcn.00402b4c
xor bl, al
mov eax, ebx
call fcn.004844d8
mov ebx, eax
mov al, byte [esi]
and al, 0xf
xor bl, al
mov eax, ebx
call fcn.004844d8
mov ebx, eax
inc esi
dec edi
jne 0x48451f
cmp byte [ebp + 8], 0
je 0x484599
mov eax, dword [ebp - 8]
add eax, dword [ebp - 4]
mov al, byte [ebp + eax - 0x808]
and al, 0xf0
and eax, 0xff
mov dword [ebp - 0x80c], eax
fild dword [ebp - 0x80c]
fdiv dword [0x4845a4]
call fcn.00402b4c
xor bl, al
mov eax, ebx
call fcn.004844d8
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x48589c
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7e0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x820], ebx
mov dword [ebp - 0x81c], ebx
mov dword [ebp - 0x818], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x485ab3
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x14], eax
xor ecx, ecx
push ebp
push 0x485a7c
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp dword [ebp - 8], 0
jne 0x48592f
lea eax, [ebp - 0x10]
mov edx, 0x485acc
call fcn.004041cc
mov ecx, 3
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00483bdc
mov edx, eax
lea eax, [ebp - 0x818]
call fcn.0040431c
mov edx, dword [ebp - 0x818]
lea eax, [ebp - 0x10]
call fcn.004043fc
jmp 0x485990
lea eax, [ebp - 0x10]
mov edx, 0x485ad8
call fcn.004041cc
mov ebx, 0x20
mov esi, dword [ebp - 4]
lea eax, [ebp - 0x81c]
mov dl, byte [esi]
call fcn.0040431c
mov edx, dword [ebp - 0x81c]
lea eax, [ebp - 0x10]
call fcn.004043fc
inc esi
dec ebx
jne 0x485944
mov ecx, 0x23
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00483bdc
mov edx, eax
lea eax, [ebp - 0x820]
call fcn.0040431c
mov edx, dword [ebp - 0x820]
lea eax, [ebp - 0x10]
call fcn.004043fc
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
call fcn.004043f4
push eax
mov eax, dword [ebp - 0x10]
call fcn.004045f4
push eax
push edi
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x4859b7
call fcn.0040bdbc
mov ebx, 0x15
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x32
call sub.kernel32.dll_Sleep
push 0
lea eax, [ebp - 0x14]
push eax
push 0x50
lea eax, [ebp - 0x814]
push eax
push edi
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x4859e6
call fcn.0040bdbc
cmp dword [ebp - 0x14], 0
ja 0x4859ef
dec ebx
jne 0x4859bc
cmp byte [ebp - 0x814], 0x80
je 0x4859fd
call fcn.0040bdbc
xor ebx, ebx
mov bl, byte [ebp - 0x813]
cmp ebx, 0x24
je 0x485a10
cmp dword [ebp - 8], 0
je 0x485a1b
cmp ebx, 5
je 0x485a20
cmp dword [ebp - 8], 1
jne 0x485a20
call fcn.0040bdbc
mov ecx, ebx
sub ecx, 2
xor edx, edx
lea eax, [ebp - 0x814]
call fcn.00483c3c
cmp al, byte [ebp + ebx - 0x815]
je 0x485a40
call fcn.0040bdbc
cmp byte [ebp + ebx - 0x816], 1
je 0x485a55
cmp dword [ebp - 8], 1
jne 0x485a55
call fcn.0040bdbc
cmp dword [ebp - 8], 0
jne 0x485a72
mov ebx, 0x20
lea eax, [ebp - 0x811]
mov edx, dword [ebp - 4]
mov cl, byte [eax]
mov byte [edx], cl
inc edx
inc eax
dec ebx
jne 0x485a69
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x485a8d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x485aba
lea eax, [ebp - 0x820]
mov edx, 3
call fcn.00404158
lea eax, [ebp - 0x10]
call fcn.00404134
ret
Function at 0x486cfc
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7dc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x824], ebx
mov dword [ebp - 0x820], ebx
mov dword [ebp - 0x81c], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x486ede
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x818]
call fcn.00483de4
mov eax, dword [ebp + 8]
call fcn.00483de4
xor eax, eax
mov dword [ebp - 0x18], eax
xor ecx, ecx
push ebp
push 0x486e8e
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor eax, eax
mov dword [ebp - 0x10], eax
push 0x486efc
lea eax, [ebp - 0x81c]
mov dl, byte [ebp - 0x10]
call fcn.0040431c
push dword [ebp - 0x81c]
push 0x486f0c
push 0x486f18
push 0x486f0c
lea eax, [ebp - 0xc]
mov edx, 5
call fcn.004044b4
mov ecx, 8
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.00483bdc
mov edx, eax
lea eax, [ebp - 0x820]
call fcn.0040431c
mov edx, dword [ebp - 0x820]
lea eax, [ebp - 0xc]
call fcn.004043fc
push 0
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004043f4
push eax
mov eax, dword [ebp - 0xc]
call fcn.004045f4
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x486df8
mov dword [ebp - 0x14], 0xb
call fcn.0040bdbc
lea eax, [ebp - 0x818]
call fcn.00483de4
mov ebx, 0x15
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x14
call sub.kernel32.dll_Sleep
push 0
lea eax, [ebp - 0x18]
push eax
push 0x50
lea eax, [ebp - 0x818]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x486e35
call fcn.0040bdbc
cmp dword [ebp - 0x18], 0
ja 0x486e3e
dec ebx
jne 0x486e08
xor eax, eax
mov al, byte [ebp - 0x817]
mov edx, eax
sub edx, 2
sub edx, 8
jl 0x486e77
inc edx
mov ebx, 8
lea eax, [ebp - 0x810]
mov ecx, ebx
sub ecx, 8
mov esi, dword [ebp - 0x10]
shl esi, 6
add ecx, esi
mov esi, dword [ebp + 8]
add esi, ecx
mov cl, byte [eax]
mov byte [esi], cl
inc ebx
inc eax
dec edx
jne 0x486e5c
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x10
jne 0x486d65
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x486eb8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486ee5
lea eax, [ebp - 0x824]
mov edx, 3
call fcn.00404158
lea eax, [ebp - 0xc]
call fcn.00404134
ret
Function at 0x486f1c
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1020], ebx
mov dword [ebp - 0x101c], ebx
mov dword [ebp - 0x1018], ebx
mov dword [ebp - 0x1014], ebx
mov dword [ebp - 8], ebx
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x810]
push ecx
mov ecx, 0x200
rep movsd dword es:[edi], dword [esi]
pop ecx
mov edi, eax
xor eax, eax
push ebp
push 0x487105
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x1010]
call fcn.00483de4
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4870b5
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
push 0x487120
lea eax, [ebp - 0x1014]
mov edx, esi
call fcn.0040431c
push dword [ebp - 0x1014]
push 0x487130
push 0x48713c
push 0x487130
lea eax, [ebp - 8]
mov edx, 5
call fcn.004044b4
xor ebx, ebx
lea eax, [ebp - 0x1018]
mov edx, esi
shl edx, 6
add edx, ebx
mov dl, byte [ebp + edx - 0x810]
call fcn.0040431c
mov edx, dword [ebp - 0x1018]
lea eax, [ebp - 8]
call fcn.004043fc
inc ebx
cmp ebx, 0x30
jne 0x486fcb
mov ecx, 0x38
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00483bdc
mov edx, eax
lea eax, [ebp - 0x101c]
call fcn.0040431c
mov edx, dword [ebp - 0x101c]
lea eax, [ebp - 8]
call fcn.004043fc
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.004043f4
push eax
mov eax, dword [ebp - 8]
call fcn.004045f4
push eax
push edi
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x487053
mov dword [ebp - 0xc], 0xb
call fcn.0040bdbc
lea eax, [ebp - 0x1010]
call fcn.00483de4
mov ebx, 0x15
xor eax, eax
mov dword [ebp - 0x10], eax
push 0x14
call sub.kernel32.dll_Sleep
push 0
lea eax, [ebp - 0x10]
push eax
push 0x50
lea eax, [ebp - 0x1010]
push eax
push edi
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x48708d
call fcn.0040bdbc
cmp dword [ebp - 0x10], 0
ja 0x487096
dec ebx
jne 0x487063
lea eax, [ebp - 0x1010]
call fcn.00483de4
inc esi
cmp esi, 0x10
jne 0x486f95
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4870df
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48710c
lea eax, [ebp - 0x1020]
mov edx, 4
call fcn.00404158
lea eax, [ebp - 8]
call fcn.00404134
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx