joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419b70
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
push edi
lea eax, [ebp - 0x128]
push eax
call fcn.004473d0
pop ecx
lea edx, [ebp - 0x128]
mov dword [ebp - 4], 0x382
xor ecx, ecx
mov eax, edx
mov edx, dword [eax]
add eax, 4
xor dword [ebp - 4], edx
inc ecx
cmp ecx, 6
jl 0x419b9a
lea edi, [ebp - 4]
xor eax, eax
xor ecx, ecx
mov edx, dword [ebp + 8]
add edx, 0x408
xor ebx, ebx
inc ecx
mov bl, byte [edx]
inc edx
mov esi, ebx
lea ebx, [esi + ebx*4]
lea ebx, [esi + ebx*2]
lea ebx, [esi + ebx*8]
lea ebx, [esi + ebx*2]
add eax, ebx
cmp ecx, 0x14
jl 0x419bb8
lea edx, [ebp - 0x10c]
push edx
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00428bd8
lea eax, [edi - 0xa]
add esp, 0xc
mov dword [ebp - 0xc], eax
xor esi, esi
mov edx, dword [ebp + 8]
xor ecx, ecx
lea edi, [edx + 0x61d]
mov bl, byte [edi]
cmp ecx, 0xa
jl 0x419c1c
cmp ecx, 0xe
jge 0x419c1c
mov eax, dword [ebp - 0xc]
xor bl, byte [eax]
movsx eax, bl
mov ebx, 0xa
xor edx, edx
div ebx
add dl, 0x30
mov ebx, edx
xor eax, eax
mov al, bl
lea edx, [ecx + 1]
imul edx
add esi, eax
inc ecx
inc dword [ebp - 0xc]
inc edi
cmp ecx, 0x14
jl 0x419bfa
lea ecx, [ebp - 0x10c]
push ecx
call fcn.0049fbf4
pop ecx
mov edx, eax
xor ecx, ecx
lea eax, [ebp - 0x10c]
cmp edx, ecx
jle 0x419c5e
xor ebx, ebx
lea edi, [ecx + 0x15]
mov bl, byte [eax]
inc eax
imul ebx, edi
add esi, ebx
inc ecx
cmp edx, ecx
jg 0x419c4c
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edx, dword [eax + 0x3dc]
mov eax, dword [ebp + 8]
mov ecx, edx
lea edx, [ecx + edx*2]
shl edx, 4
add edx, ecx
lea edx, [ecx + edx*2]
xor ecx, ecx
add esi, edx
add eax, 0x41d
add ebx, ebx
mov dl, byte [eax]
add dl, 0xd0
inc eax
and edx, 0xff
lea ebx, [ebx + ebx*4]
add edx, ebx
inc ecx
cmp ecx, 5
mov ebx, edx
jl 0x419c82
push 0x28
mov eax, dword [ebp + 8]
add eax, 0x7d0
push eax
lea edx, [ebp - 0x150]
push edx
call fcn.0049fa50
add esp, 0xc
mov ecx, dword [ebp - 0x144]
shl ecx, 3
add esi, ecx
mov ecx, ebx
sub ecx, esi
test ecx, ecx
jle 0x419cd1
cmp ecx, 7
jg 0x419cd1
mov esi, ebx
sub ebx, esi
setne al
and eax, 1
xor ecx, ecx
mov edx, eax
shl eax, 5
sub eax, edx
shl eax, 4
add eax, edx
lea eax, [edx + eax*2]
lea edx, [ebp - 8]
cmp eax, ecx
jle 0x419cff
mov dword [edx], 0x6f
inc ecx
add edx, 4
cmp eax, ecx
jg 0x419cf1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419d08
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeb0
push ebx
push esi
push edi
lea eax, [ebp - 0x128]
push eax
call fcn.004473d0
pop ecx
lea edx, [ebp - 0x128]
mov dword [ebp - 4], 0x382
xor ecx, ecx
mov eax, edx
mov edx, dword [eax]
add eax, 4
xor dword [ebp - 4], edx
inc ecx
cmp ecx, 6
jl 0x419d32
lea edi, [ebp - 4]
xor eax, eax
xor ecx, ecx
mov edx, dword [ebp + 8]
add edx, 0x408
xor ebx, ebx
inc ecx
mov bl, byte [edx]
inc edx
mov esi, ebx
lea ebx, [esi + ebx*4]
lea ebx, [esi + ebx*2]
lea ebx, [esi + ebx*8]
lea ebx, [esi + ebx*2]
add eax, ebx
cmp ecx, 0x14
jl 0x419d50
lea edx, [ebp - 0x10c]
push edx
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00428bd8
lea eax, [edi - 0xa]
add esp, 0xc
mov dword [ebp - 0xc], eax
xor esi, esi
mov edx, dword [ebp + 8]
xor ecx, ecx
lea edi, [edx + 0x61d]
mov bl, byte [edi]
cmp ecx, 0xa
jl 0x419db4
cmp ecx, 0xe
jge 0x419db4
mov eax, dword [ebp - 0xc]
xor bl, byte [eax]
movsx eax, bl
mov ebx, 0xa
xor edx, edx
div ebx
add dl, 0x30
mov ebx, edx
xor eax, eax
mov al, bl
lea edx, [ecx + 1]
imul edx
add esi, eax
inc ecx
inc dword [ebp - 0xc]
inc edi
cmp ecx, 0x14
jl 0x419d92
lea ecx, [ebp - 0x10c]
push ecx
call fcn.0049fbf4
pop ecx
mov edx, eax
xor ecx, ecx
lea eax, [ebp - 0x10c]
cmp edx, ecx
jle 0x419df6
xor ebx, ebx
lea edi, [ecx + 0x15]
mov bl, byte [eax]
inc eax
imul ebx, edi
add esi, ebx
inc ecx
cmp edx, ecx
jg 0x419de4
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edx, dword [eax + 0x3dc]
mov eax, dword [ebp + 8]
mov ecx, edx
lea edx, [ecx + edx*2]
shl edx, 4
add edx, ecx
lea edx, [ecx + edx*2]
xor ecx, ecx
add esi, edx
add eax, 0x41d
add ebx, ebx
mov dl, byte [eax]
add dl, 0xd0
inc eax
and edx, 0xff
lea ebx, [ebx + ebx*4]
add edx, ebx
inc ecx
cmp ecx, 5
mov ebx, edx
jl 0x419e1a
push 0x28
mov eax, dword [ebp + 8]
add eax, 0x7d0
push eax
lea edx, [ebp - 0x150]
push edx
call fcn.0049fa50
add esp, 0xc
mov ecx, dword [ebp - 0x144]
shl ecx, 3
add esi, ecx
mov ecx, ebx
sub ecx, esi
test ecx, ecx
jle 0x419e69
cmp ecx, 7
jg 0x419e69
mov esi, ebx
sub ebx, esi
setne al
and eax, 1
xor ecx, ecx
mov edx, eax
shl eax, 5
sub eax, edx
lea edx, [ebp - 8]
shl eax, 5
cmp eax, ecx
jle 0x419e92
mov dword [edx], 0x86
inc ecx
add edx, 4
cmp eax, ecx
jg 0x419e84
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x419e9c
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe88
mov eax, 0x4c9550
push ebx
push esi
push edi
call fcn.0049fef4
xor edx, edx
lea ecx, [ebp - 0x150]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], 0x64
mov word [ebp - 0x14], 8
push ecx
call fcn.004473d0
pop ecx
lea edx, [ebp - 0x150]
mov dword [ebp - 0x30], 0x382
xor ecx, ecx
mov eax, edx
mov edx, dword [eax]
add eax, 4
xor dword [ebp - 0x30], edx
inc ecx
cmp ecx, 6
jl 0x419ee2
lea esi, [ebp - 0x30]
xor eax, eax
xor ecx, ecx
mov edx, dword [ebp + 8]
add edx, 0x408
xor ebx, ebx
inc ecx
mov bl, byte [edx]
inc edx
mov edi, ebx
lea ebx, [edi + ebx*4]
lea ebx, [edi + ebx*2]
lea ebx, [edi + ebx*8]
lea ebx, [edi + ebx*2]
add eax, ebx
cmp ecx, 0x14
jl 0x419f00
lea edx, [ebp - 0x134]
push edx
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.00428bd8
add esp, 0xc
xor ecx, ecx
mov dword [ebp - 0x28], ecx
xor ecx, ecx
lea edi, [esi - 0xa]
mov eax, dword [ebp + 8]
lea esi, [eax + 0x61d]
mov bl, byte [esi]
cmp ecx, 0xa
jl 0x419f61
cmp ecx, 0xe
jge 0x419f61
xor bl, byte [edi]
movsx eax, bl
mov ebx, 0xa
xor edx, edx
div ebx
add dl, 0x30
mov ebx, edx
xor eax, eax
mov al, bl
lea edx, [ecx + 1]
imul edx
add dword [ebp - 0x28], eax
inc ecx
inc edi
inc esi
cmp ecx, 0x14
jl 0x419f42
lea ecx, [ebp - 0x134]
push ecx
call fcn.0049fbf4
pop ecx
mov edx, eax
xor ecx, ecx
lea eax, [ebp - 0x134]
cmp edx, ecx
jle 0x419fa3
xor ebx, ebx
lea esi, [ecx + 0x15]
mov bl, byte [eax]
inc eax
imul ebx, esi
add dword [ebp - 0x28], ebx
inc ecx
cmp edx, ecx
jg 0x419f90
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x3dc]
xor eax, eax
mov ecx, edx
lea edx, [ecx + edx*2]
shl edx, 4
add edx, ecx
lea edx, [ecx + edx*2]
add dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp + 8]
xor ecx, ecx
lea eax, [edx + 0x41d]
mov ebx, dword [ebp - 0x2c]
mov dl, byte [eax]
add ebx, ebx
add dl, 0xd0
and edx, 0xff
inc eax
lea ebx, [ebx + ebx*4]
inc ecx
add edx, ebx
cmp ecx, 5
mov dword [ebp - 0x2c], edx
jl 0x419fcc
push 0x28
mov eax, dword [ebp + 8]
add eax, 0x7d0
push eax
lea edx, [ebp - 0x178]
push edx
call fcn.0049fa50
add esp, 0xc
mov ecx, dword [ebp - 0x16c]
shl ecx, 3
add dword [ebp - 0x28], ecx
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x28]
test ecx, ecx
jle 0x41a026
cmp ecx, 7
jg 0x41a026
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov word [ebp - 0x14], 0
jmp 0x41a039
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x28]
setne al
and eax, 1
xor ecx, ecx
mov edx, eax
shl eax, 6
sub eax, edx
shl eax, 2
sub eax, edx
lea eax, [edx + eax*4]
lea edx, [ebp - 0x34]
cmp eax, ecx
jle 0x41a06b
mov dword [edx], 0x79
inc ecx
add edx, 4
cmp eax, ecx
jg 0x41a05d
mov eax, dword [ebp - 0x24]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4206b0
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
mov eax, 0x4c97e4
push ebx
push esi
push edi
call fcn.0049fef4
mov bl, 1
mov dl, 1
mov eax, dword [0x44ff54]
call fcn.00450054
mov dword [ebp - 0x40], eax
mov edx, 0x80000002
mov word [ebp - 0x2c], 8
mov eax, dword [ebp - 0x40]
call fcn.004adb40
mov word [ebp - 0x2c], 0x14
mov edx, str.SoftwareMicrosoftWindowsCurrentVersionRun
lea eax, [ebp - 4]
call fcn.004adb50
inc dword [ebp - 0x20]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0x40]
call fcn.00450158
push eax
dec dword [ebp - 0x20]
lea eax, [ebp - 4]
mov edx, 2
call fcn.004adc4c
pop ecx
test cl, cl
je 0x4207b1
mov edx, str.ai5dftest
lea eax, [ebp - 0xc]
call fcn.004adb50
inc dword [ebp - 0x20]
mov edx, 0x4c5ed2
mov ecx, dword [eax]
lea eax, [ebp - 8]
push ecx
mov word [ebp - 0x2c], 0x20
call fcn.004adb50
inc dword [ebp - 0x20]
mov edx, dword [eax]
mov eax, dword [ebp - 0x40]
pop ecx
call fcn.00450314
dec dword [ebp - 0x20]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004adc4c
dec dword [ebp - 0x20]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004adc4c
mov word [ebp - 0x2c], 0x2c
mov edx, str.ai5hxdkjfsld
lea eax, [ebp - 0x10]
call fcn.004adb50
inc dword [ebp - 0x20]
mov edx, dword [eax]
mov eax, dword [ebp - 0x40]
call fcn.0045027c
dec dword [ebp - 0x20]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004adc4c
mov eax, dword [ebp - 0x40]
call fcn.004500c4
jmp 0x4207b3
xor ebx, ebx
mov word [ebp - 0x2c], 0
jmp 0x4207c8
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x18], esi
test esi, esi
je 0x4207f0
mov eax, dword [esi]
mov dword [ebp - 0x14], eax
mov word [ebp - 0x2c], 0x44
mov edx, 3
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x2c], 0x38
mov eax, ebx
mov edx, dword [ebp - 0x3c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420804
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
mov eax, 0x4c98e4
push ebx
push esi
push edi
mov ebx, 0x4c5085
mov esi, dword [ebp + 8]
call fcn.0049fef4
mov word [ebp - 0x3c], 8
xor edx, edx
lea eax, [ebx + 0xe71]
mov dword [ebp - 4], edx
lea edx, [ebp - 0x168]
inc dword [ebp - 0x30]
mov word [ebp - 0x3c], 0x14
mov ecx, dword [esi + 0x3dc]
push ecx
push eax
push edx
call fcn.004a3230
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x154]
push ecx
call sub.KERNEL32.DLL_GetWindowsDirectoryA
lea eax, [ebx + 0xe74]
push eax
lea edx, [ebp - 0x154]
push edx
call fcn.0049fb64
add esp, 8
lea ecx, [ebp - 0x168]
push ecx
lea eax, [ebp - 0x154]
push eax
call fcn.0049fb64
add esp, 8
lea edx, [ebx + 0xe80]
push edx
lea ecx, [ebp - 0x154]
push ecx
call fcn.0049fb64
mov word [ebp - 0x3c], 0x20
add esp, 8
lea edx, [ebp - 0x154]
lea eax, [ebp - 8]
call fcn.004adb50
mov edx, eax
inc dword [ebp - 0x30]
lea eax, [ebp - 4]
call fcn.004adc7c
dec dword [ebp - 0x30]
lea eax, [ebp - 8]
mov edx, 2
call fcn.004adc4c
mov dl, 1
mov eax, dword [0x488ef0]
call fcn.00405e40
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0xc]
mov word [ebp - 0x3c], 0x2c
lea edx, [ebx + 0xe85]
call fcn.004adb50
inc dword [ebp - 0x30]
mov edx, dword [eax]
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x30]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004adc4c
mov word [ebp - 0x3c], 0x38
lea edx, [ebx + 0xe86]
lea eax, [ebp - 0x10]
call fcn.004adb50
inc dword [ebp - 0x30]
mov edx, dword [eax]
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x30]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004adc4c
mov word [ebp - 0x3c], 0x44
lea edx, [ebx + 0xe88]
lea eax, [ebp - 0x14]
call fcn.004adb50
inc dword [ebp - 0x30]
mov edx, dword [eax]
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x30]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004adc4c
mov word [ebp - 0x3c], 0x50
lea edx, [ebx + 0xe8a]
lea eax, [ebp - 0x18]
call fcn.004adb50
inc dword [ebp - 0x30]
mov edx, dword [eax]
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
call dword [ecx + 0x34]
dec dword [ebp - 0x30]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.004adc4c
mov eax, dword [ebp - 4]
call fcn.004adb48
mov word [ebp - 0x3c], 0x5c
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x50]
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov word [ebp - 0x3c], 0x14
jmp 0x420a25
mov eax, dword [ebp - 4]
call fcn.004adb48
mov ebx, dword [ebp - 0x50]
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x420a55
mov eax, dword [ebx]
mov dword [ebp - 0x24], eax
mov word [ebp - 0x3c], 0x8c
mov edx, 3
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x3c], 0x80
mov al, 1
mov edx, 2
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0x30]
call fcn.004adc4c
pop eax
mov edx, dword [ebp - 0x4c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422384
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff74
mov eax, 0x4ca0c8
push ebx
push esi
push edi
call fcn.0049fef4
mov dword [ebp - 0xc], 1
lea edx, [ebp + 0x10]
lea eax, [ebp + 0x10]
call fcn.004adb88
inc dword [ebp - 0xc]
mov word [ebp - 0x18], 8
cmp dword [ebp + 0x10], 0
je 0x4223c0
mov edx, dword [ebp + 0x10]
jmp 0x4223c5
mov edx, 0x4c5fec
xor eax, eax
mov edi, edx
or ecx, 0xffffffff
lea esi, [ebp - 0x8c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
xchg edi, esi
shr ecx, 2
mov eax, edi
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x8c]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
call fcn.0049fbf4
pop ecx
mov ecx, eax
mov esi, 0x64
xor edx, edx
lea eax, [ebp - 0x8c]
cmp ecx, edx
jle 0x422415
movsx ebx, byte [eax]
add esi, ebx
inc edx
inc eax
cmp ecx, edx
jg 0x42240a
mov eax, esi
mov ebx, 0xa
cdq
idiv ebx
add dl, 0x30
lea eax, [ebp - 4]
mov byte [ebp + ecx - 0x8c], dl
lea edx, [ebp - 0x8c]
mov byte [ebp + ecx - 0x8b], 0
mov word [ebp - 0x18], 0x14
call fcn.004adb50
mov edx, eax
inc dword [ebp - 0xc]
mov eax, dword [ebp + 8]
call fcn.004adc7c
mov eax, dword [ebp + 8]
mov edx, 2
mov word [ebp - 0x18], 0x20
push eax
lea eax, [ebp - 4]
dec dword [ebp - 0xc]
call fcn.004adc4c
dec dword [ebp - 0xc]
lea eax, [ebp + 0x10]
mov edx, 2
call fcn.004adc4c
pop eax
mov word [ebp - 0x18], 0x14
inc dword [ebp - 0xc]
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42278c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov eax, 0x4ca26c
call fcn.0049fef4
push 0x104
lea edx, [ebp - 0x138]
push edx
call sub.KERNEL32.DLL_GetWindowsDirectoryA
push 0x4c5ff4
lea ecx, [ebp - 0x138]
push ecx
call fcn.0049fb64
add esp, 8
push esi
lea eax, [ebp - 0x138]
push eax
call fcn.0049fb64
add esp, 8
push 0x4c5ff6
lea edx, [ebp - 0x138]
push edx
call fcn.0049fb64
mov word [ebp - 0x24], 8
add esp, 8
lea edx, [ebp - 0x138]
lea eax, [ebp - 4]
call fcn.004adb50
inc dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.00496ba8
cmp al, 1
lea eax, [ebp - 4]
sete dl
and edx, 1
push edx
mov edx, 2
dec dword [ebp - 0x18]
call fcn.004adc4c
pop ecx
test cl, cl
je 0x422871
push esi
lea edx, [ebp - 0x138]
mov word [ebp - 0x24], 0x14
lea eax, [ebp - 8]
call fcn.004adb50
inc dword [ebp - 0x18]
mov ecx, dword [eax]
push ecx
push ebx
call fcn.00429c98
add esp, 0xc
mov edx, 2
push eax
lea eax, [ebp - 8]
dec dword [ebp - 0x18]
call fcn.004adc4c
pop eax
mov edx, dword [ebp - 0x34]
mov dword fs:[0], edx
jmp 0x422934
push 0x104
lea ecx, [ebp - 0x138]
push ecx
call sub.KERNEL32.DLL_GetWindowsDirectoryA
push 0x4c6005
lea eax, [ebp - 0x138]
push eax
call fcn.0049fb64
add esp, 8
push str.ai9splaydd.ddd
lea edx, [ebp - 0x138]
push edx
call fcn.0049fb64
mov word [ebp - 0x24], 0x20
add esp, 8
lea edx, [ebp - 0x138]
lea eax, [ebp - 0xc]
call fcn.004adb50
inc dword [ebp - 0x18]
mov eax, dword [eax]
call fcn.00496ba8
cmp al, 1
lea eax, [ebp - 0xc]
sete dl
and edx, 1
push edx
mov edx, 2
dec dword [ebp - 0x18]
call fcn.004adc4c
pop ecx
test cl, cl
je 0x422928
push esi
lea edx, [ebp - 0x138]
mov word [ebp - 0x24], 0x2c
lea eax, [ebp - 0x10]
call fcn.004adb50
inc dword [ebp - 0x18]
mov ecx, dword [eax]
push ecx
push ebx
call fcn.00429c98
add esp, 0xc
mov edx, 2
push eax
lea eax, [ebp - 0x10]
dec dword [ebp - 0x18]
call fcn.004adc4c
pop eax
mov edx, dword [ebp - 0x34]
mov dword fs:[0], edx
jmp 0x422934
xor eax, eax
mov edx, dword [ebp - 0x34]
mov dword fs:[0], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427da0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov edx, dword [ebp + 0xc]
mov ecx, eax
inc eax
shl ecx, 2
push ecx
mov cl, 0x64
pop ebx
sub cl, bl
xor byte [edx], cl
inc edx
cmp eax, 0x28
jl 0x427da9
pop ebx
pop ebp
ret

Function at 0x428458
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea0
mov eax, 0x4c8918
push ebx
push esi
push edi
call fcn.0049fef4
mov word [ebp - 0x14], 8
xor eax, eax
xor edx, edx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], edx
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 8]
add ecx, 0x3a4
mov esi, 0x7ce
mov eax, dword [edx + 0x1db0]
mov edx, dword [eax]
sub edx, ecx
mov eax, edx
mov edi, eax
lea eax, [esi + 8]
mov edx, edi
sub edx, eax
push edx
call fcn.0049fbf4
pop ecx
mov dword [ebp - 0x28], eax
mov ebx, 0x14
lea eax, [ebp - 0x144]
jmp 0x4284d3
lea edx, [esi + 8]
mov ecx, ebx
sub ecx, edx
inc ebx
mov dl, byte [edi + ecx]
mov byte [eax], dl
inc eax
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff6
cmp ebx, ecx
jl 0x4284c5
mov byte [ebp + ebx - 0x158], 0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x144]
push eax
call fcn.0043bda8
add esp, 8
lea edx, [ebp - 0x2c]
push edx
mov ecx, dword [ebp + 8]
add ecx, 0x2004
push ecx
call fcn.0043bbe0
add esp, 8
lea eax, [ebp - 0x30]
push eax
push str.65537
call fcn.0043bda8
add esp, 8
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x2c]
push ecx
mov eax, dword [ebp - 0x30]
push eax
mov edx, dword [ebp - 0x38]
push edx
call fcn.00435a94
add esp, 0x10
mov ecx, dword [ebp - 0x34]
push ecx
lea eax, [ebp - 0x144]
push eax
call fcn.0043bfb8
add esp, 8
lea edx, [ebp - 0x160]
push edx
call fcn.004473d0
pop ecx
lea eax, [ebp - 0x160]
mov dword [ebp - 0x40], 0x382
xor ebx, ebx
mov edx, dword [eax]
add eax, 4
xor dword [ebp - 0x40], edx
inc ebx
cmp ebx, 6
jl 0x428566
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
xor ebx, ebx
mov eax, dword [ebp - 0x3c]
mov esi, eax
mov eax, dword [ebp + 8]
lea edi, [eax + 0x627]
mov cl, byte [edi]
xor edx, edx
xor cl, byte [esi]
movsx eax, cl
mov ecx, 0xa
inc edi
div ecx
add dl, 0x30
inc ebx
mov ecx, edx
mov byte [esi], cl
inc esi
cmp ebx, 4
jl 0x42858a
xor ebx, ebx
lea edx, [ebp - 0x13a]
mov eax, dword [ebp - 0x3c]
mov cl, byte [eax]
cmp cl, byte [edx]
jne 0x4285c2
inc ebx
inc edx
inc eax
cmp ebx, 4
jl 0x4285b4
mov word [ebp - 0x14], 0
jmp 0x4285d7
cmp ebx, 4
jge 0x4285fd
lea eax, [ebp - 0x44]
xor ebx, ebx
xor edx, edx
inc ebx
mov dword [eax], edx
add eax, 4
cmp ebx, 0x3dc
jl 0x4285e1
mov ecx, dword [ebp - 0x24]
mov dword fs:[0], ecx
jmp 0x428606
mov eax, dword [ebp - 0x24]
mov dword fs:[0], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428610
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe68
mov eax, 0x4c894c
push ebx
push esi
push edi
call fcn.0049fef4
mov word [ebp - 0x14], 8
lea edx, [ebp - 0x148]
push edx
call fcn.00447318
pop ecx
lea eax, [ebp - 0x148]
mov dword [ebp - 0x28], 0x382
xor ecx, ecx
mov edx, eax
mov eax, edx
mov edx, dword [eax]
add eax, 4
xor dword [ebp - 0x28], edx
inc ecx
cmp ecx, 6
jl 0x42864c
lea edi, [ebp - 0x28]
xor edx, edx
xor ecx, ecx
mov eax, dword [ebp + 8]
add eax, 0x408
xor ebx, ebx
inc ecx
mov bl, byte [eax]
inc eax
mov esi, ebx
lea ebx, [esi + ebx*4]
lea ebx, [esi + ebx*2]
lea ebx, [esi + ebx*8]
lea ebx, [esi + ebx*2]
add edx, ebx
cmp ecx, 0x14
jl 0x428669
lea eax, [ebp - 0x12c]
push eax
push edx
mov edx, dword [ebp + 8]
push edx
call fcn.00428814
lea eax, [edi - 0xa]
add esp, 0xc
mov dword [ebp - 0x2c], eax
xor esi, esi
mov edx, dword [ebp + 8]
xor ecx, ecx
lea edi, [edx + 0x61d]
mov bl, byte [edi]
cmp ecx, 0xa
jl 0x4286cd
cmp ecx, 0xe
jge 0x4286cd
mov eax, dword [ebp - 0x2c]
xor bl, byte [eax]
movsx eax, bl
mov ebx, 0xa
xor edx, edx
div ebx
add dl, 0x30
mov ebx, edx
xor eax, eax
mov al, bl
lea edx, [ecx + 1]
imul edx
add esi, eax
inc ecx
inc dword [ebp - 0x2c]
inc edi
cmp ecx, 0x14
jl 0x4286ab
lea ecx, [ebp - 0x12c]
push ecx
call fcn.0049fbf4
pop ecx
mov edx, eax
xor ecx, ecx
lea eax, [ebp - 0x12c]
cmp edx, ecx
jle 0x42870f
xor ebx, ebx
lea edi, [ecx + 0x15]
mov bl, byte [eax]
inc eax
imul ebx, edi
add esi, ebx
inc ecx
cmp edx, ecx
jg 0x4286fd
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edx, dword [eax + 0x3dc]
mov eax, dword [ebp + 8]
mov ecx, edx
lea edx, [ecx + edx*2]
shl edx, 4
add edx, ecx
lea edx, [ecx + edx*2]
xor ecx, ecx
add esi, edx
add eax, 0x41d
add ebx, ebx
mov dl, byte [eax]
add dl, 0xd0
inc eax
and edx, 0xff
lea ebx, [ebx + ebx*4]
add edx, ebx
inc ecx
cmp ecx, 5
mov ebx, edx
jl 0x428733
push 0x28
mov eax, dword [ebp + 8]
add eax, 0x7d0
push eax
lea edx, [ebp - 0x170]
push edx
call fcn.0049fa50
add esp, 0xc
mov ecx, dword [ebp - 0x164]
shl ecx, 3
add esi, ecx
mov ecx, ebx
sub ecx, esi
test ecx, ecx
jle 0x428790
cmp ecx, 7
jg 0x428790
test cl, 2
je 0x428790
mov eax, dword [ebp - 0x24]
mov dword fs:[0], eax
jmp 0x42880c
mov word [ebp - 0x14], 0
jmp 0x4287a3
mov eax, dword [ebp + 8]
add eax, 0x2308
mov eax, dword [eax + 0x54]
add eax, 0x32
test byte [eax + 3], 2
je 0x428802
push 0x28
mov edx, dword [0x4c3500]
add edx, 0x294
push edx
lea ecx, [ebp - 0x198]
push ecx
call fcn.0049fa50
add esp, 0xc
mov eax, dword [ebp - 0x184]
cmp eax, 2
jne 0x4287ec
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x42880c
mov ecx, dword [ebp + 8]
add dword [ecx + 0x854], 0x1e
mov eax, dword [ebp + 8]
add eax, 0x1c70
add dword [eax + 0x10], 4
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x428890
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe68
mov eax, 0x4c8980
push ebx
push esi
push edi
call fcn.0049fef4
mov word [ebp - 0x14], 8
lea edx, [ebp - 0x148]
push edx
call fcn.00447374
pop ecx
lea eax, [ebp - 0x148]
mov dword [ebp - 0x28], 0x382
xor ecx, ecx
mov edx, eax
mov eax, edx
mov edx, dword [eax]
add eax, 4
xor dword [ebp - 0x28], edx
inc ecx
cmp ecx, 6
jl 0x4288cc
lea edi, [ebp - 0x28]
xor edx, edx
xor ecx, ecx
mov eax, dword [ebp + 8]
add eax, 0x408
xor ebx, ebx
inc ecx
mov bl, byte [eax]
inc eax
mov esi, ebx
lea ebx, [esi + ebx*4]
lea ebx, [esi + ebx*2]
lea ebx, [esi + ebx*8]
lea ebx, [esi + ebx*2]
add edx, ebx
cmp ecx, 0x14
jl 0x4288e9
lea eax, [ebp - 0x12c]
push eax
push edx
mov edx, dword [ebp + 8]
push edx
call fcn.00428a78
lea eax, [edi - 0xa]
add esp, 0xc
mov dword [ebp - 0x2c], eax
xor esi, esi
mov edx, dword [ebp + 8]
xor ecx, ecx
lea edi, [edx + 0x61d]
mov bl, byte [edi]
cmp ecx, 0xa
jl 0x42894d
cmp ecx, 0xe
jge 0x42894d
mov eax, dword [ebp - 0x2c]
xor bl, byte [eax]
movsx eax, bl
mov ebx, 0xa
xor edx, edx
div ebx
add dl, 0x30
mov ebx, edx
xor eax, eax
mov al, bl
lea edx, [ecx + 1]
imul edx
add esi, eax
inc ecx
inc dword [ebp - 0x2c]
inc edi
cmp ecx, 0x14
jl 0x42892b
lea ecx, [ebp - 0x12c]
push ecx
call fcn.0049fbf4
pop ecx
mov edx, eax
xor ecx, ecx
lea eax, [ebp - 0x12c]
cmp edx, ecx
jle 0x42898f
xor ebx, ebx
lea edi, [ecx + 0x15]
mov bl, byte [eax]
inc eax
imul ebx, edi
add esi, ebx
inc ecx
cmp edx, ecx
jg 0x42897d
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edx, dword [eax + 0x3dc]
mov eax, dword [ebp + 8]
mov ecx, edx
lea edx, [ecx + edx*2]
shl edx, 4
add edx, ecx
lea edx, [ecx + edx*2]
xor ecx, ecx
add esi, edx
add eax, 0x41d
add ebx, ebx
mov dl, byte [eax]
add dl, 0xd0
inc eax
and edx, 0xff
lea ebx, [ebx + ebx*4]
add edx, ebx
inc ecx
cmp ecx, 5
mov ebx, edx
jl 0x4289b3
push 0x28
mov eax, dword [ebp + 8]
add eax, 0x7d0
push eax
lea edx, [ebp - 0x170]
push edx
call fcn.0049fa50
add esp, 0xc
mov ecx, dword [ebp - 0x164]
shl ecx, 3
add esi, ecx
mov ecx, ebx
sub ecx, esi
test ecx, ecx
jle 0x428a10
cmp ecx, 7
jg 0x428a10
test cl, 2
je 0x428a10
mov eax, dword [ebp - 0x24]
mov dword fs:[0], eax
jmp 0x428a6e
mov word [ebp - 0x14], 0
jmp 0x428a23
push 0x28
mov edx, dword [0x4c3500]
add edx, 0x294
push edx
lea ecx, [ebp - 0x198]
push ecx
call fcn.0049fa50
add esp, 0xc
mov eax, dword [ebp - 0x184]
cmp eax, 2
jne 0x428a58
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
jmp 0x428a6e
mov eax, dword [ebp + 8]
add eax, 0xaa8
add dword [eax + 0x18], 4
mov edx, dword [ebp - 0x24]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret