joyce8/EMBER2024-capa huggingface dataset:
Function at 0x79dd48
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 4
push 0
push 0
dec ecx
jne 0x79dd51
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040a874
mov eax, dword [ebp - 8]
call fcn.0040a874
mov eax, dword [ebp + 0xc]
call fcn.0040a874
mov eax, dword [ebp + 8]
call fcn.0040a874
xor eax, eax
push ebp
push 0x79deda
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
xor edx, edx
push ebp
push 0x79de8b
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0x80
push 3
push 0
push 1
push 0x40000000
push 0x79defc
push dword [ebp - 4]
push 0x79df10
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.0040baec
mov eax, dword [ebp - 0x18]
call fcn.0040b7f8
push eax
call sub.KERNEL32.DLL_CreateFileW_1
mov ebx, eax
cmp ebx, 0xffffffff
je 0x79de81
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
mov ecx, 0
call fcn.0040b3c4
push dword [ebp - 0x1c]
push 0x79df40
lea eax, [ebp - 0x20]
mov edx, dword [ebp + 0xc]
mov ecx, 0
call fcn.0040b3c4
push dword [ebp - 0x20]
push 0x79df40
lea eax, [ebp - 0x28]
mov edx, dword [ebp + 8]
mov ecx, 0
call fcn.0040b3c4
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.005fb6c4
push dword [ebp - 0x24]
push 0x79df40
lea eax, [ebp - 0xc]
mov edx, 6
call fcn.0040b0d0
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x79de56
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
call fcn.0040ad50
push eax
push ebx
call sub.KERNEL32.DLL_WriteFile_1
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0xd], al
push ebx
call sub.KERNEL32.DLL_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x79de95
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x79dee1
lea eax, [ebp - 0x28]
mov edx, 4
call fcn.0040a820
lea eax, [ebp - 0x18]
call fcn.0040a790
lea eax, [ebp - 0xc]
call fcn.0040a7b4
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a7f0
lea eax, [ebp + 8]
mov edx, 2
call fcn.0040a7f0
ret
Function at 0x7ae278
Capabilities:
Check for time delay via gettickcount
Create process on windows
Create process suspended
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff90
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0040a874
mov eax, dword [ebp - 8]
call fcn.0040a874
xor eax, eax
push ebp
push 0x7ae46e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x7ae490
push dword [ebp - 4]
push 0x7ae4b0
push dword [ebp - 8]
lea eax, [ebp - 0x64]
mov edx, 4
call fcn.0040baec
mov edx, dword [ebp - 0x64]
mov eax, ebx
call fcn.0079e8a0
mov eax, dword [0x8c007c]
mov dword [ebx + 0xe4], eax
lea eax, [ebp - 0x50]
xor ecx, ecx
mov edx, 0x44
call fcn.00407f88
mov dword [ebp - 0x50], 0x44
mov dword [ebp - 0x24], 1
movzx eax, word [ebp + 0x10]
mov word [ebp - 0x20], ax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
push 0
push 0
push 0x4000000
push 0
push 0
push 0
push 0x7ae4c0
push dword [ebp - 4]
push 0x7ae4c0
push 0x7ae4b0
push dword [ebp - 8]
lea eax, [ebp - 0x68]
mov edx, 5
call fcn.0040baec
mov eax, dword [ebp - 0x68]
call fcn.0040b7f8
push eax
push 0
call sub.KERNEL32.DLL_CreateProcessW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 9], al
call sub.KERNEL32.DLL_GetLastError_2
mov dword [ebx + 0xb1], eax
cmp byte [ebp - 9], 0
je 0x7ae446
test esi, esi
jle 0x7ae446
call sub.KERNEL32.DLL_GetTickCount_1
mov edi, eax
jmp 0x7ae39c
mov eax, dword [0x8c1264]
mov eax, dword [eax]
call fcn.005efad0
cmp byte [ebx + 0xb6], 0
jne 0x7ae3cf
push 0x64
mov eax, dword [ebp - 0x60]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
cmp eax, 0x102
jne 0x7ae3cf
call sub.KERNEL32.DLL_GetTickCount_1
sub eax, edi
xor edx, edx
push edx
push eax
mov eax, esi
cdq
cmp edx, dword [esp + 4]
jne 0x7ae3cb
cmp eax, dword [esp]
pop edx
pop eax
ja 0x7ae387
jmp 0x7ae3cf
pop edx
pop eax
jg 0x7ae387
push 0
mov eax, dword [ebp - 0x60]
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
cmp eax, 0x102
sete al
and al, byte [ebp + 8]
je 0x7ae436
push 0x7ae4d0
lea edx, [ebp - 0x70]
mov eax, esi
call fcn.00424120
push dword [ebp - 0x70]
push 0x7ae4f0
lea eax, [ebp - 0x6c]
mov edx, 3
call fcn.0040baec
mov edx, dword [ebp - 0x6c]
mov eax, ebx
call fcn.0079e8a0
push 0
mov eax, dword [ebp - 0x60]
push eax
call sub.KERNEL32.DLL_TerminateProcess
mov eax, dword [ebp - 0x60]
push eax
call sub.KERNEL32.DLL_CloseHandle_1
mov eax, dword [0x8c0080]
mov dword [ebx + 0xe4], eax
jmp 0x7ae446
lea eax, [ebx + 0xe4]
push eax
mov eax, dword [ebp - 0x60]
push eax
call sub.KERNEL32.DLL_GetExitCodeProcess
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7ae475
lea eax, [ebp - 0x70]
mov edx, 4
call fcn.0040a7f0
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040a7f0
ret
Function at 0x7ae5b0
Capabilities:
Read file on windows
Read pipe

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x11c], ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 5], cl
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x7ae741
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x7ae700
mov eax, edi
mov edx, dword [eax]
call dword [edx + 0x48]
lea eax, [ebp - 4]
call fcn.0040a790
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor ebx, ebx
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push esi
call sub.KERNEL32.DLL_PeekNamedPipe
test eax, eax
je 0x7ae6a8
cmp dword [ebp - 0xc], 0
jbe 0x7ae6a8
push 0
lea eax, [ebp - 0x10]
push eax
push 0x101
lea eax, [ebp - 0x111]
push eax
push esi
call sub.KERNEL32.DLL_ReadFile_1
cmp eax, 1
sbb ebx, ebx
inc ebx
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x120]
lea edx, [ebp - 0x111]
mov ecx, 0x101
push 0
call fcn.0040af98
mov eax, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x10]
mov edx, 1
call fcn.0040b230
mov eax, dword [ebp - 0x11c]
lea ecx, [ebp - 0x118]
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
call fcn.007ae504
mov edx, dword [ebp - 0x118]
lea eax, [ebp - 4]
call fcn.0040ba0c
test bl, bl
je 0x7ae6b6
cmp dword [ebp - 0x10], 0
jne 0x7ae60b
cmp byte [ebp - 5], 0
je 0x7ae6e6
lea edx, [ebp - 0x124]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea eax, [ebp - 0x124]
mov edx, dword [ebp - 4]
call fcn.0040ba0c
mov edx, dword [ebp - 0x124]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x30]
jmp 0x7ae700
lea edx, [ebp - 0x128]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x128]
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0x30]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7ae748
lea eax, [ebp - 0x128]
mov edx, 2
call fcn.0040a7f0
lea eax, [ebp - 0x120]
mov edx, 2
call fcn.0040a820
lea eax, [ebp - 0x118]
call fcn.0040a790
lea eax, [ebp - 4]
call fcn.0040a790
ret
Function at 0x7b4b98
Capabilities:
Persist via winlogon helper dll registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.0040a874
xor eax, eax
push ebp
push 0x7b4c66
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x60799c]
call fcn.00608b7c
mov dword [ebp - 8], eax
mov edx, 0x80000002
mov eax, dword [ebp - 8]
call fcn.00608c44
mov edx, 0xf003f
mov eax, dword [ebp - 8]
call fcn.0060a4d4
mov eax, dword [0x8c08b0]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov dword [edx + 0x1b], eax
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, 0x7b4c80
call fcn.0040ba64
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.00609124
test al, al
je 0x7b4c36
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, 0x7b4d08
call fcn.0040ba64
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.0079e8a0
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [ebp - 8], edx
call fcn.00408ac4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7b4c6d
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0040a7f0
lea eax, [ebp - 4]
call fcn.0040a790
ret

