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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
push 2
push 0
mov dword [ebp - 8], edx
mov ebx, 0xc0000022
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov ecx, 0x13
mov dword [ebp - 0x10], eax
mov esi, 0x4161f0
lea edi, [ebp - 0x60]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
cmp dword [0x418d28], 2
movsw word es:[edi], word [esi]
jl 0x402072
movaps xmm4, xmmword [0x416340]
movaps xmm3, xmmword [0x4163a0]
movaps xmm5, xmmword [0x416360]
movaps xmm6, xmmword [0x416380]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0x60]
xorps xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + ecx*2 - 0x60], xmm1
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
pshuflw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm6
paddw xmm1, xmm0
movq xmm0, qword [ebp + ecx*2 - 0x58]
xorps xmm1, xmm0
movq qword [ebp + ecx*2 - 0x58], xmm1
add ecx, 8
cmp ecx, 0x20
jl 0x401f84
cmp ecx, 0x27
jge 0x4020a3
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
shl edx, 3
sub eax, edx
add eax, 0x36
xor word [ebp + ecx*2 - 0x60], ax
inc ecx
cmp ecx, 0x27
jl 0x402072
lea eax, [ebp - 4]
push eax
push ecx
lea ecx, [ebp - 0x60]
call fcn.00401120
mov esi, dword [ebp - 4]
add esp, 8
test eax, eax
jne 0x4020dd
test esi, esi
je 0x4020e9
mov eax, dword [esi]
push 0
push 0
push 0
push dword [ebp - 8]
mov eax, dword [eax + 0x24]
push dword [ebp - 0xc]
push esi
call eax
mov ebx, eax
sar ebx, 0x1f
and ebx, 0xc0000022
test esi, esi
je 0x4020e9
mov ecx, dword [esi]
push esi
mov ecx, dword [ecx + 8]
call ecx
cmp dword [ebp - 0x10], 0
jne 0x4020f5
call dword [sym.imp.ole32.dll_CoUninitialize]
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40411f
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40415e
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40415e
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40415e
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40415e
cmp dword [ecx + 0x74], 0xe
jbe 0x40415e
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40a178
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x40a215
push ebx
push esi
call fcn.0040a141
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040a0d5
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x40a1c2
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40a214
push edi
push eax
call fcn.00408b54
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x40a1e2
call fcn.00408ba2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x40a213
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040a0d5
add esp, 0x20
test eax, eax
jne 0x40a201
push edi
call fcn.00408ba2
jmp 0x40a209
push ebx
call fcn.00408ba2
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40b1d3
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4132a8
push 0x4132a0
push str.FlsAlloc
push 0x1f
call fcn.0040b0ef
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b207
push dword [ebp + 8]
mov ecx, esi
call dword [0x411150]
call esi
jmp 0x40b20d
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40b251
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4132b8
push 0x4132b0
push str.FlsGetValue
push 0x21
call fcn.0040b0ef
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b288
push dword [ebp + 8]
mov ecx, esi
call dword [0x411150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40b290
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4132c0
push 0x4132b8
push str.FlsSetValue
push 0x22
call fcn.0040b0ef
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40b2ca
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x411150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x410080
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4100ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4100ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x98ea92
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
add eax, edx
add eax, 4
add eax, 0x14
lea eax, [eax + 0x60]
add eax, 8
mov eax, dword [eax]
add eax, edx
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x118], 0x49
mov byte [ebp - 0x117], 0x6d
mov byte [ebp - 0x116], 0x70
mov byte [ebp - 0x115], 0x6f
mov byte [ebp - 0x114], 0x72
mov byte [ebp - 0x113], 0x74
mov byte [ebp - 0x112], 0x20
mov byte [ebp - 0x111], 0x54
mov byte [ebp - 0x110], 0x61
mov byte [ebp - 0x10f], 0x62
mov byte [ebp - 0x10e], 0x6c
mov byte [ebp - 0x10d], 0x65
mov byte [ebp - 0x10c], 0x3a
mov byte [ebp - 0x10b], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x98eb67
lea esi, [ebp - 0x14]
mov ecx, 0x14
mov al, 0
mov byte [esi], al
inc esi
dec ecx
jne 0x98eb31
mov ebx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov edi, ebx
mov ecx, 0x14
repe cmpsb byte [esi], byte es:[edi]
je 0x98eb5d
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0098eb71
test eax, eax
je 0x98eb67
add ebx, 0x14
jmp 0x98eb3a
popal
mov eax, 1
leave
ret 8
popal
mov eax, 0
leave
ret 8
Function at 0x98eb71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
pushal
mov eax, 1
test eax, eax
je 0x98eddd
mov byte [ebp - 0x10c], 0x50
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x6f
mov byte [ebp - 0x109], 0x63
mov byte [ebp - 0x108], 0x65
mov byte [ebp - 0x107], 0x73
mov byte [ebp - 0x106], 0x73
mov byte [ebp - 0x105], 0x69
mov byte [ebp - 0x104], 0x6e
mov byte [ebp - 0x103], 0x67
mov byte [ebp - 0x102], 0x20
mov byte [ebp - 0x101], 0x49
mov byte [ebp - 0x100], 0x6d
mov byte [ebp - 0xff], 0x70
mov byte [ebp - 0xfe], 0x6f
mov byte [ebp - 0xfd], 0x72
mov byte [ebp - 0xfc], 0x74
mov byte [ebp - 0xfb], 0x20
mov byte [ebp - 0xfa], 0x44
mov byte [ebp - 0xf9], 0x69
mov byte [ebp - 0xf8], 0x72
mov byte [ebp - 0xf7], 0x65
mov byte [ebp - 0xf6], 0x63
mov byte [ebp - 0xf5], 0x74
mov byte [ebp - 0xf4], 0x6f
mov byte [ebp - 0xf3], 0x72
mov byte [ebp - 0xf2], 0x79
mov byte [ebp - 0xf1], 0x3a
mov byte [ebp - 0xf0], 0
mov eax, 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp + 0xc]
mov ebx, eax
mov eax, 1
test eax, eax
je 0x98eddd
mov eax, 1
test eax, eax
je 0x98eddd
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
je 0x98eddd
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x10]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
sub ecx, ecx
mov eax, dword [ebp - 0xc]
add eax, ecx
mov eax, dword [eax]
test eax, eax
je 0x98edd3
mov ebx, eax
and eax, 0x80000000
jne 0x98ed4a
mov byte [ebp - 0x10c], 0x4e
mov byte [ebp - 0x10b], 0x61
mov byte [ebp - 0x10a], 0x6d
mov byte [ebp - 0x109], 0x65
mov byte [ebp - 0x108], 0x3a
mov byte [ebp - 0x107], 0x20
mov byte [ebp - 0x106], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x98eddd
add ebx, dword [ebp + 0xc]
lea ebx, [ebx + 2]
mov eax, ebx
mov eax, 1
test eax, eax
je 0x98eddd
mov eax, 1
test eax, eax
je 0x98eddd
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x98eddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x98eca5
mov byte [ebp - 0x10c], 0x4f
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x64
mov byte [ebp - 0x109], 0x69
mov byte [ebp - 0x108], 0x6e
mov byte [ebp - 0x107], 0x61
mov byte [ebp - 0x106], 0x6c
mov byte [ebp - 0x105], 0x3a
mov byte [ebp - 0x104], 0x20
mov byte [ebp - 0x103], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x98eddd
xor ebx, 0x80000000
mov eax, ebx
mov eax, 1
test eax, eax
je 0x98eb67
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x98eddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x98eca5
popal
mov eax, 1
leave
ret 0xc
popal
mov eax, 0
leave
ret 0xc
Function at 0x98ee9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
sub eax, eax
mov ax, word [edx + 2]
mov dword [ebp - 0x118], eax
add edx, 0x14
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x110], edx
lea edx, [ebp - 0xc]
mov ebx, dword [ebp + 8]
push edx
push 4
push eax
push dword [ebp - 0x114]
call dword [ebx + 0x24]
test eax, eax
je 0x98efee
mov byte [ebp - 0x10c], 0x53
mov byte [ebp - 0x10b], 0x65
mov byte [ebp - 0x10a], 0x74
mov byte [ebp - 0x109], 0x20
mov byte [ebp - 0x108], 0x49
mov byte [ebp - 0x107], 0x6d
mov byte [ebp - 0x106], 0x61
mov byte [ebp - 0x105], 0x67
mov byte [ebp - 0x104], 0x65
mov byte [ebp - 0x103], 0x20
mov byte [ebp - 0x102], 0x77
mov byte [ebp - 0x101], 0x72
mov byte [ebp - 0x100], 0x69
mov byte [ebp - 0xff], 0x74
mov byte [ebp - 0xfe], 0x61
mov byte [ebp - 0xfd], 0x62
mov byte [ebp - 0xfc], 0x6c
mov byte [ebp - 0xfb], 0x65
mov byte [ebp - 0xfa], 0x3a
mov byte [ebp - 0xf9], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x98efee
mov edx, dword [ebp - 0x110]
lea ebx, [edx + 0x60]
mov eax, dword [edx + 0x5c]
mov edx, 8
mul edx
add eax, ebx
mov dword [ebp - 8], eax
mov eax, 0x28
mov edx, dword [ebp - 0x118]
mul edx
add eax, dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
sub eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x118]
mov ebx, dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 0x114]
push ebx
push dword [ebp + 8]
call fcn.0098eff8
test eax, eax
je 0x98efee
add ebx, 0x28
dec ecx
jne 0x98efc7
popal
mov eax, dword [ebp - 0x114]
leave
ret 0x10
popal
mov eax, 0
leave
ret 0x10

