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

Disassembly:
push ecx
test byte [0x6aef08], 3
push ebx
push esi
push edi
jne 0x431f5d
mov edi, dword [esp + 0x14]
xor eax, eax
mov ecx, edi
mov edx, 3
nop word [eax + eax]
ror eax, 0x19
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
sub edx, 1
jne 0x431f00
div dword [0x6aef00]
mov eax, dword [0x6aef04]
mov esi, dword [eax + edx*4]
lea ebx, [eax + edx*4]
xor edx, edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], edx
test esi, esi
je 0x431f5d
mov ecx, dword [edi]
nop
cmp dword [esi + 4], ecx
jne 0x431f51
mov eax, dword [esi + 8]
cmp eax, dword [edi + 4]
jne 0x431f51
mov ax, word [esi + 0xc]
cmp ax, word [edi + 8]
jne 0x431f51
mov ax, word [esi + 0xe]
cmp ax, word [edi + 0xa]
je 0x431f69
mov edx, esi
mov dword [esp + 0x14], esi
mov esi, dword [esi]
test esi, esi
jne 0x431f30
pop edi
pop esi
mov eax, 1
pop ebx
pop ecx
ret 4
mov eax, dword [0x6aef0c]
cmp eax, 0x6aef0c
je 0x43201c
test eax, eax
je 0x43201c
push ebp
mov ebp, dword [eax]
xor ecx, ecx
mov edi, dword [eax + 8]
cmp ebp, 0x6aef0c
mov ebx, ebp
cmove ebx, ecx
test edi, edi
je 0x432009
mov ecx, dword [eax + 0xc]
cmp ecx, esi
jne 0x432009
test ecx, ecx
je 0x431fe0
mov ecx, dword [ecx]
mov dword [eax + 0xc], ecx
test ecx, ecx
jne 0x431fda
mov edx, dword [eax + 0x10]
inc edx
mov dword [eax + 0x10], edx
cmp edx, dword [edi + 0x10]
jae 0x431fe0
nop dword [eax + eax]
mov ecx, dword [edi + 0x14]
mov ecx, dword [ecx + edx*4]
mov dword [eax + 0xc], ecx
test ecx, ecx
jne 0x431fda
inc edx
mov dword [eax + 0x10], edx
cmp edx, dword [edi + 0x10]
jb 0x431fc0
test ecx, ecx
je 0x431fe0
mov byte [eax + 0x14], 1
jmp 0x432009
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x431fe9
mov dword [ecx], ebp
mov edx, dword [eax]
test edx, edx
je 0x431ff5
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov eax, ebx
test ebx, ebx
jne 0x431f82
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
pop ebp
mov eax, dword [esi]
test edx, edx
je 0x432026
mov dword [edx], eax
jmp 0x432028
mov dword [ebx], eax
dec dword [0x6aeefc]
push ecx
mov ecx, dword [0x6aeef4]
push 0x6aeef4
push esi
call fcn.004323f0
pop edi
pop esi
xor eax, eax
pop ebx
pop ecx
ret 4

Function at 0x432050
Capabilities:
Encode data using xor

Disassembly:
test byte [0x6aef08], 3
push esi
jne 0x4320b7
mov esi, dword [esp + 8]
xor eax, eax
mov ecx, esi
mov edx, 3
ror eax, 0x19
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
sub edx, 1
jne 0x432067
div dword [0x6aef00]
mov eax, dword [0x6aef04]
mov ecx, dword [eax + edx*4]
test ecx, ecx
je 0x4320b7
mov edx, dword [esi]
nop dword [eax]
cmp dword [ecx + 4], edx
jne 0x4320b1
mov eax, dword [ecx + 8]
cmp eax, dword [esi + 4]
jne 0x4320b1
mov ax, word [ecx + 0xc]
cmp ax, word [esi + 8]
jne 0x4320b1
mov ax, word [ecx + 0xe]
cmp ax, word [esi + 0xa]
je 0x4320c0
mov ecx, dword [ecx]
test ecx, ecx
jne 0x432090
mov eax, 1
pop esi
ret 8
mov edx, dword [esp + 0xc]
test edx, edx
je 0x4320cd
mov eax, dword [ecx + 0x10]
mov dword [edx], eax
xor eax, eax
pop esi
ret 8
Function at 0x445370
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62da65
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x6a6040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
mov eax, esi
and eax, dword [ebp + 0xc]
cmp eax, 0xffffffff
jne 0x4453e5
mov esi, dword [edi + 0x18c]
lea ecx, [edi + 0x17c]
xor esi, dword [edi + 0x188]
xor esi, dword [edi + 0x184]
xor esi, dword [edi + 0x180]
call fcn.005acb50
movzx ecx, word [edi + 0x190]
xor ecx, dword [edi + 0x124]
xor eax, ecx
xor eax, esi
jmp 0x445571
push 0x64
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.00608810
add esp, 0xc
mov dword [ebp - 0x90], 0x64
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x1e], 0
mov dword [ebp - 0x1a], 0
mov dword [ebp - 0x16], 0
push edi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x98]
push dword [ebp + 0xc]
push esi
call fcn.00448740
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x4454fc
test byte [edx + 0x10], 2
je 0x44545f
mov ecx, dword [edx + 8]
jmp 0x4454fe
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x9c], 0
mov esi, dword [edx + 4]
mov edx, dword [edx + 0xc]
cmp esi, 4
ja 0x44549e
push esi
push edx
lea eax, [ebp - 0x9c]
push eax
call fcn.00609db0
mov eax, dword [ebp - 0x34]
add esp, 0xc
mov ecx, dword [ebp - 0x9c]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x34]
or word [eax + 0x10], 2
jmp 0x4454fe
mov eax, esi
xor ecx, ecx
sar eax, 2
test eax, eax
je 0x4454c4
xor edi, edi
nop dword [eax + eax]
shr ecx, 0x19
shl edi, 7
or ecx, edi
xor ecx, dword [edx]
add edx, 4
mov edi, ecx
sub eax, 1
jne 0x4454b0
and esi, 3
je 0x4454ec
mov edi, ecx
mov eax, ecx
nop dword [eax]
mov ecx, edi
shl eax, 7
shr ecx, 0x19
lea edx, [edx + 1]
or ecx, eax
movzx eax, byte [edx - 1]
xor ecx, eax
mov edi, ecx
mov eax, ecx
sub esi, 1
jne 0x4454d0
mov eax, dword [ebp - 0x34]
mov dword [eax + 8], ecx
mov eax, dword [ebp - 0x34]
or word [eax + 0x10], 2
jmp 0x4454fe
xor ecx, ecx
movzx esi, word [ebp - 0x20]
or edi, 0xffffffff
xor esi, dword [ebp - 0x30]
xor esi, dword [ebp - 0x2c]
xor esi, dword [ebp - 0x24]
xor esi, dword [ebp - 0x28]
xor esi, dword [ebp - 0x8c]
xor esi, ecx
mov ecx, dword [ebp - 0x16]
test ecx, ecx
je 0x44552f
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x44552f
push ecx
call fcn.005a47b0
mov ecx, dword [ebp - 0x1a]
test ecx, ecx
je 0x445545
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x445545
push ecx
call fcn.005a47b0
mov ecx, dword [ebp - 0x1e]
test ecx, ecx
je 0x44555b
mov eax, edi
lock xadd dword [ecx], eax
dec eax
jne 0x44555b
push ecx
call fcn.005a47b0
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x44556f
lock xadd dword [ecx], edi
dec edi
jne 0x44556f
push ecx
call fcn.005a47b0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00606a47
mov esp, ebp
pop ebp
ret 8
Function at 0x44a8f0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [0x6a6040]
xor eax, esp
mov dword [esp + 0x78], eax
push ebx
mov ebx, ecx
xor ecx, ecx
push esi
lea eax, [ebx + 0xfe]
push edi
mov dword [ebx + 0x107], 0
mov edi, dword [eax + 4]
cmp edi, eax
cmove edi, ecx
test edi, edi
je 0x44aa64
lea esi, [ebx + 0xe9]
push 0x64
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.00608810
add esp, 0xc
mov dword [esp + 0x20], 0x64
mov ecx, esi
push 0
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.005ccf10
cmp dword [esi + 9], 0
je 0x44a9b2
mov ecx, dword [ebx + 0xed]
test ecx, ecx
je 0x44a983
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
je 0x44a983
mov ecx, dword [ebx + 0xed]
mov dword [ebx + 0xed], eax
mov eax, dword [ecx]
call dword [eax + 4]
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 0x64
lea eax, [esp + 0x24]
push eax
mov eax, dword [esi + 9]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44a9c0
push 0xffffffffffffffff
push str.ReadFile__
jmp 0x44a9b9
push 0
push str.Bad_implementation
mov ecx, esi
call fcn.0045bfb0
mov eax, dword [ebx + 0x107]
mov ecx, esi
mov dword [esp + 0x30], eax
inc eax
push 0
mov dword [ebx + 0x107], eax
push dword [edi + 0xc]
push dword [edi + 8]
call fcn.005ccf10
cmp dword [esi + 9], 0
je 0x44aa3c
mov ecx, dword [ebx + 0xed]
test ecx, ecx
je 0x44aa0a
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
je 0x44aa0a
mov ecx, dword [ebx + 0xed]
mov dword [ebx + 0xed], eax
mov eax, dword [ecx]
call dword [eax + 4]
push 0
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0
push eax
push 0x64
lea eax, [esp + 0x24]
push eax
mov eax, dword [esi + 9]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [esp + 0x10], 0x64
je 0x44aa4a
push 0xffffffffffffffff
push str.WriteFile__
jmp 0x44aa43
push 0
push str.Bad_implementation
mov ecx, esi
call fcn.0045bfb0
mov eax, dword [edi + 4]
lea ecx, [ebx + 0xfe]
xor edx, edx
mov edi, eax
cmp eax, ecx
cmove edi, edx
test edi, edi
jne 0x44a931
mov ecx, dword [esp + 0x84]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00606a47
mov esp, ebp
pop ebp
ret
Function at 0x4610f0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
mov ebx, ecx
push ebp
push esi
push edi
test byte [ebx + 0x18], 3
mov dword [esp + 0x14], ebx
jne 0x461152
mov edi, dword [esp + 0x20]
xor eax, eax
mov edx, edi
lea esi, [eax + 2]
nop
movzx ecx, byte [edx]
lea edx, [edx + 1]
ror eax, 0x19
xor eax, ecx
sub esi, 1
jne 0x461110
xor edx, edx
xor ecx, ecx
div dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
mov esi, dword [eax + edx*4]
lea ebp, [eax + edx*4]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ecx
test esi, esi
je 0x461152
movzx eax, word [edi]
nop
cmp word [esi + 4], ax
je 0x461161
mov ecx, esi
mov dword [esp + 0x20], esi
mov esi, dword [esi]
test esi, esi
jne 0x461140
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
mov eax, dword [ebx + 0x1c]
lea edx, [ebx + 0x1c]
mov dword [esp + 0x10], edx
cmp eax, edx
je 0x461215
test eax, eax
je 0x461215
nop dword [eax + eax]
mov ebp, dword [eax]
xor ecx, ecx
mov edi, dword [eax + 8]
cmp ebp, edx
mov ebx, ebp
cmove ebx, ecx
test edi, edi
je 0x4611fb
mov ecx, dword [eax + 0xc]
cmp ecx, esi
jne 0x4611fb
test ecx, ecx
je 0x4611d2
mov ecx, dword [ecx]
mov dword [eax + 0xc], ecx
test ecx, ecx
jne 0x4611cc
mov edx, dword [eax + 0x10]
inc edx
mov dword [eax + 0x10], edx
cmp edx, dword [edi + 0x10]
jae 0x4611d2
mov ecx, dword [edi + 0x14]
mov ecx, dword [ecx + edx*4]
mov dword [eax + 0xc], ecx
test ecx, ecx
jne 0x4611cc
inc edx
mov dword [eax + 0x10], edx
cmp edx, dword [edi + 0x10]
jb 0x4611b2
test ecx, ecx
je 0x4611d2
mov byte [eax + 0x14], 1
jmp 0x4611fb
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4611db
mov dword [ecx], ebp
mov edx, dword [eax]
test edx, edx
je 0x4611e7
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov edx, dword [esp + 0x10]
mov eax, ebx
test ebx, ebx
jne 0x461180
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov eax, dword [esi]
test ecx, ecx
je 0x46121f
mov dword [ecx], eax
jmp 0x461222
mov dword [ebp], eax
dec dword [ebx + 0xc]
lea ecx, [ebx + 4]
push ecx
push ecx
mov ecx, dword [ecx]
push esi
call fcn.00462a40
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 4

Function at 0x461240
Capabilities:
Encode data using xor

Disassembly:
test byte [0x6ac8d8], 3
push edi
jne 0x46128c
mov edi, dword [esp + 8]
xor eax, eax
push esi
mov edx, edi
lea esi, [eax + 2]
movzx ecx, byte [edx]
lea edx, [edx + 1]
ror eax, 0x19
xor eax, ecx
sub esi, 1
jne 0x461256
xor edx, edx
div dword [0x6ac8d0]
mov eax, dword [0x6ac8d4]
pop esi
mov eax, dword [eax + edx*4]
test eax, eax
je 0x46128c
movzx ecx, word [edi]
nop
cmp word [eax + 4], cx
je 0x461295
mov eax, dword [eax]
test eax, eax
jne 0x461280
mov eax, 1
pop edi
ret 8
mov ecx, dword [esp + 0xc]
test ecx, ecx
je 0x4612a2
mov eax, dword [eax + 6]
mov dword [ecx], eax
xor eax, eax
pop edi
ret 8

Function at 0x4615e0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
push esi
lea esi, [eax + 2]
nop word [eax + eax]
movzx ecx, byte [edx]
lea edx, [edx + 1]
ror eax, 0x19
xor eax, ecx
sub esi, 1
jne 0x4615f0
pop esi
ret 4
Function at 0x461610
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
mov ebx, ecx
push ebp
push esi
push edi
test byte [ebx + 0x18], 3
mov dword [esp + 0x14], ebx
jne 0x461682
mov edi, dword [esp + 0x20]
xor eax, eax
mov edx, edi
mov esi, 3
ror eax, 0x19
lea edx, [edx + 4]
xor eax, dword [edx - 4]
sub esi, 1
jne 0x461630
xor edx, edx
div dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
mov esi, dword [eax + edx*4]
lea ebp, [eax + edx*4]
xor edx, edx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], edx
test esi, esi
je 0x461682
movzx ecx, word [edi]
nop dword [eax]
cmp word [esi + 4], cx
jne 0x461676
mov eax, dword [esi + 8]
cmp eax, dword [edi + 4]
jne 0x461676
mov eax, dword [esi + 0xc]
cmp eax, dword [edi + 8]
je 0x461691
mov edx, esi
mov dword [esp + 0x10], esi
mov esi, dword [esi]
test esi, esi
jne 0x461660
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
mov eax, dword [ebx + 0x1c]
lea ecx, [ebx + 0x1c]
mov dword [esp + 0x20], ecx
cmp eax, ecx
je 0x461745
test eax, eax
je 0x461745
nop dword [eax + eax]
mov ebp, dword [eax]
xor edx, edx
mov edi, dword [eax + 8]
cmp ebp, ecx
mov ebx, ebp
cmove ebx, edx
test edi, edi
je 0x46172f
mov ecx, dword [eax + 0xc]
cmp ecx, esi
jne 0x46172b
test ecx, ecx
je 0x461702
mov ecx, dword [ecx]
mov dword [eax + 0xc], ecx
test ecx, ecx
jne 0x4616fc
mov edx, dword [eax + 0x10]
inc edx
mov dword [eax + 0x10], edx
cmp edx, dword [edi + 0x10]
jae 0x461702
mov ecx, dword [edi + 0x14]
mov ecx, dword [ecx + edx*4]
mov dword [eax + 0xc], ecx
test ecx, ecx
jne 0x4616fc
inc edx
mov dword [eax + 0x10], edx
cmp edx, dword [edi + 0x10]
jb 0x4616e2
test ecx, ecx
je 0x461702
mov byte [eax + 0x14], 1
jmp 0x46172b
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x46170b
mov dword [ecx], ebp
mov edx, dword [eax]
test edx, edx
je 0x461717
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov ecx, dword [esp + 0x20]
mov eax, ebx
test ebx, ebx
jne 0x4616b0
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebp, dword [esp + 0x18]
mov eax, dword [esi]
test edx, edx
je 0x46174f
mov dword [edx], eax
jmp 0x461752
mov dword [ebp], eax
dec dword [ebx + 0xc]
lea ecx, [ebx + 4]
push ecx
push ecx
mov ecx, dword [ecx]
push esi
call fcn.00462790
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 4

Function at 0x461770
Capabilities:
Encode data using xor

Disassembly:
test byte [0x6ac878], 3
push esi
jne 0x4617cc
mov esi, dword [esp + 8]
xor eax, eax
mov ecx, esi
mov edx, 3
ror eax, 0x19
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
sub edx, 1
jne 0x461787
div dword [0x6ac870]
mov eax, dword [0x6ac874]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4617cc
movzx edx, word [esi]
nop word [eax + eax]
cmp word [eax + 4], dx
jne 0x4617c6
mov ecx, dword [eax + 8]
cmp ecx, dword [esi + 4]
jne 0x4617c6
mov ecx, dword [eax + 0xc]
cmp ecx, dword [esi + 8]
je 0x4617d5
mov eax, dword [eax]
test eax, eax
jne 0x4617b0
mov eax, 1
pop esi
ret 8
mov edx, dword [esp + 0xc]
test edx, edx
je 0x4617e8
mov ecx, dword [eax + 0x10]
mov eax, dword [eax + 0x14]
mov dword [edx], ecx
mov dword [edx + 4], eax
xor eax, eax
pop esi
ret 8
Function at 0x461b20
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor eax, eax
mov edx, 3
nop dword [eax + eax]
ror eax, 0x19
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
sub edx, 1
jne 0x461b30
ret 4

Function at 0x461e30
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
mov ebx, ecx
push ebp
push esi
push edi
test byte [ebx + 0x18], 3
mov dword [esp + 0x14], ebx
jne 0x461e92
mov edi, dword [esp + 0x20]
xor eax, eax
mov edx, edi
lea esi, [eax + 2]
nop
movzx ecx, byte [edx]
lea edx, [edx + 1]
ror eax, 0x19
xor eax, ecx
sub esi, 1
jne 0x461e50
xor edx, edx
xor ecx, ecx
div dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
mov esi, dword [eax + edx*4]
lea ebp, [eax + edx*4]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ecx
test esi, esi
je 0x461e92
movzx eax, word [edi]
nop
cmp word [esi + 4], ax
je 0x461ea1
mov ecx, esi
mov dword [esp + 0x20], esi
mov esi, dword [esi]
test esi, esi
jne 0x461e80
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret 4
mov eax, dword [ebx + 0x1c]
lea edx, [ebx + 0x1c]
mov dword [esp + 0x10], edx
cmp eax, edx
je 0x461f55
test eax, eax
je 0x461f55
nop dword [eax + eax]
mov ebp, dword [eax]
xor ecx, ecx
mov edi, dword [eax + 8]
cmp ebp, edx
mov ebx, ebp
cmove ebx, ecx
test edi, edi
je 0x461f3b
mov ecx, dword [eax + 0xc]
cmp ecx, esi
jne 0x461f3b
test ecx, ecx
je 0x461f12
mov ecx, dword [ecx]
mov dword [eax + 0xc], ecx
test ecx, ecx
jne 0x461f0c
mov edx, dword [eax + 0x10]
inc edx
mov dword [eax + 0x10], edx
cmp edx, dword [edi + 0x10]
jae 0x461f12
mov ecx, dword [edi + 0x14]
mov ecx, dword [ecx + edx*4]
mov dword [eax + 0xc], ecx
test ecx, ecx
jne 0x461f0c
inc edx
mov dword [eax + 0x10], edx
cmp edx, dword [edi + 0x10]
jb 0x461ef2
test ecx, ecx
je 0x461f12
mov byte [eax + 0x14], 1
jmp 0x461f3b
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x461f1b
mov dword [ecx], ebp
mov edx, dword [eax]
test edx, edx
je 0x461f27
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov dword [eax + 4], 0
mov dword [eax], 0
mov dword [eax + 8], 0
mov edx, dword [esp + 0x10]
mov eax, ebx
test ebx, ebx
jne 0x461ec0
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov eax, dword [esi]
test ecx, ecx
je 0x461f5f
mov dword [ecx], eax
jmp 0x461f62
mov dword [ebp], eax
dec dword [ebx + 0xc]
lea ecx, [ebx + 4]
push ecx
push ecx
mov ecx, dword [ecx]
push esi
call fcn.004624e0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret 4

Function at 0x461f80
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
mov edi, ecx
test byte [edi + 0x18], 3
jne 0x461fcc
mov ebx, dword [esp + 0xc]
xor eax, eax
push esi
mov edx, ebx
lea esi, [eax + 2]
movzx ecx, byte [edx]
lea edx, [edx + 1]
ror eax, 0x19
xor eax, ecx
sub esi, 1
jne 0x461f96
xor edx, edx
div dword [edi + 0x10]
mov eax, dword [edi + 0x14]
pop esi
mov eax, dword [eax + edx*4]
test eax, eax
je 0x461fcc
movzx ecx, word [ebx]
nop dword [eax]
cmp word [eax + 4], cx
je 0x461fd6
mov eax, dword [eax]
test eax, eax
jne 0x461fc0
pop edi
mov eax, 1
pop ebx
ret 8
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x461fe5
mov ax, word [eax + 6]
mov word [ecx], ax
pop edi
xor eax, eax
pop ebx
ret 8
Function at 0x4640b0
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov edx, ecx
push esi
lea esi, [eax + 2]
nop dword [eax + eax]
movzx ecx, byte [edx]
lea edx, [edx + 1]
ror eax, 0x19
xor eax, ecx
sub esi, 1
jne 0x4640c0
pop esi
ret
Function at 0x4665a0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x629860
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6a6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ecx + 4], 2
jne 0x4666af
cmp dword [0x6ac25c], 0
je 0x46678f
mov ebx, dword [0x6ac16c]
xor edi, edi
push 0xffffffffffffffff
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
push dword [ebx]
mov byte [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
jne 0x466607
mov dword [ebx + 8], edi
jmp 0x46660b
test eax, eax
jne 0x46661c
inc dword [ebx + 0xc]
mov edi, 1
inc dword [ebx + 8]
inc dword [ebx + 4]
mov dword [ebp - 0x14], edi
mov ecx, dword [0x6ac264]
test ecx, ecx
je 0x46665e
push 1
push 0
add ecx, 0x25c
push 1
call fcn.005d79f0
mov eax, dword [0x6ac264]
mov eax, dword [eax + 4]
test eax, eax
je 0x46665e
mov eax, dword [eax + 0xae]
test eax, eax
je 0x46665e
xor cl, cl
lea esi, [eax + 0x37]
lock or byte [esi], cl
push dword [eax + 0x33]
call dword [sym.imp.WS2_32.dll_WSASetEvent]
test edi, edi
jg 0x46666b
cmp dword [0x6ac6c4], 0
jne 0x466676
dec edi
mov ecx, ebx
mov dword [ebp - 0x14], edi
call fcn.005e0810
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x6ac25c]
push 0x2710
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x6ac25c]
test ecx, ecx
je 0x46669e
mov eax, dword [ecx]
push 1
call dword [eax]
call esi
mov dword [0x6ac25c], 0
jmp 0x466787
cmp dword [0x6ac260], 0
je 0x46678f
mov ebx, dword [0x6ac16c]
xor edi, edi
push 0xffffffffffffffff
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], edi
push dword [ebx]
mov byte [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
jne 0x4666e4
mov dword [ebx + 8], edi
jmp 0x4666e8
test eax, eax
jne 0x4666f9
inc dword [ebx + 0xc]
mov edi, 1
inc dword [ebx + 8]
inc dword [ebx + 4]
mov dword [ebp - 0x14], edi
mov ecx, dword [0x6ac258]
test ecx, ecx
je 0x46673b
push 1
push 0
add ecx, 0x25c
push 1
call fcn.005d79f0
mov eax, dword [0x6ac258]
mov eax, dword [eax + 4]
test eax, eax
je 0x46673b
mov eax, dword [eax + 0xae]
test eax, eax
je 0x46673b
xor cl, cl
lea esi, [eax + 0x37]
lock or byte [esi], cl
push dword [eax + 0x33]
call dword [sym.imp.WS2_32.dll_WSASetEvent]
test edi, edi
jg 0x466748
cmp dword [0x6ac6c4], 0
jne 0x466753
dec edi
mov ecx, ebx
mov dword [ebp - 0x14], edi
call fcn.005e0810
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov ecx, dword [0x6ac260]
push 0x2710
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x6ac260]
test ecx, ecx
je 0x46677b
mov eax, dword [ecx]
push 1
call dword [eax]
call esi
mov dword [0x6ac260], 0
lea ecx, [ebp - 0x18]
call fcn.0041d9b0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4669f0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x18
mov eax, dword [0x6a6040]
xor eax, esp
mov dword [esp + 0x14], eax
push ebx
push edi
lea eax, [esp + 8]
mov edi, edx
push eax
push 0x28
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x466ab3
lea eax, [esp + 0x10]
push eax
push 0x65ca90
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push 0
push 0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 1
push eax
push 0
push dword [esp + 0x1c]
mov dword [esp + 0x30], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x466ab3
push bind
push edi
push eax
push 0x3c
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_InitiateSystemShutdownExW]
test eax, eax
je 0x466ab3
push 0
push 0
push 0
lea eax, [esp + 0x18]
mov dword [esp + 0x24], 0
push eax
push 0
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov eax, 1
pop edi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.00606a47
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x1c]
xor eax, eax
pop edi
pop ebx
xor ecx, esp
call fcn.00606a47
mov esp, ebp
pop ebp
ret

Function at 0x466f30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x62fca7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x6a6040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 1
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0
mov dword [esi], vtable.CMyThread.0
call ebx
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x18], 0xaa5555aa
mov dword [ebp - 4], 0
mov dword [esi], vtable.CChkSerialThread.0
mov dword [esi + 0x25], 0
mov dword [esi + 0x29], 0
mov dword [esi + 0x2d], 0
mov dword [esi + 0x31], 0
mov dword [esi + 0x35], 0
mov dword [esi + 0x39], 0
push ecx
mov byte [ebp - 4], 6
mov edi, esp
call fcn.005a45d0
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x466ff5
push str.2.8.9
mov ecx, eax
call fcn.005a5480
jmp 0x466ff7
xor eax, eax
mov byte [ebp - 4], 6
mov dword [edi], eax
test eax, eax
je 0x467015
cmp dword [eax + 0xc], 0
jne 0x467015
push ecx
mov ecx, eax
call fcn.005a47b0
mov dword [edi], 0
lea ecx, [esi + 0x3d]
call fcn.00468f20
push 0
push 0
push 1
push 0
call ebx
push 0
push 0
push 1
push 0
mov dword [esi + 0x1d], eax
call ebx
lea edi, [esi + 0x10]
mov dword [esi + 0x21], eax
push edi
push 0
push esi
push 0x4b3c30
push 0
push 0
mov byte [esi + 0x1c], 0
call fcn.0061408e
push dword [edi]
mov dword [esi + 0xc], eax
push str.Created_new_thread_with_Id___x_n
push 0x6a6e70
call fcn.0042abc0
add esp, 0x24
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret