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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x401c66
pop dword [ebp - 0x14]
mov eax, 0x71b3f613
add eax, 0x8e8c2653
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x64f09b1e
add dword [ebp - 0x24], 0xe961aa2d
mov dword [ebp - 0x20], 0x94302eb9
sub dword [ebp - 0x20], 0x61fce274
mov dword [ebp - 0x1c], 0xc29374a
sub dword [ebp - 0x1c], 0xbfdcf31c
mov dword [ebp - 0x18], 0xc63cf815
add dword [ebp - 0x18], 0x39c307eb
lea eax, [ebp - 0x24]
push eax
mov eax, 0x143014b9
sub eax, 0x13efe465
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x34742be4
sub dword [ebp - 0x24], 0xc001c28e
mov dword [ebp - 0x20], 0xacb40520
add dword [ebp - 0x20], 0x94b85c55
mov dword [ebp - 0x1c], 0x69bd4cfb
add dword [ebp - 0x1c], 0xf9b21f71
mov dword [ebp - 0x18], 0x3ae91c03
sub dword [ebp - 0x18], 0x3ae91c03
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0xf0390036
add eax, 0x10072ff6
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x35f9e
push 0
call eax
mov ecx, 0x9e1c61e
add ecx, 0xf61e7fdd
xor edi, edi
add edi, eax
mov edx, 0xef5276f7
add edx, 0x10edf909
add edx, dword [ebp - 0x14]
mov esi, 0x1f4c5aa7
add esi, 0x46a6d7ea
xor dword [ebp - 4], ecx
mov ebx, dword [edx]
mov dword [ebp - 4], 0xfdef24de
xor ebx, esi
mov dword [ebp - 0x10], 0xdc90bc27
mov dword [edi], ebx
sub dword [ebp - 0xc], eax
add edi, 4
add edx, 4
loop 0x401d8a
add eax, 0x10abf
xor ebx, ebx
add ebx, eax
add eax, 0xe0af4eff
sub eax, 0xe0af4efa
mov ecx, 0x400000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x405257
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
xchg esp, eax
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
movsb byte es:[edi], byte [esi]
and al, dh
inc ebp
movsd dword es:[edi], dword [esi]
xor eax, 0x41a645c6

Function at 0x405299
Capabilities:
Contain obfuscated stackstrings

Disassembly:
movsb byte es:[edi], byte [esi]
and al, dh
inc ebp
movsd dword es:[edi], dword [esi]
xor eax, 0x41a645c6
call fcn.00404eac
push eax
push esi
push dword [ebp + 8]
call fcn.00404e61
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
dec edi
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.00404eac
push eax
push esi
push dword [ebp + 8]
call fcn.00404e61
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.00404e9c
sti
invalid
invalid
sti
faddp st(0)
test al, 0x88
popfd
jl 0x405321
invalid
invalid
Function at 0x405b31
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00404e61
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.00404e9c
and bh, byte [ecx]
fidiv dword [eax]
push 0x104
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x405b90
cmp dword [ebp - 0x398], 0
je 0x405d5a
cmp dword [ebp + 0xc], 1
je 0x405d5a
cmp dword [ebp + 0xc], 8
jne 0x405d22
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
stc
invalid
inc dword [eax]
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
mov byte [ebp - 0x6b1], 0x10
mov byte [ebp - 0x6b0], 1
mov byte [ebp - 0x6af], 0x34
mov byte [ebp - 0x6ae], 0x16
mov byte [ebp - 0x6ad], 0xb
mov byte [ebp - 0x6ac], 7
mov byte [ebp - 0x6ab], 1
test dword [ebp - 7], edx
invalid
inc dword [ecx]
mov byte [ebp - 0x6aa], 0x17
mov byte [ebp - 0x6a9], 0x17
mov byte [ebp - 0x6a8], 0x29
mov byte [ebp - 0x6a7], 1
mov byte [ebp - 0x6a6], 9
mov byte [ebp - 0x6a5], 0xb
mov byte [ebp - 0x6a4], 0x16
mov byte [ebp - 0x6a3], 0x1d
pop ebp
stc
invalid
call [0xf95e85c6]
invalid
jmp dword [ebp + ecx*4 - 0x7b]
dec eax
stc
invalid
call dword [eax - 0x18]
invalid
invalid
invalid
call [ecx + 0x50]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00404e61
add esp, 0xc
mov dword [ebp - 0x690], eax
invalid
invalid

