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

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x5c]
mov byte [eax + esi + 0x1c], 0x80
inc dword [esi + 0x5c]
cmp eax, 0x37
mov eax, dword [esi + 0x5c]
jle 0x10012366
jmp 0x1001233c
mov byte [eax + esi + 0x1c], 0
inc dword [esi + 0x5c]
mov eax, dword [esi + 0x5c]
cmp eax, 0x40
jl 0x10012331
call fcn.10012184
jmp 0x10012353
mov eax, dword [esi + 0x5c]
mov byte [esi + eax + 0x1c], 0
inc dword [esi + 0x5c]
cmp dword [esi + 0x5c], 0x38
jl 0x10012348
jmp 0x1001236b
mov byte [eax + esi + 0x1c], 0
inc dword [esi + 0x5c]
mov eax, dword [esi + 0x5c]
cmp eax, 0x38
jl 0x1001235b
mov al, byte [esi + 0x1b]
mov ecx, esi
mov byte [esi + 0x54], al
mov al, byte [esi + 0x1a]
mov byte [esi + 0x55], al
mov al, byte [esi + 0x19]
mov byte [esi + 0x56], al
mov al, byte [esi + 0x18]
mov byte [esi + 0x57], al
mov al, byte [esi + 0x17]
mov byte [esi + 0x58], al
mov al, byte [esi + 0x16]
mov byte [esi + 0x59], al
mov al, byte [esi + 0x15]
mov byte [esi + 0x5a], al
mov al, byte [esi + 0x14]
mov byte [esi + 0x5b], al
pop esi
jmp fcn.10012184

Function at 0x10014412
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
add edi, 0xdeadbeef
add edi, ecx
push 0xc
pop eax
mov edx, edi
mov esi, edi
mov dword [ebp + 0x10], edx
cmp ecx, eax
jbe 0x1001450c
lea eax, [ecx - 0xd]
xor edx, edx
push 0xc
pop ecx
div ecx
inc eax
mov dword [ebp + 8], eax
movzx edx, byte [ebx + 7]
movzx ecx, byte [ebx + 6]
movzx eax, byte [ebx + 5]
shl edx, 8
add edx, ecx
movzx ecx, byte [ebx + 0xb]
shl ecx, 8
shl edx, 8
add edx, eax
movzx eax, byte [ebx + 4]
add esi, eax
shl edx, 8
movzx eax, byte [ebx + 0xa]
add esi, edx
add ecx, eax
movzx edx, byte [ebx + 8]
movzx eax, byte [ebx + 9]
add edx, edi
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx + 2]
shl ecx, 8
add edx, ecx
movzx ecx, byte [ebx + 3]
shl ecx, 8
mov edi, edx
add ecx, eax
rol edi, 4
movzx eax, byte [ebx + 1]
shl ecx, 8
add ecx, eax
movzx eax, byte [ebx]
shl ecx, 8
add ecx, eax
sub ecx, edx
add edx, esi
add ecx, dword [ebp + 0x10]
xor edi, ecx
sub esi, edi
mov eax, edi
add edi, edx
rol eax, 6
xor eax, esi
sub edx, eax
mov ecx, eax
rol ecx, 8
add eax, edi
xor ecx, edx
sub edi, ecx
mov edx, ecx
rol edx, 0x10
add ecx, eax
xor edx, edi
mov esi, edx
sub eax, edx
ror esi, 0xd
add edx, ecx
xor esi, eax
mov dword [ebp + 0x10], edx
sub ecx, esi
mov edi, esi
rol edi, 4
add esi, edx
xor edi, ecx
mov ecx, dword [ebp + 0xc]
push 0xc
pop eax
sub ecx, eax
add ebx, eax
sub dword [ebp + 8], 1
mov dword [ebp + 0xc], ecx
jne 0x10014449
cmp ecx, eax
ja 0x10014578
jmp dword [ecx*4 + 0x100139c6]
xor edi, esi
mov eax, esi
rol eax, 0xe
sub edi, eax
mov eax, edi
mov edx, edi
xor edx, dword [ebp + 0x10]
rol eax, 0xb
sub edx, eax
xor esi, edx
mov eax, edx
ror eax, 7
sub esi, eax
mov eax, esi
xor edi, esi
rol eax, 0x10
sub edi, eax
mov eax, edi
mov ecx, edi
rol eax, 4
xor ecx, edx
sub ecx, eax
mov eax, ecx
xor esi, ecx
rol eax, 0xe
sub esi, eax
mov eax, esi
xor edi, esi
ror eax, 8
sub edi, eax
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x100159da
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [edx], eax
mov dword [edx + 0x9c0], 1
mov ecx, dword [edx + 0x9c0]
mov eax, dword [edx + ecx*4 - 4]
shr eax, 0x1e
xor eax, dword [edx + ecx*4 - 4]
imul eax, eax, 0x6c078965
add eax, ecx
mov dword [edx + ecx*4], eax
inc dword [edx + 0x9c0]
cmp dword [edx + 0x9c0], 0x270
jl 0x100159ef
pop ebp
ret

Function at 0x10015a1f
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push edi
mov edi, dword [edx + 0x9c0]
cmp edi, 0x270
jl 0x10015ad1
push ebx
xor edi, edi
mov ebx, 0x7fffffff
push esi
mov esi, edi
mov ecx, dword [edx + esi*4 + 4]
xor ecx, dword [edx + esi*4]
and ecx, ebx
xor ecx, dword [edx + esi*4]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [eax*4 + 0x1001f02c]
xor ecx, dword [edx + esi*4 + 0x634]
mov dword [edx + esi*4], ecx
inc esi
cmp esi, 0xe3
jl 0x10015a43
mov ecx, dword [edx + esi*4 + 4]
xor ecx, dword [edx + esi*4]
and ecx, ebx
xor ecx, dword [edx + esi*4]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [eax*4 + 0x1001f02c]
xor ecx, dword [edx + esi*4 - 0x38c]
mov dword [edx + esi*4], ecx
inc esi
cmp esi, 0x26f
jl 0x10015a70
mov ecx, dword [edx + 0x9bc]
xor ecx, dword [edx]
and ecx, ebx
xor ecx, dword [edx + 0x9bc]
mov eax, ecx
shr ecx, 1
and eax, 1
pop esi
pop ebx
mov eax, dword [eax*4 + 0x1001f02c]
xor eax, dword [edx + 0x630]
xor eax, ecx
mov dword [edx + 0x9bc], eax
mov dword [edx + 0x9c0], edi
mov ecx, dword [edx + edi*4]
lea eax, [edi + 1]
mov dword [edx + 0x9c0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop edi
pop ebp
ret

Function at 0x10017b50
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10017b60

Function at 0x10017de0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.10018090
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x403203
pop dword [ebp - 0x44]
mov eax, 0x49af07eb
add eax, 0xb6912a18
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0xb7097d10
add dword [ebp - 0x54], 0x9748c83b
mov dword [ebp - 0x50], 0xa231fcf6
sub dword [ebp - 0x50], 0x6ffeb0b1
mov dword [ebp - 0x4c], 0xd67ea3b2
add dword [ebp - 0x4c], 0x75cda07c
mov dword [ebp - 0x48], 0x3652b6d
add dword [ebp - 0x48], 0xfc9ad493
lea eax, [ebp - 0x54]
push eax
mov eax, 0xfd9b694b
add eax, 0x2a51741
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0xd17aa182
sub dword [ebp - 0x54], 0x5d08382c
mov dword [ebp - 0x50], 0x40700d46
sub dword [ebp - 0x50], 0xff03abd1
mov dword [ebp - 0x4c], 0x1ae95fd9
add dword [ebp - 0x4c], 0x48860c93
mov dword [ebp - 0x48], 0xe9f6eff2
add dword [ebp - 0x48], 0x1609100e
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0xd02f9466
add eax, 0x3010ec6e
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x39bc1
push 0
call eax
mov ecx, 0x5490
mov edi, eax
mov ebx, 0xac3e8069
add ebx, 0x54028f97
add ebx, dword [ebp - 0x44]
mov esi, 0xfec4ecd
add esi, 0x1bb5a339
xor dword [ebp - 0x18], eax
mov edx, dword [ebx]
xor dword [ebp - 0x1c], 0xd7f6ce86
sub edx, esi
mov dword [ebp - 0x38], 0x5b099fe0
mov dword [edi], edx
add edi, 4
add ebx, 0x75c0b88b
add ebx, 0x8a3f4779
loop 0x40331f
add eax, 0x66989b2a
sub eax, 0x66975617
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x2b342c7d
add ecx, 0xd50bd383
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x40d08b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x40d09a
pop dword [ebp - 0x24]
mov eax, 0x40d09a
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x35e36
push 0
mov eax, 0x94aede20
sub eax, 0x946dfd48
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x20cb57fe
sub ecx, 0x20cb1d62
mov edi, eax
mov ebx, 0xcf239ac4
add ebx, 0x311da100
add ebx, dword [ebp - 0x24]
mov esi, 0xb94d4bc1
add esi, 0xea3fe314
add dword [ebp - 0x1c], esi
mov edx, dword [ebx]
mov dword [ebp - 0x20], 0xe9cf30d9
xor edx, esi
xor dword [ebp - 0x1c], edi
mov dword [edi], edx
add edi, 0x129183c4
sub edi, 0x129183c0
add ebx, 4
loop 0x40d0f4
add eax, 0x5acd4b53
sub eax, 0x5acc6e10
mov ebx, eax
add eax, 0x13e5b192
add eax, 0xec1a4e73
mov ecx, 0xac707ad5
add ecx, 0x53cf852b
add ecx, dword [ebp - 0x24]
call ebx
leave
ret
Function at 0x404e8a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push esi
push dword [ebp + 8]
call fcn.00404b9a
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x404ec3

Function at 0x404fa3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ss
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
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.00404be5
push eax
push esi
push dword [ebp + 8]
call fcn.00404b9a
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 [di - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [di - 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.00404be5
Function at 0x40b850
Capabilities:
Delete file
Get common file path
Set current directory

Disassembly:
push ebx
push esi
xor esi, esi
inc esi
xor ebx, ebx
mov dword [0x419f70], esi
cmp dword [0x419f80], ebx
je 0x40b87a
push 0x7d
call fcn.004098d0
push eax
push esi
push dword [0x419f80]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
mov eax, dword [0x419f80]
mov dword [0x419f6c], ebx
mov dword [0x419f68], esi
cmp eax, ebx
je 0x40b8ca
push esi
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [0x41a824], ebx
jne 0x40b8c1
cmp byte [0x41a814], bl
jne 0x40b8c1
push ebx
push esi
push 0x111
push dword [0x419f80]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x40b8c1
call fcn.0040a806
cmp dword [0x419f78], 2
jne 0x40b8bc
cmp byte [0x419f88], bl
pop esi
pop ebx
je 0x40b8d9
jmp fcn.0040b702
ret

Function at 0x40b908
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push ebx
xor ebx, ebx
cmp byte [0x419f90], bl
je 0x40b984
cmp byte [0x418ed0], bl
je 0x40b984
push esi
push 0x418ed0
lea esi, [ebp - 0x408]
call fcn.0040b8da
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
pop esi
test eax, eax
jne 0x40b984
push dword [ebp + 8]
call fcn.0040a35d
inc eax
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x408]
push 1
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
leave
ret 4

Function at 0x40b989
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80c
cmp byte [0x419f90], 0
je 0x40ba0b
push esi
push dword [ebp + 8]
lea esi, [ebp - 0x40c]
call fcn.0040b8da
lea eax, [ebp - 4]
push eax
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
pop esi
test eax, eax
jne 0x40ba0b
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x40c]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40ba02
lea eax, [ebp - 0x80c]
push eax
push dword [ebp + 8]
call fcn.0040a450
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret 4
Function at 0x40a0c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 4], 0
je 0x40a0e2
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 0x40a0d0
mov byte [esi + 4], 0
mov eax, esi
pop esi
ret

Function at 0x40a0f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 6], 0
je 0x40a112
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 0x40a100
mov byte [esi + 6], 0
mov eax, esi
pop esi
ret
Function at 0x40afd0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 3], 0
je 0x40aff2
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 0x40afe0
mov byte [esi + 3], 0
mov eax, esi
pop esi
ret

Function at 0x40b000
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 0x40b030
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 0x40b060
push ebx
push esi
push edi
lea eax, [ebp - 0x17]
mov byte [ebp - 0xd], 0
push eax
call dword [0x50c064]
lea ecx, [ebp - 0x31]
push ecx
push eax
call dword [0x50c0d8]
mov ebx, eax
xor edi, edi
mov dword [ebp - 8], ebx
call dword [0x50c0f8]
mov dword [ebp - 4], eax
test eax, eax
je 0x40b11b
mov esi, dword [0x53449c]
push esi
push edi
push eax
call dword [0x50c0cc]
push 0
push esi
mov edi, eax
push edi
push 0x40
call ebx
mov ebx, eax
mov eax, dword [0x50c1e8]
cmp ebx, 0xc0000004
jne 0x40b0fc
mov ebx, dword [ebp - 4]
push edi
push 0
push ebx
call eax
add esi, esi
cmp esi, 0x10000000
ja 0x40b111
push esi
push 0
push ebx
call dword [0x50c0cc]
push 0
push esi
mov edi, eax
push edi
push 0x40
call dword [ebp - 8]
mov ebx, eax
mov eax, dword [0x50c1e8]
cmp ebx, 0xc0000004
je 0x40b0c5
test ebx, ebx
jns 0x40b121
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 0x40b150
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xa], 0
je 0x40b172
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 0x40b160
mov byte [esi + 0xa], 0
mov eax, esi
pop esi
ret

Function at 0x40b180
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x19], 0
je 0x40b1a2
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 0x40b190
mov byte [esi + 0x19], 0
mov eax, esi
pop esi
ret

