joyce8/EMBER2024-capa huggingface dataset:
Function at 0x469940
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57d2d0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x600f84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], 0
call fcn.0041c150
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x469a3c
lea eax, [ebp - 0x34]
push eax
push 0
mov ecx, esi
call fcn.0041c150
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x469a3c
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x469a3c
lea eax, [edi + 1]
push eax
call fcn.00551776
mov esi, eax
add esp, 4
test esi, esi
je 0x469a3c
lea eax, [edi + 1]
push eax
push 0
push esi
call fcn.00557f00
mov ecx, dword [ebp - 0x3c]
push edi
push esi
call fcn.00469a70
add esp, 0x10
mov ecx, esp
mov dword [ebp - 0x38], esp
call fcn.00406d50
lea ecx, [ebp - 0x2c]
call fcn.0040a840
push 0
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.0040a900
mov ecx, dword [ebp - 0x38]
push ecx
add edi, esi
push edi
lea edx, [ebp - 0x2c]
push edx
mov ecx, esi
call fcn.0046cc70
push esi
mov dword [ebp - 4], 1
call fcn.00552be1
add esp, 4
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.00434170
lea ecx, [ebp - 0x2c]
call fcn.0040a980
jmp 0x469a48
push 0x5dfa53
mov ecx, ebx
call fcn.004163a0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005521f1
mov esp, ebp
pop ebp
ret

Function at 0x469a70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
push bind
call fcn.0041c150
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x469abb
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push edi
lea eax, [ebp - 4]
push eax
push ecx
push edx
push esi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x469b20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e601
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x600f84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x80]
push str.NameValuePairs:_type_mismatch_for_
push eax
mov dword [ebp - 0xc0], esi
call fcn.0045dcc0
push eax
lea ecx, [ebp - 0xb8]
push ecx
mov ecx, str.__stored_
mov dword [ebp - 4], 0
call fcn.0045dc20
add esp, 0x14
mov dword [ebp - 0xbc], eax
push 0x6067e4
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.005523fc
mov edx, dword [ebp - 0xbc]
push edx
lea ecx, [ebp - 0x9c]
push ecx
mov ecx, eax
call fcn.0045dc20
push eax
lea edx, [ebp - 0x48]
push edx
mov ecx, str.__trying_to_retrieve_
mov byte [ebp - 4], 2
call fcn.0045dc20
add esp, 0x10
mov dword [ebp - 0xbc], eax
push 0x6067e4
mov ecx, ebx
mov byte [ebp - 4], 3
call fcn.005523fc
mov ecx, dword [ebp - 0xbc]
push ecx
lea edx, [ebp - 0x2c]
push edx
mov ecx, eax
call fcn.0045dc20
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x5e2154
mov byte [ebp - 4], 4
call fcn.0045dc20
add esp, 0x10
mov dword [ebp - 0xbc], eax
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00552200
mov ecx, dword [ebp - 0xbc]
mov byte [ebp - 4], 6
push ecx
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CryptoPP::Exception.0
mov dword [esi + 0xc], 1
call fcn.004104d0
lea ecx, [ebp - 0x64]
mov dword [esi], vtable.CryptoPP::InvalidArgument.0
call fcn.0040a980
lea ecx, [ebp - 0x2c]
call fcn.0040a980
lea ecx, [ebp - 0x48]
call fcn.0040a980
lea ecx, [ebp - 0x9c]
call fcn.0040a980
lea ecx, [ebp - 0xb8]
call fcn.0040a980
lea ecx, [ebp - 0x80]
call fcn.0040a980
mov dword [esi], vtable.CryptoPP::NameValuePairs::ValueTypeMismatch.0
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], ebx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005521f1
mov esp, ebp
pop ebp
ret 8

Function at 0x46b190
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57cb70
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x600f84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x58], 0x10
lea ecx, [eax + 0x10]
mov dword [ecx + 0x4c], ecx
mov dl, 1
mov byte [ecx + 0x41], dl
mov dword [eax + 0xa8], 0x10
mov byte [eax + 0xa1], dl
lea ecx, [eax + 0x60]
mov dword [ecx + 0x4c], ecx
mov ecx, dword [eax + 0xac]
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [eax], vtable.CryptoPP::SHA1.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005521f1
mov esp, ebp
pop ebp
ret 4
Function at 0x46dfc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b730
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x600f84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0x44], 0
je 0x46e155
cmp byte [ebx + 0x49], 0
je 0x46e155
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, ebx
call edx
cmp eax, 0xffffffff
je 0x46e149
push ecx
mov ecx, esp
mov dword [ebp - 0x30], esp
call fcn.00406d50
lea ecx, [ebp - 0x2c]
call fcn.0040a840
push 0
push 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.0040a900
push 0
push 8
lea ecx, [ebp - 0x2c]
call fcn.0040a5a0
test al, al
je 0x46e064
push 0
push 8
push 0
lea ecx, [ebp - 0x2c]
call fcn.00416220
push 8
lea ecx, [ebp - 0x2c]
call fcn.0040a8c0
mov dword [ebp - 4], 1
jmp 0x46e070
lea ecx, [ebp - 0x2c]
call fcn.0040a9a0
mov esi, eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x40]
call fcn.0041b1a0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x40], esi
call fcn.0040a9a0
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x38]
mov edi, eax
call fcn.0041b1a0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], edi
call fcn.004027a0
mov ecx, dword [ebx + 0x44]
mov edx, dword [ecx]
add eax, esi
lea esi, [ebp - 0x3c]
push esi
push eax
push edi
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [edx + 0x18]
call eax
sub eax, 0
je 0x46e0d2
dec eax
je 0x46e0d6
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x46e144
jmp 0x46e150
mov byte [ebx + 0x49], 0
lea ecx, [ebp - 0x2c]
call fcn.0040a9a0
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x34]
mov edi, eax
call fcn.0041b1a0
mov esi, dword [ebp - 0x3c]
sub esi, edi
mov dword [ebp - 0x34], edi
je 0x46e123
lea ecx, [ebp - 0x2c]
call fcn.0040a9a0
lea edx, [ebp - 0x2c]
push edx
lea ecx, [ebp - 0x30]
mov edi, eax
call fcn.0041b1a0
mov eax, dword [ebx + 0x54]
push eax
push esi
push 1
push edi
mov dword [ebp - 0x30], edi
call fcn.005575c3
add esp, 0x10
cmp esi, eax
jne 0x46e141
cmp byte [ebx + 0x49], 0
je 0x46e14d
test esi, esi
jne 0x46e070
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.004148a0
jmp 0x46e070
lea ecx, [ebp - 0x2c]
call fcn.0040a980
xor al, al
jmp 0x46e157
lea ecx, [ebp - 0x2c]
call fcn.0040a980
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005521f1
mov esp, ebp
pop ebp
ret 4
Function at 0x4717e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57ed8b
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x600f84]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push edi
mov eax, dword [0x600f84]
xor eax, esp
push eax
lea eax, [esp + 0x84]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x94]
lea edi, [esp + 0x64]
mov dword [esp + 0xc], esi
call fcn.00471690
mov edi, eax
push 0x5e2a28
lea eax, [esp + 0x30]
push ebx
push eax
mov dword [esp + 0x98], 0
call fcn.0046fff0
lea ecx, [esp + 0x1c]
push edi
push ecx
mov ebx, 1
mov ecx, eax
mov byte [esp + 0xa0], bl
call fcn.00471500
push eax
lea edx, [esp + 0x60]
push edx
mov ecx, str._is_not_a_valid_key_length
mov byte [esp + 0xa8], 2
call fcn.0045dc20
add esp, 0x1c
mov edi, eax
mov ecx, esi
mov byte [esp + 0x8c], 3
call fcn.00552200
mov byte [esp + 0x8c], 4
push edi
lea ecx, [esi + 0x10]
mov dword [esi], vtable.CryptoPP::Exception.0
mov dword [esi + 0xc], ebx
call fcn.004104d0
lea ecx, [esp + 0x48]
mov dword [esi], vtable.CryptoPP::InvalidArgument.0
call fcn.0040a980
lea ecx, [esp + 0x10]
call fcn.0040a980
lea ecx, [esp + 0x2c]
call fcn.0040a980
lea ecx, [esp + 0x64]
call fcn.0040a980
mov dword [esi], vtable.CryptoPP::InvalidKeyLength.0
mov eax, esi
mov ecx, dword [esp + 0x84]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.005521f1
add esp, 0x84
ret 4

Function at 0x471900
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x1c]
mov ecx, edi
shr ecx, 2
xor eax, eax
test ecx, ecx
je 0x471944
mov edi, ebx
sub esi, edx
mov eax, edx
sub edi, edx
mov dword [esp + 0xc], ecx
push ebp
mov ebp, dword [esi + eax]
xor ebp, dword [eax]
add eax, 4
dec ecx
mov dword [edi + eax - 4], ebp
jne 0x471928
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
pop ebp
add eax, eax
add eax, eax
sub edi, eax
je 0x47196d
add ebx, eax
add esi, eax
add edx, eax
test edi, edi
je 0x47196d
mov ecx, esi
mov esi, ebx
sub ecx, edx
mov eax, edx
sub esi, edx
mov dl, byte [eax + ecx]
xor dl, byte [eax]
inc eax
dec edi
mov byte [eax + esi - 1], dl
jne 0x471960
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x471980
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, eax
mov eax, ebp
shr eax, 2
xor ecx, ecx
xor edx, edx
test eax, eax
je 0x4719ba
mov edx, edi
sub esi, edi
mov dword [esp + 0xc], eax
push ebx
mov ebx, dword [esi + edx]
xor ebx, dword [edx]
add edx, 4
or ecx, ebx
dec eax
jne 0x4719a4
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
pop ebx
lea eax, [edx*4]
sub ebp, eax
jne 0x4719d1
pop edi
xor eax, eax
test ecx, ecx
pop esi
sete al
pop ebp
pop ecx
ret
add esi, eax
add edi, eax
mov eax, ecx
mov edx, ecx
shr edx, 0x10
shr eax, 0x18
or al, dl
mov edx, ecx
shr edx, 8
or al, dl
or cl, al
test ebp, ebp
je 0x4719ff
mov eax, edi
sub esi, edi
mov edi, ebp
mov dl, byte [eax + esi]
xor dl, byte [eax]
inc eax
or cl, dl
dec edi
jne 0x4719f4
pop edi
xor eax, eax
test cl, cl
pop esi
sete al
pop ebp
pop ecx
ret
Function at 0x472dd0
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [eax]
mov eax, dword [esp + 4]
push ebx
push ebp
push esi
mov esi, dword [ecx]
mov ecx, dword [eax + 0x8c]
push edi
add ecx, 8
mov edi, 8
mov eax, esi
ror eax, 4
xor eax, dword [ecx - 8]
add ecx, 0x10
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x5cfd30]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x5cff30]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x5d0130]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x5d0330]
mov eax, dword [ecx - 0x14]
xor edx, ebx
xor eax, esi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x5cfe30]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x5d0030]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x5d0230]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x5d0430]
xor edx, ebx
mov eax, edx
ror eax, 4
xor eax, dword [ecx - 0x10]
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x5cfd30]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x5cff30]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x5d0130]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x5d0330]
mov eax, dword [ecx - 0xc]
xor esi, ebx
xor eax, edx
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x5cfe30]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x5d0030]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
xor ebx, dword [ebp*4 + 0x5d0230]
and eax, 0x3f
xor ebx, dword [eax*4 + 0x5d0430]
xor esi, ebx
dec edi
jne 0x472df2
mov ecx, dword [esp + 0x18]
mov dword [ecx], edx
mov edx, dword [esp + 0x1c]
pop edi
mov dword [edx], esi
pop esi
pop ebp
pop ebx
ret 0xc
Function at 0x477c80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57f5e0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x600f84]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x600f84]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ecx]
push 1
push 0x609160
mov dword [esp + 0x28], edx
xor edx, edx
push edx
push eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
push eax
mov eax, dword [esi + 0x80]
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], vtable.CryptoPP::ArraySink.0
mov dword [esp + 0x30], vtable.CryptoPP::ArraySink.1.0
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005521f1
mov esp, ebp
pop ebp
ret 8

Function at 0x47a7f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57fd40
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x600f84]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x5e1dc0
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.00478490
add esp, 0xc
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
push ecx
mov ecx, dword [ebp + 8]
call fcn.004783a0
add esp, 8
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00404190
lea ecx, [ebp - 0x10]
call fcn.0041c150
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47a8b3
push ecx
lea ecx, [ebp - 0x10]
mov dword [ebp + 8], esp
mov esi, esp
call fcn.00404110
call fcn.00469370
push eax
mov ecx, esi
call fcn.00403c40
mov edx, dword [edi + 8]
lea esi, [edi + 4]
push esi
lea ecx, [ebp + 8]
mov dword [ebp + 8], edx
call fcn.0041b1a0
mov eax, dword [esi]
push esi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.0041b1a0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
push ecx
push edx
lea esi, [ebp - 0x1c]
call fcn.0047b220
add esp, 0xc
mov ecx, esi
call fcn.00404190
lea ecx, [ebp - 0x10]
call fcn.00404190
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x47d420
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a40b
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x600f84]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push 2
mov edi, ecx
mov dword [ebp - 0x244], ebx
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x248], esi
mov dword [ebp - method.CGuardHandle.virtual_0], vtable.CGuardHandle.0
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.00404110
call fcn.00469370
push eax
lea ecx, [ebp - 0x240]
call fcn.00403c40
lea eax, [ebp - 0x23c]
push eax
mov ebx, 0x22c
push esi
mov dword [ebp - 0x23c], ebx
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
jne 0x47d4ca
lea ecx, [ebp - 0x240]
call fcn.00404190
test esi, esi
je 0x47d4c6
cmp esi, 0xffffffff
je 0x47d4c6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x47d546
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea ecx, [ebp - 0x23c]
push ecx
push esi
mov dword [ebp - 0x23c], ebx
call edi
test eax, eax
je 0x47d525
lea ecx, [ebp - 0x240]
call fcn.0041c150
push eax
lea edx, [ebp - 0x218]
push edx
call fcn.00552b56
add esp, 8
test eax, eax
je 0x47d519
lea eax, [ebp - 0x23c]
push eax
push esi
mov dword [ebp - 0x23c], ebx
call edi
test eax, eax
jne 0x47d4e4
jmp 0x47d525
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x244], ecx
lea ecx, [ebp - 0x240]
call fcn.00404190
test esi, esi
je 0x47d540
cmp esi, 0xffffffff
je 0x47d540
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005521f1
mov esp, ebp
pop ebp
ret
Function at 0x47d740
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f5b1
mov eax, dword fs:[0]
push eax
sub esp, 0x26c
mov eax, dword [0x600f84]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.0041c150
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47d919
push 0x5e4380
lea eax, [ebp - 0x26c]
push edi
push eax
call fcn.00478490
add esp, 0xc
lea ecx, [ebp - 0x264]
push ecx
lea ecx, [ebp - 0x26c]
mov dword [ebp - 4], 0
call fcn.0041c150
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x270], eax
cmp eax, 0xffffffff
je 0x47d90e
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [ebp - 0x238]
push 0x5e438c
push edx
call fcn.00552b56
add esp, 8
test eax, eax
je 0x47d885
lea eax, [ebp - 0x238]
push 0x5e4390
push eax
call fcn.00552b56
add esp, 8
test eax, eax
je 0x47d885
push 0x5e1dc0
lea ecx, [ebp - 0x274]
push edi
push ecx
call fcn.00478490
add esp, 0xc
lea edx, [ebp - 0x238]
push edx
push eax
lea eax, [ebp - 0x268]
push eax
mov byte [ebp - 4], 1
call fcn.00478490
add esp, 0xc
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 3
call fcn.00404190
push 0x20
lea ecx, [ebp - 0x268]
call fcn.0041c150
push eax
call esi
test byte [ebp - 0x264], 0x10
lea ecx, [ebp - 0x268]
je 0x47d871
push ecx
call fcn.0047d740
add esp, 4
jmp 0x47d876
call fcn.0047db60
lea ecx, [ebp - 0x268]
mov byte [ebp - 4], 0
call fcn.00404190
mov eax, dword [ebp - 0x270]
lea edx, [ebp - 0x264]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47d7d0
mov ecx, dword [ebp - 0x270]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x20
mov ecx, edi
call fcn.0041c150
push eax
call esi
mov ecx, edi
call fcn.0041c150
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x47d8f7
mov edx, dword [edi]
push edx
push str.REBOOT_DEL_DIR__s
call fcn.0040c0f0
mov esi, eax
call fcn.00479540
add esp, 8
push 4
push 0
mov ecx, edi
call fcn.0041c150
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x47d90e
mov eax, dword [edi]
push eax
push str.DEL_DIR__s
call fcn.0040c0f0
mov esi, eax
call fcn.00479540
add esp, 8
lea ecx, [ebp - 0x26c]
call fcn.00404190
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005521f1
mov esp, ebp
pop ebp
ret
Function at 0x47d940
Capabilities:
Check if file exists
Delete directory
Enumerate files on windows
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57fc01
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x600f84]
xor eax, esp
mov dword [esp + 0x26c], eax
push ebx
push esi
mov eax, dword [0x600f84]
xor eax, esp
push eax
lea eax, [esp + 0x280]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, edi
mov dword [esp + 0x20], eax
call fcn.0041c150
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47db3a
push 0x5e4380
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.00478490
add esp, 0xc
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x28c], 0
call fcn.0041c150
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [esp + 0x1c], esi
cmp esi, 0xffffffff
je 0x47db31
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov byte [esp + 0xf], 0
lea esp, [esp]
lea eax, [esp + 0x50]
push 0x5e438c
push eax
call fcn.00552b56
add esp, 8
test eax, eax
je 0x47dae0
lea ecx, [esp + 0x50]
push 0x5e4390
push ecx
call fcn.00552b56
add esp, 8
test eax, eax
je 0x47dae0
push 0x5e1dc0
lea edx, [esp + 0x1c]
push edi
push edx
call fcn.00478490
add esp, 0xc
lea ecx, [esp + 0x50]
push ecx
push eax
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x294], 1
call fcn.00478490
add esp, 0xc
lea ecx, [esp + 0x18]
mov byte [esp + 0x288], 3
call fcn.00404190
push 0x20
lea ecx, [esp + 0x14]
call fcn.0041c150
push eax
call ebx
test byte [esp + 0x24], 0x10
je 0x47da87
lea eax, [esp + 0x10]
push eax
call fcn.0047d740
add esp, 4
jmp 0x47dacf
mov ecx, dword [esp + 0x20]
call fcn.0041c150
lea ecx, [esp + 0x50]
push ecx
push eax
call fcn.00552b56
add esp, 8
test eax, eax
jne 0x47daa9
mov byte [esp + 0xf], 1
jmp 0x47dacf
mov edx, dword [esp + 0x10]
push edx
push str.DEL__s
call fcn.0040c0f0
mov esi, eax
call fcn.00479540
add esp, 8
lea ecx, [esp + 0x10]
call fcn.0047db60
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x10]
mov byte [esp + 0x288], 0
call fcn.00404190
lea eax, [esp + 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x47d9f0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0x20
mov ecx, edi
call fcn.0041c150
push eax
call ebx
cmp byte [esp + 0xf], 0
jne 0x47db31
mov ecx, edi
call fcn.0041c150
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x47db31
push 4
push eax
mov ecx, edi
call fcn.0041c150
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [esp + 0x14]
call fcn.00404190
mov ecx, dword [esp + 0x280]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.005521f1
mov esp, ebp
pop ebp
ret
Function at 0x47db60
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f568
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x600f84]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
call fcn.0041c150
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47dbc1
mov eax, dword [edi]
push eax
push 0x5e4880
call fcn.0040c0f0
mov esi, eax
call fcn.00479540
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.0041c150
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x47dbfb
mov ecx, dword [edi]
push ecx
push str.DEL__s_SUC
call fcn.0040c0f0
mov esi, eax
call fcn.00479540
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea esi, [ebp - 0x10]
call fcn.00478190
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0041c150
push eax
mov ecx, edi
call fcn.0041c150
push eax
call fcn.00553e34
mov edx, dword [ebp - 0x10]
add esp, 8
push edx
push str.REBOOT_DEL__s_SUC
call fcn.0040c0f0
mov esi, eax
call fcn.00479540
add esp, 8
push 4
push 0
lea ecx, [ebp - 0x10]
call fcn.0041c150
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x10]
call fcn.00404190
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret