joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402710
Capabilities:
Create shortcut via ishelllink

Disassembly:
push 0xc
mov eax, 0x464948
call fcn.00460eb0
lea eax, [ebp - 0x10]
push eax
push 0x46959c
push 1
xor ebx, ebx
push ebx
push 0x4695ac
mov dword [ebp - 4], 3
call dword [sym.imp.ole32.dll_CoCreateInstance]
lea esi, [ebp + 8]
lea edi, [ebp - 0x14]
mov dword [ebp - 0x18], eax
call fcn.004026aa
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017a1
lea esi, [ebp + 0xc]
lea edi, [ebp - 0x14]
call fcn.004026aa
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017a1
cmp dword [ebp - 0x18], ebx
jl 0x402831
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push 0x4695bc
push eax
call dword [ecx]
mov esi, eax
cmp esi, ebx
jl 0x402824
mov eax, dword [ebp - 0x10]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
mov esi, eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00419411
pop ecx
pop ecx
mov byte [ebp - 4], 4
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x24]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 5
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
push dword [ebp + 0xc]
push eax
call dword [ecx + 0x44]
mov eax, dword [ebp + 0x14]
cmp dword [eax - 0xc], ebx
je 0x4027f5
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x1c]
mov ecx, dword [ebp + 0x10]
cmp dword [ecx - 0xc], ebx
je 0x402807
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
push ecx
push eax
call dword [edx + 0x2c]
cmp esi, ebx
jl 0x40281b
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push 1
push dword [ebp + 8]
push eax
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp esi, ebx
jge 0x402865
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, ebx
call fcn.00460f4f
ret
xor ebx, ebx
inc ebx
jmp 0x402831
Function at 0x402e92
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x480070]
xor eax, ebp
mov dword [ebp + 0x198], eax
push ebx
push esi
mov esi, dword [ebp + 0x1a4]
push edi
mov edi, dword [ebp + 0x1a8]
xor ebx, ebx
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x7c], edi
cmp dword [0x4813fc], ebx
je 0x402ef2
push str.Advapi32.dll
mov dword [0x4813fc], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, ebx
je 0x402ef2
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x484694], eax
lea eax, [ebp - 0x78]
push eax
mov eax, dword [ebp + 0x1ac]
or eax, 8
push eax
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402f71
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402f33
push dword [ebp + 0x1ac]
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x78]
call fcn.00402e92
add esp, 0xc
test eax, eax
jne 0x402f42
push edi
lea eax, [ebp - 0x74]
push eax
push ebx
push dword [ebp - 0x78]
call esi
test eax, eax
je 0x402f1a
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x484694]
cmp eax, ebx
je 0x402f65
push ebx
push dword [ebp + 0x1ac]
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
call eax
jmp 0x402f71
push dword [ebp - 0x7c]
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp + 0x198]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444b2e
add ebp, 0x19c
leave
ret

Function at 0x4033b7
Capabilities:
Enumerate files on windows

Disassembly:
push 0x25c
mov eax, 0x4650bc
call fcn.00460f19
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x4033d7
mov ecx, ebx
call fcn.00404454
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004015c5
add eax, 0x10
mov dword [ebp - 0x264], eax
push 0x5c
push 0x2f
lea eax, [ebp - 0x264]
mov byte [ebp - 4], 1
call fcn.00403d9e
lea esi, [ebp - 0x264]
call fcn.00403fb3
mov ecx, eax
inc ecx
lea edx, [ebp - 0x268]
mov eax, esi
call fcn.004040d6
mov edi, esi
mov byte [ebp - 4], 2
call fcn.0040144e
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
call fcn.004017a1
lea eax, [ebp - 0x260]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4034bd
test byte [ebp - 0x260], 0x10
jne 0x4034a4
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x264]
call fcn.004041b1
pop ecx
pop ecx
mov byte [ebp - 4], 3
push dword [ebx + 4]
mov eax, dword [eax]
push eax
mov edi, ebx
call fcn.004044b1
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x40348d
mov dword [ecx], eax
jmp 0x40348f
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x268]
add eax, 0xfffffff0
call fcn.004017a1
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40344d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004017a1
call fcn.00460f63
ret
Function at 0x403b6e
Capabilities:
Get memory capacity