Function at 0x7b7354
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdf0
push ebx
mov ebx, edx
mov dword [ebp - 4], 0x104
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20e]
push eax
call sub.advapi32.dll_GetUserNameW
test eax, eax
je 0x7b738f
mov eax, ebx
lea edx, [ebp - 0x20e]
mov ecx, 0x105
call fcn.0040b8b4
jmp 0x7b7396
mov eax, ebx
call fcn.0040a790
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x7c69a4
Capabilities:
Get disk information
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
push ebx
xor edx, edx
mov dword [ebp - 0x224], edx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x220], edx
mov dword [ebp - 0x218], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x7c6b11
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, 0x7c6b2c
call fcn.0040ab70
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x218]
call fcn.005fb7b0
mov eax, dword [ebp - 0x218]
mov ecx, 3
mov edx, 1
call fcn.0040bc34
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x200
lea eax, [ebp - 0x214]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b7f8
push eax
call sub.KERNEL32.DLL_GetVolumeInformationW
test eax, eax
je 0x7c6a4d
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, ebx
call fcn.00424148
lea eax, [ebp - 4]
mov edx, 0xc8
call fcn.0040b98c
mov eax, dword [ebp - 4]
test eax, eax
je 0x7c6a66
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b7f8
push eax
call sub.KERNEL32.DLL_GetComputerNameW
lea eax, [ebp - 0x220]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040bc34
mov eax, dword [ebp - 0x220]
lea edx, [ebp - 0x21c]
call fcn.00423620
mov edx, dword [ebp - 0x21c]
mov eax, ebx
call fcn.0040ba0c
lea eax, [ebp - 0x228]
mov edx, dword [ebx]
mov ecx, 0
call fcn.0040b3c4
mov eax, dword [ebp - 0x228]
lea edx, [ebp - 0x224]
call fcn.0060c110
mov edx, dword [ebp - 0x224]
mov eax, ebx
call fcn.0040ab70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7c6b18
lea eax, [ebp - 0x228]
call fcn.0040a7b4
lea eax, [ebp - 0x224]
mov edx, 4
call fcn.0040a7f0
lea eax, [ebp - 4]
call fcn.0040a790
ret

