joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404590
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 0x4045fb
mov esi, dword [esp + 0x30]
test esi, esi
je 0x4045fb
push esi
call fcn.0040cc70
add esp, 4
test eax, eax
je 0x4045da
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0x4045e1
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0x4045c0
jmp 0x4045e3
mov ebp, 0x1505
jmp 0x4045e3
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 0x404607
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 0x404624
inc ebx
dec edi
je 0x4045fb
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x4045fb
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0x404620
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cc70
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0x404620
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.0040cc90
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0x404620
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0x4045fb
cmp dword [eax + 4], 3
jne 0x4045fb
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0x4045fb

Function at 0x4046c0
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 0x4047c1
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4047c1
push ebx
call fcn.0040cc70
add esp, 4
test eax, eax
je 0x40471a
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 0x404721
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x404700
jmp 0x404723
mov esi, 0x1505
jmp 0x404723
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 0x4047c1
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x404754
inc ebp
dec ebx
je 0x4047bf
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x4047bf
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x404750
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cc70
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404750
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040cc90
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404750
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x4047bf
cmp dword [eax + 4], 5
mov edi, 0
jne 0x4047c1
mov edi, dword [eax + 8]
jmp 0x4047c1
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4047f0
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 0x4048f4
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0x4048f4
push ebx
call fcn.0040cc70
add esp, 4
test eax, eax
je 0x40484a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0x404851
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0x404830
jmp 0x404853
mov esi, 0x1505
jmp 0x404853
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 0x4048f4
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x404884
inc ebp
dec ebx
je 0x4048ef
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x4048ef
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0x404880
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cc70
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404880
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040cc90
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404880
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0x4048ef
cmp dword [eax + 4], 6
mov edi, 0xffffffff
jne 0x4048f4
mov edi, dword [eax + 8]
jmp 0x4048f4
mov edi, 0xffffffff
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x404900
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.0040cce0
add esp, 8
test eax, eax
je 0x404964
mov esi, eax
jmp 0x404944
mov ebp, esi
inc ebp
push 0x2e
push ebp
call fcn.0040cce0
add esp, 8
mov esi, eax
test eax, eax
je 0x404964
mov eax, esi
sub eax, ebp
push eax
push ebp
push edi
call fcn.00404370
add esp, 0xc
xor edi, edi
test eax, eax
je 0x404930
cmp dword [eax + 4], 4
jne 0x404930
mov edi, dword [eax + 8]
jmp 0x404930
xor eax, eax
test edi, edi
je 0x4049cb
test ebp, ebp
je 0x4049cb
push ebp
call fcn.0040cc70
add esp, 4
test eax, eax
je 0x4049ab
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 0x4049b2
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebx
mov ecx, esi
cmp eax, ebx
jne 0x404990
jmp 0x4049b4
mov esi, 0x1505
jmp 0x4049b4
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 0x4049d3
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 0x4049f4
inc ebx
dec ecx
je 0x4049c9
mov eax, ebx
and eax, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0x4049c9
mov eax, dword [esp]
mov eax, dword [eax + 8]
cmp dword [eax + edi*4], esi
jne 0x4049f0
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.0040cc70
mov ecx, dword [esp + 0xc]
add esp, 4
cmp eax, dword [esp + 4]
jne 0x4049f0
push dword [esp + 4]
push dword [esp + 0x10]
push ebp
call fcn.0040cc90
mov ecx, dword [esp + 0x14]
add esp, 0xc
test eax, eax
jne 0x4049f0
mov eax, dword [esp]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edi*4]
jmp 0x4049cb
Function at 0x404af0
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 0x404b5d
mov esi, dword [esp + 0x28]
test esi, esi
je 0x404b5d
push esi
call fcn.0040cc70
add esp, 4
test eax, eax
je 0x404b3a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0x404b41
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x404b20
jmp 0x404b43
mov ebx, 0x1505
jmp 0x404b43
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 0x404b65
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 0x404b74
inc ebp
dec edi
je 0x404b5b
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0x404b5b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0x404b70
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.0040cc70
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x404b70
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.0040cc90
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x404b70
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0x404b5d
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0x404b5d
Function at 0x4050a0
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 0x4051b2
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4051b2
cmp dword [esp + 0x2c], 0
je 0x4051b2
push esi
call fcn.0040cc70
add esp, 4
test eax, eax
je 0x40510a
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 0x405111
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0x4050f0
jmp 0x405113
mov ebx, 0x1505
jmp 0x405113
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 0x4051ba
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x405177
call fcn.00405e80
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov ecx, dword [esp + 0x28]
jne 0x4051b2
push ecx
call fcn.0040cc70
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 0x40522d
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 0x4051d8
inc edi
dec esi
je 0x40512c
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x405131
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x4051d0
mov ecx, dword [ecx + 0xc]
mov ebp, dword [ecx + eax*4]
push ebp
call fcn.0040cc70
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x4051d0
push dword [esp]
push ebp
push dword [esp + 0x30]
call fcn.0040cc90
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x4051d0
mov eax, 0xffffffff
jmp 0x4051b2
and edi, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 4], eax
jmp 0x405248
inc edi
dec esi
je 0x405172
mov ebp, edi
and ebp, dword [esp + 8]
mov eax, dword [esp + 4]
mov eax, dword [eax + ebp*4]
cmp eax, 0xffffffff
je 0x405177
mov edx, dword [ecx + 8]
cmp dword [edx + eax*4], ebx
jne 0x405240
mov ecx, dword [ecx + 0xc]
mov eax, dword [ecx + eax*4]
mov dword [esp + 0xc], eax
push eax
call fcn.0040cc70
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0x405240
push dword [esp]
push dword [esp + 0x10]
push dword [esp + 0x30]
call fcn.0040cc90
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0x405240
jmp 0x405177
Function at 0x405bd0
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 0x405dba
mov esi, dword [esp + 0x2c]
test esi, esi
je 0x405dba
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x405dba
cmp dword [ecx], 0
jne 0x405dba
push esi
call fcn.0040cc70
add esp, 4
test eax, eax
je 0x405c3a
mov ecx, 0x1505
xor ebx, ebx
nop
nop
nop
nop
movzx edx, byte [esi + ebx]
test edx, edx
je 0x405c41
mov edi, ecx
shl edi, 5
add edi, ecx
add edi, edx
inc ebx
mov ecx, edi
cmp eax, ebx
jne 0x405c20
jmp 0x405c43
mov edi, 0x1505
jmp 0x405c43
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 0x405d14
mov ebp, 0xffffffff
mov eax, dword [ecx + 0x18]
cmp eax, dword [ecx + 0x1c]
jb 0x405ca1
call fcn.00405e80
mov ecx, eax
mov eax, 0xffffffff
test ecx, ecx
mov esi, dword [esp + 0x2c]
jne 0x405dba
push esi
call fcn.0040cc70
add esp, 4
mov edx, esi
lea esi, [esp + 0x10]
mov ecx, dword [esp + 0x28]
push esi
push edi
push eax
call fcn.00405dd0
add esp, 0xc
mov ebp, eax
mov esi, dword [esp + 0x2c]
push esi
call fcn.0040cc70
add esp, 4
mov ebx, eax
inc eax
push eax
call dword [0x44b008]
add esp, 4
test eax, eax
je 0x405db5
mov byte [eax + ebx], 0
push ebx
push esi
push eax
mov esi, eax
call fcn.0040cb90
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 0x405dba
mov dword [esp], eax
and ebx, edi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0x405d38
inc ebx
dec edx
je 0x405c5c
mov ebp, ebx
and ebp, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov esi, dword [eax + ebp*4]
cmp esi, 0xffffffff
je 0x405c61
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], edi
jne 0x405d30
mov eax, dword [ecx + 0xc]
mov ebp, dword [eax + esi*4]
push ebp
mov dword [esp + 8], edx
call fcn.0040cc70
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0x2c]
add esp, 4
cmp eax, dword [esp]
jne 0x405d30
push dword [esp]
push ebp
push dword [esp + 0x34]
call fcn.0040cc90
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
add esp, 0xc
test eax, eax
jne 0x405d30
mov eax, dword [ecx + 0x10]
push dword [eax + esi*4]
call fcn.00404c50
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 0x405d09
mov eax, 0xffffffff
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x406ec0
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 ebp, dword [esp + 0x28]
test ebp, ebp
je 0x407076
mov esi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
movzx edi, cx
shr ecx, 0x10
test esi, esi
je 0x40706f
mov edx, 0x5e6ea9af
mov eax, esi
mul edx
shr edx, 0xb
imul eax, edx, 0x15b0
mov edx, esi
sub edx, eax
jmp 0x406f55
mov eax, dword [esp]
sub eax, dword [esp + 4]
add ebp, eax
mov esi, dword [esp + 8]
mov eax, edi
mov edx, 0x80078071
mul edx
mov ebx, edx
shr ebx, 0xf
mov eax, ecx
mov edx, 0x80078071
mul edx
imul eax, ebx, 0xfff1
sub edi, eax
shr edx, 0xf
imul eax, edx, 0xfff1
sub ecx, eax
sub esi, dword [esp]
mov edx, 0x15b0
je 0x40706f
xor ebx, ebx
cmp edx, 8
mov dword [esp], edx
mov dword [esp + 8], esi
jb 0x406fd5
mov ebx, edx
and ebx, 0x1ff8
xor eax, eax
nop
nop
nop
mov edx, eax
movzx eax, byte [ebp + eax]
add eax, edi
add ecx, eax
movzx esi, byte [ebp + edx + 1]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 2]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 3]
mov edi, eax
and edi, esi
xor eax, esi
lea eax, [eax + edi*2]
add ecx, eax
movzx esi, byte [ebp + edx + 4]
add esi, eax
add ecx, esi
movzx eax, byte [ebp + edx + 5]
add eax, esi
add ecx, eax
movzx esi, byte [ebp + edx + 6]
add esi, eax
add ecx, esi
movzx edi, byte [ebp + edx + 7]
add edi, esi
add ecx, edi
lea eax, [edx + 8]
add edx, 0xf
cmp edx, dword [esp]
mov edx, dword [esp]
jb 0x406f70
add ebp, eax
mov esi, dword [esp + 8]
mov eax, ebx
sub eax, edx
jae 0x406f1d
mov dword [esp + 0xc], eax
mov eax, edx
and eax, 3
mov dword [esp + 4], ebx
je 0x407020
neg eax
xor ebx, ebx
mov edx, ebp
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 ebx
cmp eax, ebx
jne 0x407000
mov eax, dword [esp + 4]
sub eax, ebx
cmp dword [esp + 0xc], 0xfffffffc
ja 0x406f10
jmp 0x40702f
mov eax, ebx
mov edx, ebp
cmp dword [esp + 0xc], 0xfffffffc
ja 0x406f10
mov ebx, dword [esp]
sub ebx, eax
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [edx + eax]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 1]
add edi, esi
add ecx, edi
movzx esi, byte [edx + eax + 2]
add esi, edi
add ecx, esi
movzx edi, byte [edx + eax + 3]
add edi, esi
add ecx, edi
add eax, 4
cmp ebx, eax
jne 0x407040
jmp 0x406f10
shl ecx, 0x10
or ecx, edi
jmp 0x40707b
mov ecx, 1
mov eax, ecx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x407090
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4070be
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
test ebx, ebx
je 0x40715c
not eax
test bl, 1
jne 0x4070c5
mov edx, ebx
cmp ebx, 1
jne 0x4070f6
jmp 0x40715a
xor eax, eax
jmp 0x40715c
lea edx, [ebx - 1]
movzx esi, byte [ecx]
mov edi, eax
shr edi, 4
xor eax, esi
and eax, 0xf
xor edi, dword [eax*4 + 0x448c50]
inc ecx
mov eax, edi
shr eax, 4
and edi, 0xf
shr esi, 4
xor esi, edi
xor eax, dword [esi*4 + 0x448c50]
cmp ebx, 1
je 0x40715a
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
movzx edi, byte [ecx + esi]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0x448c50]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x448c50]
movzx edi, byte [ecx + esi + 1]
mov ebx, eax
shr ebx, 4
xor eax, edi
and eax, 0xf
xor ebx, dword [eax*4 + 0x448c50]
mov eax, ebx
shr eax, 4
and ebx, 0xf
shr edi, 4
xor edi, ebx
xor eax, dword [edi*4 + 0x448c50]
add esi, 2
cmp edx, esi
jne 0x407100
not eax
pop esi
pop edi
pop ebx
ret
Function at 0x40d300
Capabilities:
Encode data using xor
Terminate process

Disassembly:
push ebx
push edi
push esi
sub esp, 0xc
call fcn.004424c0
test al, al
je 0x40d503
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
call fcn.0043a720
test al, al
je 0x40d4fe
call dword [sym.imp.USER32.dll_GetInputState]
mov esi, eax
mov dword [esp], 0x62a5106d
mov dword [esp + 4], 0x16184216
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov eax, esp
mov ecx, 0x4585bd52
movzx edi, byte [eax]
mov edx, ecx
or edx, edi
lea ebx, [ecx - 0x4585bd00]
and ebx, edi
not edx
or edx, ebx
mov edi, edx
and edi, 1
or edx, 1
add edx, edi
add dl, 0x9e
mov byte [eax], dl
inc eax
dec ecx
cmp ecx, 0x4585bd47
jne 0x40d350
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [esp], 0x8e2963a3
mov dword [esp + 4], 0x942142b9
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov eax, 0x25
mov ecx, 0xbcbd34da
nop
nop
nop
movzx edx, byte [esp + eax - 0x25]
mov edi, eax
xor edi, ecx
and edi, edx
xor edi, ecx
mov edx, 0xafb20845
sub edx, edi
mov edi, edx
and edi, 1
xor edx, 1
lea edx, [edx + edi*2]
mov byte [esp + eax - 0x25], dl
inc eax
dec ecx
cmp eax, 0x30
jne 0x40d3b0
mov dword [esp], 0x393a3bd3
mov word [esp + 4], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax]
mov edx, eax
and edx, 1
mov edi, eax
and edi, 2
mov ebx, edi
xor ebx, 2
imul ebx, edx
or edx, 2
imul edx, edi
add edx, ebx
mov edi, eax
xor edi, 0x3d7d24b
mov ebx, edx
and ebx, edi
xor edi, edx
lea edx, [edi + ebx*2]
mov edi, edx
and edi, ecx
add edx, ecx
add edi, edi
sub edx, edi
add dl, 0x89
mov byte [esp + eax], dl
inc eax
cmp eax, 6
jne 0x40d3f0
test esi, esi
je 0x40d49d
mov dword [esp], 0x71db3d97
mov dword [esp + 4], 0x1f00ec56
mov word [esp + 8], 0
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax]
mov ecx, eax
and ecx, 0xd
xor ecx, 0x7ef1cded
mov esi, eax
and esi, 2
sub esi, ecx
lea ecx, [esi + 0x7b]
and ecx, edx
add ecx, ecx
add edx, esi
add edx, 0x3e271b7b
mov esi, edx
not esi
and esi, ecx
not ecx
and ecx, edx
sub ecx, esi
add cl, 0x3a
mov byte [esp + eax], cl
inc eax
cmp eax, 0xa
jne 0x40d460
mov dword [esp], 0xe2e5e4e7
mov dword [esp + 4], 0xfee1e0e3
mov word [esp + 8], 0
mov eax, 0x4cc7d929
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax - 0x4cc7d929]
xor ecx, eax
add ecx, 0x89a1d47b
mov edx, ecx
xor edx, 0x48
and ecx, 0x37
add ecx, ecx
sub ecx, edx
mov byte [esp + eax - 0x4cc7d929], cl
inc eax
cmp eax, 0x4cc7d933
jne 0x40d4c0
call fcn.0040e410
test al, al
je 0x40d4fe
call fcn.00411360
call fcn.0040fe20
call fcn.00443930
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40d710
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x14], ecx
mov edi, dword [ecx + 0x60]
mov word [esp], 0x9795
mov byte [esp + 2], 0x8e
mov dword [esp + 3], 0
mov ebx, 0xc8940622
nop
nop
movzx ecx, byte [esp + ebx + 0x376bf9de]
mov eax, ecx
and eax, ebx
add al, al
sub cl, al
movzx eax, cl
add eax, ebx
add al, 0x56
mov byte [esp + ebx + 0x376bf9de], al
inc ebx
cmp ebx, 0xc8940629
jne 0x40d740
mov dword [esp + 8], 0x1210147e
mov word [esp + 0xc], 0x1d12
mov dword [esp + 0xe], 0
mov ebx, 0xba
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, byte [esp + ebx - 0xb2]
mov ecx, ebx
and ecx, eax
lea ebp, [ecx + ecx]
not ebp
add ebp, ecx
or eax, ebx
and eax, ebp
add al, 0x5e
mov byte [esp + ebx - 0xb2], al
inc ebx
cmp ebx, 0xc4
jne 0x40d790
mov dword [esp + 0x18], 0xeef0a4a5
mov dword [esp + 0x1c], 0xd2d2e0e4
mov dword [esp + 0x20], 0xd7dad0e5
mov dword [esp + 0x24], 0xdadfc6d3
mov dword [esp + 0x28], 0x92dfd3d2
mov dword [esp + 0x2c], 0xc8fda7a9
mov dword [esp + 0x30], 0xcdc735ce
mov dword [esp + 0x34], 0xceea8038
mov dword [esp + 0x38], 0xc0c5c1c3
mov dword [esp + 0x3c], 0xb8b741b5
mov dword [esp + 0x40], 0xb5ea83be
mov dword [esp + 0x44], 0xf2b3b7b3
mov dword [esp + 0x48], 0xa24ea0bc
mov dword [esp + 0x4c], 0xbea8fd97
mov dword [esp + 0x50], 0xf99fa4ad
mov byte [esp + 0x54], 0xd4
mov dword [esp + 0x55], 0
mov word [esp + 0x59], 0
lea ebx, [esp + 0x18]
mov ebp, 0xe3
nop
nop
movzx ecx, byte [ebx]
lea eax, [ebp - 0x55eae100]
or eax, ecx
and ecx, ebp
not eax
or eax, ecx
add eax, 0xf5fefafd
mov ecx, eax
and ecx, 0x73
xor eax, 0x73
lea eax, [eax + ecx*2]
add al, 4
mov byte [ebx], al
inc ebx
dec ebp
cmp ebp, 0xa0
jne 0x40d850
mov eax, dword [esp + 0x70]
add eax, edi
movzx ebx, byte [esp + 0x18]
mov edi, eax
test bl, bl
je 0x40d8ac
lea ebp, [esp + 0x19]
mov edi, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edi], bl
inc edi
movzx ebx, byte [ebp]
inc ebp
test bl, bl
jne 0x40d8a0
mov byte [edi], 0
movzx ebx, byte [esi]
test bl, bl
je 0x40d8cb
inc esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edi], bl
inc edi
movzx ebx, byte [esi]
inc esi
test bl, bl
jne 0x40d8c0
mov byte [edi], 0
movzx ebx, byte [esp + 8]
test bl, bl
je 0x40d8eb
lea esi, [esp + 9]
nop
nop
nop
nop
nop
mov byte [edi], bl
inc edi
movzx ebx, byte [esi]
inc esi
test bl, bl
jne 0x40d8e0
mov byte [edi], 0
movzx ebx, byte [edx]
test bl, bl
je 0x40d90b
inc edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edi], bl
inc edi
movzx ebx, byte [edx]
inc edx
test bl, bl
jne 0x40d900
mov byte [edi], 0
movzx edx, byte [esp]
test dl, dl
je 0x40d92b
lea esi, [esp + 1]
nop
nop
nop
nop
nop
nop
mov byte [edi], dl
inc edi
movzx edx, byte [esi]
inc esi
test dl, dl
jne 0x40d920
mov byte [edi], 0
sub edi, eax
mov eax, dword [esp + 0x14]
add dword [eax + 0x60], edi
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret 0xc