Function at 0x405dba
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec dword [eax]
mov al, byte [0x2ff845c6]
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0

Function at 0x405de1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x368], 0x12
invalid
invalid
cdq
cld
invalid

Function at 0x405dfd
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
invalid
cmp al, 0xc6
test dword [ebx + 0x27fffffc], esp
cld
invalid
add al, 1
add byte [eax], al
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.00404e9c
jae 0x405e5b
retf 0x807e
invalid
Function at 0x406728
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, 0xfffff8
mov byte [ebp - 0x740], 0xb1
mov byte [ebp - 0x73f], 0x92
mov byte [ebp - 0x73e], 0x9c
mov byte [ebp - 0x73d], 0x99
mov byte [ebp - 0x73c], 0xb1
mov byte [ebp - 0x73b], 0x94
mov byte [ebp - 0x73a], 0x9f
mov byte [ebp - 0x739], 0x8f
mov byte [ebp - 0x738], 0x9c
mov byte [ebp - 0x737], 0x8f
mov byte [ebp - 0x736], 0x84
mov byte [ebp - 0x735], 0xbc
mov byte [ebp - 0x734], 0xfd
lea eax, [ebp - 0x744]
push eax
call fcn.00404eac
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00404e61
add esp, 0xc
mov dword [ebp - 0x704], eax
and byte [ebp - 0x6f4], 0
and byte [ebp - 0x6f3], 0
mov byte [ebp - 0x6f2], 0x43
and byte [ebp - 0x6f1], 0
mov byte [ebp - 0x6f0], 0xeb
mov byte [ebp - 0x6ef], 0xce
mov byte [ebp - 0x6ee], 0xd5
mov byte [ebp - 0x6ed], 0xc8
mov byte [ebp - 0x6ec], 0xd9
invalid
invalid
invalid

Function at 0x407630
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x4160d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
cmp eax, 1
jne 0x407731
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x407675
xor eax, eax
jmp 0x4077cc
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x88]
and eax, 0x7fff
cmp ecx, 2
je 0x407690
or eax, 0x8000
mov edx, dword [ebp - 0x90]
mov dword [0x417260], ecx
mov ecx, dword [ebp - 0x94]
mov esi, ecx
shl esi, 8
add esi, edx
push 1
mov dword [0x417268], esi
mov dword [0x41726c], ecx
mov dword [0x417270], edx
mov dword [0x417264], eax
call fcn.0040ab3f
pop ecx
test eax, eax
je 0x40766e
call fcn.0040a17a
test eax, eax
jne 0x4076dc
call fcn.0040aba4
jmp 0x40766e
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x418e5c], eax
call fcn.0040a9a1
mov dword [0x417248], eax
call fcn.0040a2f9
test eax, eax
jge 0x407701
call fcn.00409e08
jmp 0x4076d5
call fcn.0040a8ad
test eax, eax
jl 0x40772a
call fcn.0040a58b
test eax, eax
jl 0x40772a
push 0
call fcn.00409af7
pop ecx
test eax, eax
jne 0x40772a
inc dword [0x417240]
jmp 0x4077c9
call fcn.0040a538
jmp 0x4076fa
xor edi, edi
cmp eax, edi
jne 0x40776c
cmp dword [0x417240], edi
jle 0x40766e
dec dword [0x417240]
cmp dword [0x41729c], edi
jne 0x407756
call fcn.00409c72
cmp dword [ebp + 0x10], edi
jne 0x4077c9
call fcn.0040a538
call fcn.00409e08
call fcn.0040aba4
jmp 0x4077c9
cmp eax, 2
jne 0x4077bd
call fcn.00409dd9
push 0x214
push 1
call fcn.00409222
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x40766e
push esi
push dword [0x416170]
push dword [0x4172ac]
call fcn.00409d53
pop ecx
call eax
test eax, eax
je 0x4077b1
push edi
push esi
call fcn.00409e4a
pop ecx
jmp 0x4077c8
push esi
call fcn.00408ab7
pop ecx
jmp 0x40766e
cmp eax, 3
jne 0x4077c9
push edi
call fcn.0040a107
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00407fb3
leave
ret 0xc
Function at 0x4094c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x4094e2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 3
jb 0x4094d0
mov byte [esi + 4], 0
mov eax, esi
pop esi
ret

Function at 0x4094f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 6], 0
je 0x409512
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 5
jb 0x409500
mov byte [esi + 6], 0
mov eax, esi
pop esi
ret
Function at 0x40a3d0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 3], 0
je 0x40a3f2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 2
jb 0x40a3e0
mov byte [esi + 3], 0
mov eax, esi
pop esi
ret

Function at 0x40a400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
movaps xmm0, xmmword [0x526740]
mov dword [ebp - 0xc], ecx
xor ecx, ecx
movups xmmword [ebp - 0x31], xmm0
mov dword [ebp - 0x21], 0x9d968896
mov dword [ebp - 0x1d], 0x6e909789
mov word [ebp - 0x19], 0x100
nop word [eax + eax]
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x31], al
inc ecx
cmp ecx, 0x18
jb 0x40a430
mov byte [ebp - 0x18], 0
xor ecx, ecx
mov dword [ebp - 0x17], 0x808f9e87
mov dword [ebp - 0x13], 0x9c8bc081
mov word [ebp - 0xf], 0x9d
mov byte [ebp - 0xd], 1
nop dword [eax + eax]
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x17], al
inc ecx
cmp ecx, 9
jb 0x40a460
push ebx
push esi
push edi
lea eax, [ebp - 0x17]
mov byte [ebp - 0xd], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x31]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
xor edi, edi
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [ebp - 4], eax
test eax, eax
je 0x40a51b
mov esi, dword [0x53449c]
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0
push esi
mov edi, eax
push edi
push 0x40
call ebx
mov ebx, eax
mov eax, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp ebx, 0xc0000004
jne 0x40a4fc
mov ebx, dword [ebp - 4]
push edi
push 0
push ebx
call eax
add esi, esi
cmp esi, 0x10000000
ja 0x40a511
push esi
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0
push esi
mov edi, eax
push edi
push 0x40
call dword [ebp - 8]
mov ebx, eax
mov eax, dword [sym.imp.KERNEL32.dll_HeapFree]
cmp ebx, 0xc0000004
je 0x40a4c5
test ebx, ebx
jns 0x40a521
push edi
push 0
push dword [ebp - 4]
call eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0xc]
mov eax, dword [0x53449c]
cmp esi, 0x200000
cmovbe eax, esi
mov dword [0x53449c], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], edi
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x40a550
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xa], 0
je 0x40a572
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 9
jb 0x40a560
mov byte [esi + 0xa], 0
mov eax, esi
pop esi
ret

Function at 0x40a580
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x19], 0
je 0x40a5a2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x18
jb 0x40a590
mov byte [esi + 0x19], 0
mov eax, esi
pop esi
ret
Function at 0x40a6c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xe], 0
je 0x40a6e2
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0xd
jb 0x40a6d0
mov byte [esi + 0xe], 0
mov eax, esi
pop esi
ret

Function at 0x40a6f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x16], 0
je 0x40a712
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x15
jb 0x40a700
mov byte [esi + 0x16], 0
mov eax, esi
pop esi
ret
Function at 0x40ab20
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x12], 0
je 0x40ab42
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 0x11
jb 0x40ab30
mov byte [esi + 0x12], 0
mov eax, esi
pop esi
ret
Function at 0x40b830
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 5], 0
je 0x40b852
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 4
jb 0x40b840
mov byte [esi + 5], 0
mov eax, esi
pop esi
ret

Function at 0x40b860
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 8], 0
je 0x40b882
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x17]
inc eax
xor byte [edx], cl
cmp eax, 7
jb 0x40b870
mov byte [esi + 8], 0
mov eax, esi
pop esi
ret

Function at 0x40b890
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503126
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 1
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [ebp - 0x18], 1
xor ecx, ecx
mov dword [ebp - 0x10], 0x100889b
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 2
jb 0x40b8f4
cmp dword [ebp + 0x1c], 0x10
lea ecx, [ebp - 0x10]
push edi
lea eax, [ebp + 8]
mov byte [ebp - 0xd], 0
cmovae eax, dword [ebp + 8]
push ecx
push eax
call fcn.004e2a20
mov edi, eax
add esp, 8
test edi, edi
je 0x40b98d
push 2
push 0
push edi
call fcn.004e67f6
push edi
call fcn.004e25ab
push 0
push 0
push edi
mov dword [ebp - 0x14], eax
call fcn.004e67f6
mov ecx, dword [esi + 0x10]
add esp, 0x1c
mov eax, dword [ebp - 0x14]
cmp eax, ecx
ja 0x40b961
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x40b958
mov ecx, dword [esi]
mov dword [esi + 0x10], eax
mov byte [ecx + eax], 0
jmp 0x40b970
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00468330
mov eax, dword [ebp - 0x14]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x40b97a
mov ecx, dword [esi]
push edi
push eax
push 1
push ecx
call fcn.004eb29f
push edi
call fcn.004e62a8
add esp, 0x14
mov ecx, dword [ebp + 0x1c]
pop edi
cmp ecx, 0x10
jb 0x40b9be
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b9b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b9cf
push ecx
push edx
call fcn.004dcbd1
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.004e1e70
int3
Function at 0x40b9e0
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503166
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.00469a50
mov dword [ebp - 0x14], 1
xor ecx, ecx
mov dword [ebp - 0x10], 0x100889b
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 2
jb 0x40ba24
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.004e2a20
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40baba
push edi
push 2
push 0
push ebx
call fcn.004e67f6
push ebx
call fcn.004e25ab
push 0
push 0
push ebx
mov edi, eax
call fcn.004e67f6
mov ecx, dword [esi]
add esp, 0x1c
mov edx, dword [ecx + 0x10]
lea eax, [ecx + 0x10]
cmp edi, edx
ja 0x40ba90
cmp dword [ecx + 0x14], 0x10
jb 0x40ba88
mov ecx, dword [ecx]
mov dword [eax], edi
mov byte [ecx + edi], 0
jmp 0x40ba9c
mov eax, edi
push 0
sub eax, edx
push eax
call fcn.00468330
mov eax, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x40baa6
mov eax, dword [eax]
push ebx
push edi
push 1
push eax
call fcn.004eb29f
push ebx
call fcn.004e62a8
add esp, 0x14
pop edi
mov ecx, dword [ebp + 0x1c]
pop ebx
cmp ecx, 0x10
jb 0x40baeb
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bae1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bafc
push ecx
push edx
call fcn.004dcbd1
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.004e1e70
int3
Function at 0x40bb10
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x503166
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.00469a50
mov dword [ebp - 0x14], 1
xor ecx, ecx
mov dword [ebp - 0x10], 0x100889b
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x10], al
inc ecx
cmp ecx, 2
jb 0x40bb54
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.004e2a20
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40bbf4
push esi
push 2
push 0
push ebx
call fcn.004e67f6
push ebx
call fcn.004e25ab
push 0
push 0
push ebx
mov esi, eax
call fcn.004e67f6
mov ecx, dword [edi]
mov eax, 0x1e8481
mov edx, dword [ecx + 0x10]
add esp, 0x1c
cmp esi, eax
cmova esi, eax
lea eax, [ecx + 0x10]
cmp esi, edx
ja 0x40bbca
cmp dword [ecx + 0x14], 0x10
jb 0x40bbc2
mov ecx, dword [ecx]
mov dword [eax], esi
mov byte [ecx + esi], 0
jmp 0x40bbd6
mov eax, esi
push 0
sub eax, edx
push eax
call fcn.00468330
mov eax, dword [edi]
cmp dword [eax + 0x14], 0x10
jb 0x40bbe0
mov eax, dword [eax]
push ebx
push esi
push 1
push eax
call fcn.004eb29f
push ebx
call fcn.004e62a8
add esp, 0x14
pop esi
mov ecx, dword [ebp + 0x1c]
pop ebx
cmp ecx, 0x10
jb 0x40bc25
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bc1b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bc36
push ecx
push edx
call fcn.004dcbd1
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.004e1e70
int3

Function at 0x40bc40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
xor edi, edi
mov dword [ebp - 4], 0x100889b
xor ecx, ecx
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 2
jb 0x40bc50
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.004e2a20
mov esi, eax
add esp, 8
test esi, esi
je 0x40bc9b
push 2
push 0
push esi
call fcn.004e67f6
push esi
call fcn.004e25ab
push esi
mov edi, eax
call fcn.004e62a8
add esp, 0x14
mov ecx, dword [ebp + 0x1c]
pop esi
cmp ecx, 0x10
jb 0x40bccc
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bcc2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bcd3
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
call fcn.004e1e70
int3
Function at 0x40bd20
Capabilities:
Check os version
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb8
mov dword [ebp - 0x1a], 0xab879ebb
xor ecx, ecx
mov dword [ebp - 0x16], 0x95b99a88
mov dword [ebp - 0x12], 0x9b9a8183
mov word [ebp - 0xe], 0x9b
mov byte [ebp - 0xc], 1
nop word [eax + eax]
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0x1a], al
inc ecx
cmp ecx, 0xd
jb 0x40bd50
mov byte [ebp - 0xc], 0
xor ecx, ecx
mov dword [ebp - 0xb], 0x808f9ea7
mov dword [ebp - 7], 0x9c8bc081
mov word [ebp - 3], 0x9d
mov byte [ebp - 1], 1
nop dword [eax + eax]
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 0xb], al
inc ecx
cmp ecx, 9
jb 0x40bd80
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 0x40bdb5
lea ecx, [ebp - 0xb8]
push ecx
call eax
jmp 0x40bdc2
lea eax, [ebp - 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [ebp - 0xb4]
cmp eax, 0xb
je 0x40bdd2
cmp eax, 0xa
jne 0x40bde1
cmp dword [ebp - 0xb0], 0
je 0x40bdfb
xor al, al
mov esp, ebp
pop ebp
ret
cmp eax, 6
jne 0x40bddb
mov eax, dword [ebp - 0xb0]
cmp eax, 3
je 0x40bdfb
cmp eax, 2
sete al
mov esp, ebp
pop ebp
ret
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x40beb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x100889b
xor ecx, ecx
nop dword [eax]
lea eax, [ecx - 0x17]
xor byte [ebp + ecx - 4], al
inc ecx
cmp ecx, 2
jb 0x40bec0
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.004e2a20
add esp, 8
test eax, eax
je 0x40befb
push eax
call fcn.004e62a8
add esp, 4
mov bl, 1
jmp 0x40befd
xor bl, bl
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0x10
jb 0x40bf2d
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40bf23
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40bf34
push ecx
push edx
call fcn.004dcbd1
add esp, 8
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.004e1e70
int3

Function at 0x40bf40
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.004dbed2
add esp, 4
test eax, eax
jne 0x40bfae
test esi, esi
je 0x40bf97
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40bf62
sub ecx, edx
je 0x40bf97
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40bf93
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x44
je 0x40bf93
cmp eax, 0x20
je 0x40bf93
cmp eax, 0x45
je 0x40bf93
cmp eax, 0x24
jne 0x40bf97
mov bl, 1
jmp 0x40bf99
xor bl, bl
push 0x536240
call fcn.004dbee3
add esp, 4
mov al, bl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.004dbb7b
int3
Function at 0x40bfc0
Capabilities:
Create directory

Disassembly:
push esi
push 0x536240
mov esi, ecx
call fcn.004dbed2
add esp, 4
test eax, eax
jne 0x40bfef
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0x536240
mov esi, eax
call fcn.004dbee3
add esp, 4
mov eax, esi
pop esi
ret
push eax
call fcn.004dbb7b
int3