joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415e80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x41d450]
xor eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x41d6d0]
je 0x415ead
inc eax
cmp eax, 0x12
jb 0x415e9e
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x41d6d0]
jne 0x415fe1
mov eax, dword [0x4223ac]
cmp eax, 1
je 0x415fbc
cmp eax, edx
jne 0x415edd
cmp dword [0x41d414], 1
je 0x415fbc
cmp ecx, 0xfc
je 0x415fe1
push 0x104
lea eax, [ebp - 0x10c]
push eax
push edx
mov byte [ebp - 8], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x415f16
lea eax, [ebp - 0x10c]
push str._program_name_unknown_
push eax
call fcn.00415310
pop ecx
pop ecx
lea eax, [ebp - 0x10c]
push eax
lea edi, [ebp - 0x10c]
call fcn.004158c0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x415f58
lea eax, [ebp - 0x10c]
push eax
call fcn.004158c0
mov edi, eax
lea eax, [ebp - 0x10c]
sub eax, 0x3b
push 3
add edi, eax
push 0x41af30
push edi
call fcn.00412e30
add esp, 0x10
push edi
call fcn.004158c0
push dword [esi + 0x41d6d4]
mov ebx, eax
call fcn.004158c0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.004166e0
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00415310
push edi
push ebx
call fcn.00415320
push 0x41af10
push ebx
call fcn.00415320
push dword [esi + 0x41d6d4]
push ebx
call fcn.00415320
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00417f3f
add esp, 0x2c
jmp 0x415fe1
push edx
lea eax, [ebp + 8]
push eax
lea esi, [esi + 0x41d6d4]
push dword [esi]
call fcn.004158c0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.00415439
pop edi
pop esi
pop ebx
leave
ret
Function at 0x417608
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.004166e0
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x41769d
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x4223c4]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x41769d
cmp eax, 1
je 0x4176b5
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x41769d
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x417672
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x417699
xor eax, eax
inc eax
jmp 0x4176d1
cmp esi, ebx
jae 0x4176a1
xor eax, eax
jmp 0x4176d1
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x4223c4]
jmp 0x4176b7
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x417f3f
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x422590], ebx
push esi
push edi
jne 0x417fbf
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x417ffa
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41b194
push edi
call esi
test eax, eax
mov dword [0x422590], eax
je 0x417ffa
push 0x41b184
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x422594], eax
call esi
cmp dword [0x4223c4], 2
mov dword [0x422598], eax
jne 0x417fbf
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x4225a0], eax
je 0x417fbf
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x42259c], eax
mov eax, dword [0x42259c]
test eax, eax
je 0x418004
call eax
test eax, eax
je 0x417feb
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x4225a0]
test eax, eax
je 0x417feb
test byte [ebp - 8], 1
jne 0x418004
cmp dword [0x4223d0], 4
jb 0x417ffe
or byte [ebp + 0x12], 0x20
jmp 0x418023
xor eax, eax
jmp 0x418033
or byte [ebp + 0x12], 4
jmp 0x418023
mov eax, dword [0x422594]
test eax, eax
je 0x418023
call eax
mov ebx, eax
test ebx, ebx
je 0x418023
mov eax, dword [0x422598]
test eax, eax
je 0x418023
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x422590]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41822f
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.004166e0
mov eax, dword [0x41d450]
xor eax, dword [ebp + 4]
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
cmp ebx, dword [0x423a40]
mov dword [ebp - 4], eax
jae 0x41836f
mov eax, ebx
sar eax, 5
mov eax, dword [eax*4 + 0x423a60]
mov ecx, ebx
and ecx, 0x1f
test byte [eax + ecx*8 + 4], 1
je 0x41836f
push 1
push esi
push ebx
call fcn.004149de
add esp, 0xc
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x418379
push 2
push esi
push ebx
call fcn.004149de
add esp, 0xc
cmp eax, 0xffffffff
je 0x418379
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x41831c
push 0x1000
lea eax, [ebp - 0x1008]
push esi
push eax
call fcn.00417390
push 0x8000
push ebx
call fcn.00418ef2
add esp, 0x14
mov dword [ebp + 8], eax
mov eax, 0x1000
cmp edi, eax
jge 0x4182db
mov eax, edi
push eax
lea eax, [ebp - 0x1008]
push eax
push ebx
call fcn.00414170
add esp, 0xc
cmp eax, 0xffffffff
je 0x4182f9
sub edi, eax
test edi, edi
jg 0x4182d0
jmp 0x41830f
cmp dword [0x4223bc], 5
jne 0x41830c
mov dword [0x4223b8], 0xd
or esi, 0xffffffff
push dword [ebp + 8]
push ebx
call fcn.00418ef2
pop ecx
pop ecx
jmp 0x41835c
jge 0x41835c
push 0
push dword [ebp + 0xc]
push ebx
call fcn.004149de
push ebx
call fcn.00416dab
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, 0xffffffff
jne 0x41835c
mov dword [0x4223b8], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x4223bc], eax
push 0
push dword [ebp - 8]
push ebx
call fcn.004149de
add esp, 0xc
mov eax, esi
pop edi
jmp 0x41837c
mov dword [0x4223b8], 9
or eax, 0xffffffff
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
pop ebx
call fcn.00415439
leave
ret
Function at 0x401f6e
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb18
cmp dword [0x2d19608], 0x594
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x28], esi
mov ebx, dword [esi]
mov edi, dword [esi + 4]
mov dword [ebp - 0x10], ebx
jne 0x401fa4
push 0
lea eax, [ebp - 0xb18]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x4245b0]
lea ecx, [ebp - 4]
and dword [ebp - 4], 0
mov dword [ebp - 0x20], eax
mov eax, dword [0x4245b4]
mov dword [ebp - 0x18], 0x9e3779b9
mov dword [ebp - 0x30], eax
call fcn.00401f64
mov ecx, dword [0x4245b8]
mov eax, dword [0x4245bc]
add dword [ebp - 4], 0x23f
push 0x20
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x2c], eax
pop esi
mov dword [ebp - 0x14], 2
add dword [ebp - 0x14], 3
mov eax, ebx
mov edx, 0xedeb2e40
shl eax, 4
add eax, ecx
cmp dword [0x2d19608], 0xfa9
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [0x2d18c04]
cmove eax, edx
xor edx, edx
cmp dword [0x2d19608], 0x3eb
mov dword [0x2d18c04], eax
mov eax, dword [0x2d185f8]
cmove eax, edx
add ecx, ebx
mov dword [0x2d185f8], eax
mov eax, dword [ebp - 0x10]
shr eax, 5
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0xc]
xor ebx, ebx
mov eax, dword [ebp - 8]
xor edx, ecx
add eax, dword [ebp - 0x2c]
mov ecx, dword [0x2d19608]
xor eax, edx
mov dword [0x2d18c00], 0xf4ea3dee
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], eax
cmp ecx, 0x213
jne 0x4020c2
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
lea eax, [ebp - 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCompressedFileSizeA]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x318]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push dword [ebp - 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
lea eax, [ebp - 0x34]
push eax
push ebx
lea eax, [ebp - 0x4c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
mov eax, dword [ebp - 8]
mov ecx, dword [0x2d19608]
sub edi, eax
cmp ecx, 0xc
jne 0x4020d8
lea eax, [ebp - 0x38]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, edi
shl eax, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x14]
mov eax, edi
mov edx, dword [ebp - 4]
shr eax, cl
add edx, edi
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x30]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0x10]
xor eax, edx
mov edx, dword [ebp - 0xc]
xor edx, eax
mov dword [ebp - 0xc], edx
call fcn.00401f6b
mov eax, dword [ebp - 0x18]
sub dword [ebp - 4], eax
dec esi
je 0x402124
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
jmp 0x401fe2
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x10]
mov dword [esi + 4], edi
pop edi
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416538
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x423458]
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
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00408ae5
mov dword [ebp - 0x14], eax
cmp dword [0x43fd1c], esi
jne 0x41662b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4165b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41670b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x41670b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41670b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x43fd1c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x43fd20], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x43fd24], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43fd2c], eax
test eax, eax
je 0x416628
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x43fd28], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x416650
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x416643
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x416665
push 4
pop eax
jmp 0x41670d
cmp dword [ebp - 0x14], esi
je 0x416665
push dword [0x43fd1c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41664a
mov eax, dword [0x43fd28]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x4166c3
cmp dword [0x43fd2c], edi
je 0x4166c3
push eax
call ebx
push dword [0x43fd2c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4166c3
test eax, eax
je 0x4166c3
call ecx
test eax, eax
je 0x4166b8
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 0x4166b8
test byte [ebp - 8], 1
jne 0x4166c3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4166f3
mov eax, dword [0x43fd20]
cmp eax, edi
je 0x4166f0
push eax
call ebx
test eax, eax
je 0x4166f0
call eax
mov esi, eax
test esi, esi
je 0x4166f0
mov eax, dword [0x43fd24]
cmp eax, edi
je 0x4166f0
push eax
call ebx
test eax, eax
je 0x4166f0
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x43fd1c]
call ebx
test eax, eax
je 0x41670b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x41670d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406caa
mov esp, ebp
pop ebp
ret
Function at 0x43d09c
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
pushal
push ebp
mov ebp, esp
sub esp, 0x108

Function at 0x43d0a6
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
mov esi, 2
mov ebx, 0xb
or eax, dword [eax]
add byte [eax], al
mov dword [ebp - 8], 0xe
mov dword [ebp - 0x48], 0x611f
mov dword [ebp - 0x34], 0xbf05110d
or eax, 0xc7bf0511
inc ebp
in al, dx
xor eax, 0xb8000055
mov dword [eax], 0x65f70000
mov eax, 0x89844589
inc ebp
lock add dword [ebp - 0x14], 0x456e
dec dword [ebp - 0x34]
mov eax, ebx
add eax, dword [ebp - 8]
sub eax, 0x19
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], 0x1631
add dword [ebp - 0x10], 0x5b3
add dword [ebp - 0x14], 0x2ef5d
mov eax, dword [ebp - 0x38]
sub dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x2c]
mov ecx, ebx
sub ecx, 7
xor edx, edx
div ecx
mov dword [ebp - 0x80], eax
mov edi, eax
mov dword [ebp - 0x4c], edi
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
sub edx, 0xd
sub eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov al, byte [edx + eax]
mov byte [ebp - 9], al
movzx eax, byte [ebp - 9]
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x34]
and edx, 0xff
xor eax, edx
mov byte [ebp - 9], al
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov cl, byte [ebp - 9]
mov byte [edx + eax], cl
dec dword [ebp - 0x18]
mov eax, 0x21
cdq
idiv ebx
mov edi, eax
add edi, dword [ebp - 0x38]
cmp dword [ebp - 0x18], edi
ja 0x43d12f
mov dword [ebp - 0x50], 0x4b88cc
mov dword [ebp - 0x40], 0x544000
inc dword [ebp - 0x2c]
mov eax, esi
add eax, ebx
sub eax, 9
cmp dword [ebp - 0x2c], eax
jbe 0x43d10a
mov dword [ebp - 0x54], 0x4dfccc
mov eax, ebx
sub eax, 0xb
mov dword [ebp - 0x1c], eax
invalid
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x50]
mov al, byte [edx + eax]
mov byte [ebp - 9], al
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
sub edx, 0xd
sub eax, edx
mov edx, dword [ebp - 0x40]
mov cl, byte [ebp - 9]
mov byte [edx + eax], cl
cmp dword [ebp - 0x1c], 0x272ec
jb 0x43d1a1
mov dword [ebp - 0x58], 0x657000
mov eax, ebx
add eax, esi
sub eax, 0xd
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x54]
mov al, byte [edx + eax]
mov byte [ebp - 9], al
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov edx, esi
dec edx
sub eax, edx
mov edx, dword [ebp - 0x58]
mov cl, byte [ebp - 9]
mov byte [edx + eax], cl
cmp dword [ebp - 0x20], 0xd4c4
jb 0x43d1de
mov dword [ebp - 0x5c], 0x10000000
mov dword [ebp - 0x60], 0x4f0bc8
mov dword [ebp - 4], 0x4ed6cc
Function at 0x43d0c0
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
mov esi, 2
mov ebx, 0xb
or eax, dword [eax]
add byte [eax], al
mov dword [ebp - 8], 0xe
mov dword [ebp - 0x48], 0x611f
mov dword [ebp - 0x34], 0xbf05110d
or eax, 0xc7bf0511
inc ebp
in al, dx
xor eax, 0xb8000055
mov dword [eax], 0x65f70000
mov eax, 0x89844589
inc ebp
lock add dword [ebp - 0x14], 0x456e
dec dword [ebp - 0x34]
mov eax, ebx
add eax, dword [ebp - 8]
sub eax, 0x19
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x38], 0x1631
add dword [ebp - 0x10], 0x5b3
add dword [ebp - 0x14], 0x2ef5d
mov eax, dword [ebp - 0x38]
sub dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x2c]
mov ecx, ebx
sub ecx, 7
xor edx, edx
div ecx
mov dword [ebp - 0x80], eax
mov edi, eax
mov dword [ebp - 0x4c], edi
mov eax, dword [ebp - 0x38]
add eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
sub edx, 0xd
sub eax, edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov al, byte [edx + eax]
mov byte [ebp - 9], al
movzx eax, byte [ebp - 9]
mov edx, dword [ebp - 0x4c]
add edx, dword [ebp - 0x34]
and edx, 0xff
xor eax, edx
mov byte [ebp - 9], al
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov cl, byte [ebp - 9]
mov byte [edx + eax], cl
dec dword [ebp - 0x18]
mov eax, 0x21
cdq
idiv ebx
mov edi, eax
add edi, dword [ebp - 0x38]
cmp dword [ebp - 0x18], edi
ja 0x43d12f
mov dword [ebp - 0x50], 0x4b88cc
mov dword [ebp - 0x40], 0x544000
inc dword [ebp - 0x2c]
mov eax, esi
add eax, ebx
sub eax, 9
cmp dword [ebp - 0x2c], eax
jbe 0x43d10a
mov dword [ebp - 0x54], 0x4dfccc
mov eax, ebx
sub eax, 0xb
mov dword [ebp - 0x1c], eax
invalid
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x50]
mov al, byte [edx + eax]
mov byte [ebp - 9], al
inc dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 8]
sub edx, 0xd
sub eax, edx
mov edx, dword [ebp - 0x40]
mov cl, byte [ebp - 9]
mov byte [edx + eax], cl
cmp dword [ebp - 0x1c], 0x272ec
jb 0x43d1a1
mov dword [ebp - 0x58], 0x657000
mov eax, ebx
add eax, esi
sub eax, 0xd
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x54]
mov al, byte [edx + eax]
mov byte [ebp - 9], al
inc dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov edx, esi
dec edx
sub eax, edx
mov edx, dword [ebp - 0x58]
mov cl, byte [ebp - 9]
mov byte [edx + eax], cl
cmp dword [ebp - 0x20], 0xd4c4
jb 0x43d1de
mov dword [ebp - 0x5c], 0x10000000
mov dword [ebp - 0x60], 0x4f0bc8
mov dword [ebp - 4], 0x4ed6cc
Function at 0x43df9b
Capabilities:
Delete file

Disassembly:
push 0x68
mov eax, 0x477c6b
call fcn.0043cb52
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
call fcn.00403996
push 0x5c
xor ebx, ebx
push 0x2f
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], ebx
call fcn.00408939
movzx eax, word [0x4a39d4]
push eax
lea ecx, [ebp - 0x24]
call fcn.00409b3f
test eax, eax
je 0x43e013
lea ecx, [ebp - 0x24]
call fcn.0040830e
mov eax, dword [ebp - 0x20]
dec eax
push eax
push ebx
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x24]
call fcn.004091df
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00408ad4
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], bl
call fcn.00403632
lea ecx, [ebp - 0x4c]
call fcn.00403632
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00403996
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.004082be
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 3
call fcn.00409a41
lea ecx, [ebp - 0x3c]
call fcn.004082be
cmp dword [ebp - 0x38], ebx
jne 0x43e072
mov esi, 0x402
lea ecx, [ebp - 0x2c]
call fcn.00403632
lea ecx, [ebp - 0x34]
call fcn.00403632
lea ecx, [ebp - 0x14]
call fcn.00403632
lea ecx, [ebp - 0x1c]
call fcn.00403632
mov eax, esi
call fcn.0043cc2a
ret
push 0x1e
lea eax, [ebp - 0x74]
push ebx
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], 3
call fcn.004082be
mov dword [ebp - 0x6c], eax
mov eax, 0x414
mov word [ebp - 0x64], ax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
mov esi, eax
jmp 0x43e04a
Function at 0x461eae
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
je 0x461ebd
pop ebp
jmp fcn.0043d0a6
pop ebp
ret

Function at 0x463740
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x20]
mov eax, dword [eax + 0x14]
sub esp, 8
push ebp
mov ebp, dword [esp + 0x10]
lea ecx, [esp + 4]
push ecx
push edx
call eax
add esp, 8
test eax, eax
jne 0x463862
mov ecx, dword [esp + 4]
push ebx
push edi
push ecx
call fcn.00461eee
mov edi, eax
add esp, 4
test edi, edi
jne 0x463781
lea ebx, [eax + 0x10]
jmp 0x463844
mov eax, dword [esi + 0x30]
cmp eax, dword [esp + 0xc]
jbe 0x4637f6
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x20]
mov edx, dword [edx + 8]
push ebp
push eax
mov eax, dword [esi + 0x2c]
push eax
push ecx
call edx
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x463844
mov eax, dword [esi + 0x10]
mov edx, dword [esi + 0x20]
mov eax, dword [eax + 0xc]
push ebp
push 0x40
lea ecx, [esp + 0x18]
push ecx
push edi
push edx
call eax
mov ebx, eax
add esp, 0x14
test ebx, ebx
jne 0x463844
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x2c]
push ecx
push edi
push edx
call fcn.00461eae
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x2c]
sub ecx, eax
push ecx
add edx, eax
push ebx
push edx
call fcn.00461e9d
mov eax, dword [esp + 0x28]
add esp, 0x18
mov dword [esi + 0x30], eax
mov ecx, dword [esp + 0xc]
push ecx
push 0x36
push edi
call fcn.00461e9d
xor eax, eax
add esp, 0xc
cmp dword [esi + 0x30], eax
jbe 0x463821
lea ecx, [ecx]
mov edx, dword [esi + 0x2c]
mov cl, byte [eax + edx]
xor byte [eax + edi], cl
add eax, 1
cmp eax, dword [esi + 0x30]
jb 0x463810
mov eax, dword [esp + 0xc]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0x20]
mov edx, dword [edx + 8]
push ebp
push eax
push edi
push ecx
call edx
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x463844
mov dword [esi + 0x34], 1
test edi, edi
je 0x46385e
mov eax, dword [esp + 0xc]
push eax
push 0
push edi
call fcn.00461e9d
push edi
call fcn.00461ef8
add esp, 0x10
pop edi
mov eax, ebx
pop ebx
pop ebp
add esp, 8
ret