joyce8/EMBER2024-capa huggingface dataset:
Function at 0x61beba
Capabilities:
Encode data using xor

Disassembly:
add dword [esp], 0x83
push dword [esp]
sub dword [esp], 0x80
push dword [esp]
xchg dword [esp], esi
mov esi, dword [esi]
sub esp, 0x14
mov dword [esp + 0x10], 0x8f707752
mov dword [esp + 0xc], 0x20055
mov dword [esp + 8], ecx
mov ecx, 0x61be88
mov dword [esp + 4], ebp
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov ebp, dword [esp + 0x10]
mov ebp, dword [ebp]
xor ecx, ebp
add dword [esp + 0x10], 4
dec word [esp + 0xc]
jne 0x61bef9
cmp ecx, 0x2f8c
je 0x61bf17
int3
mov ebp, dword [esp + 4]
add esi, ecx
mov ecx, dword [esp + 8]
add esp, 0x14
xchg dword [esp], esi
mov dword [esp + 4], 0xc60004c2
jmp 0x61bf2b
ret 4

Function at 0x6310a0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.006382fb
add esp, 4
mov dword [ebp - 0x1c], eax
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax - 1]
mov dword [ebp - 0x14], edx
cmp dword [ebp - 4], 0
jne 0x6310e1
xor eax, eax
jmp 0x631197
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00637050
add esp, 0xc
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x14]
jae 0x63116a
mov edx, dword [ebp - 0x10]
push edx
call fcn.00636ac0
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x63111a
jmp 0x63116a
mov eax, dword [ebp - 0x18]
sub eax, 1
test eax, eax
jle 0x63113c
mov ecx, dword [ebp - 0x18]
sub ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0x10]
add edx, 1
push edx
call fcn.00637390
add esp, 0xc
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax]
cmp ecx, 0xcc
je 0x631159
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
cmp eax, 0x90
jne 0x63115f
mov ecx, dword [ebp - 0x10]
mov byte [ecx], 0
mov edx, dword [ebp - 0x10]
add edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
jmp 0x6310fb
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 4]
push ecx
call fcn.005f9560
add esp, 0xc
mov dword [ebp - 8], eax
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.006382f0
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x632c00
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6430cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x528
mov eax, dword [0x7332dc]
mov dword [ebp - 0x14], eax
cmp dword [0x7332d4], 0
jne 0x632c36
xor eax, eax
jmp 0x632d53
mov ecx, dword [0x7332d8]
shr ecx, 3
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
sub edx, 1
cmp dword [ebp - 0x14], edx
jl 0x632c75
mov eax, dword [ebp - 0x24]
mov ecx, dword [0x7332d4]
mov dword [ecx + eax*8 - 4], 0xfffffffd
mov edx, dword [ebp - 0x24]
mov eax, dword [0x7332d4]
mov dword [eax + edx*8 - 8], 0xfffffffd
xor eax, eax
jmp 0x632d53
mov ecx, dword [ebp - 0x14]
mov edx, dword [0x7332d4]
mov eax, dword [ebp + 0xc]
mov dword [edx + ecx*8], eax
mov dword [ebp - 0x28], 0x70f350
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.006332d0
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x632cab
xor eax, eax
jmp 0x632d53
mov eax, dword [0x7332dc]
add eax, 1
mov dword [0x7332dc], eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0x70f360
lea edx, [ebp - 0x52c]
push edx
call fcn.005e5120
add esp, 0xc
mov dword [ebp - 0x530], eax
mov eax, dword [ebp - 0x530]
mov dword [ebp - 0x534], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x534]
call fcn.005e5160
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x52c]
call fcn.005e5170
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], 0
push 2
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x10]
push eax
call fcn.00633240
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
je 0x632d50
push 2
call fcn.00633230
add esp, 4
xor eax, eax
jmp 0x632d53
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x63ea88
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x7124a0
cmp edx, dword [eax]
je 0x63eaaa
add eax, 8
inc ecx
cmp eax, 0x712530
jl 0x63ea9b
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x7124a0]
jne 0x63ebd8
mov eax, dword [0x733394]
cmp eax, 1
je 0x63ebb2
test eax, eax
jne 0x63eadb
cmp dword [0x710034], 1
je 0x63ebb2
cmp edx, 0xfc
je 0x63ebd8
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
test eax, eax
jne 0x63eb12
lea eax, [ebp - 0x1a4]
push 0x7145a0
push eax
call fcn.006373f0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00637540
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x63eb55
lea eax, [ebp - 0x1a4]
push eax
call fcn.00637540
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x71459c
push edi
call fcn.00637d90
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x714580
push eax
call fcn.006373f0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00637400
lea eax, [ebp - 0xa0]
push 0x71457c
push eax
call fcn.00637400
push dword [esi + 0x7124a4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00637400
push 0x12010
lea eax, [ebp - 0xa0]
push 0x714554
push eax
call fcn.00640e3f
add esp, 0x2c
pop edi
jmp 0x63ebd8
lea eax, [ebp + 8]
lea esi, [esi + 0x7124a4]
push 0
push eax
push dword [esi]
call fcn.00637540
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]
pop esi
leave
ret
Function at 0x403a25
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
mov eax, 0x41d48c
call fcn.0041ca80
push ecx
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 0x10], esi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], 8
mov dword [esi], 0x420268
mov dword [ebp - 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], 1
mov dword [esi + 0x14], 0x42032c
push 4
mov ebx, 0x420278
pop eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x3c]
push eax
mov byte [ebp - 4], 2
call fcn.00401c2e
mov dword [esi + 0x3c], 0x4203bc
push 4
mov dword [esi + 0x54], edi
pop eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x50], ebx
lea edi, [esi + 0x64]
push eax
mov ecx, edi
mov byte [ebp - 4], al
call fcn.00401c2e
mov dword [edi], 0x4203c4
lea edi, [esi + 0x78]
mov byte [ebp - 4], 5
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.004021af
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 6
call fcn.004030e5
lea edi, [esi + 0xa0]
mov byte [ebp - 4], 7
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.004021af
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 8
call fcn.004030e5
lea edi, [esi + 0xc8]
mov byte [ebp - 4], 9
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.004021af
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xa
call fcn.004030e5
mov byte [ebp - 4], 0xb
lea edi, [esi + 0xf0]
mov ecx, edi
mov dword [ebp - 0x14], edi
call fcn.004021af
lea ecx, [edi + 0x14]
mov byte [ebp - 4], 0xc
call fcn.004030e5
lea ecx, [esi + 0x118]
mov byte [ebp - 4], 0xd
call fcn.004030e5
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x406ade
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x41d8cb
call fcn.0041ca80
push ecx
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [ebp - 4], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp + 8]
push 8
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x10]
pop edi
mov edx, 0x420268
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edi
mov dword [ecx], edx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x24], edx
lea ebx, [esi + 0x38]
mov edx, 0x420290
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 4
mov dword [ebx], edx
lea edi, [esi + 0x4c]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 4
mov dword [edi], edx
push dword [esi + 8]
mov byte [ebp - 4], 5
call fcn.004131b9
push dword [esi + 8]
mov ecx, ebx
call fcn.004131b9
push dword [esi + 0xc]
mov ecx, edi
call fcn.004131b9
push dword [esi + 0xc]
mov ecx, edi
call fcn.004131b9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x406aea
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x41d8cb
call fcn.0041ca80
push ecx
push ebx
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [ebp - 4], eax
mov dword [esi + 4], eax
mov ecx, dword [ebp + 8]
push 8
mov dword [esi + 8], ecx
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xc], ecx
lea ecx, [esi + 0x10]
pop edi
mov edx, 0x420268
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], edi
mov dword [ecx], edx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x24], edx
lea ebx, [esi + 0x38]
mov edx, 0x420290
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], 4
mov dword [ebx], edx
lea edi, [esi + 0x4c]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 4
mov dword [edi], edx
push dword [esi + 8]
mov byte [ebp - 4], 5
call fcn.004131b9
push dword [esi + 8]
mov ecx, ebx
call fcn.004131b9
push dword [esi + 0xc]
mov ecx, edi
call fcn.004131b9
push dword [esi + 0xc]
mov ecx, edi
call fcn.004131b9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8
Function at 0x40bc64
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get number of processors

Disassembly:
mov eax, 0x41de92
call fcn.0041ca80
push ecx
push ebx
push esi
push edi
mov esi, ecx
push 3
xor ebx, ebx
or eax, 0xffffffff
lea ecx, [esi + 0x38]
pop edi
mov dword [esi + 8], eax
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], ebx
mov dword [esi + 0x28], eax
mov dword [esi + 0x30], eax
mov byte [esi], bl
mov byte [esi + 1], bl
mov byte [esi + 2], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], ebx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x34], eax
push edi
mov dword [ebp - 0x10], esi
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.004027b3
lea ecx, [esi + 0x44]
push edi
mov dword [ebp - 4], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.004027b3
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], 4
mov dword [esi + 0x50], 0x4206b0
lea ecx, [esi + 0x64]
push edi
mov byte [ebp - 4], 2
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.004027b3
lea ecx, [esi + 0x70]
push edi
mov byte [ebp - 4], 3
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.004027b3
lea ecx, [esi + 0x7c]
push edi
mov byte [ebp - 4], 4
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.004027b3
lea ecx, [esi + 0x88]
push edi
mov byte [ebp - 4], 5
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
call fcn.004027b3
lea eax, [esi + 0x94]
push eax
call fcn.0041bdb0
mov eax, esi
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x40e93a
Capabilities:
Delete file
Move file

Disassembly:
mov eax, 0x41e24c
call fcn.0041ca80
sub esp, 0x30
and dword [ebp - 0x18], 0
and dword [ebp - 0x14], 0
push esi
mov esi, ecx
cmp byte [esi + 0xc], 0
je 0x40ea1a
push edi
lea edi, [esi + 8]
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.00411ebc
mov ecx, edi
call fcn.00411e9c
push eax
call fcn.0040e83d
mov dword [ebp - 0x10], eax
lea edi, [esi + 0x10]
push str..360ziptmp
lea eax, [ebp - 0x30]
push edi
push eax
call fcn.0040e3b8
mov eax, dword [ebp - 0x18]
and dword [ebp - 4], 0
or eax, dword [ebp - 0x14]
jne 0x40e98f
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x40ea0e
push edi
lea ecx, [ebp - 0x24]
call fcn.004069df
mov esi, dword [esi + 0x1c]
mov byte [ebp - 4], 1
cmp esi, 3
jne 0x40e9af
lea eax, [ebp - 0x24]
push eax
call fcn.0040e549
jmp 0x40e9eb
cmp esi, 4
jne 0x40e9e3
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x3c]
push eax
call fcn.004069df
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 2
push eax
call fcn.0040e549
push dword [ebp - 0x3c]
push dword [ebp - 0x24]
call fcn.00411316
push dword [ebp - 0x3c]
call fcn.00413310
pop ecx
jmp 0x40e9eb
push dword [ebp - 0x24]
call fcn.0041160d
push dword [edi]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
push dword [edi]
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push dword [ebp - 0x30]
call esi
push dword [ebp - 0x24]
call fcn.00413310
pop ecx
push dword [ebp - 0x30]
call fcn.00413310
pop ecx
pop edi
jmp 0x40ea2b
lea ecx, [esi + 8]
call fcn.00411e9c
push eax
call fcn.0040e83d
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x4111f5
Capabilities:
Set file attributes

Disassembly:
push dword [esp + 8]
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
setne al
ret 8

Function at 0x411233
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x428ce0], 0
jne 0x41126a
push ebx
lea eax, [ebp - 0xc]
push dword [ebp + 8]
push eax
call fcn.0041127f
push dword [ebp + 0xc]
mov eax, dword [eax]
push eax
call fcn.004111f5
push dword [ebp - 0xc]
mov bl, al
call fcn.00413310
pop ecx
mov al, bl
pop ebx
jmp 0x41127b
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
leave
ret 8

Function at 0x4112d1
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x428ce0], 0
jne 0x411304
push ebx
lea eax, [ebp - 0xc]
push dword [ebp + 8]
push eax
call fcn.0041127f
push dword [eax]
call fcn.0041120b
push dword [ebp - 0xc]
mov bl, al
call fcn.00413310
pop ecx
mov al, bl
pop ebx
jmp 0x411312
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne al
leave
ret 4
Function at 0x411316
Capabilities:
Move file

Disassembly:
mov eax, 0x41e510
call fcn.0041ca80
sub esp, 0x18
cmp byte [0x428ce0], 0
jne 0x41136f
push ebx
push esi
push dword [ebp + 0xc]
lea eax, [ebp - 0x24]
push eax
call fcn.0041127f
mov esi, dword [eax]
push dword [ebp + 8]
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
push eax
call fcn.0041127f
mov eax, dword [eax]
push esi
push eax
call fcn.0041121d
push dword [ebp - 0x18]
mov bl, al
call fcn.00413310
push dword [ebp - 0x24]
call fcn.00413310
pop ecx
mov al, bl
pop ecx
pop esi
pop ebx
jmp 0x411380
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 8

Function at 0x4113a2
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x428ce0], 0
jne 0x4113d5
push ebx
lea eax, [ebp - 0xc]
push dword [ebp + 8]
push eax
call fcn.0041127f
push dword [eax]
call fcn.0041138e
push dword [ebp - 0xc]
mov bl, al
call fcn.00413310
pop ecx
mov al, bl
pop ebx
jmp 0x4113e5
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne al
leave
ret 4

Function at 0x41160d
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x428ce0], 0
jne 0x411640
push ebx
lea eax, [ebp - 0xc]
push dword [ebp + 8]
push eax
call fcn.0041127f
push dword [eax]
call fcn.004115ec
push dword [ebp - 0xc]
mov bl, al
call fcn.00413310
pop ecx
mov al, bl
pop ebx
jmp 0x41165c
push 0
push dword [ebp + 8]
call fcn.00411233
test al, al
je 0x41165c
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
leave
ret 4

Function at 0x4118f4
Capabilities:
Get common file path

Disassembly:
mov eax, 0x41e5a4
call fcn.0041ca80
sub esp, 0x18
push ebx
xor ebx, ebx
cmp byte [0x428ce0], bl
je 0x41195c
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x105
cmp dword [esi + 8], edi
jg 0x411923
push edi
mov ecx, esi
call fcn.004027b3
push dword [esi]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ecx, dword [esi]
xor edx, edx
cmp word [ecx], bx
je 0x41193f
mov edi, ecx
inc edx
inc edi
inc edi
cmp word [edi], bx
jne 0x411937
mov word [ecx + edx*2], bx
mov dword [esi + 4], edx
pop edi
cmp eax, ebx
pop esi
jbe 0x411958
cmp eax, 0x104
ja 0x411958
push 1
pop eax
jmp 0x4119af
xor eax, eax
jmp 0x4119af
push 3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
call fcn.0040e31f
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
call fcn.004118b2
test al, al
je 0x4119a4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00411170
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 1
call fcn.0040b6af
push dword [ebp - 0x24]
call fcn.00413310
pop ecx
mov bl, 1
push dword [ebp - 0x18]
call fcn.00413310
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x411ebc
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x411ee2
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x411ee2
xor al, al
jmp 0x411f02
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.0041cbd0
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4

Function at 0x412aba
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
mov ebx, ecx
push edi
mov eax, dword [esi]
and dword [esi + 4], 0
and byte [eax], 0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov edi, eax
test edi, edi
jne 0x412ae7
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
inc eax
jmp 0x412b1e
cmp edi, dword [esi + 8]
jl 0x412af4
push edi
mov ecx, esi
call fcn.0040e31f
mov eax, dword [esi]
inc edi
push edi
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, esi
mov edi, eax
call fcn.004119f4
test edi, edi
jne 0x412b1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
neg eax
jmp 0x412b1e
mov al, 1
pop edi
pop esi
pop ebx
ret 4

Function at 0x412b24
Capabilities:
Get graphical window text

Disassembly:
mov eax, 0x41e750
call fcn.0041ca80
sub esp, 0x18
cmp byte [0x428ce0], 0
push ebx
push esi
push edi
mov ebx, ecx
je 0x412ba5
mov esi, dword [ebp + 8]
mov eax, dword [esi]
and dword [esi + 4], 0
and word [eax], 0
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
test edi, edi
je 0x412b94
cmp edi, dword [esi + 8]
jl 0x412b67
push edi
mov ecx, esi
call fcn.004027b3
mov eax, dword [esi]
inc edi
push edi
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi]
xor ebx, ebx
xor edx, edx
cmp word [ecx], bx
je 0x412b89
mov edi, ecx
inc edx
inc edi
inc edi
cmp word [edi], bx
jne 0x412b81
mov word [ecx + edx*2], bx
cmp eax, ebx
mov dword [esi + 4], edx
jne 0x412ba1
call dword [sym.imp.KERNEL32.dll_GetLastError]
neg eax
sbb eax, eax
inc eax
jmp 0x412bf8
mov al, 1
jmp 0x412bf8
xor esi, esi
push 3
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call fcn.0040e31f
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
mov dword [ebp - 4], esi
call fcn.00412aba
mov bl, al
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040df1e
mov ecx, dword [ebp + 8]
push eax
mov byte [ebp - 4], 1
call fcn.0040b6af
push dword [ebp - 0x24]
call fcn.00413310
push dword [ebp - 0x18]
call fcn.00413310
pop ecx
mov al, bl
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4151eb
Capabilities:
Delete file

Disassembly:
mov eax, 0x41eb68
call fcn.0041ca80
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp byte [esi + 0xc], bl
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
je 0x415245
push edi
lea edi, [esi + 0x10]
push dword [ebp + 8]
mov ecx, edi
call fcn.0040e03f
push str..360ziptmp
lea eax, [ebp - 0x18]
push edi
push eax
call fcn.0040e3b8
push dword [ebp - 0x18]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp + 0xc]
lea ecx, [esi + 8]
push dword [ebp - 0x18]
call fcn.00412020
push dword [ebp - 0x18]
mov bl, al
mov byte [esi + 0x20], bl
call fcn.00413310
pop ecx
mov al, bl
pop edi
jmp 0x415253
push dword [ebp + 0xc]
lea ecx, [esi + 8]
push dword [ebp + 8]
call fcn.00412020
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x41932a
Capabilities:
Encode data using xor

Disassembly:
mov eax, ecx
mov ecx, edx
mov edx, dword [esp + 4]
test edx, edx
jbe 0x419357
push esi
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x428d00]
xor eax, esi
inc ecx
dec edx
jne 0x419338
pop edi
pop esi
ret 4

Function at 0x4194e4
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
shr ebx, 2
mov eax, ebx
push esi
mov esi, dword [ebp + 8]
and dword [ebp + 8], 0
shr eax, 1
add eax, 3
push edi
mov dword [esi], eax
add esi, 4
lea eax, [eax*8 + 4]
mov dword [ebp + 0x10], ebx
test ebx, ebx
mov dword [ebp - 8], eax
jbe 0x419530
mov edx, dword [ebp + 0xc]
mov ecx, esi
mov dword [ebp - 4], ebx
mov dword [ebp + 8], ebx
mov edi, dword [edx]
add edx, 4
mov dword [ecx], edi
add ecx, 4
dec dword [ebp - 4]
jne 0x419521
mov ecx, dword [ebp + 8]
cmp ecx, eax
jae 0x41960e
mov edi, ecx
mov eax, ebx
shl edi, 2
shl eax, 2
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
xor edx, edx
div ebx
mov ecx, dword [edi + esi - 4]
mov dword [ebp + 0xc], ecx
test edx, edx
jne 0x4195a9
mov eax, ecx
xor ebx, ebx
and eax, 0xff
mov bh, byte [eax + str.cw]
mov eax, ecx
shr eax, 0x18
mov bl, byte [eax + str.cw]
xor eax, eax
mov al, byte [ebp + 0xe]
shl ebx, 8
movzx eax, byte [eax + str.cw]
or ebx, eax
xor eax, eax
mov al, ch
shl ebx, 8
movzx ecx, byte [eax + str.cw]
mov eax, dword [ebp + 8]
div dword [ebp + 0x10]
movzx eax, byte [eax + 0x4268ec]
xor ecx, eax
or ecx, ebx
mov ebx, dword [ebp + 0x10]
jmp 0x4195ef
cmp ebx, 6
jbe 0x4195ef
cmp edx, 4
jne 0x4195ef
xor eax, eax
xor edx, edx
mov al, byte [ebp + 0xe]
mov dl, byte [eax + str.cw]
mov eax, ecx
shr eax, 0x18
mov dh, byte [eax + str.cw]
xor eax, eax
mov al, ch
and ecx, 0xff
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
movzx eax, byte [ecx + str.cw]
shl edx, 8
or edx, eax
mov ecx, edx
mov eax, edi
sub eax, dword [ebp - 4]
mov eax, dword [eax + esi]
xor eax, ecx
inc dword [ebp + 8]
mov dword [edi + esi], eax
mov eax, dword [ebp + 8]
add edi, 4
cmp eax, dword [ebp - 8]
jb 0x419548
pop edi
pop esi
pop ebx
leave
ret 0xc