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

Disassembly:
sub esp, 0x80
lea eax, [esp]
push ebx
push ebp
push esi
push edi
push 5
mov ebp, ecx
push eax
call fcn.10086980
lea edx, [esp + 0x50]
push 5
lea ecx, [ebp + 0x68]
push edx
call fcn.10086980
mov ebx, dword [esp + 0x94]
mov eax, dword [esp + 0x98]
mov ecx, 5
mov esi, ebx
lea edi, [esp + 0x10]
test eax, eax
rep movsd dword es:[edi], dword [esi]
jbe 0x100854ba
mov esi, eax
lea eax, [esp + 0x50]
push 0
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, ebp
call fcn.10086210
lea edx, [esp + 0x10]
push 0
lea eax, [esp + 0x54]
push edx
push eax
lea ecx, [ebp + 0x68]
call fcn.10086210
lea ecx, [esp + 0x10]
mov eax, ebx
sub ecx, ebx
mov edx, 5
mov edi, dword [ecx + eax]
xor dword [eax], edi
add eax, 4
dec edx
jne 0x100854ac
dec esi
jne 0x10085478
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 8

Function at 0x10085970
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov ebp, ecx
mov ecx, dword [esp + 0x10]
push edi
xor edi, edi
xor eax, eax
lea edx, [ebp + 0x100]
lea esi, [edi + ecx]
xor ebx, ebx
add edx, 4
mov bl, byte [esi + eax]
mov ebx, dword [ebx*4 + 0x100c3ce0]
xor dword [edx - 4], ebx
inc eax
cmp eax, 4
jl 0x10085987
add edi, 4
cmp edi, 0x10
jl 0x1008597c
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x100861e0
Capabilities:
Hash data using sha1

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 0x18], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [ecx + 0x1c], eax
ret
Function at 0x10087270
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov edx, dword [ecx + 0xc]
push esi
mov esi, dword [esp + 8]
mov eax, edx
and eax, 0xff
and esi, 0xff
xor eax, esi
shr edx, 8
mov eax, dword [eax*4 + 0x100c3ce0]
xor eax, edx
mov edx, dword [ecx + 0x10]
mov dword [ecx + 0xc], eax
and eax, 0xff
add eax, edx
mov edx, dword [ecx + 0x14]
imul eax, eax, 0x8088405
inc eax
mov esi, edx
mov dword [ecx + 0x10], eax
and esi, 0xff
shr eax, 0x18
xor eax, esi
pop esi
shr edx, 8
mov eax, dword [eax*4 + 0x100c3ce0]
xor eax, edx
mov dword [ecx + 0x14], eax
ret 4

Function at 0x10087540
Capabilities:
Encode data using xor

Disassembly:
mov eax, edx
sub esp, 0xa8
and eax, 0xff
mov dl, al
push ebx
mov dh, dl
push esi
mov eax, edx
mov esi, ecx
shl eax, 0x10
push edi
mov ecx, 0x10
lea edi, [esp + 0xc]
mov ax, dx
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
xor ecx, ecx
sub esi, eax
mov bl, byte [esp + ecx + 0xc]
lea eax, [esp + ecx + 0xc]
mov dl, byte [esi + eax]
xor bl, dl
inc ecx
cmp ecx, 0x14
mov byte [eax], bl
jb 0x10087571
lea ecx, [esp + 0x4c]
call fcn.100861e0
lea eax, [esp + 0xc]
lea ecx, [esp + 0x4c]
push 0x40
push eax
mov dword [esp + 0x74], 0
call fcn.100869f0
mov ecx, dword [esp + 0xb8]
push ecx
lea ecx, [esp + 0x50]
call fcn.10086b80
pop edi
pop esi
pop ebx
add esp, 0xa8
ret 4
Function at 0x10087f90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
push ebp
xor ebp, ebp
and eax, 7
mov dword [esp + 8], ecx
cmp edx, 5
jae 0x10087fb1
xor eax, eax
pop ebp
add esp, 0xc
ret 0xc
push ebx
push esi
mov esi, dword [esp + 0x1c]
add esi, 5
lea edx, [ecx + edx - 4]
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x18], edx
nop
mov ecx, dword [esp + 0x14]
lea edi, [ecx + ebp]
cmp edi, edx
jae 0x10087fef
jmp 0x10087fe0
mov bl, byte [edi]
and bl, 0xfe
cmp bl, 0xe8
je 0x10087fef
inc edi
cmp edi, edx
jb 0x10087fe0
mov ebp, edi
sub ebp, ecx
mov ecx, ebp
sub ecx, dword [esp + 0x10]
cmp edi, edx
jae 0x10088104
cmp ecx, 3
jbe 0x10088023
xor eax, eax
mov cl, byte [edi + 4]
mov dword [esp + 0x10], ebp
test cl, cl
je 0x1008805d
cmp cl, 0xff
je 0x1008805d
and eax, 3
add eax, eax
or eax, 1
inc ebp
jmp 0x10087fd0
dec ecx
shl eax, cl
and eax, 7
je 0x10088008
movzx ecx, byte [eax + 0x100a8884]
mov ebx, edi
sub ebx, ecx
cmp byte [eax + 0x100a887c], 0
mov cl, byte [ebx + 4]
je 0x1008804b
test cl, cl
je 0x1008804b
cmp cl, 0xff
jne 0x10088008
and eax, 3
add eax, eax
mov dword [esp + 0x10], ebp
or eax, 1
inc ebp
jmp 0x10087fd0
movzx edx, cl
movzx ecx, byte [edi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 2]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
jmp 0x10088080
cmp dword [esp + 0x28], 0
je 0x1008808e
lea ebx, [edx + ebp]
add ebx, esi
jmp 0x10088094
sub edx, ebp
sub edx, esi
mov ebx, edx
test eax, eax
je 0x100880d6
movzx esi, byte [eax + 0x100a8884]
add esi, esi
add esi, esi
add esi, esi
mov ecx, 0x18
sub ecx, esi
mov edx, ebx
shr edx, cl
mov cl, dl
test cl, cl
je 0x100880bb
cmp cl, 0xff
jne 0x100880d2
mov ecx, 0x20
sub ecx, esi
mov esi, dword [esp + 0x20]
mov edx, 1
shl edx, cl
dec edx
xor edx, ebx
jmp 0x10088080
mov esi, dword [esp + 0x20]
mov ecx, ebx
shr ecx, 0x18
and cl, 1
dec cl
not cl
mov byte [edi + 4], cl
mov edx, ebx
shr edx, 0x10
mov ecx, ebx
shr ecx, 8
mov byte [edi + 3], dl
mov edx, dword [esp + 0x18]
mov byte [edi + 2], cl
mov byte [edi + 1], bl
add ebp, 5
jmp 0x10087fd0
pop edi
pop esi
pop ebx
cmp ecx, 3
jbe 0x1008811d
mov edx, dword [esp + 0x18]
xor eax, eax
mov dword [edx], eax
mov eax, ebp
pop ebp
add esp, 0xc
ret 0xc
mov edx, dword [esp + 0x18]
dec ecx
shl eax, cl
and eax, 7
mov dword [edx], eax
mov eax, ebp
pop ebp
add esp, 0xc
ret 0xc

Function at 0x10088da0
Capabilities:
Check os version

Disassembly:
sub esp, 0xb4
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10088dc7
cmp dword [esp + 0x24], 5
sbb eax, eax
inc eax
jne 0x10088dd0
xor eax, eax
add esp, 0xb4
ret
lea ecx, [esp]
call fcn.10088c20
test eax, eax
je 0x10088dc7
mov eax, dword [esp + 0x18]
shr eax, 0x19
and eax, 1
add esp, 0xb4
ret
Function at 0x10089490
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
push esi
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x4c], edx
mov dword [ecx + 0x20], edx
mov dword [ecx + 0x2c], 0x20
mov dword [ecx + 0x54], 1
mov dword [ecx + 0x48], 4
mov dword [ecx + 0x58], edx
lea esi, [ecx + 0x70]
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [esi], ecx
inc edx
add esi, 4
cmp edx, 0x100
jb 0x100894b7
pop esi
ret
Function at 0x1008f1b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
xor eax, eax
or ecx, 0x100
push edi
lea ebx, [ebx]
mov ebx, ecx
shr ebx, 7
mov edi, ecx
shr edi, 8
movzx edi, word [esi + edi*2]
and ebx, 1
neg ebx
sar ebx, 4
shr edi, 4
and ebx, 0x7f
xor edi, ebx
add eax, dword [edx + edi*4]
add ecx, ecx
cmp ecx, 0x10000
jb 0x1008f1c0
pop edi
pop ebx
ret

Function at 0x1008f1f0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
mov edx, 0x100
xor eax, eax
or ecx, edx
mov edi, edi
add esi, esi
mov ebx, edx
and ebx, esi
add ebx, edx
mov ebp, ecx
shr ebp, 8
add ebp, ebx
mov ebx, dword [esp + 0x10]
movzx ebx, word [ebx + ebp*2]
mov ebp, ecx
shr ebp, 7
and ebp, 1
neg ebp
shr ebx, 4
sar ebp, 4
and ebp, 0x7f
xor ebx, ebp
add eax, dword [edi + ebx*4]
add ecx, ecx
mov ebx, ecx
xor ebx, esi
not ebx
and edx, ebx
cmp ecx, 0x10000
jb 0x1008f200
pop esi
pop ebp
pop ebx
ret 4

Function at 0x1008f4a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
movzx eax, word [ebx]
mov ecx, eax
shr ecx, 4
mov edx, dword [esi + ecx*4]
movzx ecx, word [ebx + 2]
mov dword [esp], edx
mov edx, ecx
xor eax, 0x7f0
xor ecx, 0x7f0
shr edx, 4
mov edx, dword [esi + edx*4]
shr eax, 4
mov eax, dword [esi + eax*4]
shr ecx, 4
mov ecx, dword [esi + ecx*4]
add edx, eax
add ecx, eax
push ebp
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
xor edx, edx
push edi
cmp edx, dword [esp + 0x1c]
jae 0x1008f611
mov eax, edx
or eax, 8
xor edi, edi
cmp eax, 1
je 0x1008f52a
lea ebx, [ebx]
mov ebp, dword [esp + 0x18]
mov ecx, eax
shr ecx, 1
and eax, 1
lea ebp, [ecx + ebp*8]
movzx ebp, word [ebx + ebp*2 + 4]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x1008f500
add edi, dword [esp + 8]
mov ecx, dword [esp + 0x20]
mov dword [ecx + edx*4], edi
inc edx
cmp edx, 8
jb 0x1008f4e4
cmp edx, 0x10
jae 0x1008f5ab
lea eax, [edx - 8]
mov dword [esp + 8], eax
jmp 0x1008f550
cmp edx, dword [esp + 0x1c]
jae 0x1008f611
or eax, 8
xor edi, edi
cmp eax, 1
je 0x1008f591
mov ebp, dword [esp + 0x18]
mov ecx, eax
shr ecx, 1
and eax, 1
lea ebp, [ecx + ebp*8]
movzx ebp, word [ebx + ebp*2 + 0x104]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x1008f564
add edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 8]
mov dword [ecx + edx*4], edi
inc edx
inc eax
mov dword [esp + 8], eax
cmp edx, 0x10
jb 0x1008f550
cmp edx, dword [esp + 0x1c]
jae 0x1008f611
lea eax, [edx - 0x10]
mov dword [esp + 0x18], eax
jmp 0x1008f5c0
or eax, 0x100
xor edi, edi
cmp eax, 1
je 0x1008f5f6
lea esp, [esp]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebp, word [ebx + ecx*2 + 0x204]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add edi, dword [esi + ebp*4]
mov eax, ecx
cmp eax, 1
jne 0x1008f5d0
add edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov dword [ecx + edx*4], edi
inc edx
inc eax
mov dword [esp + 0x18], eax
cmp edx, dword [esp + 0x1c]
jb 0x1008f5c0
pop edi
pop ebp
add esp, 0xc
ret 0xc
Function at 0x10091140
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
xor esi, esi
lea eax, [edi + 0x32550]
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
jmp 0x10091160
xor edx, edx
lea ecx, [edx + 1]
mov dword [esp + 0xc], 4
lea ecx, [ecx]
movzx ebx, word [edi + ecx*2 + 0x32bf4]
mov eax, esi
and eax, 1
mov ebp, eax
neg ebp
sar ebp, 4
shr ebx, 4
and ebp, 0x7f
xor ebx, ebp
add edx, dword [edi + ebx*4 + 0x30ea0]
add ecx, ecx
shr esi, 1
or ecx, eax
dec dword [esp + 0xc]
jne 0x10091170
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
inc esi
mov dword [eax], edx
add eax, 4
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
cmp esi, 0x10
jb 0x10091160
pop esi
pop ebp
mov dword [edi + 0x32590], 0
pop ebx
add esp, 0xc
ret
Function at 0x100911d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x210
push ebx
push ebp
push esi
mov eax, 4
push edi
mov dword [esp + 0x18], eax
movzx ebp, byte [edx + eax + 0x306a0]
mov ecx, ebp
mov esi, ebp
and esi, 1
shr ecx, 1
dec ecx
or esi, 2
shl esi, cl
mov edi, eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x10], 0
sub edi, esi
mov ebx, 1
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x10091261
jmp 0x10091224
mov ebp, dword [esp + 0x1c]
mov ecx, ebx
sub ecx, ebp
mov eax, edi
and eax, 1
add ecx, esi
movzx ecx, word [edx + ecx*2 + 0x32b0e]
mov ebp, eax
neg ebp
sar ebp, 4
shr ecx, 4
and ebp, 0x7f
xor ecx, ebp
mov ecx, dword [edx + ecx*4 + 0x30ea0]
add dword [esp + 0x10], ecx
add ebx, ebx
shr edi, 1
or ebx, eax
dec dword [esp + 0x14]
jne 0x10091220
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x20], ecx
inc eax
mov dword [esp + 0x18], eax
cmp eax, 0x80
jb 0x100911e3
lea eax, [edx + 0x32910]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x20]
sub eax, edx
lea ebp, [edx + 0x31d58]
sub eax, 0x31d50
lea edi, [edx + 0x31950]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 4
lea ebx, [ebx]
xor ebx, ebx
cmp dword [edx + 0x32594], ebx
jbe 0x1009130b
lea ebx, [ebx]
mov eax, ebx
or eax, 0x40
xor esi, esi
cmp eax, 1
je 0x100912ff
lea esp, [esp]
mov ebp, dword [esp + 0x10]
mov ecx, eax
and eax, 1
shr ecx, 1
movzx ebp, word [ebp + ecx*2]
neg eax
sar eax, 4
and eax, 0x7f
shr ebp, 4
xor ebp, eax
add esi, dword [edx + ebp*4 + 0x30ea0]
mov eax, ecx
cmp eax, 1
jne 0x100912d0
mov ebp, dword [esp + 0x18]
mov dword [edi + ebx*4], esi
inc ebx
cmp ebx, dword [edx + 0x32594]
jb 0x100912c0
mov eax, 0xe
cmp dword [edx + 0x32594], eax
jbe 0x1009132e
mov ecx, eax
shr ecx, 1
sub ecx, 5
shl ecx, 4
add dword [edi + eax*4], ecx
inc eax
cmp eax, dword [edx + 0x32594]
jb 0x10091318
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov ecx, dword [edi + 4]
mov dword [ebp - 4], ecx
mov eax, dword [edi + 8]
mov dword [ebp], eax
mov ecx, dword [edi + 0xc]
mov dword [ebp + 4], ecx
mov eax, 4
lea ecx, [ebp + 8]
lea ecx, [ecx]
movzx esi, byte [edx + eax + 0x306a0]
mov esi, dword [edi + esi*4]
mov ebx, dword [esp + 0x14]
add esi, dword [ebx + ecx]
inc eax
mov dword [ecx], esi
add ecx, 4
cmp eax, 0x80
jb 0x10091350
sub dword [esp + 0x10], 0xffffff80
sub dword [esp + 0x14], 0x200
add ebp, 0x200
add edi, 0x100
dec dword [esp + 0x1c]
mov dword [esp + 0x18], ebp
jne 0x100912b0
pop edi
pop esi
pop ebp
mov dword [edx + 0x3bcf8], 0
pop ebx
add esp, 0x210
ret

Function at 0x100967f0
Capabilities:
Hash data using sha256

Disassembly:
xor eax, eax
mov dword [ecx], 0x6a09e667
mov dword [ecx + 4], 0xbb67ae85
mov dword [ecx + 8], 0x3c6ef372
mov dword [ecx + 0xc], 0xa54ff53a
mov dword [ecx + 0x10], 0x510e527f
mov dword [ecx + 0x14], 0x9b05688c
mov dword [ecx + 0x18], 0x1f83d9ab
mov dword [ecx + 0x1c], 0x5be0cd19
mov dword [ecx + 0x20], eax
mov dword [ecx + 0x24], eax
ret
Function at 0x100970e0
Capabilities:
Create thread

Disassembly:
push esi
lea eax, [esp + 8]
push eax
push 0
mov esi, ecx
mov ecx, dword [esp + 0x10]
push ecx
push edx
push 0
push 0
call sub.MSVCRT.dll__beginthreadex
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x10097108
xor eax, eax
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10097117
mov eax, 1
ret 4

Function at 0x10097370
Capabilities:
Hash data using sha256

Disassembly:
mov eax, edx
mov dword [ecx], eax
dec eax
je 0x10097393
sub eax, 3
je 0x10097389
sub eax, 6
jne 0x1009739a
add ecx, 0x10
jmp fcn.100967f0
or eax, 0xffffffff
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
ret
mov dword [ecx + 4], 0xffffffff
ret

Function at 0x100975f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
test edx, edx
je 0x1009762b
push esi
push edi
mov edi, dword [esp + 0x10]
mov edi, edi
movzx esi, byte [ecx]
xor esi, eax
shrd eax, edi, 8
and esi, 0xff
xor eax, dword [esi*8 + 0x100c5d00]
shr edi, 8
xor edi, dword [esi*8 + 0x100c5d04]
inc ecx
dec edx
jne 0x10097600
mov edx, edi
pop edi
pop esi
ret 8
mov edx, dword [esp + 8]
ret 8

Function at 0x100998b0
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
lea ebp, [ebx + 0x1c]
shr ebx, 2
mov eax, ebx
shr eax, 1
push esi
add eax, 3
xor esi, esi
mov dword [esp + 0xc], ebp
mov dword [ecx], eax
test ebx, ebx
je 0x100998df
mov eax, dword [edx]
mov dword [ecx + esi*4 + 0x10], eax
inc esi
add edx, 4
cmp esi, ebx
jb 0x100998d1
cmp esi, ebp
jae 0x100999d0
mov edx, esi
sub edx, ebx
lea eax, [ecx + edx*4 + 0x10]
mov dword [esp + 0x14], eax
push edi
xor edx, edx
mov eax, esi
div ebx
mov edi, dword [ecx + esi*4 + 0xc]
test edx, edx
jne 0x1009995d
movzx eax, byte [eax + 0x100c0c00]
mov edx, edi
and edx, 0xff
movzx edx, byte [edx + str.cw]
mov ebp, edi
shr ebp, 0x18
movzx ebp, byte [ebp + str.cw]
shl edx, 8
or edx, ebp
mov ebp, edi
shr ebp, 0x10
shr edi, 8
and ebp, 0xff
movzx ebp, byte [ebp + str.cw]
and edi, 0xff
movzx edi, byte [edi + str.cw]
shl edx, 8
or edx, ebp
mov ebp, dword [esp + 0x10]
shl edx, 8
xor edi, eax
or edi, edx
jmp 0x100999b3
cmp ebx, 6
jbe 0x100999b3
cmp edx, 4
jne 0x100999b3
mov edx, edi
shr edx, 0x10
and edx, 0xff
movzx eax, byte [edx + str.cw]
mov edx, edi
shr edx, 0x18
movzx edx, byte [edx + str.cw]
shl edx, 8
or eax, edx
mov edx, edi
shr edx, 8
and edx, 0xff
movzx edx, byte [edx + str.cw]
shl eax, 8
and edi, 0xff
movzx edi, byte [edi + str.cw]
or eax, edx
shl eax, 8
or edi, eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
xor edx, edi
mov dword [ecx + esi*4 + 0x10], edx
inc esi
add eax, 4
mov dword [esp + 0x18], eax
cmp esi, ebp
jb 0x100998f4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x2aa71b60
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x43ac0717
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x1000101a
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 1
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [ebp - 0xc], 0xc
lea eax, [ebp - 0x20]
mov dword [ebp - 8], eax
push 0x1000a02c
push 1
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x1000b204], eax
cmp dword [0x1000b204], 0
je 0x10001075
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x100010a5
push str.Globalwmpinst1998
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [0x1000b204], eax
cmp dword [0x1000b204], 0
jne 0x10001097
jmp 0x100010a5
push 0xffffffffffffffff
push dword [0x1000b204]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
leave
ret

Function at 0x100010c1
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push 1
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov dword [ebp - 0xc], 0xc
lea eax, [ebp - 0x20]
mov dword [ebp - 8], eax
push 0x1000a054
push 1
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x1000b208], eax
cmp dword [0x1000b208], 0
je 0x1000111c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1000114c
push str.Globalwmpproc1998
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [0x1000b208], eax
cmp dword [0x1000b208], 0
jne 0x1000113e
jmp 0x1000114c
push 0xffffffffffffffff
push dword [0x1000b208]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
leave
ret
Function at 0x1000114e
Capabilities:
Delete file
Query environment variable
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4ac
and dword [ebp - 0x4a0], 0
and byte [ebp - 0x4ac], 0
mov dword [ebp - 0x98], 1
push 0x94
push 0
lea eax, [ebp - 0x94]
push eax
call fcn.10007249
add esp, 0xc
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
push 5
pop eax
cmp eax, dword [ebp - 0x90]
sbb eax, eax
neg eax
mov dword [ebp - 0x49c], eax
push 0x1000a07c
call dword [sym.imp.MSVCRT.dll_getenv]
pop ecx
mov dword [ebp - 0x4a0], eax
cmp dword [ebp - 0x4a0], 0
jne 0x100011e3
push 0x1000a08c
call dword [sym.imp.MSVCRT.dll__strdup]
pop ecx
mov dword [ebp - 0x4a0], eax
mov byte [ebp - 0x4ac], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push dword [ebp - 0x4a0]
push str._s_d.dat
lea eax, [ebp - 0x498]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
lea eax, [ebp - 0x498]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x4a8], eax
cmp dword [ebp - 0x4a8], 0xffffffff
jne 0x10001253
movzx eax, byte [ebp - 0x4ac]
test eax, eax
je 0x1000124b
push dword [ebp - 0x4a0]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push 1
pop eax
jmp 0x10001321
push 0
lea eax, [ebp - 0x4a4]
push eax
push 4
lea eax, [ebp - 0x98]
push eax
push dword [ebp - 0x4a8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x4a8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
lea eax, [ebp - 0x498]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x4a8], eax
cmp dword [ebp - 0x4a8], 0xffffffff
jne 0x100012d3
movzx eax, byte [ebp - 0x4ac]
test eax, eax
je 0x100012ce
push dword [ebp - 0x4a0]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push 1
pop eax
jmp 0x10001321
and dword [ebp - 0x98], 0
push 0
lea eax, [ebp - 0x4a4]
push eax
push 4
lea eax, [ebp - 0x98]
push eax
push dword [ebp - 0x4a8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x4a8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x498]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [ebp - 0x98], 0
je 0x1000131e
xor eax, eax
jmp 0x10001321
push 1
pop eax
leave
ret
Function at 0x10001323
Capabilities:
Create process on windows
Move file
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push edi
call fcn.1000114e
test eax, eax
je 0x10001441
push 0x1000a0a8
push dword [0x1000b214]
call dword [sym.imp.SHLWAPI.dll_StrStrA]
test eax, eax
jne 0x10001441
push dword [0x1000b210]
call dword [sym.imp.MSVCRT.dll__strdup]
pop ecx
mov dword [ebp - 8], eax
push dword [ebp - 8]
call sub.MSVCRT.dll_strlen
pop ecx
mov dword [ebp - 0xc], eax
jmp 0x10001375
mov eax, dword [ebp - 0xc]
dec eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jb 0x10001397
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
movsx eax, byte [eax]
cmp eax, 0x5c
jne 0x10001395
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0xc]
and byte [eax + 1], 0
jmp 0x10001397
jmp 0x1000136e
push dword [ebp - 8]
call sub.MSVCRT.dll_strlen
pop ecx
add eax, 0x32
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10001439
push dword [ebp - 8]
push str._siexplore.exe
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
push dword [ebp - 4]
push dword [0x1000b210]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
and dword [ebp - 0x48], 0
push 0xe
pop ecx
xor eax, eax
lea edi, [ebp - 0x44]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x48], 0x3c
mov dword [ebp - 0x44], 0x440
and dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], str.runas
mov eax, dword [ebp - 4]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], str.RUNAS
and dword [ebp - 0x30], 0
and dword [ebp - 0x2c], 0
and dword [ebp - 0x28], 0
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push dword [ebp - 8]
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
pop edi
leave
ret