Disassembly:
push 0x88
mov eax, 0x465f1b
call fcn.00460eb0
xor edi, edi
mov dword [ebp - 4], edi
lea eax, [ebp - 0x54]
call fcn.0043507b
mov byte [ebp - 4], 3
mov eax, dword [0x4831ec]
mov esi, 0x4831ec
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push 0x38
lea eax, [ebp - 0x8c]
mov byte [ebp - 4], 4
push edi
push eax
mov dword [ebp - 0x94], 0x40
mov dword [ebp - 0x90], edi
call fcn.00449180
add esp, 0xc
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov edi, dword [ebp - 0x8c]
mov eax, dword [ebp - 0x88]
mov ebx, dword [ebp - 0x84]
shrd edi, eax, 0x14
shr eax, 0x14
mov eax, dword [ebp - 0x80]
shrd ebx, eax, 0x14
shr eax, 0x14
mov eax, dword [0x4831ec]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push edi
push ebx
lea eax, [ebp - 0x14]
push str._m:_d__d_
push eax
mov byte [ebp - 4], 5
call fcn.00404441
mov esi, dword [ebp - 0x14]
add esp, 0x10
push dword [esi - 0xc]
lea eax, [ebp + 0x10]
push esi
call fcn.004043c2
lea eax, [ebp - 0x1c]
push eax
call fcn.00403afd
pop ecx
mov byte [ebp - 4], 6
push dword [ebp + 0x10]
mov eax, dword [eax]
push dword [ebp + 0xc]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push str.https:__log.bandi.so_error_app.php_name_sbuildDate_sversion_slog_s
push eax
call fcn.00404441
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1c]
add esp, 0x18
add eax, 0xfffffff0
call fcn.004017a1
and dword [ebp - 0x1c], 0
push 0
push str.XHttp
lea eax, [ebp - 0x54]
push eax
push ecx
mov edi, dword [ebp - 0x18]
add edi, 0xfffffff0
mov eax, edi
mov dword [ebp - 0x20], esp
mov ebx, esp
call fcn.004015c5
mov ecx, dword [ebp - 0x1c]
add eax, 0x10
mov dword [ebx], eax
call fcn.0040dcfc
add esp, 0x10
lea eax, [esi - 0x10]
call fcn.004017a1
mov eax, edi
call fcn.004017a1
lea eax, [ebp - 0x54]
call fcn.004350c4
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.004017a1
xor eax, eax
inc eax
call fcn.00460f4f
ret

Function at 0x403cdc
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x480070]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0
push 2
mov dword [ebp - 0x230], 0x22c
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
test esi, esi
je 0x403d43
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x403d38
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.00445a2a
pop ecx
pop ecx
test eax, eax
je 0x403d52
lea eax, [ebp - 0x230]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x403d18
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00444b2e
leave
ret
mov eax, dword [ebp - 0x228]
jmp 0x403d45
Function at 0x4046a5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x4046bc
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x4046f1
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x4046ed
cmp edi, eax
jae 0x4046f1
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x4046df
cmp edi, eax
jb 0x4046f5
xor eax, eax
jmp 0x4046fe
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret

Function at 0x4056a8
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
jne 0x4056b6
push 0xd
pop eax
jmp 0x4056e9
push esi
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x4056bd
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0x10]
push 7
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x405b6c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x480070]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 4]
push edi
push ecx
push dword [esi]
mov dword [ebp - 0x21c], ecx
xor edi, edi
or eax, 0x2001f
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x210], edi
call fcn.00405b2e
mov ebx, eax
cmp ebx, edi
je 0x405bd2
cmp dword [ebp - 0x214], edi
je 0x405bcb
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x405c6a
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x405bfa
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x214]
call fcn.00405b6c
mov dword [ebp - 0x220], eax
cmp eax, edi
jne 0x405c7b
lea eax, [ebp - 0x228]
push eax
push edi
push edi
push edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
push edi
push dword [ebp - 0x214]
mov dword [ebp - 0x218], 0x100
call ebx
test eax, eax
je 0x405bda
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x214], edi
je 0x405c45
push dword [ebp - 0x214]
call ebx
mov dword [ebp - 0x214], edi
push dword [ebp - 0x21c]
mov dword [ebp - 0x210], edi
call fcn.00405ce8
mov esi, eax
cmp dword [ebp - 0x214], edi
je 0x405c68
push dword [ebp - 0x214]
call ebx
mov eax, esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00444b2e
leave
ret 4
cmp dword [ebp - 0x214], edi
je 0x405c8f
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x220]
jmp 0x405c6a

Function at 0x405ce8
Capabilities:
Delete registry key

Disassembly:
cmp byte [0x4847a8], 0
jne 0x405d18
push str.Advapi32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x405d11
push str.RegDeleteKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4847ac], eax
mov byte [0x4847a8], 1
mov eax, dword [0x4847ac]
test eax, eax
je 0x405d30
push 0
push dword [esi + 4]
push dword [esp + 0xc]
push dword [esi]
call eax
jmp 0x405d3c
push dword [esp + 4]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
ret 4
Function at 0x407178
Capabilities:
Set current directory

Disassembly:
push 0x1c
mov eax, 0x467ce2
call fcn.00460eb0
mov ebx, ecx
lea esi, [ebp - 0x10]
call fcn.00401fc3
xor esi, esi
lea edi, [ebx + 0x478]
mov dword [ebp - 4], esi
call fcn.0040144e
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004017a1
lea eax, [ebp - 0x10]
push eax
call fcn.00401f25
pop ecx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, dword [0x4831ec]
mov ecx, 0x4831ec
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
cmp dword [ebx + 0x47c], esi
je 0x40723f
mov eax, dword [edi]
push ecx
mov dword [ebp - 0x14], esp
sub eax, 0x10
mov dword [ebp - 0x14], esp
call fcn.004015c5
mov ecx, esp
add eax, 0x10
mov dword [ecx], eax
mov ecx, ebx
call fcn.0040a9da
cmp eax, esi
jne 0x40722f
push esi
push esi
push 0x10
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004017a1
xor eax, eax
call fcn.00460f4f
ret
lea eax, [ebx + 0x4a0]
lea edi, [ebp - 0x10]
call fcn.0040144e
jmp 0x407268
mov ecx, dword [ebx + 0x4dc]
lea edi, [ebp - 0x14]
call fcn.00401f6f
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.0040144e
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x14], esp
mov edi, esp
mov dword [ebp - 0x14], eax
call fcn.004015c5
add eax, 0x10
mov dword [edi], eax
mov edi, ebx
call fcn.0040b11c
cmp eax, esi
jne 0x4072bd
push 0x30
push str.XSTUB
push str.Error_at_ReadData
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
push esi
push 0x10
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
call fcn.004017a1
mov eax, esi
jmp 0x407229
cmp dword [ebx + 0x47c], esi
je 0x4072e6
cmp dword [ebx + 0x4d0], esi
je 0x4072e6
call fcn.004034dc
test eax, eax
jne 0x4072e6
mov ecx, ebx
call fcn.00407828
test eax, eax
je 0x4072e6
xor esi, esi
inc esi
jmp 0x4072ae
push 8
push dword [0x48320c]
mov dword [0x4816c0], 0x46d58c
mov dword [0x48169c], esi
mov dword [0x4816b8], esi
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [0x4816b0], eax
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
push ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [eax], esi
mov eax, esp
lea ecx, [ebp - 0x28]
mov dword [eax], ecx
mov eax, ebx
mov dword [ebp - 0x18], esp
call fcn.00407975
mov eax, dword [ebx + 0x4b0]
cmp dword [eax - 0xc], esi
je 0x40734a
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov esi, ebx
call fcn.0040ba06
call fcn.0040bbac
test eax, eax
jne 0x407368
xor esi, esi
push esi
push esi
push 0x10
push dword [ebx + 4]
jmp 0x4072a8
add ebx, 4
push ebx
call fcn.00407e2e
jmp 0x4072e1
Function at 0x407828
Capabilities:
Copy file
Create process on windows

Disassembly:
push 0x1c
mov eax, 0x465e9d
call fcn.00460eb0
mov ebx, ecx
lea esi, [ebp - 0x1c]
call fcn.00401fc3
and dword [ebp - 4], 0
mov eax, dword [0x4831ec]
mov esi, 0x4831ec
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
mov eax, dword [0x4831ec]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
and dword [ebp - 0x10], 0
mov byte [ebp - 4], 2
cmp dword [ebp - 0x10], 0
push str.xinsttemp.exe
je 0x40789b
push dword [ebp - 0x10]
mov eax, dword [ebx + 0x4a8]
push eax
lea eax, [ebp - 0x14]
push str._s_d_s
push eax
call fcn.00404441
add esp, 0x14
jmp 0x4078c7
lea eax, [ebp - 0x20]
lea ecx, [ebx + 0x4a8]
push eax
call fcn.004041b1
pop ecx
pop ecx
lea edi, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.0040144e
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.004017a1
lea esi, [ebp - 0x28]
call fcn.0040317f
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x24]
push ecx
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00404160
pop ecx
pop ecx
lea edi, [ebp - 0x18]
mov byte [ebp - 4], 5
call fcn.0040144e
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
call fcn.004017a1
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.004017a1
mov esi, dword [ebp - 0x18]
xor edi, edi
push edi
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x407954
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 0x2710
jl 0x407873
lea eax, [esi - 0x10]
call fcn.004017a1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, edi
call fcn.00460f4f
ret
mov ebx, dword [ebx + 0x4dc]
push 5
push edi
push ebx
push esi
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x40792e
xor edi, edi
inc edi
jmp 0x40792e
Function at 0x40a460
Capabilities:
Delete file
Move file

Disassembly:
push 0x10
mov eax, 0x465e1f
call fcn.00460eb0
and dword [ebp - 4], 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x40a493
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004017a1
xor eax, eax
inc eax
call fcn.00460f4f
ret 4
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push 0x46bab4
push eax
call fcn.00404808
push ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
mov edi, esp
mov dword [ebp - 0x18], esp
call fcn.00401f6f
push ecx
mov esi, esp
mov byte [ebp - 4], 2
mov dword [ebp - 0x1c], esp
call fcn.0040317f
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 0
call fcn.00401b33
add esp, 0x10
mov byte [ebp - 4], 3
push dword [ebp - 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileW]
push dword [ebp + 8]
call ebx
test eax, eax
je 0x40a508
xor esi, esi
inc esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, esi
jmp 0x40a48b
lea esi, [ebp - 0x14]
call fcn.00403110
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.0040144e
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004017a1
push dword [ebp - 0x10]
push dword [ebp + 8]
call ebx
mov esi, eax
jmp 0x40a4ee

Function at 0x40c61d
Capabilities:
Identify system language via api

