joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4085a8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00404c2c
xor eax, eax
push ebp
push 0x40865f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x30]
call fcn.00405bc8
mov esi, eax
cmp dword [ebp - 4], 0
jne 0x4085f0
test esi, esi
jle 0x4085f0
lea eax, [ebp - 4]
lea edx, [esi + esi*2]
mov ecx, dword [ebx + 0x30]
mov edx, dword [ecx + edx*8 - 8]
call fcn.00404804
lea eax, [esi + 1]
push eax
lea eax, [ebx + 0x30]
mov ecx, 1
mov edx, dword [0x4082a8]
call fcn.00405d84
add esp, 4
lea edi, [esi + esi*2]
mov eax, dword [ebx + 0x30]
mov edx, dword [ebx + 0x38]
mov dword [eax + edi*8], edx
mov edx, dword [ebx + 0x3c]
mov dword [eax + edi*8 + 4], edx
mov eax, dword [ebx + 0x30]
mov edx, dword [ebp + 8]
mov dword [eax + edi*8 + 8], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + edi*8 + 0xc], edx
mov eax, dword [ebx + 0x30]
lea eax, [eax + edi*8 + 0x10]
mov edx, dword [ebp - 4]
call fcn.004047c0
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add dword [ebx + 0x38], eax
adc dword [ebx + 0x3c], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408666
lea eax, [ebp - 4]
call fcn.0040476c
ret

Function at 0x409efc
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, edx
mov ebx, eax
test ebx, ebx
je 0x409f98
test ebx, ebx
setl byte [esp]
mov eax, edi
mov edx, 0xb
call fcn.00404dc8
mov esi, 0xb
mov eax, ebx
mov ecx, 0xa
cdq
idiv ecx
mov eax, edx
cdq
xor eax, edx
sub eax, edx
mov ebp, eax
mov eax, ebx
mov ecx, 0xa
cdq
idiv ecx
mov ebx, eax
mov eax, edi
call fcn.00404c94
lea edx, [ebp + 0x30]
mov byte [eax + esi - 1], dl
dec esi
test ebx, ebx
jne 0x409f24
cmp byte [esp], 0
je 0x409f69
mov eax, edi
call fcn.00404c94
mov byte [eax + esi - 1], 0x2d
dec esi
test esi, esi
jle 0x409fa4
mov eax, edi
call fcn.00404c94
push eax
mov eax, edi
call fcn.00404c94
add eax, esi
mov ebx, 0xb
sub ebx, esi
mov ecx, ebx
pop edx
call fcn.0040299c
mov edx, ebx
mov eax, edi
call fcn.00404dc8
jmp 0x409fa4
mov eax, edi
mov edx, 0x409fb4
call fcn.004047c0
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x40af00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404c2c
xor eax, eax
push ebp
push 0x40af62
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004047c0
mov eax, ebx
call fcn.00404c8c
mov eax, dword [ebx]
call fcn.00404a3c
test eax, eax
jle 0x40af4c
mov edx, 1
mov ecx, dword [ebx]
xor byte [ecx + edx - 1], 0x55
inc edx
dec eax
jne 0x40af41
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40af69
lea eax, [ebp - 4]
call fcn.0040476c
ret
Function at 0x40c09c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, eax
xor ebx, ebx
xor eax, eax
push ebp
push 0x40c0e4
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
mov edi, esi
push edi
call fcn.00407308
test eax, eax
jne 0x40c0da
cmp word [edi], 0x5a4d
jne 0x40c0da
lea eax, [esi + 0x3c]
mov ebx, dword [eax]
add ebx, esi
cmp dword [ebx], 0x4550
je 0x40c0da
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x40c0f0
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x413684
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 8], eax
mov esi, dword [ebx + 0x24]
sub esi, dword [ebx + 0x5c]
sub esi, dword [ebx + 0x54]
test esi, esi
jne 0x4136b5
cmp dword [ebx + 0x54], 0
jne 0x4136b5
cmp dword [ebx + 0x5c], 0
jne 0x4136b5
mov esi, dword [ebp - 8]
jmp 0x413760
cmp esi, 0xffffffff
jne 0x4136c0
dec esi
jmp 0x413760
mov eax, dword [ebx + 0x54]
mov edx, dword [ebp - 8]
sub edx, 0x106
add edx, dword [ebp - 8]
cmp eax, edx
jb 0x413760
mov eax, dword [ebx + 0x20]
mov edx, dword [ebp - 8]
lea edx, [eax + edx]
mov ecx, dword [ebp - 8]
xchg edx, eax
call fcn.0040299c
mov eax, dword [ebp - 8]
sub dword [ebx + 0x58], eax
mov eax, dword [ebp - 8]
sub dword [ebx + 0x54], eax
mov eax, dword [ebp - 8]
sub dword [ebx + 0x44], eax
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx + 0x2c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 8]
jb 0x413722
mov cx, word [ebp - 4]
sub cx, word [ebp - 8]
mov word [edx], cx
jmp 0x413727
mov word [edx], 0
dec eax
test eax, eax
jne 0x413704
mov eax, dword [ebp - 8]
mov edx, dword [ebx + 0x28]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 8]
jb 0x413753
mov cx, word [ebp - 4]
sub cx, word [ebp - 8]
mov word [edx], cx
jmp 0x413758
mov word [edx], 0
dec eax
test eax, eax
jne 0x413735
add esi, dword [ebp - 8]
mov eax, dword [ebx]
mov edx, dword [eax + 8]
mov ecx, dword [ebp + 8]
cmp edx, dword [ecx + 0x10]
je 0x4137ca
push ebp
mov edx, dword [ebx + 0x54]
add edx, dword [ebx + 0x5c]
mov ecx, dword [ebx + 0x20]
lea edx, [ecx + edx]
mov ecx, esi
call fcn.00413614
pop ecx
add dword [ebx + 0x5c], eax
cmp dword [ebx + 0x5c], 3
jb 0x4137b0
mov eax, dword [ebx + 0x54]
mov edx, dword [ebx + 0x20]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x30], eax
mov ecx, dword [ebx + 0x40]
shl eax, cl
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x20]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x3c]
mov dword [ebx + 0x30], eax
cmp dword [ebx + 0x5c], 0x106
jae 0x4137ca
mov eax, dword [ebx]
mov eax, dword [eax + 8]
mov edx, dword [ebp + 8]
cmp eax, dword [edx + 0x10]
jne 0x413694
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x417100
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, eax
dec ecx
test ecx, ecx
jl 0x417127
inc ecx
mov eax, edx
mov edx, esi
xor dl, byte [eax]
and edx, 0xff
mov edx, dword [edx*4 + 0x51d7c8]
shr esi, 8
xor edx, esi
mov esi, edx
inc eax
dec ecx
jne 0x41710b
mov eax, esi
pop esi
ret

