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

Disassembly:
mov eax, 0x47bb87
call fcn.0045c348
push ecx
push ecx
push ebx
push esi
xor esi, esi
push edi
mov dword [ebp - 0x14], esi
mov eax, dword [0x4a84c4]
push 1
pop ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 2
mov edi, dword [eax - 8]
cmp edi, esi
jle 0x41ff29
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
mov al, byte [esi + eax]
xor al, byte [ebp + 0x10]
push eax
call fcn.0046b600
inc esi
cmp esi, edi
jl 0x41ff12
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0046afbe
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0046b249
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.0046b249
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x420af3
Capabilities:
Delete file
Set file attributes

Disassembly:
mov eax, 0x47bd88
call fcn.0045c348
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 8]
push 0x80
push dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x34], ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [esi + 4]
push ebx
push 0x9011
mov eax, dword [ecx]
push dword [ebp + 0xc]
call dword [eax + 0x20]
test eax, eax
jne 0x420b3b
push 5
pop edi
jmp 0x420bf4
cmp dword [esi + 0x20], ebx
je 0x420b68
cmp dword [esi + 0x38], ebx
push esi
push dword [ebp + 0x10]
je 0x420b54
call fcn.00420c11
pop ecx
pop ecx
mov edi, eax
jmp 0x420b6a
push fcn.00420a4b
push fcn.004209df
call fcn.0044fdb0
add esp, 0x10
jmp 0x420b50
xor edi, edi
mov eax, dword [esi + 0x34]
cmp eax, ebx
jbe 0x420b82
xor ecx, ecx
cmp eax, 0xd
setne cl
dec ecx
and ecx, 7
add ecx, 6
mov edi, ecx
cmp dword [esi + 0x20], ebx
je 0x420b8a
push 6
pop edi
cmp edi, ebx
jne 0x420b9e
mov eax, dword [esi + 0x24]
not eax
cmp dword [esi + 0x28], eax
mov dword [esi + 0x24], eax
je 0x420b9e
push 7
pop edi
cmp dword [0x4aa0f0], ebx
jne 0x420bdf
cmp dword [esi + 0xc], ebx
je 0x420bdf
mov ecx, dword [esi]
mov byte [ebp - 4], 1
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x420bdc
mov dword [ebp - 4], ebx
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x4c]
cmp edi, ebx
jle 0x420bf4
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0046b249
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x42127b
Capabilities:
Delete file
Set file attributes

Disassembly:
mov eax, 0x47be90
call fcn.0045c348
sub esp, 0x4c
push ebx
push esi
push edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], esp
call fcn.0046a8f4
and dword [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0046a8f4
mov ecx, dword [0x4a84c4]
and dword [ebp - 0x18], 0
push 1
mov eax, 0x8000
pop edi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], edi
mov esi, dword [ebp + 0x20]
push 2
pop ebx
mov dword [ebp - 0x1c], edi
and dword [esi], 0
push eax
mov byte [ebp - 4], bl
call fcn.0045c500
test eax, eax
pop ecx
mov dword [ebp - 0x14], eax
jne 0x4212e0
mov dword [esi], edi
xor esi, esi
jmp 0x421443
push 0
push 0x8020
push dword [ebp + 8]
lea ecx, [ebp - 0x40]
call fcn.0046aaa6
test eax, eax
jne 0x421303
push dword [ebp - 0x14]
call fcn.0045c4b8
pop ecx
mov dword [esi], ebx
jmp 0x4212d9
push 0x80
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0
push 0x9011
push dword [ebp + 0xc]
lea ecx, [ebp - 0x50]
call fcn.0046aaa6
test eax, eax
jne 0x421340
push dword [ebp - 0x14]
call fcn.0045c4b8
pop ecx
lea ecx, [ebp - 0x40]
call fcn.0046acc1
mov dword [esi], 3
jmp 0x4212d9
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp + 0x14]
jae 0x42141a
test edi, edi
jbe 0x42141a
mov eax, 0x8000
lea ecx, [ebp - 0x40]
push eax
mov byte [ebp - 4], 3
push dword [ebp - 0x14]
call fcn.0046abc3
mov edi, eax
mov dword [ebp - 4], ebx
push edi
lea ecx, [ebp - 0x50]
push dword [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0046abfd
add dword [ebp - 0x18], edi
cmp dword [ebp + 0x10], 0
mov dword [ebp - 4], ebx
je 0x421343
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x18]
and dword [ebp - 0x20], 0
and dword [ebp - 0x2c], 0
add ecx, eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x30], eax
fild qword [ebp - 0x24]
fild qword [ebp - 0x30]
fdivp st(1)
fmul qword [0x485a58]
call fcn.0045daac
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0044f880
mov ecx, dword [ebp + 0x10]
call fcn.0044f8f8
test eax, eax
je 0x421343
call fcn.00421101
cmp dword [0x4aa0f0], 0
je 0x421343
xor edi, edi
mov dword [esi], 0x63
mov dword [ebp - 0x1c], edi
jmp 0x421343
lea ecx, [ebp - 0x40]
call fcn.0046acc1
lea ecx, [ebp - 0x50]
call fcn.0046acc1
push dword [ebp - 0x14]
call fcn.0045c4b8
mov esi, dword [ebp - 0x1c]
pop ecx
test esi, esi
jne 0x421443
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0046b249
and byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0046a9e9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.0046a9e9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x423fbf
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
mov eax, 0x47c274
call fcn.0045c348
sub esp, 0x18
mov eax, dword [0x4a84c4]
push ebx
push esi
push edi
mov dword [ebp - 0x10], eax
xor esi, esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], esi
mov edi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push dword [edi + 0xc]
push eax
call fcn.0044edf9
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0046b336
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0046b249
mov eax, dword [edi + 0x90]
sub eax, esi
je 0x424041
dec eax
je 0x424038
dec eax
jne 0x4241a8
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0046afbe
call fcn.004243f0
jmp 0x424058
push esi
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
jmp 0x424049
push 1
push ecx
mov ecx, esp
mov dword [ebp + 8], esp
lea eax, [ebp - 0x10]
push eax
call fcn.0046afbe
call fcn.004241d1
pop ecx
cmp eax, esi
pop ecx
mov dword [ebp + 8], eax
je 0x4241a8
mov esi, 0x4aa0f8
mov eax, dword [edi + 0x38]
sub eax, 0
je 0x424144
dec eax
je 0x42411f
dec eax
jne 0x424152
push dword [edi + 0x5c]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
push eax
call fcn.0044edf9
mov ebx, eax
lea eax, [ebp - 0x18]
push str.MLMSG_ERR_CLOSE_PROGRAM
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.0042ea76
push dword [ebx]
mov eax, dword [eax]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00468cd1
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0046b249
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0046b249
lea eax, [ebp - 0x20]
push str.MSG_ERR_NOTICE
push eax
mov ecx, esi
call fcn.0042ea76
mov ebx, dword [eax]
mov byte [ebp - 4], 5
call fcn.004761d8
mov eax, dword [eax + 4]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x74]
test eax, eax
je 0x424101
mov eax, dword [eax + 0x1c]
push 0x35
push ebx
push dword [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov byte [ebp - 4], 1
call fcn.0046b249
jmp 0x424152
push dword [ebp + 8]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
test ebx, ebx
je 0x42413b
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x424152
push dword [ebp + 8]
push 0x423f90
call dword [sym.imp.USER32.dll_EnumWindows]
push dword [ebp + 8]
xor ebx, ebx
call fcn.00424465
neg eax
sbb eax, eax
pop ecx
inc eax
jne 0x4241a6
cmp ebx, 4
jge 0x424185
push 0x258
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp + 8]
inc ebx
call fcn.00424465
neg eax
sbb eax, eax
pop ecx
inc eax
je 0x424164
test eax, eax
jne 0x4241a6
cmp dword [edi + 0x38], 2
jl 0x424199
cmp dword [ebp - 0x24], 4
je 0x424069
xor eax, eax
cmp dword [edi + 0x34], 1
sete al
mov esi, eax
jmp 0x4241a8
xor esi, esi
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0046b249
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0046b249
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x4244f1
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x47c34c
call fcn.0045c348
sub esp, 0xc
mov eax, dword [0x4a84c4]
push esi
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push dword [esi + 0xc]
push eax
call fcn.0044edf9
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0046b336
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.0046b249
push dword [esi + 0x2c]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 8]
push eax
call fcn.0044edf9
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0046b336
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.0046b249
push dword [esi + 0x30]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
call fcn.0044edf9
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0046b336
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.0046b249
push dword [esi + 0x38]
push dword [esi + 0x34]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0041c46b
mov esi, eax
add esp, 0x14
neg esi
sbb esi, esi
lea ecx, [ebp - 0x10]
inc esi
mov byte [ebp - 4], 1
call fcn.0046b249
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0046b249
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0046b249
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4245e1
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x47c388
call fcn.0045c348
sub esp, 0xc
mov eax, dword [0x4a84c4]
push esi
mov dword [ebp - 0x18], eax
and dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 8]
mov byte [ebp - 4], 2
push dword [esi + 0xc]
push eax
call fcn.0044edf9
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0046b336
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.0046b249
push dword [esi + 0x3c]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 8]
push eax
call fcn.0044edf9
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 4
call fcn.0046b336
lea ecx, [ebp + 8]
mov byte [ebp - 4], 2
call fcn.0046b249
push dword [esi + 0x30]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0xc]
push eax
call fcn.0044edf9
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.0046b336
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.0046b249
mov esi, dword [esi + 0x38]
sub esi, 0
je 0x424696
dec esi
je 0x424692
dec esi
jne 0x424696
push 3
jmp 0x424698
push 6
jmp 0x424698
push 1
pop esi
call fcn.0041ff61
test eax, eax
je 0x4246a5
mov eax, dword [eax + 0x1c]
push esi
push dword [ebp - 0x10]
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jle 0x4246c1
xor esi, esi
jmp 0x424722
cmp eax, 0x1b
jg 0x4246fa
je 0x4246f6
push 2
pop esi
sub eax, esi
je 0x4246f2
dec eax
je 0x424722
sub eax, esi
je 0x4246ee
push 3
pop esi
sub eax, esi
je 0x4246ea
sub eax, esi
je 0x424722
sub eax, 0xf
jne 0x42470b
push 0xc
jmp 0x424721
push 0xb
jmp 0x424721
push 4
jmp 0x424721
push 1
jmp 0x424721
push 5
jmp 0x424721
sub eax, 0x1c
je 0x42471f
dec eax
je 0x42471b
dec eax
je 0x424717
dec eax
je 0x424713
dec eax
je 0x42470f
push 0x63
jmp 0x424721
push 9
jmp 0x424721
push 0xa
jmp 0x424721
push 6
jmp 0x424721
push 7
jmp 0x424721
push 8
pop esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0046b249
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0046b249
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.0046b249
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x424ad3
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x47c484
call fcn.0045c348
sub esp, 0x118
mov eax, dword [0x4a84c4]
push esi
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 3
call fcn.004761d8
mov ecx, dword [eax + 4]
call fcn.0046fa31
mov esi, dword [ebp + 8]
and dword [ebp - 0x1c], 0
test esi, esi
mov byte [ebp - 4], 4
jne 0x424b32
mov byte [ebp - 4], 3
call fcn.004761d8
mov ecx, dword [eax + 4]
call fcn.0046fa46
push 1
pop esi
jmp 0x424ca5
push edi
mov edi, dword [ebp + 0xc]
push dword [esi + 0x64]
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.0044edf9
mov eax, dword [eax]
mov ecx, dword [esi + 0x60]
push eax
push ecx
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.0044ec2d
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.0046b249
push dword [esi + 0xc]
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.0044edf9
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.0046b336
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.0046b249
push dword [esi + 0x70]
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.0044edf9
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.0046b336
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.0046b249
push dword [esi + 0x68]
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.0044edf9
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.0046b336
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.0046b249
push dword [esi + 0x64]
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.0044edf9
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call fcn.0046b336
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.0046b249
push dword [ebp - 0x10]
call fcn.0041cb18
test eax, eax
pop ecx
jne 0x424c14
mov dword [ebp - 0x1c], 1
jmp 0x424c64
push ebx
lea eax, [ebp - 0x124]
push dword [ebp - 0x10]
mov ebx, str.______
push 0x104
push eax
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x124]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
pop ebx
je 0x424c5d
mov esi, dword [esi + 0x60]
lea eax, [ebp - 0x124]
push eax
push esi
mov ecx, edi
call fcn.0044ec2d
jmp 0x424c90
mov dword [ebp - 0x1c], 2
push dword [esi + 0x64]
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.0044edf9
mov eax, dword [eax]
mov esi, dword [esi + 0x60]
push eax
push esi
mov ecx, edi
mov byte [ebp - 4], 0xa
call fcn.0044ec2d
lea ecx, [ebp + 8]
mov byte [ebp - 4], 4
call fcn.0046b249
mov byte [ebp - 4], 3
call fcn.004761d8
mov ecx, dword [eax + 4]
call fcn.0046fa46
mov esi, dword [ebp - 0x1c]
pop edi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.0046b249
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.0046b249
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0046b249
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0046b249
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x42758d
Capabilities:
Delete file

Disassembly:
mov eax, 0x47cb60
call fcn.0045c348
sub esp, 0x20
push esi
push edi
lea ecx, [ebp - 0x2c]
call fcn.00427779
mov eax, dword [0x4a84c4]
and dword [ebp - 4], 0
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
lea eax, [ebp + 8]
mov ecx, edi
push dword [esi + 0x58]
mov byte [ebp - 4], 1
push eax
call fcn.0044edf9
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0046b336
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0046b249
push dword [esi + 0xc]
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.0044edf9
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.0046b336
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0046b249
push dword [esi + 0x2c]
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.0044edf9
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.0046b336
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0046b249
push dword [esi + 0x30]
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.0044edf9
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0046b336
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0046b249
push dword [esi + 0xa4]
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.0044edf9
push eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.0046b336
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0046b249
push dword [esi + 0xa0]
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.0044edf9
push dword [eax]
call fcn.0045d917
pop ecx
mov dword [ebp - 0x1c], eax
lea ecx, [ebp + 8]
call fcn.0046b249
mov eax, dword [esi + 0x38]
sub eax, 0
je 0x4276c4
dec eax
je 0x4276bb
dec eax
jne 0x4276cb
mov dword [ebp - 0x18], 3
jmp 0x4276cb
mov dword [ebp - 0x18], 7
jmp 0x4276cb
mov dword [ebp - 0x18], 1
push dword [ebp - 0x10]
call fcn.0041cb18
test eax, eax
pop ecx
jne 0x4276f6
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.0046afbe
call fcn.0041bf5d
test eax, eax
pop ecx
jne 0x4276f6
push 1
pop esi
jmp 0x427751
push dword [esi + 0x68]
lea eax, [ebp + 8]
mov ecx, edi
push eax
call fcn.0044edf9
push dword [eax]
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 7
push dword [ebp - 0x10]
push str._s_s.lnk
push eax
call fcn.00468cd1
add esp, 0x10
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0046b249
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x2c]
push eax
call fcn.0041ff61
push eax
call fcn.00444ef0
xor ecx, ecx
test eax, eax
setl cl
dec ecx
and ecx, 0xfffffffe
inc ecx
inc ecx
mov esi, ecx
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0046b249
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.004277a8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x427804
Capabilities:
Delete file

