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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503dc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
call fcn.0046a560
mov dword [ebp - 0x14], 1
xor ecx, ecx
mov dword [ebp - 0x10], 0x100fee9
lea eax, [ecx - 0x65]
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 2
jb 0x40bab4
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x10]
push ebx
lea eax, [ebp + 8]
mov byte [ebp - 0xd], 0
cmovae eax, dword [ebp + 8]
push ecx
push eax
call fcn.004e3680
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40bb4a
push edi
push 2
push 0
push ebx
call fcn.004e7456
push ebx
call fcn.004e320b
push 0
push 0
push ebx
mov edi, eax
call fcn.004e7456
mov ecx, dword [esi]
add esp, 0x1c
mov edx, dword [ecx + 0x10]
lea eax, [ecx + 0x10]
cmp edi, edx
ja 0x40bb20
cmp dword [ecx + 0x14], 0x10
jb 0x40bb18
mov ecx, dword [ecx]
mov dword [eax], edi
mov byte [ecx + edi], 0
jmp 0x40bb2c
mov eax, edi
push 0
sub eax, edx
push eax
call fcn.00468e40
mov eax, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x40bb36
mov eax, dword [eax]
push ebx
push edi
push 1
push eax
call fcn.004ebeff
push ebx
call fcn.004e6f08
add esp, 0x14
pop edi
mov ecx, dword [ebp + 0x1c]
pop ebx
cmp ecx, 0x10
jb 0x40bb7b
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bb71
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bb8c
push ecx
push edx
call fcn.004dd831
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.004e2ad0
int3
Function at 0x40bba0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503dc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push edi
mov edi, ecx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 1
call fcn.0046a560
mov dword [ebp - 0x14], 1
xor ecx, ecx
mov dword [ebp - 0x10], 0x100fee9
lea eax, [ecx - 0x65]
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 2
jb 0x40bbe4
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x10]
push ebx
lea eax, [ebp + 8]
mov byte [ebp - 0xd], 0
cmovae eax, dword [ebp + 8]
push ecx
push eax
call fcn.004e3680
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40bc84
push esi
push 2
push 0
push ebx
call fcn.004e7456
push ebx
call fcn.004e320b
push 0
push 0
push ebx
mov esi, eax
call fcn.004e7456
mov ecx, dword [edi]
mov eax, 0x1e8c52
mov edx, dword [ecx + 0x10]
add esp, 0x1c
cmp esi, eax
cmova esi, eax
lea eax, [ecx + 0x10]
cmp esi, edx
ja 0x40bc5a
cmp dword [ecx + 0x14], 0x10
jb 0x40bc52
mov ecx, dword [ecx]
mov dword [eax], esi
mov byte [ecx + esi], 0
jmp 0x40bc66
mov eax, esi
push 0
sub eax, edx
push eax
call fcn.00468e40
mov eax, dword [edi]
cmp dword [eax + 0x14], 0x10
jb 0x40bc70
mov eax, dword [eax]
push ebx
push esi
push 1
push eax
call fcn.004ebeff
push ebx
call fcn.004e6f08
add esp, 0x14
pop esi
mov ecx, dword [ebp + 0x1c]
pop ebx
cmp ecx, 0x10
jb 0x40bcb5
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bcab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bcc6
push ecx
push edx
call fcn.004dd831
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call fcn.004e2ad0
int3

