joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cbf6
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
call fcn.0044f00e
dec eax
lea eax, [esi + eax*2]
cmp word [eax], 0x5c
pop ecx
jne 0x40cc12
and word [eax], 0
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40cc89
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 2
mov ebp, dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
jne 0x40cc3c
push 0
push esi
call ebp
test eax, eax
je 0x40cc41
mov al, 1
jmp 0x40cc8f
cmp eax, 3
jne 0x40cc8d
push esi
call fcn.0040d6da
mov edi, eax
push 0x5c
push edi
call fcn.00452dc0
add esp, 0xc
test eax, eax
jne 0x40cc61
push edi
call fcn.0044e722
pop ecx
jmp 0x40cc8d
and word [eax], 0
push ebx
push edi
call fcn.0040cbf6
push edi
mov bl, al
call fcn.0044e722
test bl, bl
pop ecx
pop ecx
je 0x40cc84
push 0
push esi
call ebp
test eax, eax
setne bl
mov al, bl
pop ebx
jmp 0x40cc8f
test al, 0x10
jne 0x40cc38
xor al, al
pop edi
pop esi
pop ebp
ret

Function at 0x40cc93
Capabilities:
Check if file exists
Copy file
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x438
push dword [ebp + 8]
lea eax, [ebp - 0x438]
call fcn.0040c4db
push dword [ebp + 0xc]
lea eax, [ebp - 0x22c]
call fcn.0040c4db
pop ecx
pop ecx
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x40cd0c
cmp byte [ebp + 0x10], al
je 0x40cd08
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.0044ef27
test eax, eax
pop ecx
pop ecx
je 0x40cd04
lea eax, [ebp - 0x22c]
push eax
lea eax, [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
mov al, 1
leave
ret
xor al, al
leave
ret
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
lea eax, [ebp - 0x438]
push eax
call esi
cmp eax, 0xffffffff
je 0x40cd25
test al, 0x10
jne 0x40cd2c
xor al, al
jmp 0x40cde5
push ebx
lea eax, [ebp - 0x22c]
push eax
call esi
xor ebx, ebx
cmp eax, 0xffffffff
je 0x40cd46
test al, 0x10
je 0x40cd46
cmp byte [ebp + 0x10], bl
jmp 0x40cd67
lea eax, [ebp - 0x22c]
push eax
call fcn.0040cbf6
test al, al
pop ecx
je 0x40cd69
lea eax, [ebp - 0x22c]
push eax
call esi
cmp eax, 0xffffffff
je 0x40cd69
test al, 0x10
jne 0x40cd6d
xor al, al
jmp 0x40cde4
lea eax, [ebp - 0x438]
push str..
push eax
call fcn.0044e949
lea eax, [ebp - 0x438]
push eax
call fcn.0044f00e
mov word [ebp + eax*2 - 0x436], bx
lea eax, [ebp - 0x22c]
push eax
invalid
Function at 0x40d649
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
test edi, edi
push esi
jl 0x40d6d5
jne 0x40d65d
push 0
jmp 0x40d6cf
mov al, byte [0x48b7b5]
neg al
sbb eax, eax
and eax, 0x28
add eax, 0xf
cmp edi, eax
jae 0x40d6ce
mov esi, dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
lea eax, [esp + 0x10]
push eax
call esi
salc
test eax, eax
je 0x40d6ce
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryPerformanceFrequency]
push 0
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [esp + 8]
push eax
call esi
mov eax, dword [esp + 8]
sub eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
sbb ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ecx
fild qword [esp + 0x18]
and al, 0x18
fild qword [esp + 0x20]
fdivp st(1)
fmul qword [0x4723a0]
call fcn.00465e16
cmp eax, edi
jb 0x40d68c
jmp 0x40d6d5
push edi
call dword [sym.imp.KERNEL32.DLL_Sleep]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40d921
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov bl, byte [0x4795bc]
push edi
push 0x8000
push esi
call fcn.00452a09
pop ecx
push eax
call fcn.00452912
push dword [ebp + 8]
mov dword [ebp - 4], eax
or eax, 0xffffffff
call fcn.0040df43
mov edi, eax
push edi
push 0x46ced4
push esi
call fcn.00452a36
push edi
call fcn.0044e722
push esi
call fcn.00452d03
add esp, 0x20
cmp dword [ebp - 4], 0xffffffff
jne 0x40d977
push 0x4000
jmp 0x40d97a
push dword [ebp - 4]
push esi
call fcn.00452a09
pop ecx
push eax
call fcn.00452912
pop ecx
pop ecx
pop edi
test bl, bl
pop ebx
je 0x40d998
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
leave
ret

Function at 0x4118c7
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
inc esi
mov dword [0x489628], eax
push edi
mov edx, esi
mov eax, 0x489628
mov ecx, dword [eax]
mov edi, ecx
shr edi, 0x1e
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0x489fe4
jl 0x4118d8
pop edi
mov dword [0x478078], esi
mov dword [0x489ff8], esi
pop esi
ret
Function at 0x401220
Capabilities:
Enumerate process modules
Get memory capacity
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1078
call fcn.00403430
mov eax, dword [0x406004]
xor eax, esp
mov dword [esp + 0x1074], eax
lea eax, [esp + 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [esp + 0x60], 2
jb 0x4012af
lea eax, [esp + 8]
mov dword [esp + 8], 0x40
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp dword [esp + 0x14], 0
ja 0x401274
cmp dword [esp + 0x10], 0x40000000
jb 0x4012af
lea eax, [esp + 4]
push eax
push 0x1000
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x4012af
mov eax, dword [esp + 4]
and eax, 0xfffffffc
cmp eax, 0xc8
jb 0x4012af
xor al, al
mov ecx, dword [esp + 0x1074]
xor ecx, esp
call fcn.004024f4
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1074]
mov al, 1
xor ecx, esp
call fcn.004024f4
mov esp, ebp
pop ebp
ret
Function at 0x401b20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x44
mov eax, dword [0x406004]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push esi
push edi
push 4
call fcn.00402502
add esp, 4
lea ecx, [esp + 0x34]
mov dword [eax], 0x4012d0
push ecx
push 0
push eax
push 0x4024a0
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esp + 0x30], eax
test eax, eax
je 0x401c92
mov ecx, dword [esp + 0x34]
test ecx, ecx
jne 0x401b7d
push 1
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
push ecx
push eax
call dword [sym.imp.MSVCP140.dll__Thrd_detach]
add esp, 8
test eax, eax
je 0x401b93
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
nop dword [eax]
lea ecx, [esp + 0x20]
call fcn.00401170
mov edi, dword [esp + 0x24]
cmp edi, 0x7fffffff
jg 0x401bce
mov ebx, dword [esp + 0x20]
jl 0x401bc3
cmp ebx, 0xc46535ff
jae 0x401bce
add ebx, 0x3b9aca00
adc edi, 0
jmp 0x401bd6
or ebx, 0xffffffff
mov edi, 0x7fffffff
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], ebx
nop
lea ecx, [esp + 0x28]
call fcn.00401170
mov ecx, dword [esp + 0x2c]
cmp ecx, edi
jg 0x401ba0
mov eax, dword [esp + 0x28]
jl 0x401bfb
cmp eax, ebx
jae 0x401ba0
mov esi, ebx
sub esi, eax
mov dword [esp + 0x18], esi
sbb edi, ecx
mov dword [esp + 0xc], edi
call dword [sym.imp.MSVCP140.dll__Xtime_get_ticks]
push 0
push 0x64
push edx
push eax
call fcn.004033f0
mov ebx, edx
mov ecx, esi
mov edx, dword [esp + 0xc]
mov edi, eax
call fcn.00403460
comisd xmm0, xmmword [0x404448]
mov esi, edi
jbe 0x401c47
add esi, 0xad160000
mov ecx, 0xad160000
mov eax, 0x311cd
jmp 0x401c51
mov ecx, dword [esp + 0x18]
add esi, ecx
mov eax, dword [esp + 0xc]
add edi, ecx
push 0
push 0x3b9aca00
adc ebx, eax
push ebx
push edi
call fcn.00403260
mov dword [esp + 0x38], eax
imul eax, eax, 0x3b9aca00
mov dword [esp + 0x3c], edx
sub esi, eax
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x44], esi
call dword [sym.imp.MSVCP140.dll__Thrd_sleep]
mov ebx, dword [esp + 0x14]
add esp, 4
mov edi, dword [esp + 0x14]
jmp 0x401be0
push 6
mov dword [esp + 0x38], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x10001422
Capabilities:
Packed with generic packer

Disassembly:
push esi
mov esi, ecx
xor eax, eax
mov dword [esi + 0xc], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
lea eax, [esi + 0x10]
push eax
jmp loc.100255b1

Function at 0x10001460
Capabilities:
Packed with generic packer

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 4]
mov dword [esi], 0x10014244
test eax, eax
je fcn.1000147e
push 0x8000
push 0
push eax
jmp loc.1002307d

Function at 0x100016b3
Capabilities:
Packed with generic packer

Disassembly:
push esi
mov esi, ecx
push edi
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 4]
push 0x400
mov ecx, esi
mov dword [esi + 8], eax
jmp loc.10021d5d

Function at 0x100018a4
Capabilities:
Create tcp socket
Create udp socket
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
push str.ws2_32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push str.socket
push ebx
call esi
push str.WSAIoctl
push ebx
call esi
push str.htons
push ebx
mov dword [ebp - 0x18], eax
call esi
push str.setsockopt
push ebx
mov dword [ebp - 0xc], eax
call esi
push str.gethostbyname
push ebx
mov dword [ebp - 0x14], eax
call esi
push str.connect
push ebx
mov dword [ebp - 8], eax
call esi
mov ecx, edi
mov dword [ebp - 0x10], eax
call fcn.10001d24
push dword [edi + 0xac]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
and byte [edi + 0xb8], 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
cmp eax, 0xffffffff
mov dword [edi + 0xa8], eax
je 0x1000196c
push dword [ebp + 8]
call dword [ebp - 8]
mov esi, eax
test esi, esi
je 0x1000196c
push dword [ebp + 0xc]
jmp loc.100236f6
xor al, al
jmp loc.10024820
Function at 0x100021e3
Capabilities:
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10014270
push 0x1000c7c4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
xor ebx, ebx
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
call sub.MSVCRT.dll_malloc
pop ecx
mov edi, eax
mov dword [ebp - 0x24], edi
cmp edi, ebx
je 0x10002341
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov esi, edi
mov dword [ebp - 0x1c], esi
cmp word [edi], 0x5c
jne 0x1000229a
lea eax, [edi + 2]
cmp word [eax], 0x5c
jne 0x1000229a
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
inc esi
mov dword [ebp - 0x1c], esi
mov ax, word [esi]
cmp ax, bx
je 0x10002270
cmp ax, 0x5c
je 0x10002270
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
jmp 0x10002254
cmp word [esi], bx
je 0x1000227a
inc esi
inc esi
mov dword [ebp - 0x1c], esi
mov ax, word [esi]
cmp ax, bx
je 0x10002293
cmp ax, 0x5c
je 0x10002293
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
jmp 0x10002277
cmp word [esi], bx
je 0x100022c0
jmp 0x100022bb
lea eax, [edi + 2]
cmp word [eax], 0x3a
jne 0x100022c0
mov esi, eax
mov dword [ebp - 0x1c], esi
inc esi
inc esi
mov dword [ebp - 0x1c], esi
mov ax, word [esi]
cmp ax, bx
je 0x100022c0
cmp ax, 0x5c
jne 0x100022c0
inc esi
inc esi
mov dword [ebp - 0x1c], esi
or ebx, 0xffffffff
mov ax, word [esi]
test ax, ax
je 0x10002323
cmp ax, 0x5c
jne 0x10002315
and word [esi], 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x100022fd
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x10002310
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jmp 0x10002302
and eax, 0x10
cmp al, 0x10
je 0x10002310
push edi
call sub.MSVCRT.dll_free
pop ecx
mov dword [ebp - 4], ebx
jmp 0x10002345
mov word [esi], 0x5c
push esi
call dword [sym.imp.USER32.dll_CharNextW]
mov esi, eax
mov dword [ebp - 0x1c], esi
jmp 0x100022c3
mov dword [ebp - 4], ebx
push edi
call sub.MSVCRT.dll_free
pop ecx
mov al, 1
jmp 0x10002347
or dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10002358
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x65c
push ebx
push esi
mov ebx, 0x208
push edi
push ebx
lea eax, [ebp - 0x274]
push 0
push eax
mov dword [ebp - 8], ebx
call sub.MSVCRT.dll_memset
push 0x2e
push dword [ebp + 8]
call sub.MSVCRT.dll_wcsrchr
add esp, 0x14
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1000244d
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.RegOpenKeyW
push edi
call esi
jmp loc.10023435
xor al, al
jmp loc.100240c6
Function at 0x10002746
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x10013200
call fcn.1000c73c
sub esp, 0x690
mov al, byte [ebp + 0xb]
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x24], al
mov dword [ebx + 0x1c], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
push edi
push edi
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], edi
call fcn.1000323e
push str..
lea eax, [ebp - 0x69c]
push dword [ebp + 8]
push 0x1001a3a0
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x494]
push eax
lea eax, [ebp - 0x69c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
jne 0x100027d0
lea eax, [ebp + 0xb]
push 1
push eax
mov ecx, ebx
mov byte [ebp + 0xb], 0x68
call fcn.10004d90
mov esi, eax
jmp loc.10021aea
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x244]
push 0x1001a39c
push eax
call esi
test eax, eax
je fcn.10002847
lea eax, [ebp - 0x244]
push 0x1001a394
push eax
call esi
test eax, eax
je fcn.10002847
mov eax, dword [ebp - 0x494]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x474]
sub eax, dword [ebp - 0x478]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x480]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x47c]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x244]
push eax
jmp loc.10022955

Function at 0x100028fe
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x86c
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
push str..
push ebx
lea eax, [ebp - 0x86c]
push 0x1001a3a0
mov dword [ebp - 4], ecx
push eax
call esi
add esp, 0x10
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x86c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x1000294f
xor al, al
jmp loc.1002170f
push edi
mov edi, str._s_s
Function at 0x100029d7
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
lea esi, [ecx + 0x20]
push 0x208
push edi
push esi
mov dword [ebp - 0xc], ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x10002a24
xor eax, eax
jmp 0x10002a9e
lea eax, [ebp - 4]
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
call edi
lea ebx, [eax + eax + 0xb]
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
push ebx
push 0
push esi
call sub.MSVCRT.dll_memset
mov byte [esi], 0x69
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [esi + 1], eax
mov eax, dword [ebp - 8]
push dword [ebp + 8]
mov dword [esi + 5], eax
call edi
lea eax, [eax + eax + 2]
push eax
lea eax, [esi + 9]
push dword [ebp + 8]
push eax
call sub.MSVCRT.dll_memcpy
mov ecx, dword [ebp - 0xc]
add esp, 0xc
push ebx
push esi
call fcn.10004d90
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, edi
pop ebx
pop edi
pop esi
leave
ret 4

Function at 0x10002aa4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], ecx
cmp dword [edi + 4], 0xffffffff
jne 0x10002ac3
jmp loc.1002250a
xor esi, esi
add ecx, 0x20
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
or eax, 0xffffffff
cmp ebx, eax
je fcn.10002b60
push esi
push edi
push dword [edi + 4]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x2000
push 0x40
mov dword [ebp + 8], esi
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
push 8
push edi
lea eax, [esi + 1]
mov byte [esi], 0x6a
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
lea eax, [ebp + 8]
push 0
push eax
lea eax, [esi + 9]
push 0x1ff7
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
test eax, eax
jbe 0x10002b4e
mov ecx, dword [ebp - 4]
add eax, 9
push eax
push esi
call fcn.10004d90
mov dword [ebp - 4], eax
jmp fcn.10002b56
mov ecx, dword [ebp - 4]
jmp loc.10023dd0

Function at 0x10002b67
Capabilities:
Packed with generic packer

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
lea ecx, [esi + 0x10]
push dword [eax]
lea eax, [esp + 8]
push eax
call fcn.100030c9
cmp dword [esi + 0x18], 0
jne 0x10002b8e
push 0x6b
mov ecx, esi
call fcn.10002bad
jmp fcn.10002baa
mov eax, dword [esi + 0x14]
mov eax, dword [eax]
add eax, 8
mov eax, dword [eax + 4]
test eax, eax
jne 0x10002ba2
mov eax, 0x1001427c
push eax
mov ecx, esi
jmp loc.1002150b
Function at 0x10002c6a
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov eax, 0x10013228
call fcn.1000c73c
sub esp, 0x884
push ebx
push esi
push 0x208
lea eax, [ebp - 0x688]
push 0
mov ebx, ecx
push eax
call sub.MSVCRT.dll_memset
mov esi, dword [ebp + 8]
add esp, 0xc
push esi
jmp loc.10023782

Function at 0x10002dcc
Capabilities:
Packed with generic packer

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x18], 0
je fcn.10002ddd
lea ecx, [esi + 0x10]
jmp loc.10022e89

Function at 0x10002de8
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push ebx
push esi
mov esi, ecx
push edi
push 0x208
push 0
lea edi, [esi + 0x20]
push edi
call sub.MSVCRT.dll_memset
mov ebx, dword [ebp + 8]
add esp, 0xc
lea eax, [ebx + 8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [ebx + 4]
push edi
mov dword [esi + 0x228], eax
and dword [esi + 0x22c], 0
mov ecx, esi
call fcn.100021e3
lea eax, [ebp - 0x250]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x10002e61
mov eax, dword [esi + 0x1c]
cmp eax, 4
je 0x10002e61
cmp eax, 2
je 0x10002e61
cmp eax, 6
je 0x10002e61
push 0x6d
mov ecx, esi
call fcn.10002bad
jmp fcn.10002e68
mov ecx, esi
jmp loc.10022b30

Function at 0x10002f8a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0
mov edi, ecx
mov eax, dword [esi]
push 0x80
mov dword [ebp - 4], eax
mov eax, dword [esi + 4]
push 3
mov dword [ebp + 8], eax
push 0
push 2
lea eax, [edi + 0x20]
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 8]
push 0
push eax
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff8
add esi, 8
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
push 4
add dword [ebp + 8], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x13]
push eax
mov byte [ebp - 0x14], 0x70
call sub.MSVCRT.dll_memcpy
lea eax, [ebp + 8]
push 4
push eax
lea eax, [ebp - 0xf]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0x18
lea eax, [ebp - 0x14]
mov ecx, edi
push 9
push eax
call fcn.10004d90
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x100030c9
Capabilities:
Packed with generic packer

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, ecx
push 1
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov ebx, dword [esi]
mov dword [eax], ecx
jmp loc.10025287

Function at 0x10003103
Capabilities:
Packed with generic packer

Disassembly:
push ecx
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebx + 4]
mov esi, dword [edi]
cmp esi, edi
je 0x10003125
mov eax, esi
mov esi, dword [esi]
jmp loc.10026134
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x10003154
Capabilities:
Packed with generic packer

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
push dword [ebx + 4]
mov edi, ecx
push ebx
jmp loc.1002264c
Function at 0x100031b2
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 4], 0
push esi
mov esi, ecx
je 0x100031df
jmp loc.10024dcc
and dword [esi + 4], 0
and dword [esi + 8], 0
and dword [esi + 0xc], 0
pop esi
ret 4

Function at 0x10003952
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0x1001324e
call fcn.1000c73c
push ecx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x10], esi
and dword [ebp - 4], 0
test esi, esi
je 0x1000398e
push edi
mov edi, dword [ebp + 0xc]
push 0
mov ecx, esi
mov al, byte [edi]
mov byte [esi], al
jmp loc.100265ca
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x10003b2b
Capabilities:
Packed with generic packer

Disassembly:
push esi
push edi
mov edi, ecx
mov esi, dword [edi + 4]
test esi, esi
je fcn.10003b58
mov al, byte [esi - 1]
test al, al
je fcn.10003b58
cmp al, 0xff
je fcn.10003b58
push 1
call fcn.100031b2
push esi
call sub.MSVCRT.dll_wcslen
pop ecx
push eax
push esi
mov ecx, edi
jmp loc.10022b71

Function at 0x1000419a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
push ebx
push esi
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jmp loc.10025c0a

Function at 0x10004349
Capabilities:
Encode data using xor
Get file size
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
push ebx
push esi
push edi
lea eax, [ebp - 0x418]
push 0x104
push eax
push dword [0x1001d030]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
jmp loc.100249bf

Function at 0x10004826
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0x10013340
call fcn.1000c73c
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x1c], esi
mov dword [esi], 0x10014284
xor ebx, ebx
push str.kernel32.dll
mov dword [ebp - 4], ebx
jmp loc.10021806

Function at 0x10004af3
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0x10013360
call fcn.1000c73c
push ecx
push esi
mov esi, ecx
push dword [ebp + 8]
mov dword [ebp - 0x10], esi
call fcn.10004d35
and dword [ebp - 4], 0
mov ecx, esi
mov dword [esi], 0x1001428c
call fcn.10004bfa
mov ecx, esi
jmp loc.100211d2