joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5ded36
Capabilities:
Check for software breakpoints
Encode data using xor

Disassembly:
xchg esi, eax
hlt
inc ebp
aam 0x86
sbb byte [esi + 0x2e], dh
sub eax, 0x3c6441c1
dec esp
cld
sti
mov bl, byte [eax]
jbe 0x5ded76
cmp al, 0x4c
inc edi
aam 0xad
fsub qword [esp + edi - 0x75]
inc ebp
aam 0x86
sbb byte [esi + 0x2e], dh
sub eax, 0x3c6441c1
dec esp
cld
sti
mov bl, byte [eax]
jbe 0x5ded92
cmp al, 0x4c
dec esp
inc edi
jns 0x5ded29
mov bh, 0xa2
pop eax
lodsb al, byte [esi]
and edi, dword [ebx - 0xd]
add esi, dword cs:[esi]
lea esi, [0x474db2f8]
xor eax, 0x474db2f8
pop eax
rcl byte [ebp + 0x52], cl
dec ebp
ja 0x5dede7
movsb byte es:[edi], byte [esi]
or eax, dword [esi + edx - 0x490858ef]
mov ah, 0x4d
jb 0x5ded65
xlatb
ror edx, 0x55
cmp al, 0x37
ret 0x3c4f
retf 0x3c55
mov bh, 0x42
inc edx
les edi, [esi + 0x4c3ddf5c]
inc esp
add bh, bl
std
enter 0x3c5e, 0x4c
inc edi
aad 0xf7
pop ecx
insb byte es:[edi], dx
idiv byte [eax]
adc al, byte [ebx + 0x46]
inc ebp
inc esp
rcr ah, cl
adc al, 0x45
inc esi
xor eax, 0x4d5264e1
inc esp
lodsb al, byte [esi]
dec esi
or eax, 0xb45d2e76
and byte [eax + 0x72], 0x8c
inc esp
mov dh, 0x62
in al, dx
dec edi
shl byte [ebp + 0x3d], 0xf2
sti
je 0x5dee8b
inc esi
xor eax, 0xd6eac44
jbe 0x5dee5e
pop ebp
jbe 0x5dee3c
push ebp
cmp al, 0xb1
mov bh, 0xa2
pop ebx
mov ah, 0xd2
push ebp
mov esp, 0x38534407
sti
inc esp
cmp al, 0xcc
test dword [ebx], esi
sub eax, 0x3c6448c1
dec esp
std
jp 0x5deeb1
xorps xmm4, xmmword [edx + 0x1e444c3c]
jb 0x5dede6
inc esp
mov dh, 0x62
invalid
invalid
clc
int1
dec ebp
inc edi
pop eax
shr byte [0x633fde3d], cl
inc esi
inc ebx
inc esp
lodsb al, byte [esi]
out dx, al
or eax, 0xc25d2e76
pop es
push esp
cmp byte [ebx], bl
inc esp
cmp al, 0x47
ror byte [ebx - 0x2d], cl
ret 0x6444
dec esp
rcr byte [edi - 0x2d], cl
fiadd dword [esp + 0x3c]
movsb byte es:[edi], byte [esi]
inc ebp
rol dh, cl
dec ebp
ror byte [ebx + 0x3c], cl
and dword fs:[ecx + edi*8], 0xfb0165fb
std
enter 0x3c7c, 0x4c
inc edi
or eax, 0x644493fb
cmp al, 0x4c
movd dword [esp + ecx*2], mm7
inc edi
xchg ebp, eax
loope 0x5def28
inc edi
int1
xor esp, dword [edx]
invalid
cmp byte [edi + 0x47], cl
cmp al, 0xe
push edi
dec esi
cmp al, 0x4c
inc esp
std
add bh, byte [ecx + 0x4c20f835]
inc edi
mov esp, 0x38539507
clc
and byte [edi + eax*2 + 0x64], cl
mov esp, 0x38539507
dec eax
inc edi
cmp al, 3
rcl dword [ebp + 0x2d], cl
sar byte [0x754c3c64], 0x75
fmul qword [ebp + 0x44]
mov ebx, 0x38537007
inc edi
cmp al, 0xcc
test dword [ebx], esi
sub eax, 0x3c643ec1
dec esp
jge 0x5def37
pop edi
dec ecx
invalid
Function at 0x5ebd9c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5ebdb7
add esi, 0x1000
lea eax, [ebp - 0x2bc]
push edx
push 0x1c
push eax
push esi
call dword [edx + 0x124b0fdc]
pop edx
test eax, eax
je 0x5ebe89
cmp dword [ebp - 0x2ac], 0x1000
jne 0x5ebe78
test dword [ebp - 0x2a8], 1
jne 0x5ebe78
and dword [ebp - 0x2a8], 0x100
jne 0x5ebe78
push esi
push edx
push 4
push esi
call dword [edx + 0x122d3c2f]
pop edx
pop esi
test eax, eax
je 0x5ebe1b
jmp 0x5ebe78
cmp word [esi], 0x5a4d
jne 0x5ebe78
mov eax, esi
push ebx
mov ebx, dword [esi + 0x3c]
add eax, ebx
pop ebx
cmp dword [eax], 0x4550
jne 0x5ebe78
lea eax, [ebp - 0x28c]
push edx
push 0x28a
push eax
push esi
call dword [edx + 0x122d3a07]
pop edx
test eax, eax
je 0x5ebe78
lea eax, [ebp - 0x28c]
push eax
call fcn.005ebcf8
test eax, eax
jne 0x5ebe71
jmp 0x5ebe78
mov eax, esi
jmp 0x5ebe89
mov esi, dword [ebp - 0x2b0]
add esi, dword [ebp - 0x2bc]
jmp 0x5ebdb7
pop esi
leave
ret 4
Function at 0x53ad3008
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.53ad4324
test esi, esi
jne 0x53ad303e
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.53ad4414
jmp 0x53ad305c
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.53ad2f0c
mov edi, eax
test esi, esi
je 0x53ad305c
cmp dword [ebx], 0
je 0x53ad305c
dec esi
jmp 0x53ad3045
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x53ad3090
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x53aea008], 0x8088405
inc edx
mov dword [ebx + 0x53aea008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x53ad36d4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x53aea018]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x53ad376c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x53ad374c
xor eax, eax
push ebp
push 0x53ad3745
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x53ad3788
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53ad374c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x53aea018]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x53aea018], ax
mov esp, ebp
pop ebp
ret

Function at 0x53ad41a4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x53b04044], 0
je 0x53ad4205
cmp word [0x53b04218], 0xd7b2
jne 0x53ad41cd
cmp dword [0x53b04220], 0
jbe 0x53ad41cd
mov eax, 0x53b04214
call dword [0x53b04230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x53ad422c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x53aea024], 0
jne 0x53ad4221
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x53ad50c4
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x53ad52f4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x53ad5147
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x53ad52f4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x53ad5147
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x53ad5310
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x53ad51d0
xor eax, eax
push ebp
push 0x53ad51c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.53ad4f00
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x53ad51ae
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x53ad5330
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x53ad51ae
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53ad51d0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x53ad52ea
cmp byte [ebp - 0xd], 0
jne 0x53ad5217
cmp byte [ebp - 0x12], 0
je 0x53ad52ea
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x53ad5230
dec ebx
cmp byte [ebx], 0x2e
je 0x53ad523f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x53ad522f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x53ad52ea
inc ebx
cmp byte [ebp - 0x12], 0
je 0x53ad527c
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x53ad52ea
cmp byte [ebp - 0xd], 0
je 0x53ad52ea
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x53ad52ea
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53ad51d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x53ad52f4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x53ad5147
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x53ad52f4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x53ad5147
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x53ad5310
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x53ad51d0
xor eax, eax
push ebp
push 0x53ad51c9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.53ad4f00
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x53ad51ae
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x53ad5330
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x53ad51ae
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53ad51d0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x53ad52ea
cmp byte [ebp - 0xd], 0
jne 0x53ad5217
cmp byte [ebp - 0x12], 0
je 0x53ad52ea
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x53ad5230
dec ebx
cmp byte [ebx], 0x2e
je 0x53ad523f
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x53ad522f
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x53ad52ea
inc ebx
cmp byte [ebp - 0x12], 0
je 0x53ad527c
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x53ad52ea
cmp byte [ebp - 0xd], 0
je 0x53ad52ea
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x53ad52ea
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x53ad59f4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov ecx, 0x53aea7b0
mov ebx, ecx
cmp dword [ecx + 0x18448], 0
je 0x53ad5a2d
mov edx, ecx
xor eax, eax
mov esi, eax
add esi, esi
add esi, esi
inc esi
imul esi, dword [ecx + 0x18448]
xor dword [edx], esi
add edx, 4
inc eax
cmp eax, 0x6112
jne 0x53ad5a0a
xor eax, eax
mov dword [ecx + 0x18448], eax
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x53ad5d44
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, edx
mov ebp, eax
xor edi, edi
call fcn.53ad5b68
test esi, esi
je 0x53ad5d92
test ebp, ebp
je 0x53ad5d92
mov eax, esi
call fcn.53ad2c94
mov edi, eax
test edi, edi
je 0x53ad5d92
mov edx, esi
dec edx
test edx, edx
jb 0x53ad5d92
inc edx
xor eax, eax
mov ecx, esi
dec ecx
sub ecx, eax
movzx ecx, byte [ebp + ecx]
mov ebx, eax
imul bx, word [0x53b02c58]
add bl, 0xda
xor cl, bl
mov byte [edi + eax], cl
inc eax
dec edx
jne 0x53ad5d72
mov eax, edi
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x53ad62dc
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
mov eax, esp
xor ecx, ecx
mov edx, 0x104
call fcn.53ad31b0
push 0x104
lea eax, [esp + 4]
push eax
mov eax, ebx
call fcn.53ad4790
push eax
call sub.kernel32.dll_GetEnvironmentVariableA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.53ad4414
add esp, 0x104
pop esi
pop ebx
ret
Function at 0x53ad64e4
Capabilities:
Create directory
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
xor edx, edx
mov dword [ebp - 0x120], edx
mov dword [ebp - 0x124], edx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.53ad4780
xor eax, eax
push ebp
push 0x53ad66e3
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, 0x53ad66fc
call fcn.53ad43bc
mov eax, 0x53ad6710
call fcn.53ad7838
test al, al
je 0x53ad6557
lea eax, [ebp - 0xc]
mov edx, 0x53ad6724
call fcn.53ad43bc
jmp 0x53ad6572
mov eax, 0x53ad6738
call fcn.53ad7838
test al, al
je 0x53ad6572
lea eax, [ebp - 0xc]
mov edx, 0x53ad6750
call fcn.53ad43bc
mov edx, dword [ebp - 4]
mov eax, 0x53ad6768
call fcn.53ad5e9c
test al, al
je 0x53ad65bc
lea eax, [ebp - 0x114]
mov edx, dword [ebp - 4]
movzx edx, byte [edx]
call fcn.53ad450c
lea eax, [ebp - 0x114]
mov edx, dword [ebp - 0xc]
call fcn.53ad45cc
mov eax, dword [ebp - 0x114]
call fcn.53ad4790
push eax
lea eax, [ebp - 0x110]
push eax
call sub.kernel32.dll_lstrcpyA
jmp 0x53ad6605
lea eax, [ebp - 0x110]
push eax
push 0x104
call sub.kernel32.dll_GetCurrentDirectoryA
lea eax, [ebp - 0x118]
movzx edx, byte [ebp - 0x110]
call fcn.53ad450c
lea eax, [ebp - 0x118]
mov edx, dword [ebp - 0xc]
call fcn.53ad45cc
mov eax, dword [ebp - 0x118]
call fcn.53ad4790
push eax
lea eax, [ebp - 0x110]
push eax
call sub.kernel32.dll_lstrcpyA
lea eax, [ebp - 0x11c]
lea edx, [ebp - 0x110]
mov ecx, 0x104
call fcn.53ad4594
mov eax, dword [ebp - 0x11c]
call fcn.53ad7838
test al, al
jne 0x53ad6638
push 0
lea eax, [ebp - 0x110]
push eax
call sub.kernel32.dll_CreateDirectoryA
call fcn.53ad3068
lea eax, [ebp - 0x120]
lea edx, [ebp - 0x110]
mov ecx, 0x104
call fcn.53ad4594
push dword [ebp - 0x120]
push 0x53ad6774
mov eax, 0x270f
call fcn.53ad3090
lea edx, [ebp - 0x124]
call fcn.53ad6c04
push dword [ebp - 0x124]
push 0x53ad6780
lea eax, [ebp - 8]
mov edx, 4
call fcn.53ad4694
push 9
mov eax, dword [ebp - 8]
call fcn.53ad4790
push eax
mov eax, dword [ebp - 4]
call fcn.53ad4790
push eax
call sub.kernel32.dll_MoveFileExA
push 0x64
call sub.kernel32.dll_Sleep_1
mov eax, dword [ebp - 4]
call fcn.53ad71a4
mov ebx, eax
xor bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53ad66ea
lea eax, [ebp - 0x124]
mov edx, 5
call fcn.53ad4348
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.53ad4348
ret

Function at 0x53ad6800
Capabilities:
Delete file
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.53ad4780
xor eax, eax
push ebp
push 0x53ad6854
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
call fcn.53ad4790
mov ebx, eax
push ebx
call sub.kernel32.dll_SetFileAttributesA
push ebx
call sub.kernel32.dll_DeleteFileA
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 0x53ad685b
lea eax, [ebp - 4]
call fcn.53ad4324
ret
Function at 0x53ad6864
Capabilities:
Acquire debug privileges

Disassembly:
add esp, 0xffffffe8
push esp
push 0x28
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.advapi32.dll_OpenProcessToken
test eax, eax
je 0x53ad68bd
lea eax, [esp + 0xc]
push eax
push 0x53ad68c4
push 0
call sub.advapi32.dll_LookupPrivilegeValueA
mov dword [esp + 8], 1
mov dword [esp + 0x14], 2
lea eax, [esp + 4]
push eax
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_AdjustTokenPrivileges
mov eax, dword [esp]
push eax
call sub.kernel32.dll_CloseHandle
add esp, 0x18
ret

Function at 0x53ad6a30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call sub.kernel32.dll_CreateThread
pop ecx
pop ebp
ret 8

Function at 0x53ad6a50
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.53ad4780
xor eax, eax
push ebp
push 0x53ad6ac2
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x48000080
push 3
push 0
push 3
push 0
mov eax, dword [ebp - 4]
call fcn.53ad4790
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
push 0
push ebx
call sub.kernel32.dll_GetFileSize
mov esi, eax
cmp ebx, 0xffffffff
jne 0x53ad6a9f
xor esi, esi
cmp esi, 0xffffffff
jne 0x53ad6aa6
xor esi, esi
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53ad6ac9
lea eax, [ebp - 4]
call fcn.53ad4324
ret

Function at 0x53ad6ad0
Capabilities:
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.53ad4780
mov eax, dword [ebp - 8]
call fcn.53ad4780
xor eax, eax
push ebp
push 0x53ad6bc4
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp dword [ebp - 4], 0
jne 0x53ad6b23
lea eax, [ebp - 0x24]
mov edx, dword [0x53b02c14]
call fcn.53ad451c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 4]
call fcn.53ad732c
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.53ad4790
push eax
call sub.kernel32.dll_CreateFileA
mov edi, eax
push 0
push 0x80
push 3
push 0
push 2
push 0x40000000
mov eax, dword [ebp - 8]
call fcn.53ad4790
push eax
call sub.kernel32.dll_CreateFileA
mov esi, eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push edi
call sub.kernel32.dll_GetFileTime
test eax, eax
je 0x53ad6b95
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
call sub.kernel32.dll_SetFileTime
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle
push edi
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53ad6bcb
lea eax, [ebp - 0x24]
call fcn.53ad4324
lea eax, [ebp - 8]
mov edx, 2
call fcn.53ad4348
ret
Function at 0x53ad70b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.53ad4780
xor eax, eax
push ebp
push 0x53ad7191
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov esi, dword [ebp - 4]
mov eax, esi
test eax, eax
je 0x53ad70ec
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x53ad716e
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x7fffffff
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.53ad47f0
mov eax, dword [ebp - 0xc]
call fcn.53ad4790
mov ebx, eax
mov eax, esi
test eax, eax
je 0x53ad711b
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
test edi, edi
jl 0x53ad715b
inc edi
xor esi, esi
movzx eax, byte [ebx + esi]
cmp al, 0x5c
je 0x53ad7131
cmp al, 0x2f
jne 0x53ad7157
mov byte [ebx + esi], 0
push 0
push ebx
call sub.kernel32.dll_CreateDirectoryA
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.53ad451c
mov eax, dword [ebp - 0x10]
call fcn.53ad7838
test al, al
je 0x53ad716e
mov byte [ebx + esi], 0x5c
inc esi
dec edi
jne 0x53ad7125
push 0
push ebx
call sub.kernel32.dll_CreateDirectoryA
mov eax, dword [ebp - 4]
call fcn.53ad7838
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53ad7198
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.53ad4348
lea eax, [ebp - 4]
call fcn.53ad4324
ret

Function at 0x53ad71b4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor edx, edx
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x110], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x10c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x53ad728b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x104]
xor ecx, ecx
mov edx, 0x104
call fcn.53ad31b0
push 0x104
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov ecx, eax
lea edx, [ebp - 0x104]
mov eax, ebx
call fcn.53ad4414
lea edx, [ebp - 0x10c]
mov eax, dword [ebx]
call dword [0x53b02c60]
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x108]
call fcn.53ad6d10
mov eax, dword [ebp - 0x108]
push eax
lea edx, [ebp - 0x114]
mov eax, dword [ebx]
call dword [0x53b02c5c]
mov eax, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
call fcn.53ad6eec
mov edx, dword [ebp - 0x110]
mov eax, ebx
pop ecx
call fcn.53ad4618
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53ad7292
lea eax, [ebp - 0x114]
mov edx, 4
call fcn.53ad4348
ret