Disassembly:
mov eax, 0x47cbb8
call fcn.0045c348
push ecx
push ecx
mov eax, dword [0x4a84c4]
push esi
push edi
mov dword [ebp - 0x10], eax
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
push dword [esi + 0x68]
push eax
call fcn.0044edf9
mov edi, eax
push dword [esi + 0x58]
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 8]
mov byte [ebp - 4], 1
push eax
call fcn.0044edf9
push dword [edi]
mov byte [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x10]
push str._s_s.lnk
push eax
call fcn.00468cd1
add esp, 0x10
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0046b249
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0046b249
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
je 0x427887
xor esi, esi
jmp 0x42788a
push 1
pop esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0046b249
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x427e58
Capabilities:
Set file attributes

Disassembly:
mov eax, 0x47cc7c
call fcn.0045c348
push ecx
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x1c]
push dword [ebp + 8]
xor edi, edi
xor esi, esi
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edi
mov dword [ebx], edi
call fcn.0041cb18
test eax, eax
pop ecx
jne 0x427e8b
mov dword [ebp - 0x10], 1
jmp 0x427ed1
cmp dword [ebp + 0xc], edi
je 0x427e93
push 2
pop esi
cmp dword [ebp + 0x10], edi
je 0x427e9b
or esi, 4
cmp dword [ebp + 0x14], edi
je 0x427ea3
or esi, 0x20
cmp dword [ebp + 0x18], edi
je 0x427eab
or esi, 1
cmp esi, edi
jne 0x427eb4
mov esi, 0x80
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x427ed1
mov dword [ebp - 0x10], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0046b249
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x429597
Capabilities:
Move file

Disassembly:
mov eax, 0x47d0c4
call fcn.0045c348
sub esp, 0x3c
push ebx
push esi
push edi
push 1
lea ecx, [ebp - 0x48]
pop ebx
mov dword [ebp - 4], ebx
call fcn.0040a6df
xor edi, edi
mov byte [ebp - 4], 2
cmp dword [ebp + 0x10], edi
jne 0x429648
cmp dword [ebp - 0x28], ebx
jne 0x429641
push str.WININIT.INI
push ecx
mov ecx, esp
mov dword [ebp + 0x10], esp
push str._WinDir_
call fcn.0046b2b7
lea eax, [ebp - 0x14]
push eax
call fcn.0044eff5
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 3
call fcn.0046b492
mov esi, dword [eax]
push dword [ebp + 8]
lea eax, [ebp + 0x10]
mov byte [ebp - 4], 4
push eax
call fcn.0041d4d9
mov eax, dword [eax]
pop ecx
pop ecx
push esi
push eax
push dword [ebp + 0xc]
push str.Rename
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [ebp + 0x10]
mov esi, eax
call fcn.0046b249
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.0046b249
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.0046b249
jmp 0x429672
push 5
push dword [ebp + 0xc]
jmp 0x429667
cmp dword [ebp - 0x28], ebx
jne 0x429664
push ecx
lea eax, [ebp + 8]
mov ecx, esp
mov dword [ebp + 0x10], esp
push eax
call fcn.0046afbe
call fcn.004296ac
pop ecx
jmp 0x429678
push 5
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov esi, eax
test esi, esi
jne 0x429678
mov edi, ebx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.0040a859
and byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0046b249
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0046b249
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret