joyce8/EMBER2024-capa huggingface dataset:
Function at 0x478490
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
mov eax, dword [0x5c3484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x438], eax
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
cmp esi, ebx
je 0x478638
cmp dword [esi + 0x14], 8
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
mov eax, esi
movups xmmword [ebp - 0x14], xmm0
jb 0x4784d8
mov eax, dword [esi]
push eax
push 3
lea eax, [ebp - 0x24]
push eax
call fcn.0043c920
push 0x410
lea eax, [ebp - 0x434]
push 0
push eax
call fcn.004c14d0
add esp, 0xc
lea eax, [ebp - 0x434]
push 0x208
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x478528
push 4
lea eax, [ebp - 0x434]
push eax
push 0x587d64
call edi
test eax, eax
je 0x47852f
add esi, 0x28
cmp esi, ebx
jne 0x4784c3
cmp esi, ebx
je 0x478638
lea edi, [esi + 0x28]
cmp edi, ebx
je 0x478638
cmp dword [edi + 0x14], 8
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
mov eax, edi
movups xmmword [ebp - 0x14], xmm0
jb 0x478557
mov eax, dword [edi]
push eax
push 3
lea eax, [ebp - 0x24]
push eax
call fcn.0043c920
push 0x410
lea eax, [ebp - 0x434]
push 0
push eax
call fcn.004c14d0
add esp, 0xc
lea eax, [ebp - 0x434]
push 0x208
push eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
test eax, eax
je 0x4785af
push 4
lea eax, [ebp - 0x434]
push eax
push 0x587d64
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
je 0x47862d
cmp esi, edi
je 0x478618
mov ecx, dword [esi + 0x14]
cmp ecx, 8
jb 0x4785e8
mov eax, dword [esi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x4785de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x478651
mov eax, edx
push ecx
push eax
call fcn.0045f7ba
add esp, 8
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov word [esi], ax
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
add esi, 0x28
add edi, 0x28
cmp edi, ebx
jne 0x478542
mov eax, dword [ebp - 0x438]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [eax], esi
pop esi
pop ebx
call fcn.0045fbca
mov esp, ebp
pop ebp
ret
call fcn.004cad68
int3
Function at 0x47b7a0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x568af6
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x5c3484]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [ebp + 0x10], 0
je 0x47b7dd
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
jmp 0x47b7e1
xor edx, edx
xor eax, eax
xor edi, edi
mov dword [ebp - 0x22c], 0
mov word [ebp - 0x23c], di
mov ecx, 7
mov dword [ebp - 0x228], ecx
cmp edx, eax
je 0x47b81a
sub eax, edx
lea ecx, [ebp - 0x23c]
sar eax, 1
push eax
push edx
call fcn.00483380
mov ecx, dword [ebp - 0x228]
cmp ecx, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x244]
xorps xmm0, xmm0
push ecx
push 0
lea eax, [ebp - 0x23c]
movlpd qword [ebp - 0x244], xmm0
cmovae eax, dword [ebp - 0x23c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x47b91b
push 0x210
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004c14d0
mov ecx, dword [esi]
lea eax, [ebp - 0x25c]
add esp, 0xc
push eax
call fcn.00469540
mov ecx, eax
cmp dword [ecx + 0x14], 8
mov byte [ebp - 4], 1
jb 0x47b888
mov ecx, dword [ecx]
cmp dword [ebp - 0x228], 8
lea eax, [ebp - 0x23c]
push ecx
cmovae eax, dword [ebp - 0x23c]
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00485a30
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x25c]
call fcn.004191d0
lea eax, [ebp - 0x220]
push str.3FE042F1_E916_4E1B_87D4_42E2371AEAC9
push eax
push eax
call fcn.00485a30
add esp, 0xc
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov esi, dword [esi + 4]
lea ecx, [ebp - 0x224]
push ecx
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x224], eax
push ecx
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x23c]
push ecx
push eax
cmp dword [esi + 8], eax
je 0x47b914
push esi
call fcn.00477340
add esp, 0x14
add dword [esi + 4], 0x28
jmp 0x47b91b
mov ecx, esi
call fcn.004731b0
mov edx, dword [ebp - 0x228]
cmp edx, 8
jb 0x47b957
mov ecx, dword [ebp - 0x23c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47b94d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47b974
push edx
push ecx
call fcn.0045f7ba
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045fbca
mov esp, ebp
pop ebp
ret 0xc
call fcn.004cad68
int3
Function at 0x483700
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x483731
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x483720
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x486170
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5691b8
mov eax, dword fs:[0]
push eax
sub esp, 0x2e4
mov eax, dword [0x5c3484]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x2f0]
push 0x58872c
xorps xmm0, xmm0
xor esi, esi
push str.Shell32.dll
mov dword [ebp - 0x2e8], esi
movlpd qword [ebp - 0x2f0], xmm0
call fcn.004879e0
lea eax, [ebp - 0x2f0]
mov dword [ebp - 4], esi
push eax
call fcn.004857d0
test al, al
je 0x48623b
mov dword [ebp - 0x14], esi
movups xmm0, xmmword [0x58871c]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
sub esp, 0x10
mov eax, esp
push esi
movups xmmword [eax], xmm0
push edi
lea eax, [ebp - 0x2f0]
push eax
call fcn.00487850
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x486221
push 1
push 0x40
push 0x40
push eax
call fcn.00487530
mov esi, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2e8], esi
mov byte [ebp - 4], 2
test eax, eax
je 0x48622f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 0
test esi, esi
jne 0x4862cf
push 0x2b4
lea eax, [ebp - 0x2e4]
push 0
push eax
call fcn.004c14d0
add esp, 0xc
lea eax, [ebp - 0x2e4]
push 0x4000
push 0x2b4
push eax
push 0
push edi
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
mov edi, dword [sym.imp.SHELL32.dll_SHGetImageList]
lea eax, [ebp - 0x18]
push eax
push 0x58870c
push 4
mov dword [ebp - 0x18], 0
call edi
test eax, eax
js 0x486290
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4862a0
lea eax, [ebp - 0x18]
push eax
push 0x58870c
push 0
call edi
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 3
test eax, eax
je 0x4862c1
push 0x20
push dword [ebp - 0x2e0]
push eax
call fcn.004875b0
mov esi, eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2e8], esi
mov byte [ebp - 4], 4
test eax, eax
je 0x4862cf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [ebp - 0x30]
xorps xmm0, xmm0
push eax
push 0x18
push esi
movups xmmword [ebp - 0x30], xmm0
movq qword [ebp - 0x20], xmm0
call dword [sym.imp.GDI32.dll_GetObjectW]
cmp eax, 0x18
jne 0x48635f
mov eax, 0x20
cmp ax, word [ebp - 0x1e]
jne 0x48635f
mov edi, dword [ebp - 0x1c]
test edi, edi
je 0x48635f
mov eax, dword [ebp - 0x2c]
imul eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x48635f
inc edi
nop
movzx esi, byte [edi + 2]
lea edi, [edi + 4]
movzx ecx, byte [edi - 5]
mov eax, 0x80808081
imul ecx, esi
mul ecx
movzx ecx, byte [edi - 4]
mov eax, 0x80808081
imul ecx, esi
shr edx, 7
mov byte [edi - 5], dl
mul ecx
movzx ecx, byte [edi - 3]
mov eax, 0x80808081
imul ecx, esi
shr edx, 7
mov byte [edi - 4], dl
mul ecx
shr edx, 7
sub dword [ebp - 0x14], 1
mov byte [edi - 3], dl
jne 0x486310
mov esi, dword [ebp - 0x2e8]
lea ecx, [ebp - 0x2f0]
call fcn.00487b60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045fbca
mov esp, ebp
pop ebp
ret 4
Function at 0x486770
Capabilities:
Check if file exists
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56920c
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5c3484]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x220], esi
call fcn.004c14d0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1c
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.0041acd0
mov ecx, eax
test ecx, ecx
je 0x48690c
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040da50
test al, al
jne 0x486834
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x486812
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x21c]
call fcn.0040ec60
push 0x57a9d0
lea eax, [ebp - 0x21c]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x220]
mov dword [esi], 0
push eax
call fcn.0047b620
push str.PCjiami
push eax
lea eax, [ebp - 0x224]
mov byte [ebp - 4], 2
push eax
call fcn.0047b620
push 0x57a9d0
push eax
push esi
mov byte [ebp - 4], 3
call fcn.0047b620
mov edx, dword [ebp - 0x224]
or edi, 0xffffffff
add esp, 0x24
add edx, 0xfffffff0
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4868a2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x220]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4868bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4868d4
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [ebp - 0x21c]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x4868ef
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045fbca
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00408070
int3
Function at 0x486d70
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56930c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5c3484]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor bl, bl
xor ecx, ecx
mov dword [ebp - 4], 0
mov edx, eax
mov esi, dword [eax - 0xc]
test esi, esi
jle 0x486e20
nop dword [eax]
lea edi, [ecx + ecx]
cmp word [edi + edx], 0x2f
jne 0x486df3
test bl, bl
jne 0x486de7
mov bl, 1
test esi, esi
js 0x486f1c
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
sub ecx, esi
or edx, ecx
jge 0x486de5
push esi
lea ecx, [ebp + 8]
call fcn.0040c510
mov eax, dword [ebp + 8]
mov edx, eax
mov eax, 0x5c
mov word [edi + edx], ax
mov eax, dword [ebp + 8]
lea ecx, [edi + 2]
sar ecx, 1
cmp ecx, esi
jl 0x486db0
test bl, bl
je 0x486e20
test esi, esi
js 0x486f1c
cmp esi, dword [eax - 8]
jg 0x486f1c
mov dword [eax - 0xc], esi
xor ecx, ecx
mov eax, dword [ebp + 8]
mov word [eax + esi*2], cx
mov eax, dword [ebp + 8]
or ebx, 0xffffffff
cmp dword [eax - 0xc], 0
jle 0x486ef5
push 0x5c
push eax
call fcn.004c1cfa
mov edi, eax
add esp, 8
test edi, edi
je 0x486ef2
mov eax, dword [ebp + 8]
sub edi, eax
sar edi, 1
cmp edi, ebx
je 0x486ef5
xor esi, esi
test edi, edi
cmovns esi, edi
cmp esi, dword [eax - 0xc]
jl 0x486e71
add eax, 0xfffffff0
push eax
call fcn.0040b500
add esp, 4
lea esi, [eax + 0x10]
mov dword [ebp - 0x10], esi
jmp 0x486e9d
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x486e81
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
jne 0x486e8d
call fcn.0041acd0
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
push eax
push esi
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.0040ab40
mov esi, dword [ebp - 0x10]
mov eax, esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x486ebf
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 1
js 0x486ef2
mov eax, dword [ebp + 8]
cmp edi, dword [eax - 0xc]
jge 0x486ef5
lea eax, [eax + edi*2]
push 0x5c
push eax
call fcn.004c1cfa
mov edi, eax
add esp, 8
test edi, edi
je 0x486ef2
mov eax, dword [ebp + 8]
sub edi, eax
sar edi, 1
cmp edi, 0xffffffff
jne 0x486e51
jmp 0x486ef5
mov eax, dword [ebp + 8]
lea edx, [eax - 0x10]
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x486f0a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80070057
call fcn.00408070
int3
Function at 0x486f30
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x664
mov eax, dword [0x5c3484]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x414]
push esi
push 0x104
push eax
call fcn.004eef22
push 0x588774
lea eax, [ebp - 0x414]
push 0x104
push eax
call fcn.004ef27d
add esp, 0x18
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4870a2
push edi
mov edi, dword [ebp + 0xc]
nop word [eax + eax]
test byte [ebp - 0x664], 0x10
je 0x487050
mov ecx, 0x588668
lea eax, [ebp - 0x638]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x486fde
test dx, dx
je 0x486fda
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x486fde
add eax, 4
add ecx, 4
test dx, dx
jne 0x486fb8
xor eax, eax
jmp 0x486fe3
sbb eax, eax
or eax, 1
test eax, eax
je 0x48707d
mov eax, 0x580f2c
lea ecx, [ebp - 0x638]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x48701c
test dx, dx
je 0x487018
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x48701c
add ecx, 4
add eax, 4
test dx, dx
jne 0x486ff6
xor eax, eax
jmp 0x487021
sbb eax, eax
or eax, 1
test eax, eax
je 0x48707d
lea eax, [ebp - 0x638]
push eax
push esi
lea eax, [ebp - 0x20c]
push str._s_s
push eax
call fcn.004879a0
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00486f30
add esp, 0x18
jmp 0x48707d
test edi, edi
je 0x48707d
lea eax, [ebp - 0x638]
push eax
push esi
lea eax, [ebp - 0x20c]
push str._s_s
push eax
call fcn.004879a0
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x664]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x486fa0
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0045fbca
mov esp, ebp
pop ebp
ret
Function at 0x488040
Capabilities:
Move file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5695b1
mov eax, dword fs:[0]
push eax
sub esp, 0x274
mov eax, dword [0x5c3484]
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 eax, dword [ebp + 8]
lea ecx, [ebp - 0x24c]
mov esi, dword [ebp + 0xc]
push 0x5887e4
push eax
mov dword [ebp - 0x250], eax
call fcn.00489520
lea eax, [ebp - 0x24c]
push eax
call fcn.004895e0
push 0
push 0x80000080
push 2
push 0
push 1
push 0x102
push eax
mov dword [ebp - 0x254], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4881ab
lea eax, [ebp - 0x280]
mov dword [ebp - fcn.004898a0], vtable.std::_Func_impl_no_alloc_class__lambda_ad8e80bf3b46dd49e0f904992f86b5e6___void___.0
mov dword [ebp - 0x27c], edi
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x258], eax
mov dword [ebp - 0x18], 0
push eax
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 1
call fcn.004898a0
mov ecx, dword [ebp - 0x25c]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x48812e
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x280]
cmp ecx, eax
setne al
push eax
call edx
mov dword [ebp - 0x25c], 0
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x14]
push 0
push eax
push ebx
push esi
push edi
mov dword [ebp - 0x14], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test esi, esi
je 0x488160
cmp dword [ebp - 0x14], ebx
jne 0x488160
mov esi, 1
jmp 0x488162
xor esi, esi
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 4], 2
test ecx, ecx
je 0x48818d
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x48818d
mov edx, dword [ecx]
lea eax, [ebp - 0x3c]
cmp ecx, eax
setne al
movzx eax, al
push eax
call dword [edx + 0x10]
test esi, esi
je 0x4881a7
push 9
push dword [ebp - 0x250]
push dword [ebp - 0x254]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x4881ad
mov eax, esi
jmp 0x4881ad
xor eax, eax
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.0045fbca
mov esp, ebp
pop ebp
ret 0xc
Function at 0x489070
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x5c3484]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
xorps xmm0, xmm0
push esi
mov esi, dword [ebp + 0xc]
push edi
push eax
push str.__c:
lea eax, [ebp - 0x24]
push 0x10
push eax
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x14], xmm0
call dword [sym.imp.SHLWAPI.dll_wnsprintfW]
add esp, 0x10
lea eax, [ebp - 0x24]
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x489146
push 0
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 0
push eax
push 0x28
push esi
push 0xc
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0
push eax
push 0x2d1400
push edi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0x183bd4
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x48912b
cmp dword [ebp - 0x34], 0x28
jne 0x48912b
push edi
mov esi, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045fbca
mov esp, ebp
pop ebp
ret
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045fbca
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0045fbca
mov esp, ebp
pop ebp
ret

Function at 0x48d540
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
push esi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x48d561
mov eax, 0x80004003
pop esi
pop ebp
ret
push ebx
push edi
push 0xf01ff
push dword [ebp + 8]
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov edi, eax
test edi, edi
jne 0x48d58b
push esi
mov ebx, 0x80004005
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
push edi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
neg eax
push edi
sbb ebx, ebx
and ebx, 0x7fffbffb
add ebx, 0x80004005
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
mov eax, ebx
pop ebx
pop esi
pop ebp
ret
Function at 0x48db90
Capabilities:
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x5c3484]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
test esi, esi
jne 0x48dbcf
pop edi
mov eax, 0x80004003
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045fbca
mov esp, ebp
pop ebp
ret
push ebx
push 0xf01ff
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
test ebx, ebx
jne 0x48dbea
mov edi, 0x80004005
jmp 0x48dc21
lea eax, [ebp - 0x20]
mov dword [ebp - 8], 0
push eax
xorps xmm0, xmm0
push 1
push ebx
movups xmmword [ebp - 0x20], xmm0
movq qword [ebp - 0x10], xmm0
call dword [sym.imp.ADVAPI32.dll_ControlService]
neg eax
push ebx
sbb edi, edi
and edi, 0x7fffbffb
add edi, 0x80004005
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop ebx
pop edi
xor ecx, ebp
pop esi
call fcn.0045fbca
mov esp, ebp
pop ebp
ret
Function at 0x48f3a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569df8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x5c3484]
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 esi, dword [ebp + 8]
mov dword [ebp - 0x68], esi
mov dword [ebp - 0x64], 0x610048
mov dword [ebp - 0x60], 0x6f006c
mov dword [ebp - 0x5c], 0x700077
mov dword [ebp - 0x58], 0x6f0043
mov dword [ebp - 0x54], 0x66006e
mov dword [ebp - 0x50], 0x670069
mov dword [ebp - 0x4c], 0x650043
mov dword [ebp - 0x48], 0x74006e
mov dword [ebp - 0x44], 0x720065
mov dword [ebp - 0x40], 0x740053
mov dword [ebp - 0x3c], 0x620075
mov dword [ebp - 0x38], 0x720050
mov dword [ebp - 0x34], 0x660065
mov dword [ebp - 0x30], 0x780069
mov dword [ebp - 0x2c], 0x6e0057
mov dword [ebp - 0x28], 0x430064
mov dword [ebp - 0x24], 0x61006c
mov dword [ebp - 0x20], 0x730073
mov dword [ebp - 0x1c], 0x61004e
mov dword [ebp - 0x18], 0x65006d
mov dword [ebp - 0x14], 0x5f
call fcn.0041acd0
mov ecx, eax
test ecx, ecx
je 0x48f4d0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x64]
mov dword [ebp - 4], 0
push eax
mov ecx, esi
call fcn.0040da50
test al, al
jne 0x48f4b0
lea ecx, [ebp - 0x64]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48f495
sub ecx, edx
lea eax, [ebp - 0x64]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040ec60
mov eax, esi
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.0045fbca
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.00408070
int3