Function at 0x417a20
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor esi, esi
mov edi, 0x12
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x1048]
lea eax, [esi + 1]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 4]
xor ebx, ebx
mov bl, byte [eax + edx]
shl ebx, 0x10
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi]
shl eax, 0x18
add ebx, eax
lea eax, [esi + 2]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edx]
shl eax, 8
add ebx, eax
lea eax, [esi + 3]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edx]
add ebx, eax
xor dword [ecx], ebx
lea eax, [esi + 4]
xor edx, edx
div dword [ebp - 8]
mov esi, edx
add ecx, 4
dec edi
jne 0x417a3f
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor edi, edi
mov eax, dword [ebp + 8]
push eax
push 1
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x1048]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.00417660
pop ecx
mov eax, edi
add eax, eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [edx + eax*4 - 0x1048], ecx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4 - 0x1044], ecx
inc edi
cmp edi, 9
jne 0x417aa1
mov edi, 4
mov eax, dword [ebp + 8]
lea ebx, [eax - 0x1000]
xor esi, esi
mov eax, dword [ebp + 8]
push eax
push 1
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x1048]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.00417660
pop ecx
mov eax, esi
add eax, eax
mov edx, dword [ebp - 0xc]
mov dword [ebx + eax*4], edx
mov edx, dword [ebp - 0x10]
mov dword [ebx + eax*4 + 4], edx
inc esi
cmp esi, 0x80
jne 0x417af0
add ebx, 0x400
dec edi
jne 0x417aee
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417edc
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
test edi, edi
jle 0x417ffe
lea eax, [edi + 2]
mov ecx, 3
cdq
idiv ecx
mov edx, eax
shl edx, 2
mov eax, esi
call fcn.00404dc8
mov ecx, dword [esi]
mov eax, edi
mov esi, 3
cdq
idiv esi
mov esi, eax
test esi, esi
jle 0x417f75
xor eax, eax
mov al, byte [ebx]
shl eax, 0x10
xor edx, edx
mov dl, byte [ebx + 1]
shl edx, 8
add eax, edx
xor edx, edx
mov dl, byte [ebx + 2]
add eax, edx
mov edx, eax
shr edx, 0x12
and edx, 0x3f
mov dl, byte [edx + 0x51ec10]
mov byte [ecx], dl
mov edx, eax
shr edx, 0xc
and edx, 0x3f
mov dl, byte [edx + 0x51ec10]
mov byte [ecx + 1], dl
mov edx, eax
shr edx, 6
and edx, 0x3f
mov dl, byte [edx + 0x51ec10]
mov byte [ecx + 2], dl
and eax, 0x3f
mov al, byte [eax + 0x51ec10]
mov byte [ecx + 3], al
add ecx, 4
add ebx, 3
dec esi
jne 0x417f16
mov eax, edi
mov esi, 3
cdq
idiv esi
dec edx
je 0x417f87
dec edx
je 0x417fb7
jmp 0x418005
xor eax, eax
mov al, byte [ebx]
shl eax, 0x10
mov edx, eax
shr edx, 0x12
and edx, 0x3f
mov dl, byte [edx + 0x51ec10]
mov byte [ecx], dl
shr eax, 0xc
and eax, 0x3f
mov al, byte [eax + 0x51ec10]
mov byte [ecx + 1], al
mov byte [ecx + 2], 0x3d
mov byte [ecx + 3], 0x3d
jmp 0x418005
xor eax, eax
mov al, byte [ebx]
shl eax, 0x10
xor edx, edx
mov dl, byte [ebx + 1]
shl edx, 8
add eax, edx
mov edx, eax
shr edx, 0x12
and edx, 0x3f
mov dl, byte [edx + 0x51ec10]
mov byte [ecx], dl
mov edx, eax
shr edx, 0xc
and edx, 0x3f
mov dl, byte [edx + 0x51ec10]
mov byte [ecx + 1], dl
shr eax, 6
and eax, 0x3f
mov al, byte [eax + 0x51ec10]
mov byte [ecx + 2], al
mov byte [ecx + 3], 0x3d
jmp 0x418005
mov eax, esi
call fcn.0040476c
pop edi
pop esi
pop ebx
ret
Function at 0x424474
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov byte [esp + 4], cl
mov dword [esp], edx
mov edi, eax
mov ecx, edi
mov al, byte [esp]
mov byte [esp + 5], al
mov edx, edi
shr edx, 8
mov eax, dword [esp]
shr eax, 8
mov byte [esp + 6], al
mov eax, edi
shr eax, 0x10
mov ebx, dword [esp]
shr ebx, 0x10
mov byte [esp + 7], bl
xor esi, esi
cmp byte [esp + 4], 0
je 0x42450a
xor ebx, ebx
mov bl, cl
movzx ebp, byte [esp + 5]
add ebx, ebp
cmp ebx, 0xff
jbe 0x4244cc
inc esi
mov cl, 0xff
jmp 0x4244d0
add cl, byte [esp + 5]
xor ebx, ebx
mov bl, dl
movzx ebp, byte [esp + 6]
add ebx, ebp
cmp ebx, 0xff
jbe 0x4244e8
inc esi
mov dl, 0xff
jmp 0x4244ec
add dl, byte [esp + 6]
xor ebx, ebx
mov bl, al
movzx ebp, byte [esp + 7]
add ebx, ebp
cmp ebx, 0xff
jbe 0x424504
inc esi
mov al, 0xff
jmp 0x424537
add al, byte [esp + 7]
jmp 0x424537
cmp cl, byte [esp + 5]
jae 0x424515
inc esi
xor ecx, ecx
jmp 0x424519
sub cl, byte [esp + 5]
cmp dl, byte [esp + 6]
jae 0x424524
inc esi
xor edx, edx
jmp 0x424528
sub dl, byte [esp + 6]
cmp al, byte [esp + 7]
jae 0x424533
inc esi
xor eax, eax
jmp 0x424537
sub al, byte [esp + 7]
dec esi
jle 0x42454d
mov cl, byte [esp + 4]
xor cl, 1
mov edx, dword [esp]
mov eax, edi
call fcn.00424474
jmp 0x424566
and eax, 0xff
shl eax, 0x10
and edx, 0xff
shl edx, 8
add eax, edx
xor edx, edx
mov dl, cl
add eax, edx
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x425768
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4257eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, 0x10
call fcn.00407dec
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0x30]
sub eax, 0x2e
mov dword [esi + 8], eax
push 0x410
push esi
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00425900
mov eax, dword [ebp - 4]
call fcn.00404a3c
push eax
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00425900
mov eax, dword [ebp - 8]
call fcn.00404c3c
push eax
push edi
call fcn.004078b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4257f2
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404790
ret
Function at 0x46fedc
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x46fee2
ret

Function at 0x47c128
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x47c2d9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404e2c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x47c2f0
call fcn.00404a88
mov eax, ebx
call fcn.0046dd90
mov edi, eax
dec edi
test edi, edi
jl 0x47c1e0
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0046dd64
mov edx, dword [0x495aa4]
call fcn.00403a20
test al, al
je 0x47c1dc
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0046dd64
lea edx, [ebp - 0x14]
call fcn.004a0778
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404e2c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404afc
inc esi
dec edi
jne 0x47c18e
mov al, byte [0x47c2f4]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x47c300
mov eax, dword [ebp - 0xc]
call fcn.0045894c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404804
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.004a0778
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x47c2f0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.004a0778
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x47c2f0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x47c2f0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x47c30c
call fcn.00453438
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47c2e0
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404790
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404790
lea eax, [ebp - 0x14]
call fcn.0040476c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404790
ret
Function at 0x4c550c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00471b9c
cmp ebx, dword [ebp - 8]
jge 0x4c556f
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00471ff0
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.00471ff0
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, esi
mov edx, ebx
call fcn.0047201c
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4c5535
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4c5578
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, dword [ebp - 4]
inc ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00471b9c
cmp ebx, dword [ebp - 8]
jge 0x4c55db
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00471ff0
mov edi, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.00471ff0
xor edi, eax
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov ecx, ebx
mov edx, esi
call fcn.0047201c
add ebx, 2
cmp ebx, dword [ebp - 8]
jl 0x4c55a1
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x401443
pop dword [ebp - 0x28]
mov eax, 0x401443
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x29d23493
add dword [ebp - 0x38], 0x248010b8
mov dword [ebp - 0x34], 0xe196870e
sub dword [ebp - 0x34], 0xaf633ac9
mov dword [ebp - 0x30], 0xc593544b
sub dword [ebp - 0x30], 0x7947101d
mov dword [ebp - 0x2c], 0xf67c351f
sub dword [ebp - 0x2c], 0xf67c351f
lea eax, [ebp - 0x38]
push eax
mov eax, 0x6a58a8b2
sub eax, 0x6a1827ae
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x6983578d
sub dword [ebp - 0x38], 0xf510ee37
mov dword [ebp - 0x34], 0xc731d18a
add dword [ebp - 0x34], 0x7a3a8feb
mov dword [ebp - 0x30], 0xf67388ab
add dword [ebp - 0x30], 0x6cfbe3c1
mov dword [ebp - 0x2c], 0xccde0496
add dword [ebp - 0x2c], 0x3321fb6a
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, 0xc6f46e40
add eax, 0x394c12c0
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3956e
push 0
call eax
mov ecx, 0x4c32
xor esi, esi
add esi, eax
mov edx, 0xab98855e
add edx, 0x54ae5ea2
add edx, dword [ebp - 0x28]
mov ebx, 0xc1f985ff
sub dword [ebp - 0x10], 0x3e145ec8
mov edi, dword [edx]
mov dword [ebp - 0x10], 0x80a98952
sub edi, ebx
add dword [ebp - 4], 0x7422b8b7
mov dword [esi], edi
xor dword [ebp - 4], esi
add esi, 4
add edx, 0xd502b505
add edx, 0x2afd4aff
loop 0x401556
add eax, 0x1239b
mov ebx, eax
add eax, 0xb35954f0
add eax, 0x4ca6ab15
mov ecx, 0x95b133f2
sub ecx, 0x957133f2
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x42a2f0]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004065ec
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x42a2f0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x42a2f0], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x40669d
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dcc], 0
push esi
jne 0x4066d4
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4066ae
mov dword [ecx*4 + 0x427dc8], eax
inc ecx
cmp ecx, 0x100
jl 0x4066a9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406705
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427dc8]
xor eax, esi
inc ecx
dec edx
jne 0x4066e7
pop edi
not eax
pop esi
ret 0xc

Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
call 0x40100b
push eax
call sub.KERNEL32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x401a55
Capabilities:
Parse pe header

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

Function at 0x406309
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x406354
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00406526
test al, al
jne 0x40634e
sub edx, 2
cmp edx, edi
jne 0x406334
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x406376
lea eax, [edi + 2]
cmp edx, eax
je 0x406376
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00406255
add esp, 0x10
jmp 0x406470
push esi
lea ecx, [ebp - 0x255]
call fcn.00406526
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4063b9
push dword [ebp - 0x25c]
jmp 0x406366
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4063f6
cmp word [ebp - 0x226], 0
je 0x406417
cmp word [ebp - 0x226], ax
jne 0x4063f6
cmp word [ebp - 0x224], 0
je 0x406417
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00406255
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x406463
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4063d0
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x40644b
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x406470
push 0x406085
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.004090d0
add esp, 0x10
jmp 0x406440
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401225
leave
ret

Function at 0x407fa3
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x40ffac
push 0x40ffa4
push str.FlsAlloc
push 0x1f
call fcn.00407ede
mov esi, eax
add esp, 0x10
test esi, esi
je 0x407fd7
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e10c]
call esi
jmp 0x407fdd
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4