Function at 0x40bcd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
mov dword [ebp - 4], 0x100fee9
xor ecx, ecx
lea eax, [ecx - 0x65]
xor byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 2
jb 0x40bce0
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 4]
push esi
lea eax, [ebp + 8]
mov byte [ebp - 1], 0
cmovae eax, dword [ebp + 8]
push ecx
push eax
call fcn.004e3680
mov esi, eax
add esp, 8
test esi, esi
je 0x40bd2b
push 2
push 0
push esi
call fcn.004e7456
push esi
call fcn.004e320b
push esi
mov edi, eax
call fcn.004e6f08
add esp, 0x14
mov ecx, dword [ebp + 0x1c]
pop esi
cmp ecx, 0x10
jb 0x40bd5c
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bd52
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bd63
push ecx
push edx
call fcn.004dd831
add esp, 8
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
call fcn.004e2ad0
int3
Function at 0x40bdb0
Capabilities:
Check os version
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov dword [ebp - 0x1a], 0xd9f1e8c9
xor ecx, ecx
mov dword [ebp - 0x16], 0xc7f7d4fa
mov dword [ebp - 0x12], 0xc9ccd7d1
mov word [ebp - 0xe], 0xc9
mov byte [ebp - 0xc], 1
nop word [eax + eax]
lea eax, [ecx - 0x65]
xor byte [ebp + ecx - 0x1a], al
inc ecx
cmp ecx, 0xd
jb 0x40bde0
mov byte [ebp - 0xc], 0
xor ecx, ecx
mov dword [ebp - 0xb], 0xf2f9e8d5
mov dword [ebp - 7], 0xcec58ef3
mov word [ebp - 3], 0xcf
mov byte [ebp - 1], 1
nop dword [eax + eax]
lea eax, [ecx - 0x65]
xor byte [ebp + ecx - 0xb], al
inc ecx
cmp ecx, 9
jb 0x40be10
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 0x40be45
lea ecx, [ebp - 0xb8]
push ecx
call eax
jmp 0x40be52
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0xb4]
cmp eax, 0xb
je 0x40be62
cmp eax, 0xa
jne 0x40be71
cmp dword [ebp - 0xb0], 0
je 0x40be8b
xor al, al
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x40be6b
mov eax, dword [ebp - 0xb0]
cmp eax, 3
je 0x40be8b
cmp eax, 2
sete al
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x40bf40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x100fee9
xor ecx, ecx
nop dword [eax]
lea eax, [ecx - 0x65]
xor byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 2
jb 0x40bf50
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 4]
push ebx
lea eax, [ebp + 8]
mov byte [ebp - 1], 0
cmovae eax, dword [ebp + 8]
push ecx
push eax
call fcn.004e3680
add esp, 8
test eax, eax
je 0x40bf8b
push eax
call fcn.004e6f08
add esp, 4
mov bl, 1
jmp 0x40bf8d
xor bl, bl
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x40bfbd
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bfb3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bfc4
push ecx
push edx
call fcn.004dd831
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004e2ad0
int3

Function at 0x40bfd0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0x537268
mov esi, ecx
call fcn.004dcb32
add esp, 4
test eax, eax
jne 0x40c03e
test esi, esi
je 0x40c027
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40bff2
sub ecx, edx
je 0x40c027
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40c023
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x40c023
cmp eax, 0x20
je 0x40c023
cmp eax, 0x45
je 0x40c023
cmp eax, 0x24
jne 0x40c027
mov bl, 1
jmp 0x40c029
xor bl, bl
push 0x537268
call fcn.004dcb43
add esp, 4
mov al, bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.004dc7db
int3
Function at 0x40c050
Capabilities:
Create directory

Disassembly:
push esi
push 0x537268
mov esi, ecx
call fcn.004dcb32
add esp, 4
test eax, eax
jne 0x40c07f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x537268
mov esi, eax
call fcn.004dcb43
add esp, 4
mov eax, esi
pop esi
ret
push eax
call fcn.004dc7db
int3
Function at 0x40c860
Capabilities:
Capture screenshot
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
push esi
push edi
push 0
lea eax, [esp + 0x34]
mov dword [esp + 0x2c], ecx
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x2c], 0x64
push eax
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
jne 0x40ca67
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
call esi
push 0
mov edi, eax
call esi
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [esp + 0x14], eax
test eax, eax
je 0x40ca5d
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0x10], eax
test eax, eax
je 0x40ca51
push edi
push esi
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x20], eax
test eax, eax
je 0x40ca47
push eax
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push dword [esp + 0x20]
push edi
push esi
push 0
push 0
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_BitBlt]
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
push 0
push dword [esp + 0x28]
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromHBITMAP]
lea eax, [esp + 0xc]
mov dword [esp + 8], 0
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0x10], 0
push eax
call dword [sym.imp.gdiplus.dll_GdipGetImageEncodersSize]
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40c9f1
push eax
call fcn.004ec24c
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
je 0x40c9f1
push edi
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.gdiplus.dll_GdipGetImageEncoders]
xor esi, esi
cmp dword [esp + 8], esi
jbe 0x40c9e8
add edi, 0x30
nop dword [eax]
mov eax, dword [edi]
mov ecx, str.image_png
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40c9cd
test dx, dx
je 0x40c9c9
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40c9cd
add eax, 4
add ecx, 4
test dx, dx
jne 0x40c9a7
xor eax, eax
jmp 0x40c9d2
sbb eax, eax
or eax, 1
test eax, eax
je 0x40ca6f
inc esi
add edi, 0x4c
cmp esi, dword [esp + 8]
jb 0x40c9a0
mov edi, dword [esp + 0x18]
push edi
call fcn.004ebaf6
add esp, 4
movups xmm0, xmmword [0x50eab8]
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x24]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x44]
mov dword [esp + 0x54], 1
push eax
push dword [esp + 0x30]
movups xmmword [esp + 0x60], xmm0
push esi
mov dword [esp + 0x78], 4
mov dword [esp + 0x74], 1
call dword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.gdiplus.dll_GdipDisposeImage]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [esp + 0x14]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push dword [esp + 0x2c]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x18]
imul eax, esi, 0x4c
push ecx
movups xmm0, xmmword [eax + ecx]
movups xmmword [esp + 0x44], xmm0
jmp 0x40c9e9
Function at 0x40da40
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xc], 0
je 0x40da62
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0xb
jb 0x40da50
mov byte [esi + 0xc], 0
mov eax, esi
pop esi
ret
Function at 0x40ee50
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x11], 0
je 0x40ee72
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0x10
jb 0x40ee60
mov byte [esi + 0x11], 0
mov eax, esi
pop esi
ret

