joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a090
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505785
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 0x18], ebx
push edi
mov dword [ebp - 0x14], 0
push 0x24
mov dword [ebp - 4], 1
call fcn.004df290
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
lea esi, [edi + 0xc]
xor eax, eax
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov ecx, esi
mov dword [edi], vtable.std::_Ref_count_obj2_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push eax
mov dword [esi + 0xc], eax
push 0x5222e8
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.00402ae0
mov byte [ebp - 4], 1
mov dword [ebx + 4], 0
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov dword [ebp - 0x14], 3
xor ecx, ecx
mov dword [ebp - 0x10], 0x1009786
jmp 0x40a130
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 2
jb 0x40a130
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
mov byte [ebp - 0xd], 0
jb 0x40a14d
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.004e5362
mov esi, eax
add esp, 8
test esi, esi
je 0x40a1c4
push 2
push 0
push esi
call fcn.004e9136
push esi
call fcn.004e4eeb
push 0
push 0
push esi
mov edi, eax
call fcn.004e9136
mov ecx, dword [ebx]
add esp, 0x1c
mov edx, dword [ecx + 0x10]
lea eax, [ecx + 0x10]
cmp edi, edx
ja 0x40a19b
cmp dword [ecx + 0x14], 0x10
jb 0x40a193
mov ecx, dword [ecx]
mov dword [eax], edi
mov byte [ecx + edi], 0
jmp 0x40a1a7
mov eax, edi
push 0
sub eax, edx
push eax
call fcn.0046cf60
mov eax, dword [ebx]
cmp dword [eax + 0x14], 0x10
jb 0x40a1b1
mov eax, dword [eax]
push esi
push edi
push 1
push eax
call fcn.004edbdf
push esi
call fcn.004e8be8
add esp, 0x14
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x40a1f4
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a1ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a207
push ecx
push edx
call fcn.004df511
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.004e47b0
int3
Function at 0x40a210
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x505785
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 0x18], ebx
push edi
mov dword [ebp - 0x14], 0
push 0x24
mov dword [ebp - 4], 1
call fcn.004df290
mov edi, eax
add esp, 4
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
lea esi, [edi + 0xc]
xor eax, eax
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov ecx, esi
mov dword [edi], vtable.std::_Ref_count_obj2_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___.0
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
push eax
mov dword [esi + 0xc], eax
push 0x5222e8
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
call fcn.00402ae0
mov byte [ebp - 4], 1
mov dword [ebx + 4], 0
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov dword [ebp - 0x14], 3
xor ecx, ecx
mov dword [ebp - 0x10], 0x1009786
jmp 0x40a2b0
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 2
jb 0x40a2b0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
mov byte [ebp - 0xd], 0
jb 0x40a2cd
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.004e5362
mov edi, eax
add esp, 8
test edi, edi
je 0x40a351
push 2
push 0
push edi
call fcn.004e9136
push edi
call fcn.004e4eeb
push 0
push 0
push edi
mov esi, eax
call fcn.004e9136
add esp, 0x1c
cmp esi, 0x1e8c53
jbe 0x40a30c
mov esi, 0x1e8c53
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x10]
lea eax, [ecx + 0x10]
cmp esi, edx
ja 0x40a328
cmp dword [ecx + 0x14], 0x10
jb 0x40a320
mov ecx, dword [ecx]
mov dword [eax], esi
mov byte [ecx + esi], 0
jmp 0x40a334
mov eax, esi
push 0
sub eax, edx
push eax
call fcn.0046cf60
mov eax, dword [ebx]
cmp dword [eax + 0x14], 0x10
jb 0x40a33e
mov eax, dword [eax]
push edi
push esi
push 1
push eax
call fcn.004edbdf
push edi
call fcn.004e8be8
add esp, 0x14
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x40a381
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a377
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a394
push ecx
push edx
call fcn.004df511
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.004e47b0
int3
Function at 0x40a3a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
mov dword [ebp - 4], 0x1009786
xor ecx, ecx
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 2
jb 0x40a3b0
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
mov byte [ebp - 1], 0
jb 0x40a3cd
mov eax, dword [ebp + 8]
push esi
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.004e5362
mov esi, eax
add esp, 8
test esi, esi
je 0x40a3fc
push 2
push 0
push esi
call fcn.004e9136
push esi
call fcn.004e4eeb
push esi
mov edi, eax
call fcn.004e8be8
add esp, 0x14
mov ecx, dword [ebp + 0x1c]
pop esi
cmp ecx, 0x10
jb 0x40a42d
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a423
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a434
push ecx
push edx
call fcn.004df511
add esp, 8
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
call fcn.004e47b0
int3

Function at 0x40a480
Capabilities:
Check os version
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov dword [ebp - 0x1a], 0xb09a81a6
xor ecx, ecx
mov dword [ebp - 0x16], 0x9eac8d9d
mov dword [ebp - 0x12], 0x90978e8e
mov word [ebp - 0xe], 0x6e
mov byte [ebp - 0xc], 1
lea ebx, [ebx]
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 0x1a], al
inc ecx
cmp ecx, 0xd
jb 0x40a4b0
mov byte [ebp - 0xc], 0
xor ecx, ecx
mov dword [ebp - 0xb], 0x9b9281ba
mov dword [ebp - 7], 0x979ed794
mov word [ebp - 3], 0x90
mov byte [ebp - 1], 1
jmp 0x40a4e0
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 0xb], al
inc ecx
cmp ecx, 9
jb 0x40a4e0
lea eax, [ebp - 0xb]
mov byte [ebp - 1], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x1a]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40a515
lea ecx, [ebp - 0xb8]
push ecx
call eax
jmp 0x40a522
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0xb4]
cmp eax, 0xb
je 0x40a532
cmp eax, 0xa
jne 0x40a541
cmp dword [ebp - 0xb0], 0
je 0x40a55b
xor al, al
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x40a53b
mov eax, dword [ebp - 0xb0]
cmp eax, 3
je 0x40a55b
cmp eax, 2
sete al
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x40a600
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x1009786
xor ecx, ecx
lea ecx, [ecx]
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 2
jb 0x40a610
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
mov byte [ebp - 1], 0
jb 0x40a62d
mov eax, dword [ebp + 8]
push ebx
lea ecx, [ebp - 4]
push ecx
push eax
call fcn.004e5362
add esp, 8
test eax, eax
je 0x40a64c
push eax
call fcn.004e8be8
add esp, 4
mov bl, 1
jmp 0x40a64e
xor bl, bl
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x40a67e
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40a674
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40a685
push ecx
push edx
call fcn.004df511
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004e47b0
int3
Function at 0x40a690
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0x5374a0
mov esi, ecx
call fcn.004de812
add esp, 4
test eax, eax
jne 0x40a6fe
test esi, esi
je 0x40a6e7
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40a6b2
sub ecx, edx
je 0x40a6e7
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40a6e3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x40a6e3
cmp eax, 0x20
je 0x40a6e3
cmp eax, 0x45
je 0x40a6e3
cmp eax, 0x24
jne 0x40a6e7
mov bl, 1
jmp 0x40a6e9
xor bl, bl
push 0x5374a0
call fcn.004de823
add esp, 4
mov al, bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.004de4bb
int3

Function at 0x40a710
Capabilities:
Create directory

Disassembly:
push esi
push 0x5374a0
mov esi, ecx
call fcn.004de812
add esp, 4
test eax, eax
jne 0x40a73f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x5374a0
mov esi, eax
call fcn.004de823
add esp, 4
mov eax, esi
pop esi
ret
push eax
call fcn.004de4bb
int3
Function at 0x40c160
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xc], 0
je 0x40c182
xor eax, eax
jmp 0x40c170
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0xb
jb 0x40c170
mov byte [esi + 0xc], 0
mov eax, esi
pop esi
ret
Function at 0x40c400
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 7], 0
je 0x40c422
xor eax, eax
jmp 0x40c410
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 6
jb 0x40c410
mov byte [esi + 7], 0
mov eax, esi
pop esi
ret
Function at 0x40def0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x11], 0
je 0x40df12
xor eax, eax
jmp 0x40df00
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0x10
jb 0x40df00
mov byte [esi + 0x11], 0
mov eax, esi
pop esi
ret

Function at 0x40df20
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x10], 0
je 0x40df42
xor eax, eax
jmp 0x40df30
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0xf
jb 0x40df30
mov byte [esi + 0x10], 0
mov eax, esi
pop esi
ret

Function at 0x40df50
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
je 0x40df72
xor eax, eax
jmp 0x40df60
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 8
jb 0x40df60
mov byte [esi + 9], 0
mov eax, esi
pop esi
ret

Function at 0x40df80
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xb], 0
je 0x40dfa2
xor eax, eax
jmp 0x40df90
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0xa
jb 0x40df90
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
ret

Function at 0x40dfb0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xd], 0
je 0x40dfd2
xor eax, eax
jmp 0x40dfc0
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0xc
jb 0x40dfc0
mov byte [esi + 0xd], 0
mov eax, esi
pop esi
ret

Function at 0x40dfe0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x13], 0
je 0x40e002
xor eax, eax
jmp 0x40dff0
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0x12
jb 0x40dff0
mov byte [esi + 0x13], 0
mov eax, esi
pop esi
ret

Function at 0x40e010
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1c], 0
je 0x40e032
xor eax, eax
jmp 0x40e020
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0x1b
jb 0x40e020
mov byte [esi + 0x1c], 0
mov eax, esi
pop esi
ret

Function at 0x40e040
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x18], 0
je 0x40e062
xor eax, eax
jmp 0x40e050
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0x17
jb 0x40e050
mov byte [esi + 0x18], 0
mov eax, esi
pop esi
ret

Function at 0x40e070
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x15], 0
je 0x40e092
xor eax, eax
jmp 0x40e080
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0x14
jb 0x40e080
mov byte [esi + 0x15], 0
mov eax, esi
pop esi
ret

Function at 0x40e0a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x22], 0
je 0x40e0c2
xor eax, eax
jmp 0x40e0b0
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0x21
jb 0x40e0b0
mov byte [esi + 0x22], 0
mov eax, esi
pop esi
ret
Function at 0x40e0d0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xf], 0
je 0x40e0f2
xor eax, eax
jmp 0x40e0e0
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0xe
jb 0x40e0e0
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
ret

Function at 0x40e100
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x14], 0
je 0x40e122
xor eax, eax
jmp 0x40e110
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0x13
jb 0x40e110
mov byte [esi + 0x14], 0
mov eax, esi
pop esi
ret
Function at 0x413450
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1d], 0
je 0x413472
xor eax, eax
jmp 0x413460
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0x1c
jb 0x413460
mov byte [esi + 0x1d], 0
mov eax, esi
pop esi
ret
Function at 0x413910
Capabilities:
Copy file
Create restart manager session
Enumerate processes that use resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50622d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x334
push ebx
push esi
mov ebx, edx
push edi
mov dword [ebp - 0x20], ebx
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x413a44
mov ecx, edi
mov byte [ebp - 0x14], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x413950
sub ecx, edx
push ecx
push edi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x58]
call fcn.0047c0a0
add esp, 0xc
push 0x42
lea eax, [ebp - 0xa0]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004e14f0
add esp, 0xc
lea eax, [ebp - 0xa0]
push eax
push 0
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.RstrtMgr.DLL_RmStartSession]
mov esi, eax
test esi, esi
jne 0x413a25
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0046a130
cmp dword [ebp - 0x28], 8
lea eax, [ebp - 0x3c]
jb 0x4139b8
mov eax, dword [ebp - 0x3c]
push 0
push 0
push 0
push 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 1
push dword [ebp - 0x10]
call dword [sym.imp.RstrtMgr.DLL_RmRegisterResources]
mov esi, eax
test esi, esi
jne 0x413a1d
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x340]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.RstrtMgr.DLL_RmGetList]
mov esi, eax
test esi, esi
je 0x413a08
cmp esi, 0xea
jne 0x413a1d
cmp dword [ebp - 0x14], 0
jbe 0x413a1d
push 0
push 1
push dword [ebp - 0x10]
call dword [sym.imp.RstrtMgr.DLL_RmShutdown]
mov esi, eax
lea ecx, [ebp - 0x3c]
call fcn.0046ca90
push dword [ebp - 0x10]
call dword [sym.imp.RstrtMgr.DLL_RmEndSession]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea ecx, [ebp - 0x58]
mov dword [ebp - 4], 0xffffffff
call fcn.0046ca90
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
push ebx
push edi
call esi
test eax, eax
setne bl
test eax, eax
jne 0x413a89
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
jne 0x413a89
mov ecx, edi
call fcn.004091a0
push 0
push dword [ebp - 0x20]
push edi
call esi
test eax, eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov al, bl
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414280
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword fs:[0x30]
push ebx
mov al, byte [eax + 2]
test al, al
setne bl
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41429f
mov bl, 1
pushfd
pop eax
mov dword [ebp - 4], eax
test dword [ebp - 4], 0x100
mov al, 1
jne 0x4142b1
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4142c0
Capabilities:
Encode data using xor
Get hostname
Get session user name
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push 0x100
lea eax, [ebp - 0x118]
mov dword [ebp - 0x10], 0x100
push 0
push eax
mov dword [ebp - 0x14], 0x100
call fcn.004e14f0
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push 0x100
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004e14f0
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
mov dword [ebp - 9], 0x999e9abe
xor ecx, ecx
mov dword [ebp - 5], 0x9f96bc
mov byte [ebp - 1], 1
lea esp, [esp]
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 9], al
inc ecx
cmp ecx, 7
jb 0x414340
lea eax, [ebp - 9]
mov byte [ebp - 1], 0
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.004e0b60
add esp, 8
test eax, eax
jne 0x4143a6
mov dword [ebp - 8], 0xcebab4bc
xor ecx, ecx
mov dword [ebp - 4], 0x100b1ac
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 8], al
inc ecx
cmp ecx, 6
jb 0x414378
lea eax, [ebp - 8]
mov byte [ebp - 1], 0
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004e0b60
add esp, 8
test eax, eax
jne 0x4143a6
xor al, al
mov esp, ebp
pop ebp
ret
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x414400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor eax, eax
xor ecx, ecx
push esi
push edi
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov eax, 1
push ebx
cpuid
mov esi, ebx
pop ebx
mov dword [edi], eax
mov dword [edi + 4], esi
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov ebx, dword [ebp - 8]
shr ebx, 0x1f
and bl, 1
mov dword [ebp - 0xe], 0x9984909f
mov dword [ebp - 0xa], 0xc9c9959d
xor eax, eax
mov dword [ebp - 6], 0x939299d2
mov word [ebp - 2], 0x100
lea ecx, [eax - 0xc]
xor byte [ebp + eax - 0xe], cl
inc eax
cmp eax, 0xc
jb 0x414458
lea eax, [ebp - 0xe]
mov byte [ebp - 1], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
mov al, 1
je 0x41447b
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414700
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x29], 0
je 0x414722
xor eax, eax
jmp 0x414710
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0x28
jb 0x414710
mov byte [esi + 0x29], 0
mov eax, esi
pop esi
ret

Function at 0x414730
Capabilities:
Encode data using xor
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
xor bl, bl
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x414752
push 0x15
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x414754
mov bl, 1
mov dword [ebp - 5], 0xaacfb7
xor ecx, ecx
mov byte [ebp - 1], 1
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 5], al
inc ecx
cmp ecx, 3
jb 0x414761
push 0x105
lea eax, [ebp - 0x120]
mov byte [ebp - 1], 0
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x105
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 5]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x4148d0
mov dword [ebp - 9], 0x8f99b7a2
xor ecx, ecx
mov dword [ebp - 5], 0x8c8bbc
mov byte [ebp - 1], 1
lea esp, [esp]
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 9], al
inc ecx
cmp ecx, 7
jb 0x4147c0
mov byte [ebp - 1], 0
lea ecx, [ebp - 9]
lea eax, [ebp - 0x120]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x414800
test dl, dl
je 0x4147fc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x414800
add eax, 2
add ecx, 2
test dl, dl
jne 0x4147e0
xor eax, eax
jmp 0x414805
sbb eax, eax
or eax, 1
test eax, eax
je 0x4148c9
mov dword [ebp - 8], 0x8f99b7a2
xor ecx, ecx
mov dword [ebp - 4], 0x100bfab
lea ecx, [ecx]
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 8], al
inc ecx
cmp ecx, 6
jb 0x414820
mov byte [ebp - 1], 0
lea ecx, [ebp - 8]
lea eax, [ebp - 0x120]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x414860
test dl, dl
je 0x41485c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x414860
add eax, 2
add ecx, 2
test dl, dl
jne 0x414840
xor eax, eax
jmp 0x414865
sbb eax, eax
or eax, 1
test eax, eax
je 0x4148c9
mov dword [ebp - 0xb], 0x8f99b7a2
xor ecx, ecx
mov dword [ebp - 7], 0x889f8cbf
mov word [ebp - 3], 0x88
mov byte [ebp - 1], 1
lea eax, [ecx - 0xc]
xor byte [ebp + ecx - 0xb], al
inc ecx
cmp ecx, 9
jb 0x414883
mov byte [ebp - 1], 0
lea ecx, [ebp - 0xb]
lea eax, [ebp - 0x120]
lea ecx, [ecx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4148c0
test dl, dl
je 0x4148bc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4148c0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4148a0
xor eax, eax
jmp 0x4148c5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4148d0
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415970
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2b], 0
je 0x415992
xor eax, eax
jmp 0x415980
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0x2a
jb 0x415980
mov byte [esi + 0x2b], 0
mov eax, esi
pop esi
ret

Function at 0x4159a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1a], 0
je 0x4159c2
xor eax, eax
jmp 0x4159b0
lea edx, [eax + esi]
lea ecx, [eax - 0xc]
inc eax
xor byte [edx], cl
cmp eax, 0x19
jb 0x4159b0
mov byte [esi + 0x1a], 0
mov eax, esi
pop esi
ret

Function at 0x415a10
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x50633b
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x537884]
push esi
mov esi, ecx
push edi
test al, 1
jne 0x415a90
or eax, 1
mov dword [0x537884], eax
xor eax, eax
mov dword [0x53789c], 2
mov dword [0x53788c], eax
mov dword [0x537890], eax
mov dword [0x537894], eax
mov dword [0x537898], eax
mov eax, 0x2f5c
push 0x50dd60
mov dword [0x5378a0], 0xf
mov word [0x53788c], ax
mov byte [0x53788e], 0
call fcn.004df4fc
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x415a9a
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x415b74
cmp dword [0x5378a0], 0x10
mov eax, 0x53788c
jb 0x415abd
mov eax, dword [0x53788c]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
mov edi, dword [esi + 0x10]
jb 0x415aca
mov ecx, dword [esi]
push dword [0x53789c]
mov edx, edi
push eax
push ecx
call fcn.0046fe20
add esp, 0xc
cmp eax, 0xffffffff
je 0x415b4e
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
cmp edi, eax
jb 0x415afb
mov edi, eax
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x415b05
mov eax, dword [esi]
push edi
push eax
lea ecx, [ebp - 0x28]
call fcn.00402ae0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 1
call fcn.00415a10
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x415b4e
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x415b44
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415b86
push ecx
push edx
call fcn.004df511
add esp, 8
cmp dword [esi + 0x14], 0x10
jb 0x415b56
mov esi, dword [esi]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
call fcn.004e47b0
int3