Function at 0x7c6b30
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x7c6bcc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040a790
xor edx, edx
push ebp
push 0x7c6bac
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 4]
mov edx, 0xfa
call fcn.0040b98c
mov eax, dword [ebp - 4]
test eax, eax
je 0x7c6b7c
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
call fcn.0040b7f8
push eax
call sub.KERNEL32.DLL_GetComputerNameW
push ebx
mov ecx, dword [ebp - 8]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.0040bc34
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7c6bb6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7c6bd3
lea eax, [ebp - 4]
call fcn.0040a790
ret
Function at 0x7c6bdc
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe68
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x198], edx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x7c6caa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0040a790
xor eax, eax
push ebp
push 0x7c6c7f
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x198]
call fcn.007c6b30
mov edx, dword [ebp - 0x198]
lea eax, [ebp - 4]
mov ecx, 0
call fcn.0040b3c4
lea eax, [ebp - 0x194]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, dword [ebp - 4]
call fcn.0040b218
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
test ebx, ebx
je 0x7c6c70
mov eax, dword [ebx + 0xc]
mov eax, dword [eax]
push dword [eax]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
mov eax, esi
call fcn.0040b830
call sub.wsock32.dll_WSACleanup
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7c6c89
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7c6cb1
lea eax, [ebp - 0x198]
call fcn.0040a790
lea eax, [ebp - 4]
call fcn.0040a7b4
ret
Function at 0x7c7e7c
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x7c7e84
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a874
xor eax, eax
push ebp
push 0x7c8022
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call fcn.007f77a4
test al, al
jne 0x7c7fde
mov dl, 1
mov eax, dword [0x47e80c]
call fcn.004a2178
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
call fcn.005fb7b0
lea eax, [ebp - 0x10]
mov edx, 0x7c8040
call fcn.0040ba0c
mov eax, dword [ebp - 0x10]
mov dl, 1
call fcn.00424d98
test al, al
je 0x7c7f09
lea eax, [ebp - 0x14]
call fcn.005fb7b0
lea eax, [ebp - 0x14]
mov edx, 0x7c8040
call fcn.0040ba0c
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x7c7f5d
inc esi
xor ebx, ebx
lea ecx, [ebp - 0x20]
mov edx, ebx
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0042340c
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00423774
mov eax, dword [ebp - 0x18]
mov edx, 0x7c8064
call fcn.0040bbfc
jne 0x7c7f59
mov dword [ebp - 0xc], ebx
jmp 0x7c7f5d
inc ebx
dec esi
jne 0x7c7f22
cmp dword [ebp - 0xc], 0
jl 0x7c7f84
lea eax, [ebp - 0x24]
mov ecx, dword [ebp - 4]
mov edx, 0x7c8084
call fcn.0040ba64
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0xc]
inc edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x64]
jmp 0x7c7fac
mov edx, 0x7c8064
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 4]
mov edx, 0x7c8084
call fcn.0040ba64
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea eax, [ebp - 0x2c]
call fcn.005fb7b0
lea eax, [ebp - 0x2c]
mov edx, 0x7c8040
call fcn.0040ba0c
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x80]
mov bl, 1
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [ebp - 8], edx
call fcn.00408ac4
call fcn.007f77a4
test al, al
je 0x7c7fff
push 4
push 0
mov eax, dword [ebp - 4]
call fcn.0040b7f8
push eax
call sub.KERNEL32.DLL_MoveFileExW
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7c8029
lea eax, [ebp - 0x2c]
mov edx, 8
call fcn.0040a7f0
lea eax, [ebp - 4]
call fcn.0040a790
ret

