joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5733e3
Capabilities:
Read file on windows

Disassembly:
push 0x24
mov eax, 0x619f73
call fcn.00579aba
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
cmp byte [esi + 0x1c], bl
jne 0x57345d
mov eax, dword [ebp + 0x14]
push ebx
push eax
push dword [ebp + 0xc]
mov dword [eax], ebx
push dword [ebp + 0x10]
mov esi, dword [esi + 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
jne 0x573450
push 8
call fcn.00401012
pop ecx
mov dword [ebp + 0x14], eax
cmp eax, ebx
mov dword [ebp - 4], 1
je 0x57343d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x14]
push eax
call fcn.0056df09
jmp 0x57343f
xor eax, eax
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], bl
call fcn.0057125c
jmp 0x57351a
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov dword [eax + 4], ebx
jmp 0x57351d
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov edi, dword [ebp + 0x14]
push edi
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x10]
mov dword [edi], ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push dword [esi + 0x2c]
mov ecx, esi
push dword [esi + 0x28]
mov dword [ebp - 4], 2
push eax
call fcn.00573047
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
mov byte [ebp - 4], 3
je 0x5734c7
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.00574c8c
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.005239de
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call fcn.00522f00
mov eax, dword [ebp - 0x28]
mov dword [edi], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, ebx
jne 0x5734d8
mov eax, dword [edi]
add dword [esi + 0x28], eax
adc dword [esi + 0x2c], ebx
jmp 0x5734f0
call fcn.0056df30
cmp eax, 0x26
jne 0x5734f0
lea ecx, [ebp - 0x18]
call fcn.00522f00
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.00522ee7
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 2
call fcn.00522f00
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], bl
call fcn.00570faf
mov eax, dword [ebp + 8]
call fcn.00579b92
ret 0x10
Function at 0x5746e7
Capabilities:
Link many functions at runtime

Disassembly:
cmp byte [0x6e5fbc], 0
jne 0x574823
push esi
push edi
push str.NTDLL.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.NtCancelIoFile
push edi
call esi
push str.NtClose
push edi
mov dword [0x6e5fa4], eax
call esi
push str.NtCreateSymbolicLinkObject
push edi
mov dword [0x6e5f68], eax
call esi
push str.NtDeviceIoControlFile
push edi
mov dword [0x6e5f70], eax
call esi
push str.NtOpenDirectoryObject
push edi
mov dword [0x6e5f94], eax
call esi
push str.NtOpenFile
push edi
mov dword [0x6e5fa8], eax
call esi
push str.NtOpenSymbolicLinkObject
push edi
mov dword [0x6e5fb0], eax
call esi
push str.NtQueryDirectoryObject
push edi
mov dword [0x6e5f9c], eax
call esi
push str.NtQueryObject
push edi
mov dword [0x6e5f78], eax
call esi
push str.NtQuerySymbolicLinkObject
push edi
mov dword [0x6e5f74], eax
call esi
push str.NtReadFile
push edi
mov dword [0x6e5f8c], eax
call esi
push str.NtShutdownSystem
push edi
mov dword [0x6e5f88], eax
call esi
push str.NtWaitForSingleObject
push edi
mov dword [0x6e5fac], eax
call esi
push str.NtWriteFile
push edi
mov dword [0x6e5f98], eax
call esi
push str.RtlEqualUnicodeString
push edi
mov dword [0x6e5f6c], eax
call esi
push str.RtlInitUnicodeString
push edi
mov dword [0x6e5f84], eax
call esi
push str.RtlStringFromGUID
push edi
mov dword [0x6e5fb4], eax
call esi
push str.NtOpenSection
push edi
mov dword [0x6e5f80], eax
call esi
push str.NtMapViewOfSection
push edi
mov dword [0x6e5fa0], eax
call esi
push str.NtUnmapViewOfSection
push edi
mov dword [0x6e5f90], eax
call esi
push str.NtFsControlFile
push edi
mov dword [0x6e5f7c], eax
call esi
pop edi
mov dword [0x6e5fb8], eax
mov byte [0x6e5fbc], 1
pop esi
ret

Function at 0x579aab
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x6d25dc]
jne 0x579ab5
repz ret
jmp fcn.0058925c
Function at 0x582ae2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x582b1f
cmp dword [ebp + 0x14], edi
je 0x582b1f
cmp ecx, edi
jne 0x582b26
call fcn.0057f4ca
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0057dd38
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x582b3a
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x582b5b
cmp ebx, 0xffffffff
je 0x582b4a
push ebx
push edi
push ecx
call fcn.0057d9b0
add esp, 0xc
cmp esi, edi
je 0x582b07
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x582b07
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x582b77
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x582b7e
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x582c6f
test word [esi + 0xc], 0x10c
je 0x582bd2
mov eax, dword [esi + 4]
test eax, eax
je 0x582bd2
jl 0x582cd0
cmp ebx, eax
mov edi, ebx
jb 0x582ba3
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x582c77
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0057920b
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
add esp, 0x10
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x582c67
cmp ebx, dword [ebp - 0xc]
jb 0x582c3f
cmp dword [ebp - 0xc], 0
je 0x582bfc
mov ecx, SysReAllocString
xor edx, edx
cmp ebx, ecx
jbe 0x582bf1
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x582bf8
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x582c07
mov eax, SysReAllocString
cmp ebx, eax
ja 0x582c07
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x582ca3
push eax
push dword [ebp - 8]
push esi
call fcn.0058cb7e
pop ecx
push eax
call fcn.00591ac4
add esp, 0xc
test eax, eax
je 0x582ce2
cmp eax, 0xffffffff
je 0x582cd0
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x582c67
push esi
call fcn.0058c7d2
cmp eax, 0xffffffff
pop ecx
je 0x582cd4
cmp dword [ebp - 4], 0
je 0x582ca3
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x582b86
mov eax, dword [ebp + 0x14]
jmp 0x582b21
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x582c8e
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.0057d9b0
add esp, 0xc
call fcn.0057f4ca
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x582b17
cmp dword [ebp + 0xc], 0xffffffff
je 0x582cb9
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.0057d9b0
add esp, 0xc
call fcn.0057f4ca
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x582b17
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x582b21
or dword [esi + 0xc], 0x10
jmp 0x582cd4
Function at 0x58a980
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x6d3240]
je 0x58a99b
inc edi
cmp edi, 0x17
jb 0x58a98c
cmp edi, 0x17
jae 0x58ab1b
push ebp
push 3
call fcn.0059aa84
cmp eax, 1
pop ecx
je 0x58aae7
push 3
call fcn.0059aa84
test eax, eax
pop ecx
jne 0x58a9cf
cmp dword [0x6d2a30], 1
je 0x58aae7
cmp ebx, 0xfc
je 0x58ab1a
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x6e6888
push ebp
call fcn.00587c9d
add esp, 0xc
test eax, eax
je 0x58aa05
push esi
push esi
push esi
push esi
push esi
call fcn.0057dc04
add esp, 0x14
push 0x104
mov esi, 0x6e68a1
push esi
push 0
mov byte [0x6e69a5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x58aa49
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00587c9d
add esp, 0xc
test eax, eax
je 0x58aa49
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0057dc04
add esp, 0x14
push esi
call fcn.00579180
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x58aa8e
push esi
call fcn.00579180
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x6e6b9c
push 0x657538
sub ecx, eax
push ecx
push eax
call fcn.00594186
add esp, 0x14
test eax, eax
je 0x58aa8e
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0057dc04
add esp, 0x14
jmp 0x58aa90
xor esi, esi
push 0x631d58
push ebx
push ebp
call fcn.00594115
add esp, 0xc
test eax, eax
je 0x58aab0
push esi
push esi
push esi
push esi
push esi
call fcn.0057dc04
add esp, 0x14
push dword [edi*8 + 0x6d3244]
push ebx
push ebp
call fcn.00594115
add esp, 0xc
test eax, eax
je 0x58aad2
push esi
push esi
push esi
push esi
push esi
call fcn.0057dc04
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.0059a8c7
add esp, 0xc
jmp 0x58ab1a
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x58ab1a
cmp ebp, 0xffffffff
je 0x58ab1a
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x6d3244]
push dword [esi]
call fcn.00579180
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x59a8c7
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00588be7
xor ebx, ebx
cmp dword [0x6e6e74], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x59a99d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x59aa7d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x59aa7d
push eax
call fcn.00588b79
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x6e6e74], eax
call esi
push eax
call fcn.00588b79
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x6e6e78], eax
call esi
push eax
call fcn.00588b79
mov dword [0x6e6e7c], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0058341a
test eax, eax
pop ecx
pop ecx
je 0x59a96b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0057dc04
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x59a99d
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00588b79
cmp eax, ebx
pop ecx
mov dword [0x6e6e84], eax
je 0x59a99d
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00588b79
pop ecx
mov dword [0x6e6e80], eax
mov eax, dword [0x6e6e80]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x59aa22
cmp dword [0x6e6e84], ecx
je 0x59aa22
push eax
call fcn.00588bf0
push dword [0x6e6e84]
mov esi, eax
call fcn.00588bf0
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x59aa22
cmp edi, ebx
je 0x59aa22
call esi
cmp eax, ebx
je 0x59a9ef
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x59a9ef
test byte [ebp - 0x18], 1
jne 0x59aa22
lea eax, [ebp - 0x10]
push eax
call fcn.005834c9
test eax, eax
pop ecx
je 0x59aa0a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0057dc04
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x59aa19
or dword [ebp + 0x10], 0x200000
jmp 0x59aa5d
or dword [ebp + 0x10], 0x40000
jmp 0x59aa5d
mov eax, dword [0x6e6e78]
cmp eax, dword [ebp - 8]
je 0x59aa5d
push eax
call fcn.00588bf0
cmp eax, ebx
pop ecx
je 0x59aa5d
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x59aa5d
mov eax, dword [0x6e6e7c]
cmp eax, dword [ebp - 8]
je 0x59aa5d
push eax
call fcn.00588bf0
cmp eax, ebx
pop ecx
je 0x59aa5d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x6e6e74]
call fcn.00588bf0
cmp eax, ebx
pop ecx
je 0x59aa7d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x59aa7f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x5a59f0
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push esi
push edi
push str.computeGenericCrc32
lea ecx, [esp + 0x10]
call fcn.0056864c
cmp byte [esp + 0x24], 0
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
lea eax, [ecx + edi]
je 0x5a5a49
cmp ecx, eax
mov ebx, dword [esp + 0x14]
je 0x5a5ac9
mov edx, dword [esp + 0x20]
movzx esi, byte [ecx]
movzx edi, bl
xor esi, edi
shr ebx, 8
xor ebx, dword [edx + esi*4]
add ecx, 1
cmp ecx, eax
jne 0x5a5a24
lea ecx, [esp + 0xc]
call fcn.005672a3
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov esi, edi
and esi, 0xfffffffc
add esi, ecx
cmp ecx, esi
not eax
je 0x5a5aa1
mov edi, edi
xor eax, dword [ecx]
add ecx, 4
mov ebx, eax
and ebx, 0xff
shr eax, 8
xor eax, dword [edx + ebx*4]
mov ebx, eax
and ebx, 0xff
shr eax, 8
xor eax, dword [edx + ebx*4]
mov ebx, eax
and ebx, 0xff
shr eax, 8
xor eax, dword [edx + ebx*4]
mov ebx, eax
and ebx, 0xff
shr eax, 8
xor eax, dword [edx + ebx*4]
cmp ecx, esi
jne 0x5a5a60
and edi, 3
add edi, ecx
mov esi, edi
cmp ecx, esi
je 0x5a5ac5
lea esp, [esp]
movzx edi, byte [ecx]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edx + edi*4]
add ecx, 1
cmp ecx, esi
jne 0x5a5ab0
not eax
mov ebx, eax
lea ecx, [esp + 0xc]
call fcn.005672a3
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
ret

