joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47df58
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47e10a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x181], 0
je 0x47df8e
mov dword [ebp - 8], 0xffffffff
jmp 0x47e0ec
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x80]
cmp byte [eax + 0x10], 0
je 0x47dffc
mov byte [ebp - 9], 1
cmp word [ebx + 0xea], 0
je 0x47dfbe
lea ecx, [ebp - 9]
mov edx, ebx
mov eax, dword [ebx + 0xec]
call dword [ebx + 0xe8]
cmp byte [ebp - 9], 0
je 0x47dffc
mov eax, ebx
call fcn.0047b204
mov byte [ebp - 9], 1
cmp word [ebx + 0xe2], 0
je 0x47dfea
lea ecx, [ebp - 9]
mov edx, ebx
mov eax, dword [ebx + 0xe4]
call dword [ebx + 0xe0]
cmp byte [ebp - 9], 0
jne 0x47dffc
mov dword [ebp - 8], 0xffffffff
jmp 0x47e0ec
cmp byte [ebx + 0x39], 0
je 0x47e015
push dword [ebx + 0x164]
push dword [ebx + 0x160]
mov eax, ebx
call fcn.0047eb84
mov ecx, dword [ebx + 0x3c]
mov dl, 1
mov eax, dword [0x42a414]
call fcn.0042a4cc
mov esi, eax
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x47e124
mov edx, 0x47e138
mov eax, esi
mov edi, dword [eax]
call dword [edi]
cmp dword [ebp - 4], 0
je 0x47e05e
push 3
push 0
xor ecx, ecx
mov edx, 0x3ad
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 0x38]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0047e908
cmp dword [ebx + 0x144], 0
je 0x47e074
cmp byte [ebx + 0x56], 0
je 0x47e074
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x40]
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, 0x47e148
mov edx, 0x47e138
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 4]
mov eax, ebx
call fcn.00479d14
cmp dword [ebp - 4], 0
je 0x47e0d3
call fcn.00477c04
test al, al
je 0x47e0c3
push 1
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00405c60
push eax
push 0x47e154
push 0
call sub.shell32.dll_ShellExecuteA
jmp 0x47e0d3
push 1
mov eax, dword [ebp - 4]
call fcn.00405c60
push eax
call sub.kernel32.dll_WinExec
mov eax, esi
call fcn.004047f0
push 3
push 0
xor ecx, ecx
mov edx, 0x3b4
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e111
lea eax, [ebp - 0x10]
call fcn.004057d0
lea eax, [ebp - 4]
call fcn.004057d0
ret
Function at 0x4b3eb0
Capabilities:
Check os version

Disassembly:
add esp, 0xffffff6c
mov dword [esp], 0x94
push esp
call sub.kernel32.dll_GetVersionExA
cmp dword [esp + 0x10], 2
jne 0x4b3ed5
cmp dword [esp + 4], 5
jb 0x4b3ed5
mov al, 1
jmp 0x4b3ed7
xor eax, eax
add esp, 0x94
ret
Function at 0x4c5934
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
lea ecx, [eax + 0xc]
mov ecx, dword [ecx]
mov dword [edx + 0xc], ecx
lea ecx, [eax + 0x10]
mov ecx, dword [ecx]
mov dword [edx + 0x10], ecx
add eax, 0x14
mov eax, dword [eax]
mov dword [edx + 0x14], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0x14]
mov ebx, ecx
shl ebx, 0x18
shr ecx, 8
or ebx, ecx
mov ecx, ebx
movzx ebx, cl
mov ebx, dword [ebx*4 + str.cwko0]
mov dword [esp + 4], ebx
mov ebx, ecx
shr ebx, 8
movzx ebx, bl
mov esi, dword [ebx*4 + str.cwko0]
mov ebx, ecx
shr ebx, 0x10
movzx ebx, bl
mov ebx, dword [ebx*4 + str.cwko0]
mov dword [esp + 8], ebx
shr ecx, 0x18
movzx ecx, cl
mov ecx, dword [ecx*4 + str.cwko0]
mov ebx, esi
shl ebx, 8
shr esi, 0x18
or ebx, esi
xor ebx, dword [esp + 4]
mov esi, dword [esp + 8]
shl esi, 0x10
mov edi, dword [esp + 8]
shr edi, 0x10
or esi, edi
xor ebx, esi
mov esi, ecx
shl esi, 0x18
shr ecx, 8
or esi, ecx
xor ebx, esi
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x4de8ec]
mov dword [edx + eax*4 + 0x18], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x18]
mov dword [edx + eax*4 + 0x1c], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x20], ebx
mov ecx, dword [edx + eax*4 + 0xc]
xor ecx, ebx
mov dword [edx + eax*4 + 0x24], ecx
mov ebx, dword [edx + eax*4 + 0x10]
xor ebx, ecx
mov dword [edx + eax*4 + 0x28], ebx
mov ecx, dword [edx + eax*4 + 0x14]
xor ecx, ebx
mov dword [edx + eax*4 + 0x2c], ecx
add eax, 6
cmp eax, 0x2e
jl 0x4c596f
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x4c5a44
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
mov ecx, dword [eax]
mov dword [edx], ecx
lea ecx, [eax + 4]
mov ecx, dword [ecx]
mov dword [edx + 4], ecx
lea ecx, [eax + 8]
mov ecx, dword [ecx]
mov dword [edx + 8], ecx
lea ecx, [eax + 0xc]
mov ecx, dword [ecx]
mov dword [edx + 0xc], ecx
lea ecx, [eax + 0x10]
mov ecx, dword [ecx]
mov dword [edx + 0x10], ecx
lea ecx, [eax + 0x14]
mov ecx, dword [ecx]
mov dword [edx + 0x14], ecx
lea ecx, [eax + 0x18]
mov ecx, dword [ecx]
mov dword [edx + 0x18], ecx
add eax, 0x1c
mov eax, dword [eax]
mov dword [edx + 0x1c], eax
xor eax, eax
mov dword [esp], 1
mov ecx, dword [edx + eax*4 + 0x1c]
mov edi, ecx
shl edi, 0x18
shr ecx, 8
or edi, ecx
mov ecx, edi
movzx ecx, cl
mov ecx, dword [ecx*4 + str.cwko0]
mov dword [esp + 4], ecx
mov ecx, edi
shr ecx, 8
movzx ecx, cl
mov ecx, dword [ecx*4 + str.cwko0]
mov ebx, edi
shr ebx, 0x10
movzx ebx, bl
mov esi, dword [ebx*4 + str.cwko0]
mov ebx, edi
shr ebx, 0x18
movzx ebx, bl
mov ebx, dword [ebx*4 + str.cwko0]
mov dword [esp + 8], ebx
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
or ebx, ecx
xor ebx, dword [esp + 4]
mov ecx, esi
shl ecx, 0x10
shr esi, 0x10
or ecx, esi
xor ebx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x18
mov esi, dword [esp + 8]
shr esi, 8
or ecx, esi
xor ebx, ecx
xor ebx, dword [edx + eax*4]
mov ecx, dword [esp]
xor ebx, dword [ecx*4 + 0x4de8ec]
mov dword [edx + eax*4 + 0x20], ebx
inc dword [esp]
mov ecx, dword [edx + eax*4 + 4]
xor ecx, dword [edx + eax*4 + 0x20]
mov dword [edx + eax*4 + 0x24], ecx
mov ebx, dword [edx + eax*4 + 8]
xor ebx, ecx
mov dword [edx + eax*4 + 0x28], ebx
mov edi, dword [edx + eax*4 + 0xc]
xor edi, ebx
mov dword [edx + eax*4 + 0x2c], edi
movzx ecx, byte [edx + eax*4 + 0x2c]
mov ecx, dword [ecx*4 + str.cwko0]
mov dword [esp + 4], ecx
mov ecx, edi
shr ecx, 8
movzx ecx, cl
mov ecx, dword [ecx*4 + str.cwko0]
mov ebx, edi
shr ebx, 0x10
movzx ebx, bl
mov esi, dword [ebx*4 + str.cwko0]
mov ebx, edi
shr ebx, 0x18
movzx ebx, bl
mov ebx, dword [ebx*4 + str.cwko0]
mov dword [esp + 8], ebx
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
or ebx, ecx
xor ebx, dword [esp + 4]
mov ecx, esi
shl ecx, 0x10
shr esi, 0x10
or ecx, esi
xor ebx, ecx
mov ecx, dword [esp + 8]
shl ecx, 0x18
mov esi, dword [esp + 8]
shr esi, 8
or ecx, esi
xor ebx, ecx
xor ebx, dword [edx + eax*4 + 0x10]
mov dword [edx + eax*4 + 0x30], ebx
mov ecx, dword [edx + eax*4 + 0x14]
xor ecx, dword [edx + eax*4 + 0x30]
mov dword [edx + eax*4 + 0x34], ecx
mov ebx, dword [edx + eax*4 + 0x18]
xor ebx, ecx
mov dword [edx + eax*4 + 0x38], ebx
mov ecx, dword [edx + eax*4 + 0x1c]
xor ecx, ebx
mov dword [edx + eax*4 + 0x3c], ecx
add eax, 8
cmp eax, 0x34
jl 0x4c5a8f
add esp, 0xc
pop edi
pop esi
pop ebx
ret
Function at 0x4d0284
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d032a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x4d02d5
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x4d0338
push 0x4d033c
push 0x4d0350
push 0x4d0354
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4d0314
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d0331
lea eax, [ebp - 4]
call fcn.004057d0
ret

Function at 0x4d058c
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4d0782
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x4d0720
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, 0xfe
mov eax, 0xfe
call fcn.00401af8
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4d070f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 8]
push eax
push ebx
call sub.kernel32.dll_GetLogicalDriveStringsA
mov eax, edi
call fcn.004057d0
xor ebx, ebx
lea eax, [ebx + 1]
add eax, eax
add eax, eax
mov edx, dword [ebp - 8]
cmp byte [edx + eax], 0
je 0x4d06d8
lea eax, [ebp - 0xc]
mov esi, ebx
add esi, esi
add esi, esi
mov edx, dword [ebp - 8]
movzx edx, byte [edx + esi]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x10]
call fcn.00403ae0
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 8]
movzx edx, byte [edx + esi + 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x10]
mov cl, 2
call fcn.00403ab0
lea edx, [ebp - 0x10]
lea eax, [ebp - 0x18]
call fcn.00403ae0
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 8]
movzx edx, byte [edx + esi + 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x18]
mov cl, 3
call fcn.00403ab0
lea edx, [ebp - 0x18]
lea eax, [ebp - 4]
call fcn.00405a34
mov eax, dword [ebp - 4]
call fcn.00405c60
push eax
call sub.kernel32.dll_GetDriveTypeA
add eax, 0xfffffffd
sub eax, 2
jb 0x4d0696
sub eax, 1
jne 0x4d06ce
push dword [edi]
lea eax, [ebp - 0x1c]
mov edx, dword [ebp - 8]
movzx edx, byte [edx + esi]
call fcn.004059b8
push dword [ebp - 0x1c]
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 8]
movzx edx, byte [edx + esi + 1]
call fcn.004059b8
push dword [ebp - 0x20]
push 0x4d0798
mov eax, edi
mov edx, 4
call fcn.00405b64
inc ebx
cmp ebx, 0x1a
jne 0x4d05f4
mov eax, dword [edi]
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4d06e9
sub ebx, 4
mov ebx, dword [ebx]
push edi
mov ecx, ebx
dec ecx
mov eax, dword [edi]
mov edx, 1
call fcn.00405cc8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d0716
mov eax, dword [ebp - 8]
call fcn.00403008
ret
Function at 0x4d0a64
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x4d0bd7
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4b7d5c]
call fcn.004c4ddc
mov dword [ebp - 8], eax
mov dl, 1
mov eax, dword [0x41eb1c]
call fcn.004047c0
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4d0bb5
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x290]
mov eax, dword [ebp - 8]
call fcn.004c4f48
mov edx, 0x4d0bec
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 8]
call fcn.004aff50
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x30]
xor edx, edx
call fcn.004a56bc
lea edx, [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x60]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00422ebc
lea ecx, [ebp - 0x14]
mov edx, 5
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x14]
mov edx, 0x4d0c18
call fcn.00405bf8
jae 0x4d0b1c
mov byte [ebp - 1], 1
jmp 0x4d0b8f
lea ecx, [ebp - 0x18]
mov edx, 5
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x18]
mov edx, 0x4d0c24
call fcn.00405bf8
jne 0x4d0b41
mov byte [ebp - 1], 3
jmp 0x4d0b8f
lea ecx, [ebp - 0x1c]
mov edx, 5
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
mov edx, 0x4d0c38
call fcn.00405bf8
jne 0x4d0b66
mov byte [ebp - 1], 4
jmp 0x4d0b8f
lea ecx, [ebp - 0x20]
mov edx, 5
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x20]
mov edx, 0x4d0c4c
call fcn.00405bf8
jae 0x4d0b8b
mov byte [ebp - 1], 2
jmp 0x4d0b8f
mov byte [ebp - 1], 5
mov eax, dword [ebp - 8]
call fcn.004aff64
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d0bbc
mov eax, dword [ebp - 8]
call fcn.004047f0
mov eax, dword [ebp - 0xc]
call fcn.004047f0
ret
Function at 0x4d4a58
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405c50
mov eax, dword [ebp - 8]
call fcn.00405c50
xor eax, eax
push ebp
push 0x4d4ab4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00405c60
push eax
mov eax, dword [ebp - 4]
call fcn.00405c60
push eax
call sub.kernel32.dll_MoveFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d4abb
lea eax, [ebp - 8]
mov edx, 2
call fcn.004057f4
ret
Function at 0x4233da
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
push ebx
push esi
push edi
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll__lcreat]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x423400
jmp 0x423516
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0xffffffff
jne 0x423420
jmp 0x423516
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov al, byte [ebp - 4]
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x1c]
push eax
call fcn.004279a4
add esp, 4
mov dword [0x4330a0], 0
mov dword [ebp - 0x420], 0x646c6f47
mov dword [ebp - 0x41c], 0x6f736e65
mov byte [ebp - 0x418], 0x66
mov dword [ebp - 0x20], 0
jmp 0x42346d
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 9
jge 0x42348d
mov eax, dword [ebp - 0x20]
movsx eax, byte [eax + ebp - 0x420]
xor al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov byte [ecx + ebp - 0x420], al
jmp 0x42346a
mov al, byte [ebp - 0x1c]
mov byte [ebp - 0x417], al
push 0xa
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll__lwrite]
push 0x400
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll__lread]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4234f5
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00427547
add esp, 8
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll__lwrite]
jmp 0x4234a9
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll__lclose]
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll__lclose]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42377c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
nop
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x423855
mov dword [ebp - 0x14], 0
jmp 0x4237e0
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x1e
jge 0x423855
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
cmp dword [eax*4 + 0x4330a4], ecx
jne 0x423853
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx*4 + 0x4331b2]
cmp dword [eax*4 + 0x43313a], ecx
jb 0x423842
mov eax, dword [ebp - 0xc]
cmp dword [0x4330a0], eax
je 0x423830
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 0x43311c]
push eax
call fcn.004279a4
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [0x4330a0], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004274fb
add esp, 8
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
add dword [ecx*4 + 0x43313a], eax
jmp 0x423855
jmp 0x4237dd
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 0x10]
leave
ret 0x14

Function at 0x423866
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
jmp 0x4238ae
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x1e
jge 0x423903
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
cmp dword [eax*4 + 0x4330a4], ecx
jne 0x423901
mov eax, dword [ebp - 8]
cmp dword [0x4330a0], eax
je 0x4238e8
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 0x43311c]
push eax
call fcn.004279a4
add esp, 4
mov eax, dword [ebp - 8]
mov dword [0x4330a0], eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00427547
add esp, 8
mov dword [ebp - 0xc], 1
jmp 0x423903
jmp 0x4238ab
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0
je 0x423931
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004274fb
add esp, 8
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 0x10]
leave
ret 0x14
Function at 0x4275db
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 8], 0xffffffff
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 4], eax
push 0
push 0
push 0x1e
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0xc], 0
jmp 0x42761a
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 3
jge 0x4276f0
push 0
lea eax, [ebp - 0x14]
push eax
push 0xa
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
mov al, byte [ebp - 0x20]
cmp eax, 0x54
jne 0x4276eb
xor eax, eax
mov al, byte [ebp - 0x1f]
cmp eax, 0x44
je 0x42766a
xor eax, eax
mov al, byte [ebp - 0x1f]
cmp eax, 0x64
je 0x42766a
xor eax, eax
mov al, byte [ebp - 0x1f]
cmp eax, 0x53
jne 0x4276eb
mov al, byte [ebp - 0x17]
mov ecx, dword [ebp + 0x10]
mov byte [ecx], al
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
push eax
call fcn.004279a4
add esp, 4
xor eax, eax
mov al, byte [ebp - 0x1f]
cmp eax, 0x64
jne 0x4276bd
mov dword [0x4332ce], 1
mov dword [ebp - 0x10], 0
jmp 0x4276a0
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 7
jge 0x4276bb
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax + ebp - 0x1e]
xor cl, byte [ebp - 0x17]
mov eax, dword [ebp - 0x10]
mov byte [eax + ebp - 0x1e], cl
jmp 0x42769d
jmp 0x4276c7
mov dword [0x4332ce], 0
mov eax, dword [ebp - 0x1e]
xor eax, 0x19611225
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x1a]
xor eax, 0x198931
and eax, 0xffffff
mov ecx, dword [ebp + 0xc]
add eax, dword [ecx]
mov dword [ebp - 8], eax
jmp 0x4276f0
jmp 0x427617
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 8]
jmp 0x427707
pop edi
pop esi
pop ebx
leave
ret

Function at 0x427831
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 4], 0xffffffff
push 0
lea eax, [ebp - 0xc]
push eax
push 0xa
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 8], 0
jmp 0x427863
inc dword [ebp - 8]
cmp dword [ebp - 8], 9
jge 0x42787e
mov eax, dword [ebp - 8]
xor ecx, ecx
mov cl, byte [eax + ebp - 0x18]
xor cl, byte [ebp - 0xf]
mov eax, dword [ebp - 8]
mov byte [eax + ebp - 0x18], cl
jmp 0x427860
cmp dword [ebp - 0x18], 0x646c6f47
jne 0x4278c8
cmp dword [ebp - 0x14], 0x6f736e65
jne 0x4278c8
xor eax, eax
mov al, byte [ebp - 0x10]
cmp eax, 0x66
jne 0x4278c8
mov al, byte [ebp - 0xf]
mov ecx, dword [ebp + 0x10]
mov byte [ecx], al
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
push eax
call fcn.004279a4
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x4278bf
mov eax, dword [ebp + 0xc]
mov dword [eax], 0
mov dword [ebp - 4], 0xa
jmp 0x4278d8
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 4]
jmp 0x4278dd
pop edi
pop esi
pop ebx
leave
ret
Function at 0x427c2a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call fcn.004272fc
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.00427384
add esp, 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00427e5c
add esp, 8
cmp eax, 0xffffffff
je 0x427c8f
mov dword [ebp - 0x14], 1
jmp 0x427c96
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 2
jne 0x427cc6
cmp dword [ebp - 8], 0
je 0x427cc6
cmp dword [ebp - 0x14], 0
je 0x427cc6
push 0x433638
mov eax, dword [ebp - 4]
push eax
call fcn.00427cd7
add esp, 8
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 8]
leave
ret 4

Function at 0x427eaa
Capabilities:
Contain obfuscated stackstrings
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
push ebx
push esi
push edi
push 1
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 4], eax
push 2
push 0
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 8], eax
cmp dword [ebp - 4], 0
jne 0x427f7f
cmp dword [ebp - 8], 0
jne 0x427f7f
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov al, byte [ebp - 0xc]
mov ecx, dword [ebp + 0xc]
mov byte [ecx], al
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
push eax
call fcn.004279a4
add esp, 4
mov dword [ebp - 0x41c], 0x646c6f47
mov dword [ebp - 0x418], 0x6f736e65
mov byte [ebp - 0x414], 0x66
mov dword [ebp - 0x1c], 0
jmp 0x427f37
inc dword [ebp - 0x1c]
cmp dword [ebp - 0x1c], 9
jge 0x427f59
mov eax, dword [ebp - 0x1c]
movsx eax, byte [eax + ebp - 0x41c]
mov ecx, dword [ebp + 0xc]
xor al, byte [ecx]
mov ecx, dword [ebp - 0x1c]
mov byte [ecx + ebp - 0x41c], al
jmp 0x427f34
mov eax, dword [ebp + 0xc]
mov al, byte [eax]
mov byte [ebp - 0x413], al
push 0
lea eax, [ebp - 0x1c]
push eax
push 0xa
lea eax, [ebp - 0x41c]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x427f91
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
pop edi
pop esi
pop ebx
leave
ret