Disassembly:
push 0xc
mov eax, 0x465c68
call fcn.00460eb0
mov esi, ecx
mov eax, dword [esi + 8]
xor ebx, ebx
cmp eax, ebx
je 0x40c742
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx edi, ax
mov eax, dword [0x4831ec]
mov ecx, 0x4831ec
mov dword [ebp - 0x14], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push ebx
push edi
mov dword [ebp - 4], ebx
call fcn.0040d6ad
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040c8d3
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], ebx
je 0x40c69c
push ecx
lea edi, [eax - 0x10]
mov eax, edi
mov dword [ebp - 0x18], esp
mov ebx, esp
call fcn.004015c5
add eax, 0x10
mov dword [ebx], eax
call fcn.0040c799
test eax, eax
je 0x40c69a
mov eax, edi
jmp 0x40c73d
xor ebx, ebx
push 1
push dword [ebp - 0x14]
call fcn.0040d6ad
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040c8d3
mov edi, dword [ebp - 0x10]
cmp dword [edi - 0xc], ebx
je 0x40c6dd
push ecx
add edi, 0xfffffff0
mov eax, edi
mov dword [ebp - 0x18], esp
mov ebx, esp
call fcn.004015c5
add eax, 0x10
mov dword [ebx], eax
call fcn.0040c799
test eax, eax
jne 0x40c693
mov edi, dword [ebp - 0x10]
xor ebx, ebx
push ecx
mov eax, esp
mov dword [ebp - 0x18], esp
cmp dword [esi + 0x14], ebx
je 0x40c6f5
push 0x46e800
push eax
call fcn.00404808
jmp 0x40c735
push 0x46e810
push eax
cmp dword [esi + 0x18], ebx
jne 0x40c6ee
call fcn.00404808
call fcn.0040c799
cmp eax, ebx
jne 0x40c73a
cmp dword [esi + 8], ebx
ja 0x40c71d
push 0x80070057
call fcn.0040176e
mov eax, dword [esi + 4]
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [ebp - 0x18], esp
mov ebx, esp
call fcn.004015c5
add eax, 0x10
mov dword [ebx], eax
call fcn.0040c799
lea eax, [edi - 0x10]
call fcn.004017a1
call fcn.00460f4f
ret
Function at 0x40cb54
Capabilities:
Delete file

Disassembly:
push 0x14
mov eax, 0x465c12
call fcn.00460eb0
mov esi, ecx
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00404808
and dword [ebp - 4], 0
push 0x5c
push 0x2f
lea eax, [ebp - 0x10]
call fcn.00403d9e
push ecx
mov eax, esp
mov dword [ebp - 0x14], esp
push 0x46bab4
push eax
call fcn.00404808
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov edi, esp
call fcn.004015c5
add eax, 0x10
mov dword [edi], eax
mov byte [ebp - 4], 2
mov eax, dword [esi + 0x24]
push ecx
sub eax, 0x10
mov dword [ebp - 0x20], esp
mov edi, esp
call fcn.004015c5
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 0
call fcn.00401b33
add esp, 0x10
lea ebx, [esi + 0x28]
mov byte [ebp - 4], 3
mov edi, ebx
mov dword [ebp - 0x14], ebx
call fcn.0040144e
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004017a1
push dword [ebx]
push dword [ebp - 0x10]
push dword [0x4846b4]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x40cc47
push eax
push ebx
call fcn.004015a7
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
jne 0x40cc32
xor ebx, ebx
inc ebx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004017a1
mov eax, ebx
call fcn.00460f4f
ret 8
push ecx
mov eax, esp
mov dword [ebp - 0x20], esp
push ebx
push eax
call fcn.00419411
pop ecx
pop ecx
call fcn.00401a64
pop ecx
mov edi, dword [ebp + 0xc]
mov eax, ebx
call fcn.0040144e
mov eax, dword [ebx]
push ecx
sub eax, 0x10
mov dword [ebp + 0xc], esp
mov edi, esp
call fcn.004015c5
add eax, 0x10
mov dword [edi], eax
lea eax, [ebp + 8]
push eax
call fcn.0040d3e6
jmp 0x40cc74
mov ebx, dword [ebp - 0x14]
mov ebx, dword [ebx]
call fcn.00434fa3
test eax, eax
jne 0x40ccf9
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
push ebx
push eax
push dword [0x4846b0]
push dword [esi + 0x20]
call edi
cmp eax, 2
je 0x40cccc
cmp eax, 3
je 0x40cccc
cmp eax, 4
je 0x40cc71
cmp eax, 5
jne 0x40ccf9
push ebx
inc ebx
push ebx
push dword [0x4846ac]
push dword [esi + 0x20]
call edi
mov esi, dword [ebp - 0x14]
call fcn.004014d1
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jmp 0x40cce0
push ebx
push 2
push dword [0x4846ac]
push dword [esi + 0x20]
call edi
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], ebx
je 0x40ccec
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004017a1
jmp 0x40cc1d
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
je 0x40cd0c
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004017a1
jmp 0x40cc1a