joyce8/EMBER2024-capa huggingface dataset:
Function at 0x467b99
Capabilities:
Copy file

Disassembly:
mov eax, 0x4b5670
call fcn.00483228
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push dword [ebp + 0x10]
mov eax, dword [esi]
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x467bc2
xor eax, eax
jmp 0x467c0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x467c09
cmp dword [ebp + 0x14], 0
je 0x467c05
push ecx
mov ecx, esp
mov dword [ebp + 0xc], esp
push esi
call fcn.0049d64d
and dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push edi
call fcn.0049d64d
or dword [ebp - 4], 0xffffffff
call fcn.004487d7
neg eax
sbb eax, eax
pop ecx
and al, 0xfe
pop ecx
add eax, 3
jmp 0x467c0c
push 2
jmp 0x467c0b
push 3
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x46bc84
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x4b6158
call fcn.00483228
sub esp, 0x28
push ebx
push esi
mov esi, ecx
push edi
lea eax, [ebp - 0x20]
mov ecx, 0x4e8288
lea edi, [esi + 0x28]
push edi
push eax
call fcn.0044e2fe
xor ebx, ebx
push eax
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.0049d9c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0049d8d8
push 0x4e7e70
lea ecx, [ebp - 0x10]
call fcn.0049d946
lea eax, [esi + 0x2c]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.004633b6
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0049d9c5
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0049d8d8
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.0049d64d
lea eax, [ebp - 0x14]
push eax
call fcn.00447289
add esp, 4
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
mov byte [ebp - 4], 3
call fcn.0049d64d
call fcn.00446e8e
cmp eax, ebx
pop ecx
jne 0x46bd3a
push 1
jmp 0x46bd5c
push 0x80
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push str.IMAGEHLP.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp eax, ebx
mov dword [ebp - 0x20], eax
jne 0x46bd62
push 4
pop ebx
jmp 0x46bdf2
push str.BindImageEx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push ebx
push ebx
lea ecx, [ebp - 0x14]
mov edi, eax
call fcn.0049dcbc
push eax
push ebx
lea ecx, [ebp - 0x14]
call fcn.0049dcbc
push eax
push ebx
lea ecx, [ebp - 0x10]
call fcn.0049dcbc
push eax
push ebx
call edi
test eax, eax
je 0x46bde6
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0044a1bb
pop ecx
test eax, eax
pop ecx
je 0x46bde9
lea eax, [ebp - 0x34]
push 0xa
push eax
push dword [ebp - 0x18]
call fcn.00484822
add esp, 0xc
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x1c]
push eax
call fcn.0049d946
mov eax, dword [esi]
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 4
call dword [eax + 0x78]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call fcn.0049d8d8
jmp 0x46bde9
push 2
pop ebx
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp - 0x14]
mov dword [esi + 0x18], ebx
mov byte [ebp - 4], 1
call fcn.0049d8d8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x47081c
Capabilities:
Delete file
Set file attributes

