joyce8/EMBER2024-capa huggingface dataset:
Function at 0x413d10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x48e868]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x413d34
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 4], 0xffffffff
je 0x413d3e
mov eax, 0x1000000
jmp 0x413e28
mov edx, dword [ebp - 0xc]
add edx, 0x244
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, dword [ebp - 0xc]
add eax, 0x244
push eax
call fcn.0041e754
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dx, word [ecx + eax*2 + 0x242]
mov word [ebp - 0x14], dx
movzx eax, word [ebp - 0x14]
cmp eax, 0x5c
je 0x413d9c
movzx ecx, word [ebp - 0x14]
cmp ecx, 0x2f
je 0x413d9c
push 0x481d78
mov edx, dword [ebp - 0xc]
add edx, 0x244
push edx
call fcn.0042086c
add esp, 8
cmp dword [ebp + 0x10], 1
jne 0x413de0
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0xffffffff
je 0x413dc4
mov dword [ebp - 0x18], 1
jmp 0x413dcb
mov dword [ebp - 0x18], 0
mov cl, byte [ebp - 0x18]
mov byte [ebp - 0xd], cl
movzx edx, byte [ebp - 0xd]
test edx, edx
jne 0x413de0
mov eax, 0x2000000
jmp 0x413e28
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00419030
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x413e06
mov eax, dword [ebp - 8]
jmp 0x413e28
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.00419d60
add esp, 4
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax], 0
jne 0x413e26
mov eax, 0x200
jmp 0x413e28
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e8f2
mov esp, ebp
pop ebp
ret 0xc
Function at 0x414820
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, 4
imul eax, eax, 0
movsx ecx, byte [ebp + 0xc]
mov edx, dword [ebp + 8]
xor ecx, dword [edx + eax]
and ecx, 0xff
mov eax, 4
imul eax, eax, 0
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax]
shr eax, 8
xor eax, dword [ecx*4 + 0x481dc0]
mov ecx, 4
imul ecx, ecx, 0
mov edx, dword [ebp + 8]
mov dword [edx + ecx], eax
mov eax, 4
shl eax, 0
mov ecx, 4
imul ecx, ecx, 0
mov edx, dword [ebp + 8]
mov ecx, dword [edx + ecx]
and ecx, 0xff
mov edx, dword [ebp + 8]
add ecx, dword [edx + eax]
mov eax, 4
shl eax, 0
mov edx, dword [ebp + 8]
mov dword [edx + eax], ecx
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + eax]
imul edx, edx, 0x8088405
add edx, 1
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], edx
mov edx, 4
shl edx, 1
mov eax, 4
shl eax, 0
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax]
shr eax, 0x18
mov ecx, dword [ebp + 8]
xor eax, dword [ecx + edx]
and eax, 0xff
mov edx, 4
shl edx, 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + edx]
shr edx, 8
xor edx, dword [eax*4 + 0x481dc0]
mov eax, 4
shl eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + eax], edx
pop ebp
ret

Function at 0x4191c0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x48e868]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x14]
movzx edx, byte [ecx]
test edx, edx
je 0x419219
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41920f
mov edx, dword [ebp + 0x14]
mov byte [edx + 8], 1
mov eax, dword [ebp - 8]
xor edx, edx
div dword [ebp + 0xc]
jmp 0x419273
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 0x14]
cmp ecx, dword [edx + 0x18]
jbe 0x419239
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x14]
mov edx, dword [eax + 0x18]
sub edx, dword [ecx + 0x1c]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx + 0x14]
mov eax, dword [ebp + 0x14]
add edx, dword [eax + 0x1c]
push edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.0041d960
add esp, 0xc
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax + 0x1c]
add ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0x14]
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp - 0x10]
xor edx, edx
div dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e8f2
mov esp, ebp
pop ebp
ret
Function at 0x4194e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x4194f0
xor eax, eax
jmp 0x41968d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x41964e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x481dc0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x481dc0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x481dc0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x481dc0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x481dc0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x481dc0]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x481dc0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x481dc0]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x4194f9
cmp dword [ebp + 0x10], 0
je 0x419687
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x481dc0]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x419654
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x42b4b8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48e868]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00422738
mov dword [ebp - 0x14], eax
cmp dword [0x490e68], edi
jne 0x42b5a9
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x42b536
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x42b689
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x42b689
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42b689
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x490e68], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x490e6c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x490e70], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x490e78], eax
test eax, eax
je 0x42b5a6
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x490e74], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x42b5ce
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42b5c1
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x42b5e3
push 4
pop eax
jmp 0x42b68b
cmp dword [ebp - 0x14], edi
je 0x42b5e3
push dword [0x490e68]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x42b5c8
mov eax, dword [0x490e74]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x42b641
cmp dword [0x490e78], esi
je 0x42b641
push eax
call ebx
push dword [0x490e78]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x42b641
test eax, eax
je 0x42b641
call ecx
test eax, eax
je 0x42b636
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x42b636
test byte [ebp - 8], 1
jne 0x42b641
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x42b671
mov eax, dword [0x490e6c]
cmp eax, esi
je 0x42b66e
push eax
call ebx
test eax, eax
je 0x42b66e
call eax
mov edi, eax
test edi, edi
je 0x42b66e
mov eax, dword [0x490e70]
cmp eax, esi
je 0x42b66e
push eax
call ebx
test eax, eax
je 0x42b66e
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x490e68]
call ebx
test eax, eax
je 0x42b689
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x42b68b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041e8f2
leave
ret
Function at 0x42dad5
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.00423476
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x42db0d
xor eax, eax
jmp 0x42db39
cmp esi, dword [ebp - 4]
je 0x42db36
cmp dword [ebp + 0xc], 0
je 0x42db36
push dword [edi + 0x9c]
call fcn.0042d6e3
push dword [edi + 0x9c]
mov esi, eax
call fcn.0041e754
pop ecx
pop ecx
cmp esi, eax
je 0x42db09
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x401996
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
test ebx, ebx
sete dl
cmp dword [ebp + 8], 0
sete al
mov ecx, 0
or dl, al
jne 0x401ada
lea ecx, [edi*4 + 0xb]
mov edx, 0x2aaaaaab
mov eax, ecx
imul edx
sar edx, 1
mov eax, ecx
sar eax, 0x1f
sub edx, eax
lea edx, [edx*4 + 1]
cmp edx, dword [ebp + 0x14]
jle 0x401a3d
mov dword [esp], 0x6f
call sub.KERNEL32.DLL_SetLastError
sub esp, 4
mov ecx, 0
jmp 0x401ada
movzx eax, byte [ecx]
and eax, 3
shl eax, 4
movzx eax, byte [eax + section.i466ljur]
mov byte [ebx + 1], al
mov byte [ebx + 2], 0x3d
mov byte [ebx + 3], 0x3d
add ebx, 4
jmp 0x401ad2
movzx eax, byte [ecx + 1]
and eax, 0xf
movzx eax, byte [eax*4 + section.i466ljur]
mov byte [ebx + 2], al
mov byte [ebx + 3], 0x3d
add ebx, 4
jmp 0x401ad2
mov esi, 0
mov ecx, dword [ebp + 8]
cmp esi, edi
jge 0x401ad2
movzx eax, byte [ecx]
shr al, 2
movzx eax, al
movzx eax, byte [eax + section.i466ljur]
mov byte [ebx], al
mov eax, edi
sub eax, esi
cmp eax, 1
je 0x4019fc
movzx edx, byte [ecx]
and edx, 3
shl edx, 4
movzx eax, byte [ecx + 1]
shr al, 4
movzx eax, al
or edx, eax
movzx eax, byte [edx + section.i466ljur]
mov byte [ebx + 1], al
mov eax, edi
sub eax, esi
cmp eax, 2
je 0x401a1f
movzx edx, byte [ecx + 1]
and edx, 0xf
shl edx, 2
movzx eax, byte [ecx + 2]
shr al, 6
movzx eax, al
or edx, eax
movzx eax, byte [edx + section.i466ljur]
mov byte [ebx + 2], al
movzx eax, byte [ecx + 2]
and eax, 0x3f
movzx eax, byte [eax + section.i466ljur]
mov byte [ebx + 3], al
add esi, 3
add ecx, 3
add ebx, 4
cmp esi, edi
jl 0x401a4d
mov byte [ebx], 0
mov ecx, 1
mov eax, ecx
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x401b7e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x1c
mov ebx, 0
mov dword [esp], 0
call sub.msvcrt.dll_malloc
mov esi, eax
mov dword [esp + 4], 0x40e000
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sub.msvcrt.dll_fopen
mov edi, eax
mov eax, 0
test edi, edi
je 0x401c23
jmp 0x401bc1
mov eax, 0
jmp 0x401c23
test byte [edi + 0xc], 0x10
jne 0x401c00
inc ebx
mov dword [esp + 4], ebx
mov dword [esp], esi
call sub.msvcrt.dll_realloc
mov esi, eax
test eax, eax
je 0x401bba
mov dword [esp + 0xc], edi
mov dword [esp + 8], 1
mov dword [esp + 4], 1
lea eax, [eax + ebx - 1]
mov dword [esp], eax
call sub.msvcrt.dll_fread
test byte [edi + 0xc], 0x10
je 0x401bc7
lea eax, [ebx - 1]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00401b44
mov ebx, eax
mov dword [esp], esi
call sub.msvcrt.dll_free
mov dword [esp], edi
call sub.msvcrt.dll_fclose
mov eax, ebx
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x401000
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ecx
call fcn.00408287
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x6bdf8
jne 0x40101c
mov dword [ebp - 4], 0
push eax
mov eax, dword [ebp - 4]
cmp eax, 0x6bdf8
jne 0x4010b7
mov byte [ebp - 0x28], 0x41
mov byte [ebp - 0x27], 0x54
mov byte [ebp - 0x26], 0x6b
mov byte [ebp - 0x25], 0x42
mov byte [ebp - 0x24], 0x31
mov byte [ebp - 0x23], 0x73
mov byte [ebp - 0x22], 0x45
mov byte [ebp - 0x21], 0x73
mov byte [ebp - 0x20], 0x5a
mov byte [ebp - 0x1f], 0x77
mov byte [ebp - 0x1e], 0x43
mov byte [ebp - 0x1d], 0x6c
mov byte [ebp - 0x1c], 0x4e
mov byte [ebp - 0x1b], 0x75
mov byte [ebp - 0x1a], 0x42
mov byte [ebp - 0x19], 0x75
mov byte [ebp - 0x18], 0x43
mov byte [ebp - 0x17], 0x77
mov byte [ebp - 0x16], 0x45
mov byte [ebp - 0x15], 0x66
mov byte [ebp - 0x14], 0x41
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0x12], 0x49
mov byte [ebp - 0x11], 0x70
mov byte [ebp - 0x10], 0x4e
mov byte [ebp - 0xf], 0x76
mov byte [ebp - 0xe], 0x52
mov byte [ebp - 0xd], 0x6d
mov byte [ebp - 0xc], 0x46
mov byte [ebp - 0xb], 0x76
mov byte [ebp - 0xa], 0x58
mov byte [ebp - 9], 0x52
mov byte [ebp - 8], 0x73
mov byte [ebp - 7], 0x7a
mov byte [ebp - 6], 0
pop eax
call fcn.00402c20
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4024c0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x740
mov eax, dword [0x41a084]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x528], ax
push 0x206
push 0
lea ecx, [ebp - 0x526]
push ecx
call fcn.0040e3a0
add esp, 0xc
push 0x208
lea edx, [ebp - 0x528]
push edx
push 0xffffffffffffffff
push 0x41d0a8
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x4177ec
lea eax, [ebp - 0x528]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov byte [ebp - 0x320], 0
push 0x103
push 0
lea ecx, [ebp - 0x31f]
push ecx
call fcn.0040e3a0
add esp, 0xc
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x320]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor ecx, ecx
mov word [ebp - 0x730], cx
push 0x206
push 0
lea edx, [ebp - 0x72e]
push edx
call fcn.0040e3a0
add esp, 0xc
push 0x208
lea eax, [ebp - 0x730]
push eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x320]
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
mov word [ebp - 0x210], dx
push 0x206
push 0
lea eax, [ebp - 0x20e]
push eax
call fcn.0040e3a0
add esp, 0xc
lea ecx, [ebp - 0x730]
mov dword [ebp - 0x734], ecx
lea edx, [ebp - 0x210]
mov dword [ebp - 0x738], edx
mov eax, dword [ebp - 0x738]
mov dword [ebp - 0x73c], eax
mov ecx, dword [ebp - 0x734]
mov dx, word [ecx]
mov word [ebp - 0x73e], dx
mov eax, dword [ebp - 0x738]
mov cx, word [ebp - 0x73e]
mov word [eax], cx
mov edx, dword [ebp - 0x734]
add edx, 2
mov dword [ebp - 0x734], edx
mov eax, dword [ebp - 0x738]
add eax, 2
mov dword [ebp - 0x738], eax
cmp word [ebp - 0x73e], 0
jne 0x4025d0
push str.VcCpT
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCatW]
push 0
lea edx, [ebp - 0x730]
push edx
lea eax, [ebp - 0x528]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x402648
xor eax, eax
jmp 0x4026a2
push 0
push 0
push 3
push 0
push 3
push 0xc0000000
lea ecx, [ebp - 0x730]
push ecx
call dword [0x41e244]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0xffffffff
jne 0x402677
xor eax, eax
jmp 0x4026a2
mov edx, dword [ebp - 0x214]
push edx
call fcn.00404d30
add esp, 4
test eax, eax
je 0x40268c
jmp 0x402690
xor eax, eax
jmp 0x4026a2
mov eax, dword [ebp - 0x214]
push eax
call dword [0x41e248]
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00408266
mov esp, ebp
pop ebp
ret
Function at 0x405640
Capabilities:
Check os version
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
mov eax, dword [0x41a084]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x41eb0c], 0
je 0x405666
mov eax, dword [0x41eb10]
jmp 0x405760
mov dword [ebp - 4], 0
mov dword [ebp - 0x120], 0
push 0x110
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.0040e3a0
add esp, 0xc
mov dword [ebp - 0x120], 0x114
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x405751
cmp dword [ebp - 0x11c], 5
jbe 0x405747
mov byte [ebp - 0x12c], 0
mov byte [ebp - 0x12b], 0
mov byte [ebp - 0x12a], 0
mov byte [ebp - 0x129], 0
mov byte [ebp - 0x128], 0
mov byte [ebp - 0x127], 5
mov dword [ebp - 0x124], 0
lea edx, [ebp - 0x124]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x12c]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov dword [0x41eb10], eax
cmp dword [0x41eb10], 0
je 0x405745
push 0x41eb10
mov ecx, dword [ebp - 0x124]
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.ADVAPI32.dll_FreeSid]
jmp 0x405751
mov dword [0x41eb10], 1
mov dword [0x41eb0c], 1
mov eax, dword [0x41eb10]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00408266
mov esp, ebp
pop ebp
ret
Function at 0x405b80
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x360
mov eax, dword [0x41a084]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x114], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str..
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x258]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x405be2
jmp 0x405cc2
lea edx, [ebp - 0x258]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x405cc2
push 0x417418
lea ecx, [ebp - 0x22c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x405c27
push 0x41741c
lea edx, [ebp - 0x22c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x405c29
jmp 0x405be2
mov eax, dword [ebp - 0x258]
and eax, 0x10
je 0x405c36
jmp 0x405be2
push 0x417420
lea ecx, [ebp - 0x22c]
push ecx
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
je 0x405cae
push 0x104
push 0
lea edx, [ebp - 0x360]
push edx
call fcn.0040e3a0
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x360]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0x22c]
push edx
lea eax, [ebp - 0x360]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea ecx, [ebp - 0x360]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x405ca1
jmp 0x405be2
lea eax, [ebp - 0x360]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0x114]
add ecx, 1
mov dword [ebp - 0x114], ecx
jmp 0x405be2
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00408266
mov esp, ebp
pop ebp
ret

Function at 0x405d40
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x405da9
mov dword [ebp - 0xc], 0
jmp 0x405d6f
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jge 0x405da7
push str.woshiyizhixiaomaolv
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
je 0x405d92
jmp 0x405da7
mov ecx, dword [ebp - 4]
sub ecx, 1
cmp dword [ebp - 0xc], ecx
jne 0x405da5
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
jmp 0x405d66
jmp 0x405db1
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret