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

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 8], eax
mov ebp, ecx
test edi, edi
jle 0x40e7a4
push ebx
mov ebx, dword [esp + 0x28]
push esi
mov eax, dword [ebp + 0xc]
dec eax
cmp eax, 7
ja case.default.0x40e62e
jmp dword [eax*4 + 0x40e7ae]
push ebx
push ebx
mov ecx, ebp
call fcn.0040e7ce
mov eax, dword [esp + 0x10]
jmp 0x40e78c
mov eax, dword [esp + 0x2c]
mov ecx, ebp
mov edi, dword [ebx]
mov ebx, dword [ebx + 4]
push eax
push eax
call fcn.0040e7ce
mov eax, dword [esp + 0x2c]
lea esi, [ebp + 0x1a]
push eax
push esi
push eax
push 8
call fcn.0040e238
mov dword [esi], edi
add esp, 0x10
mov edi, dword [esp + 0x28]
mov dword [esi + 4], ebx
mov ebx, dword [esp + 0x2c]
jmp 0x40e63e
lea esi, [ebp + 0x1a]
mov ecx, ebp
push esi
push esi
call fcn.0040e9c5
push ebx
push ebx
push esi
push 8
call fcn.0040e238
add esp, 0x10
jmp 0x40e63e
cmp dword [ebp + 0x3c], 0
je 0x40e6ac
push 8
pop eax
test eax, eax
jle 0x40e6ac
dec eax
add byte [eax + ebp + 0x2a], 1
je 0x40e6a0
lea esi, [ebp + 0x1a]
mov ecx, ebp
push esi
lea eax, [ebp + 0x2a]
push eax
call fcn.0040e9c5
push ebx
push ebx
push esi
push 8
call fcn.0040e238
add esp, 0x10
mov dword [ebp + 0x3c], 1
jmp 0x40e63e
mov edi, dword [ebx]
lea esi, [ebp + 0x1a]
mov ebx, dword [ebx + 4]
mov ecx, ebp
push esi
push esi
call fcn.0040e9c5
mov eax, dword [esp + 0x2c]
push eax
push eax
push esi
jmp 0x40e663
xor esi, esi
test edi, edi
jle 0x40e730
lea eax, [ebp + 0x1a]
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, ebp
call fcn.0040e9c5
mov eax, dword [ebx]
mov dword [ebp + 0x22], eax
mov eax, dword [ebx + 4]
mov dword [ebp + 0x26], eax
lea eax, [esi + ebx]
push eax
push eax
lea eax, [esp + 0x1c]
push eax
push 8
call fcn.0040e238
add esi, 8
lea eax, [ebp + 0x1a]
add esp, 0x10
cmp esi, edi
jl 0x40e6fa
xor edi, edi
jmp 0x40e63e
xor esi, esi
mov dword [esp + 0x2c], esi
test edi, edi
jle 0x40e730
lea edi, [ebp + 0x1a]
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
push edi
call fcn.0040e9c5
mov dl, byte [esi + ebx]
mov al, byte [esp + 0x1c]
xor al, dl
mov byte [esi + ebx], al
lea esi, [edi + 1]
push 7
pop ecx
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x2c]
lea edi, [ebp + 0x1a]
inc esi
mov byte [ebp + 0x21], dl
mov dword [esp + 0x2c], esi
cmp esi, dword [esp + 0x28]
jl 0x40e744
jmp 0x40e730
mov eax, 0x527
jmp 0x40e788
mov eax, 0x425
mov dword [esp + 0x10], eax
sub edi, 8
add ebx, 8
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], ebx
test edi, edi
jg 0x40e621
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x14
ret 8
Function at 0x40e7f1
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x18
push ebp
push edi
mov edi, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 8], eax
mov ebp, ecx
test edi, edi
jle 0x40e99c
push ebx
mov ebx, dword [esp + 0x2c]
push esi
mov eax, dword [ebp + 0xc]
dec eax
cmp eax, 7
ja case.default.0x40e81d
jmp dword [eax*4 + 0x40e9a5]
push ebx
push ebx
mov ecx, ebp
call fcn.0040e9c5
mov eax, dword [esp + 0x10]
jmp 0x40e984
push ebx
push ebx
lea esi, [ebp + 0x1a]
push esi
push 8
call fcn.0040e238
add esp, 0x10
mov ecx, ebp
push ebx
push ebx
call fcn.0040e9c5
mov eax, dword [ebx]
mov dword [esi], eax
mov eax, dword [ebx + 4]
mov dword [esi + 4], eax
jmp 0x40e82d
lea esi, [ebp + 0x1a]
mov ecx, ebp
push esi
push esi
call fcn.0040e9c5
push ebx
push ebx
push esi
push 8
call fcn.0040e238
add esp, 0x10
jmp 0x40e82d
cmp dword [ebp + 0x3c], 0
je 0x40e88b
push 8
pop eax
test eax, eax
jle 0x40e88b
dec eax
add byte [eax + ebp + 0x2a], 1
je 0x40e87f
lea esi, [ebp + 0x1a]
mov ecx, ebp
push esi
lea eax, [ebp + 0x2a]
push eax
call fcn.0040e9c5
push ebx
push ebx
push esi
push 8
call fcn.0040e238
add esp, 0x10
mov dword [ebp + 0x3c], 1
jmp 0x40e82d
lea esi, [ebp + 0x1a]
mov ecx, ebp
push esi
push esi
call fcn.0040e9c5
push ebx
push ebx
push esi
push 8
call fcn.0040e238
add esp, 0x10
jmp 0x40e84f
test edi, edi
jle 0x40e92a
lea eax, [edi - 1]
mov dword [esp + 0x2c], ebx
shr eax, 2
lea esi, [ebp + 0x1a]
inc eax
mov dword [esp + 0x14], eax
mov ebx, eax
lea eax, [esp + 0x18]
mov ecx, ebp
push eax
push esi
call fcn.0040e9c5
add esi, 4
lea edi, [ebp + 0x1a]
lea eax, [esp + 0x18]
movsb byte es:[edi], byte [esi]
movsb byte es:[edi], byte [esi]
movsb byte es:[edi], byte [esi]
movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x2c]
push esi
push esi
push eax
push 4
call fcn.0040e238
mov eax, dword [esi]
add esp, 0x10
add esi, 4
mov dword [ebp + 0x1e], eax
mov dword [esp + 0x2c], esi
lea esi, [ebp + 0x1a]
sub ebx, 1
jne 0x40e8e6
mov ebx, dword [esp + 0x30]
xor edi, edi
jmp 0x40e82d
xor esi, esi
mov dword [esp + 0x30], esi
test edi, edi
jle 0x40e92a
lea edi, [ebp + 0x1a]
lea eax, [esp + 0x20]
mov ecx, ebp
push eax
push edi
call fcn.0040e9c5
mov al, byte [esp + 0x20]
xor byte [esi + ebx], al
lea esi, [edi + 1]
push 7
pop ecx
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x30]
lea edi, [ebp + 0x1a]
mov al, byte [esi + ebx]
inc esi
mov byte [ebp + 0x21], al
mov dword [esp + 0x30], esi
cmp esi, dword [esp + 0x2c]
jl 0x40e93e
jmp 0x40e92a
mov eax, 0x527
jmp 0x40e980
mov eax, 0x425
mov dword [esp + 0x10], eax
sub edi, 8
add ebx, 8
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
test edi, edi
jg 0x40e810
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x18
ret 8
Function at 0x40e9e8
Capabilities:
Encrypt data using skipjack

Disassembly:
movzx eax, byte [esp + 0xc]
mov dword [esp + 0xc], eax
push ebx
push ebp
lea eax, [eax*4 - 4]
mov ebp, dword [esp + 0x10]
cdq
push esi
push edi
push 0xa
pop ecx
idiv ecx
mov edi, dword [esp + 0x20]
movzx eax, byte [ebp]
mov esi, dword [esp + 0x14]
push 0xa
movzx ecx, byte [edx + edi]
xor ecx, eax
mov al, byte [ecx + 0x44bce0]
xor byte [esi], al
mov eax, dword [esp + 0x20]
pop ecx
push 0xa
lea eax, [eax*4 - 3]
cdq
idiv ecx
movzx eax, byte [esi]
movzx ecx, byte [edx + edi]
xor ecx, eax
mov al, byte [ecx + 0x44bce0]
xor byte [ebp], al
mov eax, dword [esp + 0x20]
pop ecx
push 0xa
lea eax, [eax*4 - 2]
cdq
idiv ecx
movzx eax, byte [ebp]
movzx ecx, byte [edx + edi]
xor ecx, eax
mov al, byte [ecx + 0x44bce0]
xor byte [esi], al
mov eax, dword [esp + 0x20]
pop ecx
lea eax, [eax*4 - 1]
cdq
idiv ecx
movzx eax, byte [esi]
movzx ecx, byte [edx + edi]
xor ecx, eax
pop edi
pop esi
mov al, byte [ecx + 0x44bce0]
xor byte [ebp], al
pop ebp
pop ebx
ret

