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

Disassembly:
sub esp, 0x24
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
mov eax, dword [eax + 0x18]
push ebp
mov ebp, dword [edx + 0x1048]
push edi
mov edi, dword [edx + 0x1054]
imul edi, ebp
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0x18]
add edi, eax
cmp eax, edi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], edi
jae 0x704387
push ebx
push esi
mov esi, 0xff00
mov ebx, dword [esp + 0x14]
mov edx, dword [edx + 0x1050]
lea edx, [eax + edx*2]
mov dword [esp + 0x10], ebx
add ebp, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], edx
jae 0x704361
movzx edx, word [ebx]
movzx edi, word [ebx + 2]
movzx eax, word [ebp + 2]
movzx ebp, word [ebp]
mov dword [esp + 0x18], edx
mov ebx, eax
mov ecx, 0xff
and bx, cx
and dx, cx
add ebx, edx
mov edx, ebp
and dx, cx
add ebx, edx
mov edx, edi
and dx, cx
mov ecx, eax
and cx, si
and eax, esi
lea edx, [ebx + edx + 2]
mov ebx, dword [esp + 0x18]
and bx, si
shr edx, 2
add ecx, ebx
mov ebx, ebp
and bx, si
and ebp, esi
add ecx, ebx
mov ebx, edi
and bx, si
and edi, esi
lea ecx, [ecx + ebx + 0x200]
mov ebx, dword [esp + 0x1c]
shr ecx, 2
xor dl, cl
mov ecx, dword [esp + 0x18]
and ecx, esi
add eax, ecx
add eax, ebp
mov ebp, dword [esp + 0x20]
lea eax, [eax + edi + 0x200]
shr eax, 2
and edx, 0xffff00ff
xor edx, eax
mov eax, dword [esp + 0x10]
add dword [esp + 0x10], 2
add ebx, 4
add ebp, 4
cmp ebx, dword [esp + 0x28]
mov word [eax], dx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebp
jb 0x7042ac
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x30]
mov edx, dword [ecx + 4]
mov edx, dword [edx + 0x1048]
add dword [esp + 0x14], edx
mov edx, dword [ecx]
mov ebp, dword [edx + 0x1048]
lea eax, [eax + ebp*2]
cmp eax, edi
mov dword [esp + 0x24], eax
jb 0x704283
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x24
ret
Function at 0x70438f
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x20
mov edx, dword [ecx]
mov eax, dword [ecx + 4]
push ebp
mov ebp, dword [eax + 0x18]
mov eax, dword [edx + 0x18]
push esi
mov esi, dword [edx + 0x1054]
push edi
mov edi, dword [edx + 0x1048]
imul esi, edi
add esi, eax
cmp eax, esi
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], esi
jae 0x7044c5
push ebx
mov edx, dword [edx + 0x1050]
add edx, eax
add edi, eax
cmp eax, edx
mov ebx, eax
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edx
jae 0x7044a0
movzx ebp, byte [ebx]
movzx esi, byte [ebx + 1]
movzx eax, byte [edi + 1]
movzx edi, byte [edi]
mov edx, eax
push 0xf
pop ecx
and edx, ecx
mov ebx, ebp
and ebx, ecx
add edx, ebx
mov ebx, edi
and ebx, ecx
add edx, ebx
mov ebx, esi
and ebx, ecx
lea edx, [edx + ebx + 2]
mov ecx, eax
and ecx, 0xffff00f0
mov ebx, ebp
and ebx, 0xffff00f0
add ecx, ebx
mov ebx, edi
and ebx, 0xffff00f0
add ecx, ebx
mov ebx, esi
and ebx, 0xffff00f0
shr edx, 2
lea ecx, [ecx + ebx + 0x20]
mov ebx, dword [esp + 0x14]
shr ecx, 2
xor dl, cl
mov ecx, 0xf0
and ax, cx
and bp, cx
and di, cx
and si, cx
and dl, 0xf
add eax, ebp
add eax, edi
mov edi, dword [esp + 0x18]
lea eax, [eax + esi + 0x20]
shr eax, 2
xor dl, al
mov eax, dword [esp + 0x10]
inc dword [esp + 0x10]
inc ebx
inc ebx
inc edi
inc edi
cmp ebx, dword [esp + 0x24]
mov byte [eax], dl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
jb 0x7043ee
mov ecx, dword [esp + 0x28]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x2c]
mov edx, dword [ecx + 4]
add ebp, dword [edx + 0x1048]
mov edx, dword [ecx]
mov edi, dword [edx + 0x1048]
lea eax, [eax + edi*2]
cmp eax, esi
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], eax
jb 0x7043ca
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x20
ret
Function at 0x7255e0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push esi
xor eax, eax
mov ax, word [ecx + 0x14]
xor esi, esi
mov si, word [ecx + 6]
push edi
xor edi, edi
lea eax, [eax + ecx + 0x18]
test esi, esi
jbe 0x725620
mov ebx, dword [esp + 0x10]
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x72560b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
cmp ebx, edx
jb 0x725618
add edx, ecx
cmp ebx, edx
jb 0x725622
inc edi
add eax, 0x28
cmp edi, esi
jb 0x725601
xor eax, eax
pop edi
pop esi
pop ebx
ret

Function at 0x725660
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
cmp word [ebx], 0x5a4d
push edi
jne 0x725790
mov eax, dword [ebx + 0x3c]
lea esi, [eax + ebx]
mov eax, dword [eax + ebx]
cmp eax, 0x4550
jne 0x725790
cmp word [esi + 0x14], 0xe0
jne 0x725790
cmp word [esi + 0x18], 0x10b
jne 0x725790
mov edi, dword [esi + 0x78]
push esi
push edi
call fcn.007255e0
add esp, 8
test eax, eax
je 0x725790
push ebx
push esi
push edi
call fcn.00725630
mov ebp, dword [esi + 0x78]
add esp, 0xc
test ebp, ebp
je 0x725790
mov ecx, dword [ebp + ebx + 0x24]
mov esi, dword [ebp + ebx + 0x20]
mov edi, dword [ebp + ebx + 0x1c]
mov edx, dword [esp + 0x30]
add ebp, ebx
add ecx, ebx
add esi, ebx
add edi, ebx
shr edx, 0x10
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x24], edi
je 0x7257b3
mov edx, dword [edi]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x18]
test edx, edx
je 0x72577f
xor edx, edx
mov edi, esi
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x10]
xor ecx, ecx
mov cx, word [esi]
cmp ecx, eax
jne 0x725760
mov eax, dword [edi]
mov esi, dword [esp + 0x30]
add eax, ebx
mov bl, byte [eax]
mov cl, bl
cmp bl, byte [esi]
jne 0x72574f
test cl, cl
je 0x72574b
mov bl, byte [eax + 1]
mov cl, bl
cmp bl, byte [esi + 1]
jne 0x72574f
add eax, 2
add esi, 2
test cl, cl
jne 0x72572b
xor eax, eax
jmp 0x725754
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x72579a
mov ebx, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov ecx, dword [ebp + 0x18]
inc edx
add esi, 2
add edi, 4
dec ecx
cmp edx, ecx
mov dword [esp + 0x10], esi
jbe 0x725716
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp + 0x14]
inc eax
dec edx
mov dword [esp + 0x14], eax
cmp eax, edx
jbe 0x725706
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x24]
pop ebp
add eax, ecx
pop ebx
add esp, 0x18
ret
mov ecx, dword [ebp + 0x10]
xor eax, eax
mov edx, edi
cmp dword [esp + 0x30], ecx
jne 0x7257c5
cmp dword [edx], 0
jne 0x7257dc
mov esi, dword [ebp + 0x14]
inc eax
inc ecx
add edx, 4
dec esi
cmp eax, esi
jbe 0x7257ba
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
mov eax, dword [edi + eax*4]
pop edi
shl eax, 6
pop esi
add eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
Function at 0x726150
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
lea eax, [edi + 1]
push eax
call fcn.00726f70
mov dword [esi], eax
add esp, 4
xor eax, eax
test edi, edi
jle 0x7261a9
mov ecx, dword [esp + 0x14]
push ebx
push ebp
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov edx, eax
sub edx, ebp
mov dl, byte [edx + ebx]
mov ebx, dword [esi]
xor dl, cl
mov byte [ebx + eax], dl
mov edx, eax
xor edx, 0x2a
add edx, ecx
and edx, 0xff
inc eax
cmp eax, edi
mov ecx, edx
jl 0x726176
mov eax, dword [esi]
pop ebp
pop ebx
mov byte [eax + edi], 0
pop edi
pop esi
ret 0x10
mov ecx, dword [esi]
mov byte [ecx + edi], 0
pop edi
pop esi
ret 0x10

Function at 0x726610
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
test eax, eax
je 0x726635
push eax
call fcn.00726ea6
add esp, 4
mov ecx, 0x93e31c
mov dword [esi], 0
call fcn.00726a00
push 0x400
call fcn.00726f70
add esp, 4
mov dword [esi], eax
xor edi, edi
push 8
push edi
mov ecx, esi
call fcn.00726560
mov ecx, dword [esi]
mov ebx, 8
shl eax, 0x18
mov dword [ecx + edi*4], eax
mov ecx, esi
call fcn.007265b0
mov edx, dword [esi]
lea ecx, [edx + edi*4]
mov edx, dword [edx + edi*4]
mov ebp, edx
and ebp, 0x80000000
neg ebp
sbb ebp, ebp
and ebp, eax
lea eax, [edx + edx]
xor ebp, eax
dec ebx
mov dword [ecx], ebp
jne 0x72665d
mov ecx, dword [esi]
push 0x20
mov edx, dword [ecx + edi*4]
mov ecx, esi
push edx
call fcn.00726560
mov ecx, dword [esi]
inc edi
cmp edi, 0x100
mov dword [ecx + edi*4 - 4], eax
jl 0x726646
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x7266d0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x9c4]
test eax, eax
jne 0x7266e2
call fcn.007267b0
mov eax, dword [esi + 0x9c4]
dec eax
mov dword [esi + 0x9c4], eax
mov eax, dword [esi + 0x9c0]
mov ecx, dword [eax]
add eax, 4
mov dword [esi + 0x9c0], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
pop esi
mov edx, ecx
and edx, 0xff3a58ad
shl edx, 7
xor ecx, edx
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
ret

Function at 0x726780
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov edx, dword [esp + 4]
push esi
mov eax, 1
mov dword [ecx], edx
mov edx, dword [ecx]
add ecx, 4
mov esi, edx
shr esi, 0x1e
xor esi, edx
imul esi, esi, 0x6c078965
add esi, eax
inc eax
mov dword [ecx], esi
cmp eax, 0x270
jl 0x72678c
pop esi
ret 4

Function at 0x726890
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
push eax
mov esi, ecx
push edi
call fcn.00726860
mov ebx, eax
push edi
mov ecx, esi
shr ebx, 1
call fcn.00726840
mov ecx, dword [esp + 0x10]
pop edi
neg eax
and eax, 0x9908b0df
pop esi
xor ebx, eax
mov eax, dword [ecx]
xor eax, ebx
pop ebx
ret 0xc
Function at 0x737370
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
xor ecx, ecx
test esi, esi
jle 0x7373a7
push ebx
push edi
mov edi, dword [esp + 0x10]
xor edx, edx
mov ebx, eax
mov dl, byte [ecx + edi]
and ebx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x7c4500]
xor eax, edx
inc ecx
cmp ecx, esi
jl 0x737385
pop edi
pop ebx
pop esi
ret 0xc

Function at 0x7afe14
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
test edx, edx
jne 0x7afe1f
xor eax, eax
ret
mov eax, dword [esp + 0xc]
cmp eax, 8
push ebx
push esi
mov esi, dword [esp + 0xc]
not esi
mov ecx, 0xff
jb 0x7afee2
push edi
mov edi, eax
shr edi, 3
xor ebx, ebx
mov bl, byte [edx]
sub eax, 8
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1000b130]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1000b130]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1000b130]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1000b130]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1000b130]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1000b130]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1000b130]
xor ebx, ebx
inc edx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1000b130]
inc edx
dec edi
jne 0x7afe3f
pop edi
test eax, eax
je 0x7afefc
xor ebx, ebx
mov bl, byte [edx]
xor ebx, esi
and ebx, ecx
shr esi, 8
xor esi, dword [ebx*4 + 0x1000b130]
inc edx
dec eax
jne 0x7afee6
mov eax, esi
pop esi
not eax
pop ebx
ret
Function at 0x7b0098
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
mov edi, dword [esi + 0x24]
mov dword [ebp - 0xc], edi
jmp 0x7b00ab
mov edi, dword [ebp - 0xc]
mov ecx, dword [esi + 0x64]
mov eax, dword [esi + 0x34]
mov edx, dword [esi + 0x6c]
sub eax, ecx
sub eax, edx
mov dword [ebp - 8], eax
jne 0x7b00ca
test ecx, ecx
jne 0x7b00d8
test edx, edx
jne 0x7b00d8
mov dword [ebp - 8], edi
jmp 0x7b0142
cmp eax, 0xffffffff
jne 0x7b00d8
mov dword [ebp - 8], 0xfffffffe
jmp 0x7b0142
mov eax, dword [esi + 0x24]
lea eax, [edi + eax - 0x106]
cmp ecx, eax
jb 0x7b0142
mov eax, dword [esi + 0x30]
push edi
lea ecx, [eax + edi]
push ecx
push eax
call fcn.007b3a14
mov ecx, dword [esi + 0x44]
mov eax, dword [esi + 0x3c]
sub dword [esi + 0x68], edi
sub dword [esi + 0x64], edi
add esp, 0xc
sub dword [esi + 0x54], edi
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx edx, word [eax]
mov ebx, edx
sub ebx, edi
cmp edx, edi
sbb edx, edx
not edx
and edx, ebx
dec ecx
mov word [eax], dx
jne 0x7b0109
mov eax, dword [esi + 0x38]
mov edx, edi
lea eax, [eax + edi*2]
dec eax
dec eax
movzx ecx, word [eax]
mov ebx, ecx
sub ebx, edi
cmp ecx, edi
sbb ecx, ecx
not ecx
and ecx, ebx
dec edx
mov word [eax], cx
jne 0x7b0128
add dword [ebp - 8], edi
mov edi, dword [esi]
cmp dword [edi + 4], 0
je 0x7b01e8
mov ebx, dword [esi + 0x6c]
add ebx, dword [esi + 0x64]
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 8]
add ebx, dword [esi + 0x30]
cmp eax, ecx
mov dword [ebp - 4], eax
jbe 0x7b0167
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0
jne 0x7b0171
xor eax, eax
jmp 0x7b01a9
sub eax, dword [ebp - 4]
mov dword [edi + 4], eax
mov eax, dword [edi + 0x1c]
cmp dword [eax + 0x18], 0
jne 0x7b0193
push dword [ebp - 4]
push dword [edi]
push dword [edi + 0x30]
call fcn.007afcfb
add esp, 0xc
mov dword [edi + 0x30], eax
push dword [ebp - 4]
push dword [edi]
push ebx
call fcn.007b3a14
mov eax, dword [ebp - 4]
add dword [edi], eax
add esp, 0xc
add dword [edi + 8], eax
add dword [esi + 0x6c], eax
mov edi, dword [esi + 0x6c]
cmp edi, 3
jb 0x7b01d4
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x30]
lea edx, [eax + ecx]
movzx eax, byte [edx]
mov ecx, dword [esi + 0x50]
mov dword [esi + 0x40], eax
shl eax, cl
movzx ecx, byte [edx + 1]
xor eax, ecx
and eax, dword [esi + 0x4c]
mov dword [esi + 0x40], eax
cmp edi, 0x106
jae 0x7b01e8
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x7b00a8
pop edi
pop ebx
leave
ret
Function at 0x7b7201
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x7b722f
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x7b7236
cmp ebx, dword [eax + 4]
jae 0x7b7236
xor eax, eax
jmp 0x7b7426
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x7b7247
xor eax, eax
inc eax
jmp 0x7b7425
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x7b725d
cmp ecx, edx
jae 0x7b73a2
cmp dword [eax + 4], 0
je 0x7b7266
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x7b724e
cmp dword [ebp + 8], 0
je 0x7b7288
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x7b73a2
cmp eax, esi
jae 0x7b73a2
mov eax, dword [0x10010078]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x7b72ad
cmp dword [esi*4 + 0x10010080], edi
je 0x7b73a6
inc esi
cmp esi, eax
jl 0x7b729b
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x1000b0b8]
test eax, eax
je 0x7b7422
cmp dword [ebp - 8], 0x1000000
jne 0x7b7422
test byte [ebp - 0xc], 0xcc
je 0x7b732b
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x7b7422
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x7b7422
cmp word [eax + 0x18], 0x10b
jne 0x7b7422
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x7b7422
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x7b732b
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x7b732b
test byte [ecx + 0x27], 0x80
jne 0x7b73a2
push 1
push 0x100100c0
call dword [0x1000b0b4]
test eax, eax
jne 0x7b723f
mov ecx, dword [0x10010078]
test ecx, ecx
mov edx, ecx
jle 0x7b735f
lea eax, [ecx*4 + 0x1001007c]
cmp dword [eax], edi
je 0x7b735f
dec edx
sub eax, 4
test edx, edx
jg 0x7b7353
test edx, edx
jne 0x7b7390
push 0xf
pop ebx
cmp ecx, ebx
jg 0x7b736c
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x7b7384
lea eax, [edx*4 + 0x10010080]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x7b7372
cmp ecx, 0x10
jge 0x7b7390
inc ecx
mov dword [0x10010078], ecx
push 0
push 0x100100c0
call dword [0x1000b0b4]
jmp 0x7b723f
xor eax, eax
jmp 0x7b7425
test esi, esi
jle 0x7b723f
mov ebx, dword [0x1000b0b4]
push 1
push 0x100100c0
call ebx
test eax, eax
jne 0x7b723f
cmp dword [esi*4 + 0x10010080], edi
je 0x7b73fc
mov eax, dword [0x10010078]
lea esi, [eax - 1]
test esi, esi
jl 0x7b73ea
cmp dword [esi*4 + 0x10010080], edi
je 0x7b73e6
dec esi
jns 0x7b73da
test esi, esi
jge 0x7b73fa
cmp eax, 0x10
jge 0x7b73f5
inc eax
mov dword [0x10010078], eax
lea esi, [eax - 1]
jmp 0x7b73fc
je 0x7b7414
xor ecx, ecx
test esi, esi
jl 0x7b7414
lea eax, [ecx*4 + 0x10010080]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x7b7402
push 0
push 0x100100c0
call ebx
jmp 0x7b723f
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x95669f
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov byte [ecx + 0x68], al
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x957d03
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx + 4]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 0x14]
mov ecx, dword [ebp - 0x10]
lea eax, [ecx + eax + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
sub ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
and dword [ebp - 4], 0
jmp 0x957d46
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
movzx eax, word [eax + 6]
cmp dword [ebp - 4], eax
jae 0x957dd8
mov eax, dword [ebp - 4]
imul eax, eax, 0x28
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
imul eax, eax, 0x28
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x28
mov edx, dword [ebp - 8]
mov esi, dword [ebp - 8]
mov eax, dword [edx + eax + 0x10]
cmp eax, dword [esi + ecx + 8]
jbe 0x957d94
mov eax, dword [ebp - 4]
imul eax, eax, 0x28
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax + 0x10]
mov dword [ebp - 0x1c], eax
jmp 0x957da4
mov eax, dword [ebp - 4]
imul eax, eax, 0x28
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x18]
jb 0x957dd3
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
jae 0x957dd3
mov eax, dword [ebp - 4]
inc eax
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
jmp 0x957dd8
jmp 0x957d3f
xor al, al
pop esi
leave
ret
Function at 0x408e69
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x41a004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
lea eax, [ebp - 8]
push eax
push ebx
push ebx
mov dword [ebp - 0xc], ebx
mov edi, ecx
push 0x401060
mov dword [ebp - 8], ebx
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov esi, eax
mov dword [ebp - 0x18], ebx
call fcn.0040a025
mov dword [ebp - 0x14], eax
test esi, esi
js 0x408eec
mov ecx, dword [ebp - 8]
mov byte [ebp - 0xc], bl
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x408eb1
push dword [ebp - 0xc]
sub ecx, edx
sar ecx, 1
push ecx
push dword [ebp - 8]
lea ecx, [ebp - 0x30]
call fcn.0040a9aa
add esp, 0xc
lea eax, [ebp - 0x18]
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x10]
push eax
call fcn.00408c4f
pop ecx
xor ecx, ecx
inc ecx
cmp dword [eax], 3
jne 0x408eef
jmp 0x408ef1
mov ecx, dword [ebp - 0xc]
mov bl, 1
test cl, 1
je 0x408efe
lea ecx, [ebp - 0x30]
call fcn.00409da9
mov ecx, edi
test bl, bl
je 0x408f0b
push 0x406f8c
jmp 0x408f0e
push dword [ebp - 8]
call fcn.00409cb0
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b187
leave
ret

Function at 0x40914b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa4
mov eax, dword [0x41a004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
mov dword [ebp - 0xa0], edi
call fcn.0040a025
mov dword [ebp - 0x9c], eax
cmp dword [ebx + 0x10], edi
je 0x40920a
lea edx, [ebp - 0xa0]
mov ecx, ebx
call fcn.00408c1b
test al, al
je 0x40920a
push 0x44
pop esi
push esi
lea eax, [ebp - 0x88]
push edi
push eax
call fcn.0040d880
xor eax, eax
mov dword [ebp - 0x88], esi
lea edi, [ebp - 0x98]
add esp, 0xc
cmp dword [ebx + 0x14], 8
mov esi, 0x406f90
stosd dword es:[edi], eax
push 0xf
pop ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edi, [ebp - 0x40]
rep movsd dword es:[edi], dword [esi]
jb 0x4091cb
mov ebx, dword [ebx]
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x88]
push eax
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x40]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40920a
push dword [ebp - 0x94]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x98]
call esi
mov al, 1
jmp 0x40920c
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b187
leave
ret
Function at 0x4097da
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x41a004]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ebp + 0xc]
lea ecx, [ebp - 0x6c]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push ecx
push 0x20019
push ebx
movzx eax, al
push 0x406fd0
sub eax, 0x7fffffff
mov dword [ebp - 0x6c], ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x40983c
push 0x406f8c
mov ecx, esi
call fcn.00409cb0
cmp dword [ebp - 0x6c], ebx
je 0x4098e6
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4098e6
push edi
push 0x64
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], ebx
push ebx
push eax
call fcn.0040d880
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push ebx
lea eax, [ebp - 0x70]
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0x406f78
push dword [ebp - 0x6c]
call ebx
test eax, eax
jne 0x4098ca
mov edi, dword [ebp - 0x74]
test edi, edi
je 0x4098ca
cmp dword [ebp - 0x70], 1
jne 0x4098ca
shr edi, 1
cmp edi, 0x32
jae 0x4098ca
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x70]
push eax
push 0
push 0x406f78
push dword [ebp - 0x6c]
call ebx
mov edx, eax
lea ecx, [edi + edi]
xor eax, eax
cmp word [ebp + ecx - 0x6a], ax
je 0x4098bb
lea eax, [edi + 1]
cmp eax, 0x32
jae 0x4098bb
cmp ecx, 0x64
jae 0x4098f8
xor eax, eax
mov word [ebp + ecx - 0x68], ax
lea eax, [ebp - 0x68]
test edx, edx
je 0x4098c7
mov eax, 0x406f8c
push eax
jmp 0x4098cf
push 0x406f8c
mov ecx, esi
call fcn.00409cb0
cmp dword [ebp - 0x6c], 0
je 0x4098e5
push dword [ebp - 0x6c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040b187
leave
ret 8
call fcn.0040b2b9
int3