Function at 0x98f09e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
pushal
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x24]
and ebx, 0xe0000000
cmp ebx, 0xe0000000
jne 0x98f0c9
mov eax, 0x40
mov dword [ebp - 0x108], eax
jmp 0x98f12e
mov ebx, dword [edx + 0x24]
and ebx, 0x60000000
cmp ebx, 0x60000000
jne 0x98f0e7
mov eax, 0x20
mov dword [ebp - 0x108], eax
jmp 0x98f12e
mov ebx, dword [edx + 0x24]
and ebx, 0xc0000000
cmp ebx, 0xc0000000
jne 0x98f105
mov eax, 4
mov dword [ebp - 0x108], eax
jmp 0x98f12e
mov ebx, dword [edx + 0x24]
and ebx, 0x40000000
cmp ebx, 0x40000000
jne 0x98f123
mov eax, 2
mov dword [ebp - 0x108], eax
jmp 0x98f12e
mov eax, 1
mov dword [ebp - 0x108], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov ebx, dword [edx + 8]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x108]
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
je 0x98f16b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov eax, 1
popal
mov eax, 1
leave
ret 0x10
popal
sub eax, eax
leave
ret 0x10
Function at 0x98f172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x98f1a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x98f1a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x98fdff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.0098ff04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.0098ff20
push edx
push dword [ebp + 0x10]
push eax
call fcn.0098feec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0098ff04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0098fecb
push ecx
push dword [ebp + 8]
call fcn.0098ff04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0098ff04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0098fecb
push ecx
push dword [ebp + 8]
call fcn.0098ff04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0098ff04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0098fecb
push ecx
push dword [ebp + 8]
call fcn.0098ff04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.0098ff04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.0098fecb
cmp ecx, 0x2b
jne 0x98fe0f
leave
ret 0xc

Function at 0x9914b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x991544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x2c4010
push 0
call dword [eax + 0x20]
test eax, eax
je 0x9915d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x2c4010
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x2c4010
call fcn.009913fa
push 0x2c4010
push dword [ebp + 0xc]
call fcn.0098f1a8
test eax, eax
jne 0x9915b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x2c4010
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.009915dd
test eax, eax
je 0x9915d6
jmp 0x991574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x9915d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x99160b
Capabilities:
Terminate process

Disassembly:
call fcn.00991618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x401750
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
test edx, edx
je 0x4018b2
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4018b2
mov eax, dword [ebp + 0x10]
cmp eax, 1
jb 0x4018b2
push esi
xor esi, esi
test eax, eax
je 0x4018a7
dec eax
push ebx
mov bl, byte [ebp + 0xa]
shr eax, 2
inc eax
push edi
lea edi, [ecx + 2]
mov dword [ebp + 0xc], eax
mov dl, byte [edi - 2]
cmp dl, 0x2b
jne 0x40179c
mov dl, 0x3e
jmp 0x4017ca
cmp dl, 0x2f
jne 0x4017a5
mov dl, 0x3f
jmp 0x4017ca
cmp dl, 0x39
jg 0x4017af
add dl, 4
jmp 0x4017ca
cmp dl, 0x3d
je 0x4017c8
cmp dl, 0x5a
jg 0x4017be
sub dl, 0x41
jmp 0x4017ca
cmp dl, 0x7a
jg 0x4017c8
sub dl, 0x47
jmp 0x4017ca
mov dl, 0x40
mov cl, byte [edi - 1]
cmp cl, 0x2b
jne 0x4017d6
mov cl, 0x3e
jmp 0x401804
cmp cl, 0x2f
jne 0x4017df
mov cl, 0x3f
jmp 0x401804
cmp cl, 0x39
jg 0x4017e9
add cl, 4
jmp 0x401804
cmp cl, 0x3d
je 0x401802
cmp cl, 0x5a
jg 0x4017f8
sub cl, 0x41
jmp 0x401804
cmp cl, 0x7a
jg 0x401802
sub cl, 0x47
jmp 0x401804
mov cl, 0x40
mov al, cl
shl dl, 2
shr al, 4
add al, dl
mov edx, dword [ebp + 8]
mov byte [esi + edx], al
inc esi
mov al, byte [edi]
cmp al, 0x3d
je 0x40185d
mov bl, al
cmp bl, 0x2b
jne 0x401826
mov bl, 0x3e
jmp 0x40184f
cmp bl, 0x2f
jne 0x40182f
mov bl, 0x3f
jmp 0x40184f
cmp bl, 0x39
jg 0x401839
add bl, 4
jmp 0x40184f
cmp bl, 0x5a
jg 0x401843
sub bl, 0x41
jmp 0x40184f
cmp bl, 0x7a
jg 0x40184d
sub bl, 0x47
jmp 0x40184f
mov bl, 0x40
mov al, bl
shl cl, 4
shr al, 2
add al, cl
mov byte [esi + edx], al
inc esi
mov al, byte [edi + 1]
cmp al, 0x3d
je 0x401899
cmp al, 0x2b
jne 0x40186c
mov al, 0x3e
jmp 0x40188e
cmp al, 0x2f
jne 0x401874
mov al, 0x3f
jmp 0x40188e
cmp al, 0x39
jg 0x40187c
add al, 4
jmp 0x40188e
cmp al, 0x5a
jg 0x401884
sub al, 0x41
jmp 0x40188e
cmp al, 0x7a
jg 0x40188c
sub al, 0x47
jmp 0x40188e
mov al, 0x40
mov cl, bl
shl cl, 6
add cl, al
mov byte [esi + edx], cl
inc esi
add edi, 4
dec dword [ebp + 0xc]
jne 0x401790
pop edi
pop ebx
mov byte [esi + edx], 0
mov eax, esi
pop esi
pop ebp
ret 0xc
xor eax, eax
pop ebp
ret 0xc
Function at 0x4041a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ecx + 0x920]
mov eax, dword [ecx + 8]
push esi
push 0
mov dword [edx + 4], eax
mov edx, dword [ecx + 0x920]
mov eax, dword [ecx + 0xc]
push 0
mov dword [edx + 8], eax
mov eax, dword [ecx + 0x920]
push eax
push 0x403a80
push 0
push 0
mov dword [eax], 0x404220
call fcn.0041059c
mov esi, eax
add esp, 0x18
mov eax, 0x404220
test eax, eax
jne 0x404217
test esi, esi
je 0x404217
push 0xffffffffffffffff
push esi
call dword [0x41f188]
lea eax, [ebp - 4]
push eax
push esi
call dword [0x41f178]
test eax, eax
je 0x404217
cmp dword [ebp - 4], 0
jne 0x404217
push 0x1f4
call dword [0x41f184]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40d4f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
xor eax, eax
mov edx, eax
mov ecx, eax
and edx, 1
shr ecx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov edx, ecx
shr ecx, 1
and edx, 1
dec edx
not edx
and edx, 0xedb88320
xor edx, ecx
mov ecx, edx
shr edx, 1
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
xor ecx, edx
mov dword [eax*4 + 0x42a4e0], ecx
inc eax
cmp eax, 0x100
jb 0x40d4f3
cmp eax, 0x800
jae 0x40d5c3
nop
mov edx, dword [eax*4 + 0x42a0e0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x42a4e0]
mov dword [eax*4 + 0x42a4e0], edx
inc eax
cmp eax, 0x800
jb 0x40d5a0
mov dword [0x4293fc], 0x40e180
call fcn.0040e310
mov ecx, dword [0x4293fc]
test eax, eax
mov edx, 0x40e220
cmove ecx, edx
mov dword [0x4293fc], ecx
pop ecx
ret
Function at 0x40e820
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov eax, dword [eax]
and eax, 7
cmp edx, 5
jae 0x40e840
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret
push ebx
add edx, 0xfffffffc
or ebx, 0xffffffff
add edx, ecx
push esi
mov dword [ebp - 8], edx
lea ecx, [ecx]
lea esi, [edi + ecx]
cmp esi, edx
jae 0x40e869
mov cl, byte [esi]
and cl, 0xfe
cmp cl, 0xe8
je 0x40e866
inc esi
cmp esi, edx
jb 0x40e857
mov ecx, dword [ebp - 4]
mov edi, esi
sub edi, ecx
mov ecx, edi
sub ecx, ebx
cmp esi, edx
jae 0x40e971
cmp ecx, 3
jbe 0x40e882
xor eax, eax
jmp 0x40e8c0
dec ecx
shl eax, cl
and eax, 7
je 0x40e8c0
movzx ecx, byte [eax + 0x424a94]
mov edx, esi
sub edx, ecx
cmp byte [eax + 0x424a8c], 0
mov cl, byte [edx + 4]
je 0x40e8aa
test cl, cl
je 0x40e8aa
cmp cl, 0xff
jne 0x40e8bd
mov edx, dword [ebp - 8]
and eax, 3
mov ecx, dword [ebp - 4]
add eax, eax
mov ebx, edi
or eax, 1
inc edi
jmp 0x40e850
mov edx, dword [ebp - 8]
mov cl, byte [esi + 4]
mov ebx, edi
mov dword [ebp - 0x10], ebx
test cl, cl
je 0x40e8e2
cmp cl, 0xff
je 0x40e8e2
mov ecx, dword [ebp - 4]
and eax, 3
add eax, eax
or eax, 1
inc edi
jmp 0x40e850
movzx edx, cl
movzx ecx, byte [esi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [esi + 1]
shl edx, 8
or edx, ecx
sub edx, edi
lea ebx, [edx - 5]
test eax, eax
je 0x40e93e
movzx edx, byte [eax + 0x424a94]
mov ecx, 0x18
shl edx, 3
sub ecx, edx
mov dword [ebp - 0xc], edx
mov edx, ebx
shr edx, cl
test dl, dl
je 0x40e92a
cmp dl, 0xff
jne 0x40e93e
mov ecx, 0x20
mov edx, 1
sub ecx, dword [ebp - 0xc]
shl edx, cl
dec edx
xor edx, ebx
jmp 0x40e900
mov edx, dword [ebp - 8]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
mov byte [esi + 1], bl
dec cl
not cl
mov byte [esi + 4], cl
mov ecx, ebx
shr ecx, 0x10
mov byte [esi + 3], cl
mov ecx, ebx
mov ebx, dword [ebp - 0x10]
shr ecx, 8
add edi, 5
mov byte [esi + 2], cl
mov ecx, dword [ebp - 4]
jmp 0x40e850
pop esi
pop ebx
cmp ecx, 3
jbe 0x40e986
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret
dec ecx
shl eax, cl
mov ecx, dword [ebp + 0xc]
and eax, 7
mov dword [ecx], eax
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret