joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4045f0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
fldz
fstp qword [esp + 0x10]
cmp dword [esp + 0x2c], 0
je 0x40465b
mov esi, dword [esp + 0x30]
test esi, esi
je 0x40465b
push esi
call fcn.0040ce10
add esp, 4
test eax, eax
je 0x40463a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x404641
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x404620
jmp 0x404643
mov ebp, 0x1505
jmp 0x404643
mov ebp, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x20]
lea ebx, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x404667
fld qword [esp + 0x10]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x404684
inc ebx
dec edi
je 0x40465b
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x40465b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x404680
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040ce10
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x404680
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.0040ce40
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x404680
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x40465b
cmp dword [eax + 4], 3
jne 0x40465b
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x40465b

Function at 0x404720
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0x404821
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x404821
push ebx
call fcn.0040ce10
add esp, 4
test eax, eax
je 0x40477a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x404781
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x404760
jmp 0x404783
mov esi, 0x1505
jmp 0x404783
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x404821
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x4047b4
inc ebp
dec ebx
je 0x40481f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x40481f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x4047b0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040ce10
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4047b0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040ce40
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4047b0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x40481f
cmp dword [eax + 4], 5
mov edi, 0
jne 0x404821
mov edi, dword [eax + 8]
jmp 0x404821
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404850
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov edi, 0xffffffff
cmp dword [esp + 0x24], 0
je 0x404954
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x404954
push ebx
call fcn.0040ce10
add esp, 4
test eax, eax
je 0x4048aa
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x4048b1
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x404890
jmp 0x4048b3
mov esi, 0x1505
jmp 0x4048b3
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0x404954
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x4048e4
inc ebp
dec ebx
je 0x40494f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x40494f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x4048e0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040ce10
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4048e0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040ce40
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4048e0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x40494f
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x404954
mov edi, dword [eax + 8]
jmp 0x404954
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404960
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
push 0x2e
push ebp
call fcn.0040ce90
add esp, 8
test eax, eax
je 0x4049c4
mov esi, eax
jmp 0x4049a4
mov ebp, esi
inc ebp
push 0x2e
push ebp
call fcn.0040ce90
add esp, 8
mov esi, eax
test eax, eax
je 0x4049c4
mov eax, esi
sub eax, ebp
push eax
push ebp
push edi
call fcn.004043d0
add esp, 0xc
xor edi, edi
test eax, eax
je 0x404990
cmp dword [eax + 4], 4
jne 0x404990
mov edi, dword [eax + 8]
jmp 0x404990
xor eax, eax
test edi, edi
je 0x404a2b
test ebp, ebp
je 0x404a2b
push ebp
call fcn.0040ce10
add esp, 4
test eax, eax
je 0x404a0b
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebp + ebx]
test edx, edx
je 0x404a12
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebx
mov ecx, esi
cmp eax, ebx
jne 0x4049f0
jmp 0x404a14
mov esi, 0x1505
jmp 0x404a14
mov esi, ecx
mov dword [esp + 4], eax
mov ecx, dword [edi + 0x20]
lea ebx, [ecx - 1]
mov eax, ecx
sub eax, 1
mov dword [esp + 0x14], eax
jae 0x404a33
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, esi
mov dword [esp], edi
mov eax, dword [edi + 4]
mov dword [esp + 0x10], eax
jmp 0x404a54
inc ebx
dec ecx
je 0x404a29
mov eax, ebx
and eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x404a29
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + edi*4], esi
jne 0x404a50
mov eax, dword [esp]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 0xc], eax
push eax
mov dword [esp + 0xc], ecx
call fcn.0040ce10
mov ecx, dword [esp + 0xc]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x404a50
push dword [esp + 4]
push dword [esp + 0x10]
push ebp
call fcn.0040ce40
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x404a50
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x404a2b
Function at 0x404b50
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor eax, eax
cmp dword [esp + 0x24], 0
je 0x404bbd
mov esi, dword [esp + 0x28]
test esi, esi
je 0x404bbd
push esi
call fcn.0040ce10
add esp, 4
test eax, eax
je 0x404b9a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x404ba1
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x404b80
jmp 0x404ba3
mov ebx, 0x1505
jmp 0x404ba3
mov ebx, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
lea ebp, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0x404bc5
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x404bd4
inc ebp
dec edi
je 0x404bbb
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x404bbb
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x404bd0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040ce10
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404bd0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040ce40
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404bd0
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x404bbd
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x404bbd
Function at 0x405110
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, 0xffffffff
cmp dword [esp + 0x24], 0
je 0x405222
mov esi, dword [esp + 0x28]
test esi, esi
je 0x405222
cmp dword [esp + 0x2c], 0
je 0x405222
push esi
call fcn.0040ce10
add esp, 4
test eax, eax
je 0x40517a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x405181
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x405160
jmp 0x405183
mov ebx, 0x1505
jmp 0x405183
mov ebx, ecx
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x20]
lea edi, [esi - 1]
mov edx, esi
sub edx, 1
mov dword [esp + 8], edx
jae 0x40522a
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x4051e7
call fcn.00405eb0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x28]
jne 0x405222
push ecx
call fcn.0040ce10
add esp, 4
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov esi, dword [ecx + 0x20]
lea edi, [esi - 1]
mov eax, esi
sub eax, 1
mov dword [esp + 8], eax
jae 0x40529d
mov ebp, 0xffffffff
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 0x18]
mov esi, dword [esp + 0x28]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x18]
mov dword [eax + ebp*4], edx
mov eax, dword [ecx + 0x10]
mov esi, dword [esp + 0x2c]
mov dword [eax + edx*4], esi
mov eax, dword [ecx + 0x14]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebp
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x18]
mov dword [eax + edx*4], ebx
inc dword [ecx + 0x18]
mov eax, dword [ecx]
mov dword [esi], eax
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], eax
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x405248
inc edi
dec esi
je 0x40519c
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x4051a1
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x405240
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.0040ce10
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x405240
push dword [esp]
push ebp
push dword [esp + 0x30]
call fcn.0040ce40
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x405240
mov eax, 0xffffffff
jmp 0x405222
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x4052b8
inc edi
dec esi
je 0x4051e2
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x4051e7
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x4052b0
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
push eax
call fcn.0040ce10
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4052b0
push dword [esp]
push dword [esp + 0x10]
push dword [esp + 0x30]
call fcn.0040ce40
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4052b0
jmp 0x4051e7
Function at 0x405c00
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, 0xffffffff
cmp dword [esp + 0x28], 0
je 0x405dea
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x405dea
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x405dea
cmp dword [ecx], 0
jne 0x405dea
push esi
call fcn.0040ce10
add esp, 4
test eax, eax
je 0x405c6a
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
movzx edx, byte [esi + ebx]
test edx, edx
je 0x405c71
mov edi, ecx
shl edi, 5
add edi, ecx
add edi, edx
inc ebx
mov ecx, edi
cmp eax, ebx
jne 0x405c50
jmp 0x405c73
mov edi, 0x1505
jmp 0x405c73
mov edi, ecx
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x20]
lea ebx, [edx - 1]
mov esi, edx
sub esi, 1
mov dword [esp + 0xc], esi
jae 0x405d44
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x405cd1
call fcn.00405eb0
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov esi, dword [esp + 0x2c]
jne 0x405dea
push esi
call fcn.0040ce10
add esp, 4
mov edx, esi
lea esi, [esp + 0x10]
mov ecx, dword [esp + 0x28]
push esi
push edi
push eax
call fcn.00405e00
add esp, 0xc
mov ebp, eax
mov esi, dword [esp + 0x2c]
push esi
call fcn.0040ce10
add esp, 4
mov ebx, eax
inc eax
push eax
call dword [0x44e008]
add esp, 4
test eax, eax
je 0x405de5
mov byte [eax + ebx], 0
push ebx
push esi
push eax
mov esi, eax
call fcn.0040cd10
add esp, 0xc
mov edx, dword [esp + 0x28]
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x18]
mov dword [eax + ecx*4], esi
mov eax, dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov dword [eax + ebp*4], ecx
mov eax, dword [edx + 0x10]
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4], esi
mov eax, dword [edx + 0x14]
mov ecx, dword [edx + 0x18]
mov dword [eax + ecx*4], ebp
mov eax, dword [edx + 8]
mov ecx, dword [edx + 0x18]
mov dword [eax + ecx*4], edi
inc dword [edx + 0x18]
mov eax, dword [edx]
mov dword [esi], eax
xor eax, eax
jmp 0x405dea
mov dword [esp], eax
and ebx, edi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x405d68
inc ebx
dec edx
je 0x405c8c
mov ebp, ebx
and ebp, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov esi, dword [eax + ebp*4]
cmp esi, 0xffffffff
je 0x405c91
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], edi
jne 0x405d60
mov eax, dword [ecx + 0xc]
mov ebp, dword [eax + esi*4]
push ebp
mov dword [esp + 8], edx
call fcn.0040ce10
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp eax, dword [esp]
jne 0x405d60
push dword [esp]
push ebp
push dword [esp + 0x34]
call fcn.0040ce40
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
add esp, 0xc
test eax, eax
jne 0x405d60
mov eax, dword [ecx + 0x10]
push dword [eax + esi*4]
call fcn.00404cb0
mov edx, dword [esp + 0x2c]
add esp, 4
mov eax, dword [edx + 0x10]
mov ecx, dword [esp + 0x30]
mov dword [eax + esi*4], ecx
mov esi, ecx
jmp 0x405d39
mov eax, 0xffffffff
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x406e30
Capabilities:
Compute adler32 checksum
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x407006
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test ebp, ebp
je 0x406fff
mov edx, 0x5e6ea9af
mov eax, ebp
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, ebp
sub edx, eax
mov eax, edx
jmp 0x406ed0
mov esi, dword [esp + 4]
mov eax, esi
sub eax, dword [esp]
add ebx, eax
mov eax, edi
mov edx, 0x80078071
mul edx
shr edx, 0xf
imul eax, edx, 0xfff1
sub edi, eax
mov ebp, esi
not ebp
mov esi, dword [esp + 0xc]
and ebp, esi
not esi
mov eax, ecx
mov edx, 0x80078071
mul edx
and esi, dword [esp + 4]
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
mov eax, 0x15b0
sub ebp, esi
je 0x406fff
xor edx, edx
cmp eax, 8
mov dword [esp + 4], eax
mov dword [esp + 0xc], ebp
jb 0x406f57
and eax, 0x1ff8
mov dword [esp], eax
mov edx, 7
nop
nop
nop
nop
movzx eax, byte [ebx + edx - 6]
movzx esi, byte [ebx + edx - 7]
add esi, edi
add ecx, esi
add esi, eax
add ecx, esi
movzx eax, byte [ebx + edx - 5]
add eax, esi
add ecx, eax
movzx esi, byte [ebx + edx - 4]
add esi, eax
mov eax, ecx
and eax, esi
xor ecx, esi
movzx ebp, byte [ebx + edx - 3]
add ebp, esi
movzx edi, byte [ebx + edx - 2]
add edi, ebp
add ebp, ecx
lea ecx, [eax*2]
add ecx, ebp
movzx eax, byte [ebx + edx - 1]
add eax, edi
add ecx, edi
movzx edi, byte [ebx + edx]
add edi, eax
add ecx, eax
mov eax, dword [esp + 4]
add ecx, edi
add edx, 8
cmp edx, eax
jb 0x406ef0
add ebx, edx
add ebx, 0xfffffff9
mov edx, dword [esp]
mov esi, edx
sub esi, eax
jae 0x406fb0
mov ebp, eax
and ebp, 3
mov dword [esp], edx
je 0x406fb7
mov dword [esp + 8], esi
neg ebp
xor eax, eax
mov edx, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx]
inc edx
add edi, esi
add ecx, edi
dec eax
cmp ebp, eax
jne 0x406f80
mov ebp, dword [esp]
sub ebp, eax
mov esi, dword [esp + 8]
cmp esi, 0xfffffffc
ja 0x406e80
jmp 0x406fc4
mov esi, eax
jmp 0x406e8b
mov ebp, edx
mov edx, ebx
cmp esi, 0xfffffffc
ja 0x406e80
mov eax, dword [esp + 4]
sub eax, ebp
xor ebp, ebp
nop
nop
nop
nop
movzx esi, byte [edx + ebp]
add esi, edi
add ecx, esi
movzx edi, byte [edx + ebp + 1]
add edi, esi
add ecx, edi
movzx esi, byte [edx + ebp + 2]
add esi, edi
add ecx, esi
movzx edi, byte [edx + ebp + 3]
add edi, esi
add ecx, edi
add ebp, 4
cmp eax, ebp
jne 0x406fd0
jmp 0x406e80
shl ecx, 0x10
or ecx, edi
jmp 0x40700b
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x407020
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40704e
mov ebx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
not ecx
test ebx, ebx
je 0x4070ea
test bl, 1
jne 0x407055
mov edx, ebx
cmp ebx, 1
jne 0x407086
jmp 0x4070ea
xor eax, eax
jmp 0x4070f1
lea edx, [ebx - 1]
movzx esi, byte [eax]
mov edi, ecx
shr edi, 4
xor ecx, esi
and ecx, 0xf
xor edi, dword [ecx*4 + 0x44bc50]
inc eax
mov ecx, edi
shr ecx, 4
and edi, 0xf
shr esi, 4
xor esi, edi
xor ecx, dword [esi*4 + 0x44bc50]
cmp ebx, 1
je 0x4070ea
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [eax + esi]
mov ebx, ecx
shr ebx, 4
xor ecx, edi
and ecx, 0xf
xor ebx, dword [ecx*4 + 0x44bc50]
mov ecx, ebx
shr ecx, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor ecx, dword [edi*4 + 0x44bc50]
movzx edi, byte [eax + esi + 1]
mov ebx, ecx
shr ebx, 4
xor ecx, edi
and ecx, 0xf
xor ebx, dword [ecx*4 + 0x44bc50]
mov ecx, ebx
shr ecx, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor ecx, dword [edi*4 + 0x44bc50]
add esi, 2
cmp edx, esi
jne 0x407090
lea eax, [ecx + ecx]
not eax
add eax, ecx
pop esi
pop edi
pop ebx
ret
Function at 0x40d440
Capabilities:
Terminate process