Function at 0x40eb3e
Capabilities:
Encrypt data using skipjack

Disassembly:
movzx eax, byte [esp + 0xc]
mov dword [esp + 0xc], eax
push ebx
push ebp
lea eax, [eax*4 - 1]
mov ebp, dword [esp + 0xc]
cdq
push esi
push edi
push 0xa
pop ecx
idiv ecx
mov edi, dword [esp + 0x20]
movzx eax, byte [ebp]
mov esi, dword [esp + 0x18]
push 0xa
movzx ecx, byte [edx + edi]
xor ecx, eax
mov al, byte [ecx + 0x44bce0]
xor byte [esi], al
mov eax, dword [esp + 0x20]
pop ecx
push 0xa
lea eax, [eax*4 - 2]
cdq
idiv ecx
movzx eax, byte [esi]
movzx ecx, byte [edx + edi]
xor ecx, eax
mov al, byte [ecx + 0x44bce0]
xor byte [ebp], al
mov eax, dword [esp + 0x20]
pop ecx
push 0xa
lea eax, [eax*4 - 3]
cdq
idiv ecx
movzx eax, byte [ebp]
movzx ecx, byte [edx + edi]
xor ecx, eax
mov al, byte [ecx + 0x44bce0]
xor byte [esi], al
mov eax, dword [esp + 0x20]
pop ecx
lea eax, [eax*4 - 4]
cdq
idiv ecx
movzx eax, byte [esi]
movzx ecx, byte [edx + edi]
xor ecx, eax
pop edi
pop esi
mov al, byte [ecx + 0x44bce0]
xor byte [ebp], al
pop ebp
pop ebx
ret

Function at 0x410d51
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [0x463e54]
test eax, eax
jne 0x410d61
push eax
call fcn.0042e33e
pop ecx
imul eax, eax, 0x8088405
inc eax
mov dword [0x463e54], eax
ret
Function at 0x411171
Capabilities:
Generate random numbers via winapi

Disassembly:
mov eax, 0x440286
call fcn.00428310
sub esp, 0xa8
push ebx
xor ebx, ebx
push esi
mov dword [ebp - 0x10], ebx
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
mov dword [ebp - 4], ebx
call fcn.00403775
xor eax, eax
inc eax
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], eax
call fcn.00403775
push 2
mov edi, eax
mov dword [ebp - 0x10], 3
push 0x80
lea eax, [ebp - 0xb4]
push eax
push ebx
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
jne 0x411202
push ebx
lea eax, [ebp - 0xb4]
push eax
push 0x80
lea ecx, [ebp - 0x1c]
call fcn.0040372b
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x28]
call fcn.00403784
lea ecx, [ebp - 0x34]
call fcn.0040377f
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.0040377f
push edi
mov ecx, esi
call fcn.00403878
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], bl
call fcn.0040377f
lea eax, [ebp - 0x1c]
push eax
call fcn.00410ca0
pop ecx
push eax
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.00403878
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.0040377f
push dword [ebp + 0x10]
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
call fcn.00403f88
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 4
push eax
mov ecx, esi
call fcn.00403784
lea ecx, [ebp - 0x1c]
call fcn.0040377f
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], bl
call fcn.0040377f
mov ecx, esi
call fcn.00403875
cmp eax, dword [ebp + 0xc]
jl 0x4112e4
mov ecx, dword [ebp + 0x14]
call fcn.00403875
test eax, eax
je 0x4112e4
mov ecx, dword [ebp + 0x14]
push esi
call fcn.00403ba9
cmp eax, 0xffffffff
je 0x4112e4
push 0x444280
lea ecx, [ebp - 0x28]
call fcn.00403745
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 5
push eax
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00403784
lea ecx, [ebp - 0x1c]
call fcn.0040377f
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.0040377f
push ebx
lea eax, [ebp - 0x1c]
mov ecx, esi
push eax
call fcn.00403f88
lea ecx, [ebp - 0x1c]
call fcn.0040377f
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10

Function at 0x416a27
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
xor esi, esi
mov ebx, esi
push edi
mov edi, dword [esp + 0x28]
test ebp, ebp
jle 0x416a8f
mov ebx, dword [esp + 0x28]
push 0x20
pop eax
sub eax, dword [esp + 0x1c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
sub eax, edi
mov dword [esp + 0x14], ebp
mov edi, dword [esp + 0x20]
mov dword [esp + 0x24], eax
xor dword [ebx], esi
mov ecx, edi
mov edx, dword [eax + ebx]
mov eax, edx
mov esi, dword [esp + 0x1c]
shr eax, cl
neg esi
mov ecx, dword [esp + 0x1c]
sbb esi, esi
shl edx, cl
xor dword [ebx], edx
and esi, eax
mov eax, dword [esp + 0x24]
lea ebx, [ebx + 4]
sub ebp, 1
jne 0x416a5e
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x14]
xor dword [edi + ebx*4], esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x416a99
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
test edx, edx
jle 0x416aba
mov ecx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
sub esi, ecx
mov eax, dword [esi + ecx]
xor dword [ecx], eax
lea ecx, [ecx + 4]
sub edx, 1
jne 0x416aac
pop esi
ret
Function at 0x418cd2
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x440f18
call fcn.00428310
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004041f6
xor ebx, ebx
mov dword [esi], vtable.cdk::Key.0
lea ecx, [esi + 0xc]
mov dword [ebp - 4], ebx
call fcn.00403775
mov ecx, vtable.cdk::Point.0
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
push 7
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
pop eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], ebx
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 3
call fcn.00418db9
lea ecx, [esi + 0xf8]
mov byte [ebp - 4], 4
call fcn.00403775
lea ecx, [esi + 0x104]
mov byte [ebp - 4], 5
call fcn.00403775
lea ecx, [esi + 0x110]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [esi + 0x118], ebx
mov dword [esi + 0x11c], ebx
push ebx
mov byte [ebp - 4], 8
mov dword [esi + 8], 0xff
mov dword [esi + 0x18], ebx
mov dword [esi + 0xf4], 1
call fcn.004129b4
mov ecx, esi
mov dword [esi + 0x120], ebx
call fcn.0041df3a
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov byte [esi + 0x1c], bl
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x418db9
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x440fc7
call fcn.00428310
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004041f6
xor eax, eax
mov dword [esi], vtable.cdk::RSA.0
mov dword [esi + 0xc], 1
mov dword [esi + 0x10], eax
mov dword [ebp - 4], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x7c], eax
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], eax
mov ecx, esi
mov byte [ebp - 4], 0xe
call fcn.00421d48
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x423444
Capabilities:
Check for software breakpoints

Disassembly:
mov eax, 0x442cd8
call fcn.00428310
mov ecx, dword [ebp + 8]
sub esp, 0x30
push ebx
push esi
push edi
xor ebx, ebx
call fcn.00403875
cmp eax, 2
jl 0x423647
mov ecx, dword [ebp + 8]
push ebx
call fcn.00403805
cmp eax, 0x6b
jne 0x423647
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push 1
push eax
call fcn.00403e44
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.00403875
push 2
pop esi
jmp 0x4234df
push ebx
lea ecx, [ebp - 0x18]
call fcn.004037fb
cmp byte [eax], 0xbb
jne 0x4234e3
push 1
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x18]
call fcn.00403e44
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x18]
call fcn.00403784
lea ecx, [ebp - 0x24]
call fcn.0040377f
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], bl
call fcn.0040377f
lea ecx, [ebp - 0x18]
call fcn.00403875
cmp eax, esi
jg 0x423497
lea ecx, [ebp - 0x18]
call fcn.00403875
cmp eax, 0x17
je 0x423528
lea ecx, [ebp - 0x18]
call fcn.00403875
cmp eax, 0x1f
je 0x423528
lea ecx, [ebp - 0x18]
call fcn.00403875
cmp eax, 0x23
je 0x423528
lea ecx, [ebp - 0x18]
call fcn.00403875
cmp eax, 0x33
je 0x423528
lea ecx, [ebp - 0x18]
call fcn.00403875
cmp eax, 0x43
jne 0x42363a
push ebx
lea ecx, [ebp - 0x18]
call fcn.004037fb
cmp byte [eax], 0xba
jne 0x42363a
lea ecx, [ebp - 0x18]
call fcn.00403875
dec eax
lea ecx, [ebp - 0x18]
push eax
call fcn.004037fb
cmp byte [eax], 0xcc
jne 0x42363a
lea ecx, [ebp - 0x18]
call fcn.00403875
sub eax, esi
lea ecx, [ebp - 0x18]
push eax
call fcn.004037fb
movsx eax, byte [eax]
sub eax, 0x33
je 0x4235de
sub eax, 1
je 0x4235d3
sub eax, 1
je 0x4235c8
sub eax, 1
je 0x4235bd
sub eax, esi
je 0x4235b2
sub eax, 1
je 0x4235a7
sub eax, 7
je 0x42359c
lea ecx, [ebp - 0x18]
call fcn.0040377f
mov eax, esi
jmp 0x42364c
mov edi, dword [ebp + 0xc]
mov dword [edi], 0x13
jmp 0x4235e7
mov edi, dword [ebp + 0xc]
mov dword [edi], 0x12
jmp 0x4235e7
mov edi, dword [ebp + 0xc]
mov dword [edi], 0xd
jmp 0x4235e7
mov edi, dword [ebp + 0xc]
mov dword [edi], 0xb
jmp 0x4235e7
mov edi, dword [ebp + 0xc]
mov dword [edi], 0xc
jmp 0x4235e7
mov edi, dword [ebp + 0xc]
mov dword [edi], 0xa
jmp 0x4235e7
mov edi, dword [ebp + 0xc]
mov dword [edi], 4
push 1
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00403e44
mov esi, eax
push dword [edi]
mov byte [ebp - 4], 2
call fcn.00424e35
pop ecx
push eax
lea eax, [ebp - 0x24]
mov ecx, esi
push eax
call fcn.00403f88
mov ecx, dword [ebp + 0x10]
push eax
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 3
push eax
call fcn.00403784
lea ecx, [ebp - 0x30]
call fcn.0040377f
lea ecx, [ebp - 0x24]
call fcn.0040377f
lea ecx, [ebp - 0x3c]
call fcn.0040377f
jmp 0x42363d
push 2
pop ebx
lea ecx, [ebp - 0x18]
call fcn.0040377f
jmp 0x42364a
xor ebx, ebx
inc ebx
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x426b87
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
mov dword [ebp - 4], ecx
mov dword [ebp - 0xc], esi
call fcn.0040425b
test eax, eax
je 0x426ba6
mov esi, 0x5be
jmp 0x426bf5
push edi
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x426bb5
mov esi, 0x407
jmp 0x426bf4
mov eax, dword [ebp - 4]
mov dword [ebp + 0xc], esi
push ebx
mov bl, byte [eax + esi + 8]
mov eax, esi
cdq
idiv dword [ebp + 8]
movzx ecx, bl
movsx eax, byte [edx + edi]
add eax, dword [ebp + 0xc]
add ecx, eax
mov eax, dword [ebp - 4]
movzx edx, cl
mov dword [ebp + 0xc], edx
mov cl, byte [eax + edx + 8]
mov byte [eax + esi + 8], cl
inc esi
mov byte [eax + edx + 8], bl
cmp esi, 0x100
jl 0x426bbc
mov esi, dword [ebp - 0xc]
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret 8

Function at 0x426c90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x463ec4], 0
mov edx, ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
jne 0x426cf1
push 0x40
mov esi, 0xedb88320
pop ecx
mov dword [0x4640c0], esi
mov eax, esi
lea ebx, [ecx*4 + 0x463ec0]
and al, 1
mov edx, ecx
movzx eax, al
mov edi, 0x463ec0
neg eax
sbb eax, eax
shr esi, 1
and eax, 0xedb88320
xor esi, eax
shl edx, 3
mov eax, dword [edi]
add edi, edx
xor eax, esi
mov dword [ebx], eax
add ebx, edx
cmp edi, 0x4642c0
jl 0x426cd8
sar ecx, 1
jne 0x426cb3
mov edx, dword [ebp - 4]
mov esi, dword [ebp + 8]
xor edi, edi
test esi, esi
jle 0x426d1b
mov ecx, dword [edx + 8]
mov ebx, dword [ebp + 0xc]
movzx eax, byte [edi + ebx]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x463ec0]
inc edi
mov dword [edx + 8], ecx
cmp edi, esi
jl 0x426d00
add dword [edx + 0x10], esi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x435365
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004351db
Function at 0x4037c3
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
call fcn.0040453d
lea ecx, [ebp - 0x1c]
call fcn.004034a0
mov eax, dword [ebp + 0xc]
add eax, 4
push eax
mov eax, dword [ebp + 8]
dec eax
push eax
lea ecx, [ebp - 0x1c]
call fcn.004035d2
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.00403531
test esi, esi
lea ecx, [ebp - 0x1c]
je 0x403811
call fcn.00403572
test esi, esi
jge 0x40380d
push 0xffffffffffffffff
call dword [sym.imp.MSVCR80.dll_exit]
push 0
jmp 0x403807
lea eax, [ebp - 4]
push eax
call fcn.004034bb
test eax, eax
lea ecx, [ebp - 0x1c]
jge 0x403829
push eax
call fcn.00403515
jmp 0x40382e
call fcn.004035c3
push dword [ebp - 4]
jmp 0x403807
Function at 0x409bc3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c118]
jne 0x409bcd
repz ret
jmp fcn.0040a1e8

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x17fd67f0
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x383221cb
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4015d0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x41c214]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp + 0x10], eax
push 0
push 0x64
mov eax, dword [ebp + 8]
push eax
push 0x41c500
mov ecx, 0x41c768
call fcn.00409aa0
mov dword [0x41c9bc], 1
mov ecx, dword [0x415798]
mov dword [ebp - 0xc], ecx
mov dx, word [0x41579c]
mov word [ebp - 8], dx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00402d90
add esp, 8
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
je 0x4016e2
push str.UnregServer
mov edx, dword [ebp - 0x21c]
push edx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40166c
mov ecx, 0x41c768
call fcn.0040d8b0
jmp 0x401839
push str.RegServer
mov eax, dword [ebp - 0x21c]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x401698
push 0
push 1
mov ecx, 0x41c768
call fcn.0040bca0
jmp 0x401839
push str.Service
mov ecx, dword [ebp - 0x21c]
push ecx
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x4016c4
push 1
push 1
mov ecx, 0x41c768
call fcn.0040bca0
jmp 0x401839
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x21c]
push eax
call fcn.00402d90
add esp, 8
mov dword [ebp - 0x21c], eax
jmp 0x401637
push 0
lea ecx, [ebp - 0x238]
call fcn.00404ef0
push 0x20019
push 0x4157c8
push SysReAllocString
lea ecx, [ebp - 0x238]
call fcn.0040aaf0
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
je 0x40173a
mov ecx, dword [ebp - 0x218]
mov dword [ebp - 0x220], ecx
lea ecx, [ebp - 0x238]
call fcn.00405600
mov eax, dword [ebp - 0x220]
jmp 0x401839
push 0
lea ecx, [ebp - 0x244]
call fcn.00404ef0
push 0x20019
push 0x4157f0
lea ecx, [ebp - 0x238]
call fcn.00405a30
push eax
lea ecx, [ebp - 0x244]
call fcn.0040aaf0
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
je 0x4017a4
mov edx, dword [ebp - 0x218]
mov dword [ebp - 0x224], edx
lea ecx, [ebp - 0x244]
call fcn.00405600
lea ecx, [ebp - 0x238]
call fcn.00405600
mov eax, dword [ebp - 0x224]
jmp 0x401839
mov dword [ebp - 0x228], 0x104
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x214]
push ecx
push 0x4157d4
lea ecx, [ebp - 0x244]
call fcn.0040b0d0
mov dword [ebp - 0x218], eax
mov dword [0x41c9bc], 0
cmp dword [ebp - 0x218], 0
jne 0x401808
lea edx, [ebp - 0x214]
push edx
push 0x415840
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x401808
mov dword [0x41c9bc], 1
mov ecx, 0x41c768
call fcn.0040d2a0
mov eax, dword [0x41c9a8]
mov dword [ebp - 0x22c], eax
lea ecx, [ebp - 0x244]
call fcn.00405600
lea ecx, [ebp - 0x238]
call fcn.00405600
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004134d5
mov esp, ebp
pop ebp
ret 0x10