Disassembly:
mov eax, 0x4b6d44
call fcn.00483228
sub esp, 0xc
push ebx
push esi
mov esi, ecx
push edi
lea eax, [ebp - 0x14]
xor ebx, ebx
lea edi, [esi + 0x28]
mov ecx, 0x4e8288
push edi
push eax
mov dword [esi + 0x44], ebx
call fcn.0044e2fe
push eax
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.0049d9c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0049d8d8
lea eax, [esi + 0x2c]
push eax
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.004633b6
add esp, 8
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
mov dword [ebp - 4], 1
call fcn.0049d64d
call fcn.00446e8e
cmp eax, ebx
pop ecx
je 0x470905
push 0x80
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x470901
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x4708af
xor edi, edi
jmp 0x470908
push 4
pop edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x4708c2
cmp eax, 0x20
jne 0x470908
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0049d64d
call fcn.00446e8e
cmp eax, ebx
pop ecx
je 0x470905
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0049d64d
call fcn.00448b10
pop ecx
lea eax, [ebp - 0x10]
mov ecx, dword [ebp + 8]
push 3
pop edi
push eax
call fcn.0049897b
jmp 0x470908
push 5
jmp 0x470907
push 2
pop edi
cmp dword [esi + 0x58], ebx
je 0x470939
cmp edi, ebx
je 0x470916
cmp edi, 2
jne 0x470939
push ecx
lea eax, [ebp - 0x10]
mov ebx, esp
mov dword [ebp + 8], esp
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0049d64d
push ebx
call fcn.00447289
pop ecx
pop ecx
call fcn.004480c1
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov dword [esi + 0x18], edi
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x474f48
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x4b7bf0
call fcn.00483228
sub esp, 0x10
mov eax, dword [0x4e43a4]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], eax
lea edi, [esi + 0x28]
lea eax, [ebp - 0x14]
xor ebx, ebx
push edi
push eax
mov ecx, 0x4e8288
mov dword [ebp - 4], ebx
call fcn.0044e2fe
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0049d9c5
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0049d8d8
cmp dword [ebp + 8], ebx
lea eax, [esi + 0x2c]
push eax
push edi
je 0x475024
lea eax, [ebp + 8]
push eax
call fcn.004633b6
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0049d9c5
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.0049d8d8
push ecx
lea eax, [ebp - 0x10]
mov edi, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0049d64d
push edi
call fcn.00447c52
add esp, 4
lea eax, [ebp - 0x10]
mov edi, esp
mov dword [ebp - 0x18], esp
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0049d64d
push edi
call fcn.00447289
pop ecx
lea eax, [ebp + 8]
pop ecx
mov byte [ebp - 4], bl
push eax
call fcn.0044b4b5
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0049d9c5
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
jmp 0x475043
lea eax, [ebp + 8]
push eax
call fcn.004633b6
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0049d9c5
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.0049d8d8
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0049d64d
call fcn.00446e8e
cmp eax, ebx
pop ecx
jne 0x475066
push 1
pop eax
jmp 0x4750cb
push 0x80
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x47507d
push 2
pop esi
jmp 0x4750cd
push 1
push ecx
lea eax, [esi + 0x5c]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
push ecx
call fcn.0046323b
add esp, 4
add esi, 0x58
mov ecx, esp
mov dword [ebp - 0x14], esp
push esi
mov byte [ebp - 4], 6
call fcn.0049d64d
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 7
call fcn.0049d64d
mov byte [ebp - 4], bl
call fcn.00448565
add esp, 0x10
neg eax
sbb eax, eax
and al, 0xfd
add eax, 3
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x47582d
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x4b7e18
call fcn.00483228
sub esp, 0x10
mov eax, dword [0x4e43a4]
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], eax
lea edi, [esi + 0x28]
lea eax, [ebp - 0x14]
xor ebx, ebx
push edi
push eax
mov ecx, 0x4e8288
mov dword [ebp - 4], ebx
call fcn.0044e2fe
push eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.0049d9c5
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], bl
call fcn.0049d8d8
cmp dword [ebp + 8], ebx
lea eax, [esi + 0x2c]
push eax
push edi
je 0x475909
lea eax, [ebp + 8]
push eax
call fcn.004633b6
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0049d9c5
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.0049d8d8
push ecx
lea eax, [ebp - 0x10]
mov edi, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0049d64d
push edi
call fcn.00447c52
add esp, 4
lea eax, [ebp - 0x10]
mov edi, esp
mov dword [ebp - 0x18], esp
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0049d64d
push edi
call fcn.00447289
pop ecx
lea eax, [ebp + 8]
pop ecx
mov byte [ebp - 4], bl
push eax
call fcn.0044b4b5
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0049d9c5
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
jmp 0x475928
lea eax, [ebp + 8]
push eax
call fcn.004633b6
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0049d9c5
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.0049d8d8
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0049d64d
call fcn.00446e8e
cmp eax, ebx
pop ecx
je 0x4759cb
push 0x80
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x475964
push 1
pop edi
jmp 0x475a01
push ecx
lea eax, [esi + 0x5c]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0049d64d
push ecx
lea eax, [esi + 0x58]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
mov byte [ebp - 4], 6
call fcn.0049d64d
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 7
call fcn.0049d64d
lea eax, [ebp + 8]
mov byte [ebp - 4], bl
push eax
call fcn.004490fd
add esp, 0x10
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 8
cmp dword [eax - 8], ebx
je 0x4759c0
lea eax, [ebp + 8]
lea ecx, [esi + 0x64]
push eax
call fcn.0049d9c5
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.0049d8d8
lea eax, [esi + 0x60]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0046323b
mov eax, dword [eax]
mov edx, dword [esi + 0x58]
pop ecx
pop ecx
push dword [ebp - 0x10]
mov ecx, dword [esi + 0x5c]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x14]
mov edi, eax
call fcn.0049d8d8
neg edi
sbb edi, edi
and edi, 0xfffffffe
inc edi
inc edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov dword [esi + 0x18], edi
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x475a23
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x4b7e34
call fcn.00483228
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
jne 0x475a4a
push 1
pop eax
mov dword [esi + 0x18], eax
jmp 0x475b37
lea edi, [esi + 0x28]
lea eax, [ebp - 0x14]
push edi
push eax
mov ecx, 0x4e8288
call fcn.0044e2fe
push eax
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.0049d9c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0049d8d8
lea eax, [esi + 0x2c]
push eax
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.004633b6
add esp, 8
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
mov dword [ebp - 4], 1
call fcn.0049d64d
call fcn.00446e8e
cmp eax, ebx
pop ecx
jne 0x475aa7
xor edi, edi
jmp 0x475b26
push 0x80
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x475ac3
push 3
pop eax
mov dword [esi + 0x18], eax
mov edi, eax
jmp 0x475b29
cmp dword [esi + 0x68], ebx
je 0x475b01
lea eax, [esi + 0x64]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0046323b
mov eax, dword [eax]
mov edx, dword [esi + 0x58]
pop ecx
pop ecx
push dword [ebp - 0x10]
mov ecx, dword [esi + 0x5c]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp - 0x18]
mov edi, eax
call fcn.0049d8d8
neg edi
sbb edi, edi
and edi, 0xfffffffd
add edi, 5
jmp 0x475b26
push dword [ebp - 0x10]
mov eax, dword [esi + 0x5c]
mov ecx, dword [esi + 0x58]
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push ebx
push eax
push ecx
call edi
test eax, eax
je 0x475b23
push dword [ebp - 0x10]
push ebx
push ebx
push ebx
call edi
jmp 0x475aa3
push 4
pop edi
mov dword [esi + 0x18], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0049d8d8
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4770b4
Capabilities:
Delete directory
Set file attributes

Disassembly:
mov eax, 0x4b827c
call fcn.00483228
sub esp, 0xc
push esi
mov esi, ecx
push edi
and dword [esi + 0x44], 0
cmp dword [esi + 0x40], 0
jne 0x4770da
push 1
pop eax
mov dword [esi + 0x18], eax
jmp 0x477196
lea edi, [esi + 0x28]
lea eax, [ebp - 0x14]
push edi
push eax
mov ecx, 0x4e8288
call fcn.0044e2fe
and dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.0049d9c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0049d8d8
lea eax, [esi + 0x2c]
push eax
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.004633b6
add esp, 0xc
push 0x80
mov dword [ebp - 4], 1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x477182
cmp dword [esi + 0x60], 0
jne 0x477165
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
test eax, eax
je 0x477145
xor edi, edi
jmp 0x477185
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0049d64d
call fcn.00448b10
neg eax
pop ecx
sbb eax, eax
add eax, 3
mov edi, eax
jmp 0x477185
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0049d64d
call fcn.004480c1
neg eax
sbb eax, eax
pop ecx
and al, 0xfd
jmp 0x47715e
push 4
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov dword [esi + 0x18], edi
call fcn.0049d8d8
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret

Function at 0x4771a4
Capabilities:
Set current directory

Disassembly:
mov eax, 0x4b82a0
call fcn.00483228
sub esp, 0xc
push esi
push edi
mov edi, ecx
lea eax, [ebp - 0x18]
mov ecx, 0x4e8288
lea esi, [edi + 0x28]
push esi
push eax
call fcn.0044e2fe
and dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.0049d9c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0049d8d8
lea eax, [edi + 0x2c]
push eax
lea eax, [ebp - 0x10]
push esi
push eax
call fcn.004633b6
add esp, 0xc
push dword [ebp - 0x10]
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x47723d
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00472295
lea eax, [ebp - 0x14]
push 1
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 2
call fcn.004635a4
mov esi, eax
add esp, 0xc
dec esi
lea ecx, [ebp - 0x14]
neg esi
sbb esi, esi
mov byte [ebp - 4], 1
and esi, 2
call fcn.0049d8d8
jmp 0x477240
push 1
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov dword [edi + 0x18], esi
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x477833
Capabilities:
Delete file
Set file attributes

Disassembly:
mov eax, 0x4b83fc
call fcn.00483228
sub esp, 0xc
push esi
mov esi, ecx
push edi
lea eax, [ebp - 0x14]
lea edi, [esi + 0x28]
mov ecx, 0x4e8288
push edi
push eax
call fcn.0044e2fe
and dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.0049d9c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0049d8d8
mov eax, dword [0x4e43a4]
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 0
lea eax, [esi + 0x2c]
push eax
mov dword [ebp - 4], 1
push edi
je 0x477915
lea eax, [ebp + 8]
push eax
call fcn.004633b6
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0049d9c5
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0049d8d8
push ecx
lea eax, [ebp - 0x10]
mov edi, esp
mov dword [ebp - 0x14], esp
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0049d64d
push edi
call fcn.00447c52
add esp, 4
lea eax, [ebp - 0x10]
mov edi, esp
mov dword [ebp - 0x18], esp
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0049d64d
push edi
call fcn.00447289
pop ecx
lea eax, [ebp + 8]
pop ecx
mov byte [ebp - 4], 1
push eax
call fcn.0044b4b5
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0049d9c5
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
jmp 0x477935
lea eax, [ebp + 8]
push eax
call fcn.004633b6
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0049d9c5
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.0049d8d8
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0049d64d
call fcn.00446e8e
test eax, eax
pop ecx
je 0x477985
cmp dword [esi + 0x44], 0
jne 0x477985
push 0x80
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x477981
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, eax
neg edi
sbb edi, edi
and edi, 0xfffffffe
inc edi
inc edi
jmp 0x477988
push 3
jmp 0x477987
push 1
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov dword [esi + 0x18], edi
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret 4
Function at 0x477da7
Capabilities:
Copy file

Disassembly:
mov eax, 0x4b8530
call fcn.00483228
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
lea eax, [ebp - 0x14]
mov ecx, 0x4e8288
lea esi, [edi + 0x28]
push esi
push eax
call fcn.0044e2fe
and dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.0049d9c5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0049d8d8
mov eax, dword [0x4e43a4]
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 0
push 1
pop ebx
lea eax, [edi + 0x2c]
push eax
mov dword [ebp - 4], ebx
push esi
je 0x477e86
lea eax, [ebp + 8]
push eax
call fcn.004633b6
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0049d9c5
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.0049d8d8
push ecx
lea eax, [ebp - 0x10]
mov esi, esp
mov dword [ebp - 0x1c], esp
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0049d64d
push esi
call fcn.00447c52
add esp, 4
lea eax, [ebp - 0x10]
mov esi, esp
mov dword [ebp - 0x18], esp
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.0049d64d
push esi
call fcn.00447289
pop ecx
lea eax, [ebp + 8]
pop ecx
mov byte [ebp - 4], bl
push eax
call fcn.0044b4b5
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0049d9c5
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
jmp 0x477ea5
lea eax, [ebp + 8]
push eax
call fcn.004633b6
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0049d9c5
mov byte [ebp - 4], bl
lea ecx, [ebp + 8]
call fcn.0049d8d8
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0049d64d
call fcn.00446e8e
test eax, eax
pop ecx
je 0x477f83
lea eax, [ebp - 0x10]
lea ecx, [ebp + 8]
push eax
call fcn.0049d64d
push ebx
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push eax
mov byte [ebp - 4], 6
call fcn.0049d64d
lea eax, [ebp - 0x1c]
push eax
call fcn.00447c52
add esp, 4
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
push 0x4e8ea4
push ecx
call fcn.0049dabb
push ecx
lea eax, [ebp - 0x10]
mov esi, esp
mov dword [ebp - 0x20], esp
push ecx
mov byte [ebp - 4], 8
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.0049d64d
push esi
call fcn.00447289
pop ecx
lea eax, [ebp - 0x18]
pop ecx
mov byte [ebp - 4], 7
push eax
call fcn.00447f34
add esp, 0x10
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call fcn.0049d9c5
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.0049d8d8
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.0049d8d8
push ebx
push dword [ebp - 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, eax
lea ecx, [ebp + 8]
neg esi
sbb esi, esi
mov byte [ebp - 4], bl
and esi, 0xfffffffe
inc esi
inc esi
call fcn.0049d8d8
jmp 0x477f85
mov esi, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
mov dword [edi + 0x18], esi
call fcn.0049d8d8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x47cc77
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x28]
mov edi, dword [esi + 4]
test ecx, ecx
je 0x47cc9d
cmp dword [esp + 0x14], 0
mov eax, dword [ecx]
push ebx
push edi
je 0x47cc9a
call dword [eax + 0x10]
jmp 0x47cc9d
call dword [eax + 0xc]
cmp word [esi + 0x20], 0
je 0x47ccd6
mov eax, ebx
dec ebx
test eax, eax
je 0x47ccd6
lea ecx, [ebx + 1]
mov eax, dword [esi + 0x1c]
movzx ebx, byte [edi]
mov edx, eax
and edx, 0xff
xor edx, ebx
sar eax, 8
mov edx, dword [edx*4 + 0x4e3730]
and eax, 0xffffff
xor edx, eax
inc edi
dec ecx
mov dword [esi + 0x1c], edx
jne 0x47ccae
pop edi
pop esi
pop ebx
ret 8

Function at 0x47d2d6
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x48]
call fcn.00479ef8
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x47d2f4
mov eax, 0xfffff835
pop esi
ret
push edi
push ebx
mov ecx, dword [esi + 0x44]
push 1
mov ebx, eax
mov edi, eax
pop edx
and ecx, 0xffffffef
shr ebx, 5
shr edi, 1
and ebx, edx
and edi, edx
shl ebx, 1
or edi, ebx
mov ebx, eax
shr ebx, 2
xor eax, ecx
and ebx, edx
shl edi, 1
and eax, edx
or edi, ebx
xor eax, ecx
pop ebx
shl edi, 1
and al, 0xf1
or edi, eax
xor eax, eax
mov dword [esi + 0x44], edi
pop edi
pop esi
ret

Function at 0x47d330
Capabilities:
Set file attributes

Disassembly:
push esi
mov esi, ecx
xor ecx, ecx
mov eax, dword [esi + 0x44]
test al, 0x10
jne 0x47d37b
mov ecx, eax
mov edx, eax
shl ecx, 0x1f
sar ecx, 0x1f
neg cl
sbb ecx, ecx
shl edx, 0x1d
sar edx, 0x1f
neg ecx
neg dl
sbb edx, edx
and edx, 2
or ecx, edx
mov edx, eax
shl edx, 0x1e
sar edx, 0x1f
neg dl
sbb edx, edx
shl eax, 0x1c
and edx, 4
sar eax, 0x1f
or ecx, edx
neg al
sbb eax, eax
and eax, 0x20
or ecx, eax
push ecx
lea ecx, [esi + 0x48]
call fcn.00479ef8
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
pop esi
ret
Function at 0x47dd66
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [esi + 0x20]
mov ecx, dword [esi + 0x60]
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x68]
sub eax, ecx
sub eax, edx
mov dword [ebp + 8], eax
jne 0x47dd90
test ecx, ecx
jne 0x47dd90
test edx, edx
jne 0x47dd90
mov eax, edi
jmp 0x47de06
cmp eax, 0xffffffff
jne 0x47dd9a
push 0xfffffffffffffffe
pop eax
jmp 0x47de06
mov edx, dword [esi + 0x20]
lea edx, [edi + edx - 0x106]
cmp ecx, edx
jb 0x47de06
mov eax, dword [esi + 0x2c]
push edi
lea ecx, [edi + eax]
push ecx
push eax
call fcn.00483590
mov ecx, dword [esi + 0x40]
mov eax, dword [esi + 0x38]
sub dword [esi + 0x64], edi
sub dword [esi + 0x60], edi
add esp, 0xc
sub dword [esi + 0x50], edi
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx edx, word [eax]
mov ebx, edx
sub ebx, edi
cmp edx, edi
sbb edx, edx
not edx
and edx, ebx
dec ecx
mov word [eax], dx
jne 0x47ddcb
mov eax, dword [esi + 0x34]
mov edx, edi
lea eax, [eax + edi*2]
dec eax
dec eax
movzx ecx, word [eax]
mov ebx, ecx
sub ebx, edi
cmp ecx, edi
sbb ecx, ecx
not ecx
and ecx, ebx
dec edx
mov word [eax], cx
jne 0x47ddea
mov eax, dword [ebp + 8]
add eax, edi
mov ecx, dword [esi]
cmp dword [ecx + 4], 0
je 0x47de61
push eax
mov eax, dword [esi + 0x2c]
add eax, dword [esi + 0x68]
add eax, dword [esi + 0x60]
push eax
push ecx
call fcn.0047de66
add dword [esi + 0x68], eax
mov ebx, dword [esi + 0x68]
add esp, 0xc
cmp ebx, 3
jb 0x47de4d
mov eax, dword [esi + 0x2c]
mov ecx, dword [esi + 0x60]
lea edx, [eax + ecx]
mov ecx, dword [esi + 0x4c]
movzx eax, byte [edx]
mov dword [esi + 0x3c], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x48]
mov dword [esi + 0x3c], eax
cmp ebx, 0x106
jae 0x47de61
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x47dd72
pop edi
pop esi
pop ebx
pop ebp
ret