Function at 0x7c8090
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a874
xor eax, eax
push ebp
push 0x7c80e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040b7f8
mov ebx, eax
push ebx
call sub.KERNEL32.DLL_GetFileAttributesW
cmp eax, 0xffffffff
push 0
push ebx
call sub.KERNEL32.DLL_SetFileAttributesW
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 0x7c80ee
lea eax, [ebp - 4]
call fcn.0040a790
ret
Function at 0x7c80f4
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x7c80fc
push ebx
push esi
push edi
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a874
xor eax, eax
push ebp
push 0x7c82e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 0
xor ebx, ebx
xor edx, edx
push ebp
push 0x7c8279
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
call fcn.007c8090
mov eax, dword [ebp - 4]
call fcn.0040b7f8
mov esi, eax
push esi
call sub.KERNEL32.DLL_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 6], al
call sub.KERNEL32.DLL_GetLastError_2
movzx eax, byte [ebp - 6]
xor al, 1
and al, byte [ebp - 5]
je 0x7c817a
mov eax, dword [ebp - 4]
call fcn.007939dc
mov eax, dword [ebp - 4]
call fcn.004253d8
mov byte [ebp - 6], al
cmp byte [ebp - 6], 0
jne 0x7c826f
lea ecx, [ebp - 0xc]
mov edx, 0x7c8300
mov eax, dword [ebp - 4]
call fcn.0042551c
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], edi
mov eax, dword [ebp - 0x10]
call fcn.0040b7f8
push eax
push esi
call sub.KERNEL32.DLL_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 6], al
call sub.KERNEL32.DLL_GetLastError_2
cmp byte [ebp - 6], 0
je 0x7c8231
lea ecx, [ebp - 0x14]
mov edx, 0x7c8300
mov eax, dword [ebp - 4]
call fcn.0042551c
mov eax, dword [ebp - 0x14]
mov dl, 1
call fcn.00424d98
test al, al
je 0x7c8231
lea ecx, [ebp - 0x18]
mov edx, 0x7c8300
mov eax, dword [ebp - 4]
call fcn.0042551c
mov eax, dword [ebp - 0x18]
call fcn.007c7e7c
test al, al
je 0x7c8265
inc ebx
push 0x7c8318
lea ecx, [ebp - 0x20]
mov edx, 0x7c8300
mov eax, dword [ebp - 4]
call fcn.0042551c
push dword [ebp - 0x20]
push 0x7c8340
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.0040baec
mov eax, dword [ebp - 0x1c]
mov edx, 2
call fcn.00662ba0
jmp 0x7c8265
mov eax, dword [ebp - 4]
call fcn.007c7e7c
test al, al
je 0x7c8265
push 0x7c8318
push dword [ebp - 4]
push 0x7c8340
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.0040baec
mov eax, dword [ebp - 0x24]
mov edx, 2
call fcn.00662ba0
inc ebx
test ebx, ebx
mov eax, dword [0x8c10d4]
setg byte [eax]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x7c82b6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7c82e8
lea eax, [ebp - 0x28]
mov edx, 6
call fcn.0040a7f0
lea eax, [ebp - 0xc]
call fcn.0040a790
lea eax, [ebp - 4]
call fcn.0040a790
ret
Function at 0x7c83b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp + 0xc], 0
jne 0x7c83e7
cmp dword [ebp + 8], 0
jne 0x7c83e7
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.004a2200
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0xc], 0
jne 0x7c8404
cmp dword [ebp + 8], 0xf000
jbe 0x7c840f
jmp 0x7c8406
jle 0x7c840f
mov dword [ebp - 0x1c], 0xf000
jmp 0x7c8415
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
call fcn.004070f4
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x7c84b5
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x7c8490
mov eax, dword [ebp - 0x1c]
cdq
cmp edx, dword [ebp + 0xc]
jne 0x7c8440
cmp eax, dword [ebp + 8]
jae 0x7c8447
jmp 0x7c8442
jge 0x7c8447
mov edi, dword [ebp - 0x1c]
jmp 0x7c844a
mov edi, dword [ebp + 8]
mov edx, dword [ebp - 0x20]
mov ecx, edi
mov eax, dword [ebp - 4]
call fcn.004a2564
cmp byte [ebp - 9], 0
je 0x7c847a
mov esi, edi
dec esi
test esi, esi
jl 0x7c847a
inc esi
xor ebx, ebx
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + ebx]
xor al, 0x5a
mov edx, dword [ebp - 0x20]
mov byte [edx + ebx], al
inc ebx
dec esi
jne 0x7c8467
mov edx, dword [ebp - 0x20]
mov ecx, edi
mov eax, dword [ebp - 8]
call fcn.004a25e0
mov eax, edi
cdq
sub dword [ebp + 8], eax
sbb dword [ebp + 0xc], edx
cmp dword [ebp + 0xc], 0
jne 0x7c8430
cmp dword [ebp + 8], 0
jne 0x7c8430
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7c84bc
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
call fcn.00407110
ret
Function at 0x7e0518
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 5
push 0
push 0
dec ecx
jne 0x7e0521
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040a874
xor eax, eax
push ebp
push 0x7e0712
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x8c00af], 0
je 0x7e05ac
mov eax, dword [ebp - 4]
mov edx, 0x7e072c
call fcn.0040bbfc
jne 0x7e0572
lea eax, [ebp - 4]
mov edx, 0x7e0750
call fcn.0040abb8
jmp 0x7e05ac
mov eax, dword [ebp - 4]
mov edx, 0x7e077c
call fcn.0040bbfc
jne 0x7e0590
lea eax, [ebp - 4]
mov edx, 0x7e079c
call fcn.0040abb8
jmp 0x7e05ac
mov eax, dword [ebp - 4]
mov edx, 0x7e07c4
call fcn.0040bbfc
jne 0x7e05ac
lea eax, [ebp - 4]
mov edx, 0x7e07e0
call fcn.0040abb8
lea edx, [ebp - 0x20]
mov eax, dword [0x8dff24]
call fcn.005fb3c4
push dword [ebp - 0x20]
push dword [ebp - 4]
push 0x7e0804
mov eax, esi
mov edx, 3
call fcn.0040baec
cmp byte [0x8c00a8], 0
je 0x7e0631
lea eax, [ebp - 8]
mov edx, 0xc8
call fcn.0040b98c
mov eax, dword [ebp - 8]
test eax, eax
je 0x7e05f2
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 8]
call fcn.0040b7f8
push eax
call sub.KERNEL32.DLL_GetComputerNameW
push dword [esi]
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.0040bc34
push dword [ebp - 0x24]
push 0x7e0804
mov eax, esi
mov edx, 3
call fcn.0040baec
call fcn.00428164
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x16]
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x12]
call fcn.00428014
test bl, bl
jne 0x7e06c9
movzx eax, word [ebp - 0x14]
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea ecx, [ebp - 0xc]
mov edx, dword [0x8c1490]
mov eax, 0x7e0814
call fcn.004278e0
movzx eax, word [ebp - 0x16]
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea ecx, [ebp - 0x10]
mov edx, dword [0x8c1490]
mov eax, 0x7e0814
call fcn.004278e0
push dword [esi]
lea edx, [ebp - 0x2c]
movzx eax, word [ebp - 0x12]
call fcn.00424120
push dword [ebp - 0x2c]
push 0x7e0828
push dword [ebp - 0xc]
push 0x7e0828
push dword [ebp - 0x10]
push 0x7e0804
mov eax, esi
mov edx, 7
call fcn.0040baec
lea edx, [ebp - 0x30]
mov eax, dword [esi]
call fcn.005fb3c4
mov edx, dword [ebp - 0x30]
mov eax, esi
call fcn.0040ab70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x7e0719
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.0040a7f0
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.0040a7f0
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040a7f0
ret