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

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov edx, 0x3706
mov dword [esp + 0x24], edx
lea esi, [edi + 0x105a4]
lea ebp, [edi + 0x101a0]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebp
nop dword [eax + eax]
mov eax, dword [edi + 0x10da0]
xor ebx, ebx
test eax, eax
je 0x477734
nop dword [eax]
mov ebp, dword [esp + 0x24]
lea eax, [ebx + 0x40]
xor esi, esi
nop dword [eax]
mov edx, eax
shr eax, 1
and edx, 1
neg edx
shr edx, 4
lea ecx, [eax + ebp]
and edx, 0x7f
movzx ecx, word [edi + ecx*2]
shr ecx, 4
xor ecx, edx
movzx ecx, byte [ecx + 0x4b60c8]
add esi, ecx
cmp eax, 1
jne 0x4776f0
mov ebp, dword [esp + 0x10]
mov dword [ebp + ebx*4], esi
inc ebx
mov eax, dword [edi + 0x10da0]
cmp ebx, eax
jb 0x4776e0
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
mov ecx, 0xe
cmp eax, ecx
jbe 0x477757
nop dword [eax]
mov eax, ecx
shr eax, 1
shl eax, 4
sub eax, 0x50
add dword [ebp + ecx*4], eax
inc ecx
cmp ecx, dword [edi + 0x10da0]
jb 0x477740
mov eax, dword [ebp]
add edx, 0x40
mov dword [esi - 4], eax
mov eax, dword [ebp + 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
mov eax, dword [ebp + 0xc]
add ebp, 0x100
mov dword [esi + 8], eax
add esi, 0x200
mov dword [esp + 0x10], ebp
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], esi
cmp edx, 0x3806
jb 0x4776d0
mov ebx, 4
lea eax, [edi + 0x107b0]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
cmp ebx, 0x2000
jae 0x4777b9
movzx esi, byte [ebx + 0x4b6148]
jmp 0x4777df
mov eax, ebx
cmp ebx, 0x2000000
jae 0x4777d2
shr eax, 0xc
movzx esi, byte [eax + 0x4b6148]
add esi, 0x18
jmp 0x4777df
shr eax, 0x18
movzx esi, byte [eax + 0x4b6148]
add esi, 0x30
mov eax, esi
mov edx, esi
shr eax, 1
and edx, 1
dec eax
or edx, 2
mov ecx, eax
mov dword [esp + 0x18], eax
shl edx, cl
mov eax, ebx
mov ebx, dword [esp + 0x18]
mov ecx, 1
sub eax, edx
mov dword [esp + 0x1c], edx
xor ebp, ebp
mov dword [esp + 0x24], ecx
nop dword [eax + eax]
mov edx, eax
sub ecx, esi
add ecx, dword [esp + 0x1c]
and edx, 1
shr eax, 1
mov dword [esp + 0x18], eax
mov eax, edx
neg eax
movzx ecx, word [edi + ecx*2 + 0x700a]
shr eax, 4
shr ecx, 4
and eax, 0x7f
xor ecx, eax
movzx eax, byte [ecx + 0x4b60c8]
mov ecx, dword [esp + 0x24]
add ebp, eax
mov eax, dword [esp + 0x18]
lea ecx, [edx + ecx*2]
mov dword [esp + 0x24], ecx
sub ebx, 1
jne 0x477810
mov ecx, dword [esp + 0x10]
mov eax, dword [edi + esi*4 + 0x101a0]
mov ebx, dword [esp + 0x14]
add eax, ebp
inc ebx
mov dword [ecx - 0x200], eax
mov eax, dword [edi + esi*4 + 0x102a0]
add eax, ebp
mov dword [esp + 0x14], ebx
mov dword [ecx], eax
mov eax, dword [edi + esi*4 + 0x103a0]
add eax, ebp
mov dword [ecx + 0x200], eax
mov eax, dword [edi + esi*4 + 0x104a0]
add eax, ebp
mov dword [ecx + 0x400], eax
add ecx, 4
mov dword [esp + 0x10], ecx
cmp ebx, 0x80
jb 0x4777a8
mov dword [edi + 0x10da4], 0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x4778c0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
mov ecx, 8
push edi
mov edi, dword [esp + 0x14]
xor ebx, ebx
mov edx, dword [edi + 0xaa4]
lea ebp, [edi + 0xaac]
mov eax, dword [edi + 0xaa8]
sub ecx, edx
and eax, dword [esp + 0x18]
shr esi, cl
mov ecx, edx
shl eax, cl
add esi, eax
imul eax, esi, 0x600
add ebp, eax
cmp byte [esp + 0x20], bl
jne 0x477915
push dword [esp + 0x28]
push 8
push ebp
call fcn.00478fd0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [esp + 0x28]
mov esi, 0x100
mov edi, dword [esp + 0x24]
add edx, esi
add edi, edi
mov ecx, esi
and ecx, edi
mov eax, edx
shr eax, 8
add ecx, esi
add eax, ecx
movzx ecx, word [ebp + eax*2]
mov eax, edx
shr eax, 7
add edx, edx
and eax, 1
shr ecx, 4
neg eax
shr eax, 4
and eax, 0x7f
xor ecx, eax
movzx eax, byte [ecx + 0x4b60c8]
mov ecx, edi
xor ecx, edx
add ebx, eax
not ecx
and esi, ecx
cmp edx, 0x10000
jb 0x477924
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x478fd0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0xc]
push esi
push edi
xor edi, edi
add ecx, eax
mov eax, dword [esp + 0xc]
nop dword [eax]
mov esi, ecx
shr ecx, 1
and esi, 1
neg esi
shr esi, 4
movzx edx, word [eax + ecx*2]
and esi, 0x7f
shr edx, 4
xor edx, esi
movzx edx, byte [edx + 0x4b60c8]
add edi, edx
cmp ecx, 1
jne 0x478ff0
mov eax, edi
pop edi
pop esi
ret

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

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047b070

Function at 0x47b390
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x4b8bf0]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x4b8bf0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x4b8bf0]
movzx ecx, dl
shr edx, 8
xor edx, dword [ecx*4 + 0x4b8bf0]
mov eax, edx
pop ebp
ret

Function at 0x47cc20
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0047cc30
Function at 0x402400
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x2c
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
test eax, eax
mov dword [ebp - 0x10], ebx
je 0x402530
mov ecx, dword [ebp + 8]
mov esi, dword [ecx + 0x1c]
test esi, esi
sete al
test edi, edi
sete dl
or eax, edx
test al, 1
jne 0x402530
mov eax, dword [esi + 0x18]
cmp eax, 2
je 0x402530
dec eax
je 0x402526
mov eax, dword [esi + 0x18]
test eax, eax
jne 0x40253d
xor eax, eax
cmp ebx, 2
jbe 0x402535
mov eax, dword [esi + 0x2c]
sub eax, 0x106
cmp eax, ebx
jae 0x402473
mov dword [ebp - 0x10], eax
sub ebx, eax
add edi, ebx
mov ebx, dword [esi + 0x38]
mov ecx, dword [ebp - 0x10]
mov dword [esp + 4], edi
mov dword [esp], ebx
mov dword [esp + 8], ecx
call sym._memcpy
mov edi, dword [ebp - 0x10]
mov eax, dword [esi + 0x38]
mov edx, dword [esi + 0x58]
mov dword [esi + 0x6c], edi
mov dword [ebp - 0x24], eax
mov cl, dl
mov dword [esi + 0x5c], edi
movzx ebx, byte [eax]
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 0x24]
mov dword [esi + 0x48], ebx
shl ebx, cl
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], ebx
movzx edi, byte [edx + 1]
mov edx, dword [esi + 0x34]
sub ecx, 3
mov dword [ebp - 0x28], eax
xor dword [ebp - 0x2c], edi
mov edi, dword [esi + 0x40]
mov dword [ebp - 0x14], ecx
and dword [ebp - 0x2c], eax
mov dword [ebp - 0x1c], edi
mov edi, dword [esi + 0x44]
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], edx
mov dword [esi + 0x48], ebx
xor ebx, ebx
mov esi, esi
movzx ecx, byte [ebp - 0x18]
mov edx, dword [ebp - 0x24]
shl dword [ebp - 0x2c], cl
mov ecx, dword [ebp - 0x2c]
movzx eax, byte [edx + ebx + 2]
mov edx, dword [ebp - 0x28]
xor eax, ecx
and eax, edx
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
and edx, ebx
mov dword [esi + 0x48], eax
movzx eax, word [edi + eax*2]
mov word [ecx + edx*2], ax
mov edx, dword [ebp - 0x2c]
mov word [edi + edx*2], bx
inc ebx
cmp dword [ebp - 0x14], ebx
jae 0x4024e0
add esp, 0x2c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
cmp dword [esi + 4], 0x2a
je 0x40244a
mov eax, 0xfffffffe
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x30]
mov dword [esp], ecx
call sym._adler32
mov edx, dword [ebp + 8]
mov dword [edx + 0x30], eax
jmp 0x402455
Function at 0x4034f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], esi
mov esi, dword [ebp + 8]
mov dword [ebp - 8], ebx
test esi, esi
je 0x403642
mov ebx, dword [esi + 0x1c]
test ebx, ebx
je 0x403642
mov eax, dword [esi + 0x20]
test eax, eax
je 0x403642
mov ecx, dword [esi + 0x24]
test ecx, ecx
je 0x403642
mov dword [esi + 0x2c], 2
mov edx, dword [ebx + 8]
mov dword [esi + 0x14], 0
mov dword [esi + 8], 0
mov dword [ebx + 0x10], edx
mov edx, dword [ebx + 0x18]
mov dword [esi + 0x18], 0
mov dword [ebx + 0x14], 0
test edx, edx
js 0x40366e
cmp edx, 1
sbb eax, eax
and eax, 0x47
add eax, 0x2a
cmp edx, 2
mov dword [ebx + 4], eax
je 0x403651
mov dword [esp], 0
xor ecx, ecx
xor eax, eax
mov dword [esp + 8], ecx
mov dword [esp + 4], eax
call sym._adler32
mov dword [esi + 0x30], eax
mov dword [ebx + 0x28], 0
mov dword [esp], ebx
call sym.__tr_init
mov edx, dword [ebx + 0x2c]
xor ecx, ecx
mov eax, dword [ebx + 0x4c]
add edx, edx
lea esi, [eax + eax - 2]
mov dword [ebx + 0x3c], edx
mov edx, dword [ebx + 0x44]
mov word [edx + eax*2 - 2], 0
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp], edx
call sym._memset
mov dword [ebx + 0x6c], 0
mov eax, dword [ebx + 0x84]
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x74], 0
lea eax, [eax + eax*2]
shl eax, 2
movzx esi, word [eax + 0x40d382]
movzx ecx, word [eax + 0x40d380]
movzx edx, word [eax + 0x40d384]
mov dword [ebx + 0x78], 2
mov dword [ebx + 0x80], esi
movzx esi, word [eax + 0x40d386]
xor eax, eax
mov dword [ebx + 0x8c], ecx
mov dword [ebx + 0x90], edx
mov dword [ebx + 0x7c], esi
mov dword [ebx + 0x60], 2
mov dword [ebx + 0x68], 0
mov dword [ebx + 0x48], 0
mov ebx, dword [ebp - 8]
mov esi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov ebx, dword [ebp - 8]
mov eax, 0xfffffffe
mov esi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp], 0
xor edx, edx
xor ecx, ecx
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
call sym._crc32
jmp 0x40358b
neg edx
mov dword [ebx + 0x18], edx
jmp 0x40355c
Function at 0x404070
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, eax
push esi
push ebx
sub esp, 0x1c
mov eax, dword [eax + 0x2c]
mov edx, dword [edi + 0x74]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x1c], edx
jmp 0x404149
mov ebx, dword [edi]
mov edx, dword [ebx + 4]
mov dword [ebp - 0x18], ebx
test edx, edx
je 0x404200
mov eax, dword [edi + 0x38]
mov ebx, edx
add esi, eax
mov eax, dword [edi + 0x74]
add esi, eax
cmp edx, dword [ebp - 0x10]
jbe 0x4040b4
mov ebx, dword [ebp - 0x10]
xor ecx, ecx
test ebx, ebx
je 0x4040fe
mov eax, dword [ebp - 0x18]
sub edx, ebx
mov ecx, dword [eax + 0x1c]
mov dword [eax + 4], edx
mov edx, eax
mov eax, dword [ecx + 0x18]
cmp eax, 1
je 0x404208
cmp eax, 2
je 0x404228
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [esp], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
call sym._memcpy
mov esi, dword [ebp - 0x18]
mov ecx, ebx
mov eax, dword [edi + 0x74]
add dword [esi], ebx
add dword [esi + 8], ebx
lea esi, [eax + ecx]
cmp esi, 2
mov dword [ebp - 0x1c], esi
mov dword [edi + 0x74], esi
jbe 0x40412d
mov ebx, dword [edi + 0x6c]
mov edx, dword [edi + 0x38]
mov ecx, dword [edi + 0x58]
movzx eax, byte [ebx + edx]
mov dword [edi + 0x48], eax
shl eax, cl
movzx ecx, byte [edx + ebx + 1]
mov ebx, dword [edi + 0x54]
xor eax, ecx
and eax, ebx
mov dword [edi + 0x48], eax
cmp esi, 0x105
ja 0x404200
mov eax, dword [edi]
mov esi, dword [eax + 4]
test esi, esi
je 0x404200
mov eax, dword [edi + 0x2c]
mov ecx, dword [edi + 0x3c]
mov ebx, dword [ebp - 0x1c]
mov esi, dword [edi + 0x6c]
sub ecx, ebx
sub ecx, esi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x14]
lea eax, [eax + ecx - 0x106]
cmp esi, eax
jb 0x404090
mov dword [esp + 8], ecx
mov esi, dword [edi + 0x38]
mov ebx, ecx
mov dword [esp], esi
add ebx, esi
mov dword [esp + 4], ebx
call sym._memcpy
mov eax, dword [ebp - 0x14]
mov esi, dword [edi + 0x6c]
mov ecx, dword [edi + 0x4c]
sub dword [edi + 0x70], eax
mov edx, dword [edi + 0x44]
sub esi, eax
sub dword [edi + 0x5c], eax
mov dword [edi + 0x6c], esi
lea eax, [edx + ecx*2]
lea esi, [esi]
sub eax, 2
xor ebx, ebx
movzx edx, word [eax]
cmp edx, dword [ebp - 0x14]
jb 0x4041b4
mov ebx, edx
mov edx, dword [ebp - 0x14]
sub ebx, edx
mov word [eax], bx
dec ecx
jne 0x4041a0
mov ecx, dword [ebp - 0x14]
mov eax, dword [edi + 0x40]
lea eax, [eax + ecx*2]
lea esi, [esi]
lea edi, [edi]
sub eax, 2
xor ebx, ebx
movzx edx, word [eax]
cmp edx, dword [ebp - 0x14]
jb 0x4041e4
mov ebx, edx
mov edx, dword [ebp - 0x14]
sub ebx, edx
mov word [eax], bx
dec ecx
jne 0x4041d0
mov ebx, dword [edi]
mov ecx, dword [ebp - 0x14]
add dword [ebp - 0x10], ecx
mov edx, dword [ebx + 4]
mov dword [ebp - 0x18], ebx
test edx, edx
jne 0x4040a0
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov eax, dword [edx]
mov dword [esp + 4], eax
mov ecx, dword [edx + 0x30]
mov dword [esp], ecx
call sym._adler32
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 0x30], eax
jmp 0x4040dc
mov dword [esp + 8], ebx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov dword [esp + 4], eax
mov ecx, dword [edx + 0x30]
mov dword [esp], ecx
call sym._crc32
jmp 0x40421d
Function at 0x40a020
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x11c
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x40a194
mov eax, 0xedb88320
mov ecx, 1
mov edx, 1
mov dword [ebp - 0x118], eax
mov dword [ebp + edx*4 - 0x118], ecx
inc edx
add ecx, ecx
cmp edx, 0x1f
jle 0x40a04c
lea edi, [ebp - 0x98]
xor eax, eax
lea esi, [ebp - 0x118]
mov edx, dword [esi + eax*4]
xor ebx, ebx
mov ecx, esi
test edx, edx
je 0x40a08e
lea esi, [esi]
lea edi, [edi]
test dl, 1
je 0x40a087
xor ebx, dword [ecx]
add ecx, 4
shr edx, 1
jne 0x40a080
mov dword [edi + eax*4], ebx
inc eax
cmp eax, 0x1f
jle 0x40a069
xor eax, eax
mov edx, dword [edi + eax*4]
xor ebx, ebx
mov ecx, edi
test edx, edx
je 0x40a0be
lea esi, [esi]
lea edi, [edi]
test dl, 1
je 0x40a0b7
xor ebx, dword [ecx]
add ecx, 4
shr edx, 1
jne 0x40a0b0
mov dword [esi + eax*4], ebx
inc eax
cmp eax, 0x1f
jle 0x40a099
xor ebx, ebx
lea esi, [esi]
mov edx, dword [esi + ebx*4]
xor eax, eax
mov ecx, esi
test edx, edx
je 0x40a0ee
nop
lea esi, [esi]
test dl, 1
je 0x40a0e7
xor eax, dword [ecx]
add ecx, 4
shr edx, 1
jne 0x40a0e0
mov dword [edi + ebx*4], eax
inc ebx
cmp ebx, 0x1f
jle 0x40a0d0
test byte [ebp + 0x10], 1
je 0x40a11a
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, edi
test eax, eax
je 0x40a117
test al, 1
je 0x40a110
mov ebx, dword [edx]
xor ecx, ebx
add edx, 4
shr eax, 1
jne 0x40a108
mov dword [ebp + 8], ecx
mov ecx, dword [ebp + 0x10]
sar ecx, 1
mov dword [ebp - 0x11c], ecx
je 0x40a18e
xor ebx, ebx
lea esi, [esi]
mov edx, dword [edi + ebx*4]
xor eax, eax
mov ecx, edi
test edx, edx
je 0x40a14e
nop
lea esi, [esi]
test dl, 1
je 0x40a147
xor eax, dword [ecx]
add ecx, 4
shr edx, 1
jne 0x40a140
mov dword [esi + ebx*4], eax
inc ebx
cmp ebx, 0x1f
jle 0x40a130
test byte [ebp - 0x11c], 1
je 0x40a17d
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, esi
test eax, eax
je 0x40a17a
test al, 1
je 0x40a173
mov ebx, dword [edx]
xor ecx, ebx
add edx, 4
shr eax, 1
jne 0x40a16b
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 0x11c]
sar edx, 1
mov dword [ebp + 0x10], edx
jne 0x40a0c7
mov esi, dword [ebp + 0xc]
xor dword [ebp + 8], esi
mov eax, dword [ebp + 8]
add esp, 0x11c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x404260
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x1fc]
test eax, eax
je 0x4042af
mov eax, dword [esi + 0x1f8]
test eax, eax
je 0x4042af
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x1fc]
push 0x1388
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4042af
mov ecx, dword [esi + 0x1fc]
push 0x63
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
mov ecx, esi
call fcn.00404130
pop esi
ret
Function at 0x405500
Capabilities:
Set registry value

Disassembly:
sub esp, 0x21c
mov eax, dword [0x429130]
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x220]
test eax, eax
push esi
je 0x4056f0
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
call esi
test eax, eax
je 0x4056f0
push ebp
mov ebp, dword [esp + 0x22c]
test ebp, ebp
push edi
je 0x4056d8
mov edi, dword [esp + 0x234]
test edi, edi
je 0x4056d8
push ebx
push ebp
call esi
push edi
mov ebx, eax
call esi
test ebx, ebx
mov dword [esp + 0x14], eax
je 0x405608
test eax, eax
je 0x405608
mov eax, dword [esp + 0x23c]
push eax
call esi
mov ecx, dword [esp + 0x240]
push ecx
mov dword [esp + 0x1c], eax
call esi
mov edx, dword [esp + 0x230]
push edx
mov edi, eax
push str.SoftwareColasoftColasoft_CapsaTools
lea eax, [esp + 0x28]
push 0x41c88c
push eax
shl edi, 1
mov dword [esp + 0x2c], 0
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0x10
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push 0x2001f
push 0
push 0
push 0
lea eax, [esp + 0x3c]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x405608
mov edx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebx + ebx]
push ecx
push ebp
push 1
push eax
push str.Title
push edx
call esi
test eax, eax
je 0x405621
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop edi
pop ebp
xor eax, eax
pop esi
mov ecx, dword [esp + 0x218]
call fcn.00417721
add esp, 0x21c
ret
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x238]
lea edx, [ecx + ecx]
mov ecx, dword [esp + 0x10]
push edx
push eax
push 1
push 0
push str.Command
push ecx
call esi
test eax, eax
je 0x40564c
mov edx, dword [esp + 0x10]
push edx
jmp 0x405602
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x23c]
lea ecx, [eax + eax]
mov eax, dword [esp + 0x10]
push ecx
push edx
push 1
push 0
push str.Arguments
push eax
call esi
test eax, eax
je 0x405677
mov ecx, dword [esp + 0x10]
push ecx
jmp 0x405602
mov edx, dword [esp + 0x240]
mov eax, dword [esp + 0x10]
push edi
push edx
push 1
push 0
push str.WndClass
push eax
call esi
test eax, eax
jne 0x405670
push 4
lea edx, [esp + 0x248]
push edx
push 4
push eax
mov eax, dword [esp + 0x20]
push str.Enable
push eax
call esi
test eax, eax
jne 0x405670
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop edi
pop ebp
mov eax, 1
pop esi
mov ecx, dword [esp + 0x218]
call fcn.00417721
add esp, 0x21c
ret
pop edi
pop ebp
xor eax, eax
pop esi
mov ecx, dword [esp + 0x218]
call fcn.00417721
add esp, 0x21c
ret
mov ecx, dword [esp + 0x21c]
xor eax, eax
pop esi
call fcn.00417721
add esp, 0x21c
ret
Function at 0x405710
Capabilities:
Delete registry key

Disassembly:
push esi
mov esi, dword [esp + 8]
test esi, esi
je 0x405750
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x405750
lea eax, [esp + 8]
push eax
push str.SoftwareColasoftColasoft_CapsaTools
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x405750
mov ecx, dword [esp + 8]
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
neg eax
sbb eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret

Function at 0x4058a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4188d9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71U.DLL_CWinThread::GetMainWnd]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.MFC71U.DLL_CDockContext::Stretch]
add esp, 4
push eax
push edi
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
push eax
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71U.DLL_CPreviewDC::ComputeDeltas]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4074a0
Capabilities:
Inspect load icon resource

Disassembly:
sub esp, 0x28
push ebx
push esi
push edi
call sub.MFC71U.DLL_AfxGetModuleShortFileName
mov esi, dword [eax + 8]
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov ebx, dword [esp + 0x38]
mov edi, eax
lea eax, [esp + 0xc]
push eax
push ebx
push esi
call dword [sym.imp.USER32.dll_GetClassInfoW]
test eax, eax
jne 0x407536
mov ecx, dword [sym.imp.USER32.dll_DefWindowProcW]
push 0x80
push esi
mov dword [esp + 0x14], 8
mov dword [esp + 0x18], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], esi
call dword [sym.imp.USER32.dll_LoadIconW]
lea edx, [esp + 0xc]
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 0x10
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], ebx
call sub.MFC71U.DLL_AfxReadStringLength
test eax, eax
jne 0x407536
call sub.MFC71U.DLL_AfxThrowOleException
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x28
ret 4
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x28
ret 4
Function at 0x408ba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x418d29
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71U.DLL_CWinThread::GetMainWnd]
push eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT_1]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
mov ecx, edi
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
push eax
mov ecx, edi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_CHtmlView::GetLeft]
push eax
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::operator_class_ATL::CSimpleStringT_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71U.DLL_CPreviewDC::ComputeDeltas]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71U.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71U.DLL_ATL::CSimpleStringT::CSimpleStringT]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x418288
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4182de
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x41fde4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4182d1
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x4182e0
xor eax, eax
pop esi
leave
ret 4