Function at 0x40b2c0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0xe], 0
je 0x40b2e2
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 0x40b2d0
mov byte [esi + 0xe], 0
mov eax, esi
pop esi
ret
Function at 0x40b2f0
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x16], 0
je 0x40b312
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 0x40b300
mov byte [esi + 0x16], 0
mov eax, esi
pop esi
ret
Function at 0x40b720
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x12], 0
je 0x40b742
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 0x40b730
mov byte [esi + 0x12], 0
mov eax, esi
pop esi
ret
Function at 0x40c430
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 5], 0
je 0x40c452
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 0x40c440
mov byte [esi + 5], 0
mov eax, esi
pop esi
ret

Function at 0x40c460
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 8], 0
je 0x40c482
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 0x40c470
mov byte [esi + 8], 0
mov eax, esi
pop esi
ret

Function at 0x40c490
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 0x40c4f4
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.004e3620
mov edi, eax
add esp, 8
test edi, edi
je 0x40c58d
push 2
push 0
push edi
call fcn.004e73f6
push edi
call fcn.004e31ab
push 0
push 0
push edi
mov dword [ebp - 0x14], eax
call fcn.004e73f6
mov ecx, dword [esi + 0x10]
add esp, 0x1c
mov eax, dword [ebp - 0x14]
cmp eax, ecx
ja 0x40c561
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x40c558
mov ecx, dword [esi]
mov dword [esi + 0x10], eax
mov byte [ecx + eax], 0
jmp 0x40c570
sub eax, ecx
mov ecx, esi
push 0
push eax
call fcn.00468f30
mov eax, dword [ebp - 0x14]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x40c57a
mov ecx, dword [esi]
push edi
push eax
push 1
push ecx
call fcn.004ebe9f
push edi
call fcn.004e6ea8
add esp, 0x14
mov ecx, dword [ebp + 0x1c]
pop edi
cmp ecx, 0x10
jb 0x40c5be
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c5b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c5cf
push ecx
push edx
call fcn.004dd7d1
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.004e2a70
int3
Function at 0x40c5e0
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.0046a650
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 0x40c624
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.004e3620
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40c6ba
push edi
push 2
push 0
push ebx
call fcn.004e73f6
push ebx
call fcn.004e31ab
push 0
push 0
push ebx
mov edi, eax
call fcn.004e73f6
mov ecx, dword [esi]
add esp, 0x1c
mov edx, dword [ecx + 0x10]
lea eax, [ecx + 0x10]
cmp edi, edx
ja 0x40c690
cmp dword [ecx + 0x14], 0x10
jb 0x40c688
mov ecx, dword [ecx]
mov dword [eax], edi
mov byte [ecx + edi], 0
jmp 0x40c69c
mov eax, edi
push 0
sub eax, edx
push eax
call fcn.00468f30
mov eax, dword [esi]
cmp dword [eax + 0x14], 0x10
jb 0x40c6a6
mov eax, dword [eax]
push ebx
push edi
push 1
push eax
call fcn.004ebe9f
push ebx
call fcn.004e6ea8
add esp, 0x14
pop edi
mov ecx, dword [ebp + 0x1c]
pop ebx
cmp ecx, 0x10
jb 0x40c6eb
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c6e1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c6fc
push ecx
push edx
call fcn.004dd7d1
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.004e2a70
int3
Function at 0x40c710
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.0046a650
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 0x40c754
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.004e3620
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x40c7f4
push esi
push 2
push 0
push ebx
call fcn.004e73f6
push ebx
call fcn.004e31ab
push 0
push 0
push ebx
mov esi, eax
call fcn.004e73f6
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 0x40c7ca
cmp dword [ecx + 0x14], 0x10
jb 0x40c7c2
mov ecx, dword [ecx]
mov dword [eax], esi
mov byte [ecx + esi], 0
jmp 0x40c7d6
mov eax, esi
push 0
sub eax, edx
push eax
call fcn.00468f30
mov eax, dword [edi]
cmp dword [eax + 0x14], 0x10
jb 0x40c7e0
mov eax, dword [eax]
push ebx
push esi
push 1
push eax
call fcn.004ebe9f
push ebx
call fcn.004e6ea8
add esp, 0x14
pop esi
mov ecx, dword [ebp + 0x1c]
pop ebx
cmp ecx, 0x10
jb 0x40c825
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c81b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c836
push ecx
push edx
call fcn.004dd7d1
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.004e2a70
int3

Function at 0x40c840
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 0x40c850
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.004e3620
mov esi, eax
add esp, 8
test esi, esi
je 0x40c89b
push 2
push 0
push esi
call fcn.004e73f6
push esi
call fcn.004e31ab
push esi
mov edi, eax
call fcn.004e6ea8
add esp, 0x14
mov ecx, dword [ebp + 0x1c]
pop esi
cmp ecx, 0x10
jb 0x40c8cc
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40c8c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40c8d3
push ecx
push edx
call fcn.004dd7d1
add esp, 8
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
call fcn.004e2a70
int3