Disassembly:
push esi
sub esp, 0x10
call fcn.00444ed0
test al, al
je 0x40d62e
call dword [sym.imp.USER32.dll_GetInputState]
mov esi, eax
call fcn.0043cdd0
test al, al
je 0x40d629
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp + 4], 0xa6ffacab
mov dword [esp + 8], 0x9284c69e
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x40d4c6
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.0040d640
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x40d4a0
mov dword [esp + 4], 0x26bf8545
mov dword [esp + 8], 0xe83f9ac3
mov byte [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 8
ja 0x40d516
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.0040d6a0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 9
jb 0x40d4f0
mov dword [esp + 4], 0xf0e0929
mov dword [esp + 8], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 7
ja 0x40d566
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.0040d6f0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 8
jb 0x40d540
test esi, esi
je 0x40d5b6
mov dword [esp + 4], 0x9701a7f1
mov dword [esp + 8], 0x794c70ba
mov word [esp + 0xc], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 9
ja 0x40d5b6
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.0040d730
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xa
jb 0x40d590
mov dword [esp + 4], 0x32333031
mov dword [esp + 8], 0x3e3f3c3d
mov word [esp + 0xc], 0
mov byte [esp + 0xe], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0xa
ja 0x40d616
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.0040d780
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0xb
jb 0x40d5f0
call fcn.0040ebe0
test al, al
je 0x40d629
call fcn.00412920
call fcn.004107e0
call fcn.00445ce0
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40d9e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebx
push edi
push esi
sub esp, 0x5c
mov esi, ecx
mov edi, dword [esp + 0x6c]
add edi, dword [ecx + 0x60]
mov word [esp + 4], 0xe5f7
mov byte [esp + 6], 0xea
mov word [esp + 7], 0
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
cmp eax, 4
ja 0x40da4b
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x18]
movzx eax, byte [esp + eax + 4]
push dword [esp + 0x18]
push eax
call fcn.0040e720
add esp, 8
mov ecx, dword [esp + 0x18]
mov byte [esp + ecx + 4], al
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, 5
jb 0x40da20
mov dword [esp + 0xc], 0x200fce6
mov word [esp + 0x10], 0xf502
mov dword [esp + 0x12], 0
mov word [esp + 0x16], 0
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
cmp eax, 0xb
ja 0x40daab
nop
nop
nop
nop
nop
nop
mov eax, dword [esp + 0x18]
movzx eax, byte [esp + eax + 0xc]
push dword [esp + 0x18]
push eax
call fcn.0040e6b0
add esp, 8
mov ecx, dword [esp + 0x18]
mov byte [esp + ecx + 0xc], al
inc dword [esp + 0x18]
mov eax, dword [esp + 0x18]
cmp eax, 0xc
jb 0x40da80
mov dword [esp + 0x18], 0xc6c0fcfd
mov dword [esp + 0x1c], 0xc2c2f0ec
mov dword [esp + 0x20], 0x3f4a400d
mov dword [esp + 0x24], 0x3a473e43
mov dword [esp + 0x28], 0x2374342
mov dword [esp + 0x2c], 0x4815efe9
mov dword [esp + 0x30], 0x552f5d56
mov dword [esp + 0x34], 0x560a1058
mov dword [esp + 0x38], 0x505d5153
mov dword [esp + 0x3c], 0x585f515d
mov dword [esp + 0x40], 0x1dda3366
mov dword [esp + 0x44], 0x22636f63
mov dword [esp + 0x48], 0x12661014
mov dword [esp + 0x4c], 0x1668d53f
mov dword [esp + 0x50], 0xc9270c75
mov byte [esp + 0x54], 0xec
mov dword [esp + 0x55], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 0x40
ja 0x40db66
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 0x18]
push dword [esp]
push eax
call fcn.0040e630
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 0x18], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 0x41
jb 0x40db40
mov ecx, dword [esp + 0x70]
movzx edx, byte [esp + 0x18]
mov eax, edi
test dl, dl
je 0x40db8b
lea ebx, [esp + 0x19]
mov eax, edi
nop
nop
nop
nop
nop
mov byte [eax], dl
inc eax
movzx edx, byte [ebx]
inc ebx
test dl, dl
jne 0x40db80
mov byte [eax], 0
movzx edx, byte [ecx]
test dl, dl
je 0x40dbab
inc ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [eax], dl
inc eax
movzx edx, byte [ecx]
inc ecx
test dl, dl
jne 0x40dba0
mov ecx, dword [esp + 0x74]
mov byte [eax], 0
movzx edx, byte [esp + 0xc]
test dl, dl
je 0x40dbcb
lea ebx, [esp + 0xd]
nop
mov byte [eax], dl
inc eax
movzx edx, byte [ebx]
inc ebx
test dl, dl
jne 0x40dbc0
mov byte [eax], 0
movzx edx, byte [ecx]
test dl, dl
je 0x40dbeb
inc ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [eax], dl
inc eax
movzx edx, byte [ecx]
inc ecx
test dl, dl
jne 0x40dbe0
mov byte [eax], 0
movzx ecx, byte [esp + 4]
test cl, cl
je 0x40dc0b
lea edx, [esp + 5]
nop
nop
nop
nop
nop
mov byte [eax], cl
inc eax
movzx ecx, byte [edx]
inc edx
test cl, cl
jne 0x40dc00
mov byte [eax], 0
sub eax, edi
add dword [esi + 0x60], eax
add esp, 0x5c
pop esi
pop edi
pop ebx
ret 0xc