Function at 0x40ee80
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x10], 0
je 0x40eea2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0xf
jb 0x40ee90
mov byte [esi + 0x10], 0
mov eax, esi
pop esi
ret

Function at 0x40eeb0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
je 0x40eed2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 8
jb 0x40eec0
mov byte [esi + 9], 0
mov eax, esi
pop esi
ret

Function at 0x40eee0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xb], 0
je 0x40ef02
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0xa
jb 0x40eef0
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
ret

Function at 0x40ef10
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xd], 0
je 0x40ef32
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0xc
jb 0x40ef20
mov byte [esi + 0xd], 0
mov eax, esi
pop esi
ret

Function at 0x40ef40
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x13], 0
je 0x40ef62
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0x12
jb 0x40ef50
mov byte [esi + 0x13], 0
mov eax, esi
pop esi
ret

Function at 0x40ef70
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x14], 0
je 0x40ef92
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0x13
jb 0x40ef80
mov byte [esi + 0x14], 0
mov eax, esi
pop esi
ret

Function at 0x40efa0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1c], 0
je 0x40efc2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0x1b
jb 0x40efb0
mov byte [esi + 0x1c], 0
mov eax, esi
pop esi
ret

Function at 0x40efd0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x18], 0
je 0x40eff2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0x17
jb 0x40efe0
mov byte [esi + 0x18], 0
mov eax, esi
pop esi
ret

Function at 0x40f000
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x15], 0
je 0x40f022
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0x14
jb 0x40f010
mov byte [esi + 0x15], 0
mov eax, esi
pop esi
ret
Function at 0x40f030
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x22], 0
je 0x40f052
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0x21
jb 0x40f040
mov byte [esi + 0x22], 0
mov eax, esi
pop esi
ret

Function at 0x40f060
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xf], 0
je 0x40f082
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0xe
jb 0x40f070
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
ret
Function at 0x410590
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 7], 0
je 0x4105b2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 6
jb 0x4105a0
mov byte [esi + 7], 0
mov eax, esi
pop esi
ret
Function at 0x4140a0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1d], 0
je 0x4140c2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0x1c
jb 0x4140b0
mov byte [esi + 0x1d], 0
mov eax, esi
pop esi
ret
Function at 0x414ce0
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
movzx ecx, bl
mov edx, 1
cmovne ecx, edx
pushfd
pop eax
mov dword [ebp - 4], eax
test dword [ebp - 4], 0x100
movzx eax, cl
cmovne eax, edx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x414d20
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.004df810
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.004df810
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], 0xf0f5f3d1
xor ecx, ecx
mov dword [ebp - 5], 0xc4cfdb
mov byte [ebp - 1], 1
nop dword [eax]
lea eax, [ecx - 0x65]
xor byte [ebp + ecx - 9], al
inc ecx
cmp ecx, 7
jb 0x414da0
lea eax, [ebp - 9]
mov byte [ebp - 1], 0
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.004dee80
add esp, 8
test eax, eax
jne 0x414e06
mov dword [ebp - 8], 0xa7d1ddd3
xor ecx, ecx
mov dword [ebp - 4], 0x100e8cb
lea eax, [ecx - 0x65]
xor byte [ebp + ecx - 8], al
inc ecx
cmp ecx, 6
jb 0x414dd8
lea eax, [ebp - 8]
mov byte [ebp - 1], 0
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004dee80
add esp, 8
test eax, eax
jne 0x414e06
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 0x414e60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov eax, 1
lea edi, [ebp - 0x10]
xor ecx, ecx
xorps xmm0, xmm0
push ebx
cpuid
mov esi, ebx
movups xmmword [ebp - 0x10], xmm0
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], 0xf0eff9f0
mov dword [ebp - 0xa], 0x9092ccfa
xor eax, eax
mov dword [ebp - 6], 0xcac9c08d
mov word [ebp - 2], 0x100
lea ecx, [eax - 0x65]
xor byte [ebp + eax - 0xe], cl
inc eax
cmp eax, 0xc
jb 0x414eb1
lea eax, [ebp - 0xe]
mov byte [ebp - 1], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
movzx ecx, bl
mov eax, 1
pop edi
cmove ecx, eax
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x415120
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x29], 0
je 0x415142
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0x28
jb 0x415130
mov byte [esi + 0x29], 0
mov eax, esi
pop esi
ret

Function at 0x415150
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 0x415172
push 0x15
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x415174
mov bl, 1
mov dword [ebp - 5], 0xc1a6d8
xor ecx, ecx
mov byte [ebp - 1], 1
lea eax, [ecx - 0x65]
xor byte [ebp + ecx - 5], al
inc ecx
cmp ecx, 3
jb 0x415181
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 0x4152f0
mov dword [ebp - 9], 0xe6f2decd
xor ecx, ecx
mov dword [ebp - 5], 0xd7d2db
mov byte [ebp - 1], 1
nop dword [eax]
lea eax, [ecx - 0x65]
xor byte [ebp + ecx - 9], al
inc ecx
cmp ecx, 7
jb 0x4151e0
mov byte [ebp - 1], 0
lea ecx, [ebp - 9]
lea eax, [ebp - 0x120]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x415220
test dl, dl
je 0x41521c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x415220
add eax, 2
add ecx, 2
test dl, dl
jne 0x415200
xor eax, eax
jmp 0x415225
sbb eax, eax
or eax, 1
test eax, eax
je 0x4152e9
mov dword [ebp - 8], 0xe6f2decd
xor ecx, ecx
mov dword [ebp - 4], 0x100e6cc
nop dword [eax]
lea eax, [ecx - 0x65]
xor byte [ebp + ecx - 8], al
inc ecx
cmp ecx, 6
jb 0x415240
mov byte [ebp - 1], 0
lea ecx, [ebp - 8]
lea eax, [ebp - 0x120]
nop word [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x415280
test dl, dl
je 0x41527c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x415280
add eax, 2
add ecx, 2
test dl, dl
jne 0x415260
xor eax, eax
jmp 0x415285
sbb eax, eax
or eax, 1
test eax, eax
je 0x4152e9
mov dword [ebp - 0xb], 0xe6f2decd
xor ecx, ecx
mov dword [ebp - 7], 0xd1c4d5d8
mov word [ebp - 3], 0xd7
mov byte [ebp - 1], 1
lea eax, [ecx - 0x65]
xor byte [ebp + ecx - 0xb], al
inc ecx
cmp ecx, 9
jb 0x4152a3
mov byte [ebp - 1], 0
lea ecx, [ebp - 0xb]
lea eax, [ebp - 0x120]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4152e0
test dl, dl
je 0x4152dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4152e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4152c0
xor eax, eax
jmp 0x4152e5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4152f0
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4160f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2b], 0
je 0x416112
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0x2a
jb 0x416100
mov byte [esi + 0x2b], 0
mov eax, esi
pop esi
ret

Function at 0x416120
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1a], 0
je 0x416142
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x65]
inc eax
xor byte [edx], cl
cmp eax, 0x19
jb 0x416130
mov byte [esi + 0x1a], 0
mov eax, esi
pop esi
ret

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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5048eb
push eax
mov dword fs:[0], esp
mov eax, dword [0x537644]
push ebx
sub esp, 0x20
push esi
mov esi, ecx
push edi
test al, 1
jne 0x416218
or eax, 1
mov dword [0x537644], eax
xorps xmm0, xmm0
mov dword [0x53765c], 2
movups xmmword [0x53764c], xmm0
mov eax, 0x2f5c
mov dword [0x537660], 0xf
push 0x50c0a0
mov word [0x53764c], ax
mov byte [0x53764e], 0
call fcn.004dd81c
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x416222
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4162ff
cmp dword [0x537660], 0x10
mov eax, 0x53764c
mov edi, dword [esi + 0x10]
mov ecx, esi
cmovae eax, dword [0x53764c]
cmp dword [esi + 0x14], 0x10
jb 0x416252
mov ecx, dword [esi]
push dword [0x53765c]
mov edx, edi
push eax
push ecx
call fcn.0046bb60
add esp, 0xc
cmp eax, 0xffffffff
je 0x4162d6
cmp edi, eax
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
cmovb eax, edi
mov ecx, esi
cmp dword [esi + 0x14], 0x10
movups xmmword [ebp - 0x2c], xmm0
jb 0x41628d
mov ecx, dword [esi]
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00402870
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.00416190
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x4162d6
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4162cc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416314
push ecx
push edx
call fcn.004dd831
add esp, 8
cmp dword [esi + 0x14], 0x10
jb 0x4162de
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
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.004e2ad0
int3