Function at 0x5a5ae0
Capabilities:
Hash data with crc32

Disassembly:
push ecx
push esi
push str.computeCrc32
lea ecx, [esp + 8]
call fcn.0056864c
cmp byte [esp + 0x18], 0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
jne 0x5a5b25
push 0
push 0x6d42f8
push eax
push ecx
push edx
call fcn.005a59f0
add esp, 0x14
lea ecx, [esp + 4]
mov esi, eax
call fcn.005672a3
mov eax, esi
pop esi
pop ecx
ret
push 0x6d42f8
push eax
push ecx
push edx
call fcn.005ad1d8
add esp, 0x10
lea ecx, [esp + 4]
mov esi, eax
call fcn.005672a3
mov eax, esi
pop esi
pop ecx
ret
Function at 0x5ad1d8
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebx
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ebx, ecx
xor eax, eax
shr ecx, 2
je 0x5ad21c
xor edx, dword [edi]
add edi, 4
mov al, dl
shr edx, 8
xor edx, dword [esi + eax*4]
mov al, dl
shr edx, 8
xor edx, dword [esi + eax*4]
mov al, dl
shr edx, 8
xor edx, dword [esi + eax*4]
mov al, dl
shr edx, 8
xor edx, dword [esi + eax*4]
dec ecx
jne 0x5ad1f4
mov ecx, ebx
and ecx, 3
je 0x5ad231
xor dl, byte [edi]
inc edi
mov al, dl
shr edx, 8
xor edx, dword [esi + eax*4]
dec ecx
jne 0x5ad223
pop ebx
pop esi
pop edi
mov eax, edx
ret

Function at 0x5ad237
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x5c9801
Capabilities:
Get disk information

Disassembly:
push 0x60
mov eax, 0x61f718
call fcn.00579b23
push str.addDummyNT4CDAdapters
push dword [0x6d4ec4]
mov dword [ebp - 0x3c], ecx
lea ecx, [ebp - 0x38]
call fcn.0056862d
lea eax, [ebp - 0x4c]
xor esi, esi
push eax
mov dword [ebp - 4], esi
call fcn.005e76cb
pop ecx
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
xor edi, edi
call fcn.00428ac2
test eax, eax
jbe 0x5c995b
push edi
lea ecx, [ebp - 0x4c]
call fcn.0047ac82
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.005c9150
pop ecx
pop ecx
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
mov byte [ebp - 4], 2
jae 0x5c986d
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
jne 0x5c993b
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x6c]
push str.._
push eax
call fcn.0042d39f
add esp, 0xc
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call fcn.00415271
push esi
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.00415386
mov eax, dword [ebp - 0x18]
dec eax
push eax
lea ecx, [ebp - 0x2c]
call fcn.005c8dbf
cmp byte [eax], 0x5c
jne 0x5c98f4
mov eax, dword [ebp - 0x18]
dec eax
push eax
push esi
lea eax, [ebp - 0x6c]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042cea2
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call fcn.00415271
push esi
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.00415386
push esi
sub esp, 0x1c
lea eax, [ebp - 0x2c]
mov ecx, esp
mov dword [ebp - 0x50], esp
push eax
call fcn.00414b83
call fcn.005dd077
add esp, 0x20
push eax
lea ecx, [ebp - 0x34]
call fcn.005c8d00
cmp dword [ebp - 0x34], esi
mov byte [ebp - 4], 5
je 0x5c992f
mov ecx, dword [ebp - 0x3c]
lea eax, [ebp - 0x34]
push eax
add ecx, 4
call fcn.005c9720
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.005c85fd
push esi
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00415386
lea ecx, [ebp - 0x4c]
inc edi
call fcn.00428ac2
cmp edi, eax
jb 0x5c9848
lea ecx, [ebp - 0x4c]
call fcn.0043281e
lea ecx, [ebp - 0x38]
call fcn.005672a3
call fcn.00579ba6
ret
Function at 0x5ce0ab
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x6d25dc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 3]
push eax
mov byte [ebp - 0x10], 0x41
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 0xa], 0x73
mov byte [ebp - 9], 0
mov byte [ebp - 8], 0x41
mov byte [ebp - 7], 0x54
mov byte [ebp - 6], 0x52
mov byte [ebp - 5], 0x53
call fcn.0057c27c
add esp, 0xc
test eax, eax
jne 0x5ce115
push esi
call fcn.0054fe03
test al, al
pop ecx
je 0x5ce115
xor eax, eax
inc eax
jmp 0x5ce117
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00579aab
leave
ret
Function at 0x5d87fe
Capabilities:
Check if file exists

Disassembly:
push 0x40
mov eax, 0x621694
call fcn.00579b23
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x30], esp
push edi
call fcn.00418d08
lea eax, [ebp - 0x2c]
push eax
call fcn.00573eee
add esp, 0x20
xor ecx, ecx
cmp dword [edi + 0x18], 8
mov dword [ebp - 4], ecx
jb 0x5d883a
mov eax, dword [edi + 4]
jmp 0x5d883d
lea eax, [edi + 4]
push ecx
push 0x60000000
push 3
push ecx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x5d8866
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x5d886d
jmp 0x5d88d2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esi, [ebx + 0x10]
push esi
push dword [esi + 8]
lea ecx, [ebp - 0x44]
call fcn.0041f534
push esi
push dword [esi + 8]
lea ecx, [ebp - 0x34]
call fcn.0041f534
push esi
push dword [esi + 4]
lea ecx, [ebp - 0x3c]
call fcn.0041f534
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x30]
lea eax, [ebp - 0x4c]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push eax
call fcn.005cb40f
add esp, 0x18
mov ecx, eax
call fcn.0041fb2c
test al, al
je 0x5d88d2
push edi
mov ecx, ebx
call fcn.00519e64
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00519e64
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.00418fcc
call fcn.00579ba6
ret 8

Function at 0x5dd42a
Capabilities:
Enumerate pe sections

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov ecx, 0x6e8660
call fcn.0041c946
mov edi, eax
mov al, byte [esi + 4]
cmp al, byte [esi + 7]
jae 0x5dd495
xor ebx, ebx
jmp 0x5dd47f
cmp byte [esi + 6], 8
jae 0x5dd479
movzx ecx, byte [esi + 6]
mov eax, dword [edi]
push ebx
push ecx
movzx ecx, byte [esi + 5]
push ecx
movzx ecx, byte [esi + 4]
push ecx
mov ecx, edi
call dword [eax + 0x14]
cmp ax, 0xffff
jne 0x5dd49d
mov al, byte [esi + 6]
cmp al, bl
je 0x5dd479
inc al
cmp al, 8
mov byte [esi + 6], al
jb 0x5dd44c
inc byte [esi + 5]
mov byte [esi + 6], bl
mov al, byte [esi + 5]
cmp al, byte [esi + 8]
jb 0x5dd446
inc byte [esi + 4]
mov byte [esi + 5], bl
mov al, byte [esi + 4]
cmp al, byte [esi + 7]
jb 0x5dd47f
xor al, al
pop edi
pop esi
pop ebx
ret 0xc
mov al, byte [esi + 4]
mov ecx, dword [esp + 0x10]
mov byte [ecx], al
mov al, byte [esi + 5]
mov ecx, dword [esp + 0x14]
mov byte [ecx], al
mov al, byte [esi + 6]
mov ecx, dword [esp + 0x18]
mov byte [ecx], al
mov al, byte [esi + 6]
cmp al, bl
jne 0x5dd4e4
movzx ecx, byte [esi + 5]
mov eax, dword [edi]
push 0xe
push ebx
push ecx
movzx ecx, byte [esi + 4]
push ecx
mov ecx, edi
call dword [eax + 0x10]
test al, al
js 0x5dd4df
inc byte [esi + 5]
mov byte [esi + 6], bl
jmp 0x5dd4e9
inc byte [esi + 6]
jmp 0x5dd4e9
inc al
mov byte [esi + 6], al
mov al, 1
jmp 0x5dd497
Function at 0x5e76cb
Capabilities:
Get disk information

Disassembly:
push 0x50
mov eax, 0x623887
call fcn.00579b23
mov edi, dword [ebp + 8]
xor ebx, ebx
push str.getRootDirectories
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x5c], edi
mov dword [ebp - 0x50], ebx
call fcn.0056864c
mov dword [ebp - 4], 1
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push ebx
push ebx
mov byte [ebp - 4], 2
call esi
cmp eax, ebx
jmp 0x5e772f
mov eax, dword [ebp - 0x3c]
push eax
mov dword [ebp - 0x38], eax
call fcn.0040101b
pop ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.0047bf95
push dword [ebp - 0x48]
push dword [ebp - 0x3c]
call esi
cmp eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
ja 0x5e770e
cmp eax, ebx
jne 0x5e779b
push 8
call fcn.00401012
pop ecx
mov dword [ebp - 0x38], eax
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x5e775c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x38]
push eax
call fcn.0056df09
jmp 0x5e775e
xor eax, eax
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.0052319d
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 4
mov dword [ebp - 0x40], str...RootDirectoryEnumerator.cpp
mov dword [ebp - 0x3c], 0x33
call fcn.0056b108
push 0x686794
lea eax, [ebp - 0x34]
push eax
call fcn.00579606
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x50], 1
jmp 0x5e77e5
push esi
lea ecx, [ebp - 0x2c]
call fcn.00414b61
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
mov byte [ebp - 4], 5
call fcn.004363af
mov ecx, edi
call fcn.00473ce0
mov eax, dword [eax + 0x14]
push ebx
push 1
lea ecx, [ebp - 0x2c]
lea esi, [esi + eax + 1]
mov byte [ebp - 4], 2
call fcn.00415386
cmp byte [esi], bl
jne 0x5e77b0
lea ecx, [ebp - 0x48]
call fcn.00475eaa
lea ecx, [ebp - 0x4c]
call fcn.005672a3
mov eax, edi
call fcn.00579ba6
ret

Function at 0x5e7897
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push str.uninstall
push dword [0x6d5adc]
mov esi, ecx
lea ecx, [ebp - 8]
call fcn.0056862d
push 0xf003f
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x5e78e0
lea ecx, [ebp - 4]
call fcn.005e780f
lea ecx, [ebp - 8]
call fcn.005672a3
xor al, al
pop esi
pop ebx
leave
ret
cmp dword [esi + 0x38], 0x10
jb 0x5e78eb
mov esi, dword [esi + 0x24]
jmp 0x5e78ee
add esi, 0x24
push 0xf01ff
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
cmp eax, ebx
mov dword [ebp - 0xc], eax
jne 0x5e791e
lea ecx, [ebp - 0xc]
call fcn.005e780f
lea ecx, [ebp - 4]
call fcn.005e780f
lea ecx, [ebp - 8]
call fcn.005672a3
mov al, bl
jmp 0x5e78dc
push eax
call dword [sym.imp.ADVAPI32.dll_DeleteService]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
jmp 0x5e7902