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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4d625c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [esi]
mov dword [ebp - 0x40], edx
mov edx, dword [ecx + 0x10]
add eax, eax
mov eax, dword [edx + eax*8]
mov dword [ebp - 0x28], eax
mov eax, 1
push edi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], eax
jmp 0x43d8e3
mov esi, dword [ebp - 0x30]
push eax
push str.sqlite_stat_d
lea ecx, [ebp - 0x1c]
push ecx
push 0x18
call fcn.00405ca0
mov ecx, dword [esi]
xor ebx, ebx
add esp, 0x10
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x1c]
cmp byte [ebp - 0x1c], bl
je 0x43d915
lea esp, [esp]
inc eax
cmp byte [eax], bl
jne 0x43d910
lea edx, [ebp - 0x1c]
sub eax, edx
and eax, 0x3fffffff
mov edi, eax
mov eax, dword [ecx + 0x14]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x38], eax
cmp eax, ebx
jle 0x43da31
jmp 0x43d93a
mov ecx, dword [ebp - 0x34]
mov edx, ebx
cmp ebx, 2
jge 0x43d944
xor edx, 1
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x43d99b
mov ecx, dword [ecx + 0x10]
mov esi, edx
add esi, esi
mov esi, dword [ecx + esi*8]
mov ecx, eax
mov cl, byte [ecx]
test cl, cl
je 0x43d980
lea ecx, [ecx]
movzx ebx, byte [esi]
movzx ecx, cl
mov cl, byte [ecx + 0x4c2040]
cmp cl, byte [ebx + 0x4c2040]
jne 0x43d97d
mov cl, byte [eax + 1]
inc eax
inc esi
test cl, cl
jne 0x43d960
mov ebx, dword [ebp - 0x20]
movzx eax, byte [eax]
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x4c2040]
movzx eax, byte [eax + 0x4c2040]
sub eax, ecx
jne 0x43d9fd
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ecx + 0x10]
add edx, edx
mov esi, dword [ecx + edx*8 + 0xc]
cmp dword [esi + 0x14], 0
je 0x43d9dd
xor eax, eax
mov edx, edi
lea ecx, [ebp - 0x1c]
test edi, edi
jle 0x43d9d6
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x4c2040]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x43d9b5
mov ebx, dword [ebp - 0x20]
mov edi, dword [ebp - 0x44]
xor edx, edx
div dword [esi + 8]
jmp 0x43d9df
xor edx, edx
lea eax, [ebp - 0x1c]
push edi
push eax
lea eax, [esi + 8]
call fcn.00407d20
add esp, 8
test eax, eax
je 0x43da52
mov eax, dword [eax + 8]
mov dword [ebp - 0x24], eax
test eax, eax
jne 0x43da10
inc ebx
mov dword [ebp - 0x20], ebx
cmp ebx, dword [ebp - 0x38]
jl 0x43d937
cmp dword [ebp - 0x24], 0
je 0x43da31
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x28]
push edx
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push eax
push ecx
push str.DELETE_FROM__Q._s_WHERE__s_Q
push edx
call fcn.0043aa20
add esp, 0x18
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp eax, 4
jle 0x43d8e0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d48e
mov esp, ebp
pop ebp
ret
mov dword [ebp - 0x24], 0
jmp 0x43d9fd
Function at 0x45d660
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x10]
add eax, eax
mov ebx, dword [edx + eax*8 + 0xc]
add ebx, 0x28
push edi
mov dword [ebp - 8], ebx
mov eax, esi
test esi, esi
je 0x45d695
cmp byte [esi], 0
je 0x45d68e
inc eax
cmp byte [eax], 0
jne 0x45d688
sub eax, esi
and eax, 0x3fffffff
cmp dword [ebx], 0
mov dword [ebp - 4], eax
je 0x45d6da
mov edx, eax
xor eax, eax
mov ecx, esi
cmp edx, eax
jle 0x45d6ce
jmp 0x45d6b0
movzx edi, byte [ecx]
movzx edi, byte [edi + 0x4c2040]
lea ebx, [eax*8]
xor edi, ebx
dec edx
xor eax, edi
inc ecx
test edx, edx
jg 0x45d6b0
mov ebx, dword [ebp - 8]
xor edx, edx
div dword [ebx]
mov eax, dword [ebp - 4]
mov dword [ebp - 8], edx
jmp 0x45d6e1
mov dword [ebp - 8], 0
mov edx, dword [ebp - 8]
push eax
push esi
mov eax, ebx
call fcn.00407d20
add esp, 8
test eax, eax
je 0x45d7a7
mov edi, dword [eax + 8]
mov edx, dword [ebp - 8]
mov ecx, ebx
mov dword [ebp - 4], edi
call fcn.00407dc0
test edi, edi
je 0x45d7a7
mov edx, dword [edi + 0x18]
cmp dword [edi + 0x14], edx
jne 0x45d760
mov ecx, dword [edi + 4]
mov eax, ecx
test ecx, ecx
je 0x45d733
cmp byte [ecx], 0
je 0x45d72c
inc eax
cmp byte [eax], 0
jne 0x45d726
sub eax, ecx
and eax, 0x3fffffff
push ecx
add edx, 8
push edx
mov esi, eax
call fcn.00407e10
mov ecx, dword [eax + 0x40]
add eax, 0x40
add esp, 8
cmp ecx, edi
je 0x45d759
lea esp, [esp]
lea eax, [ecx + 0x20]
mov ecx, dword [eax]
cmp ecx, edi
jne 0x45d750
mov ecx, dword [eax]
mov edx, dword [ecx + 0x20]
mov dword [eax], edx
mov eax, dword [edi + 0x1c]
mov esi, dword [ebp + 8]
push eax
mov ebx, esi
call fcn.0045c770
mov eax, dword [edi]
add esp, 4
mov ecx, esi
call fcn.00404210
mov eax, dword [edi + 4]
mov ecx, esi
call fcn.00404210
mov ecx, dword [edi + 0xc]
push ecx
push esi
call fcn.00432000
mov edi, dword [edi + 0x10]
add esp, 8
call fcn.0043f5f0
mov eax, dword [ebp - 4]
mov ecx, esi
call fcn.00404210
or dword [esi + 0x18], 2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x473e30
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x4d625c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [eax + 0x1c]
xor edx, edx
sub ebx, 6
push esi
push edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], edx
cmp ebx, edx
jle 0x473e62
mov esi, dword [ebp + 0xc]
mov ecx, ebx
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
test ebx, ebx
jle 0x473ea9
mov dword [ebp - 0x2c], 8
nop
mov esi, dword [ebp - 0x28]
cmp esi, dword [eax + 0x1c]
ja 0x473ea9
cmp ecx, ebx
jge 0x473e97
lea esp, [esp]
cmp edx, 4
jge 0x473e9a
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp + ecx*4 - 0x24]
add esi, edx
inc ecx
inc edx
mov dword [eax + esi*4], edi
cmp ecx, ebx
jl 0x473e80
cmp edx, 4
jne 0x473ea5
inc dword [ebp - 0x28]
add dword [ebp - 0x2c], 4
xor edx, edx
cmp ecx, ebx
jl 0x473e70
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [eax + 0x1c]
ja 0x473fea
mov esi, 0x4db8e8
jmp 0x473ec3
mov esi, dword [ebp - 0x34]
movzx ecx, byte [ebp + ebx*4 - 0x27]
mov al, byte [ebp - 0x24]
xor al, byte [ecx + str.cw]
add esi, 4
mov byte [ebp - 0x24], al
movzx ecx, byte [ebp + ebx*4 - 0x26]
movzx ecx, byte [ecx + str.cw]
xor byte [ebp - 0x23], cl
movzx ecx, byte [ebp + ebx*4 - 0x25]
movzx ecx, byte [ecx + str.cw]
xor byte [ebp - 0x22], cl
movzx ecx, byte [ebp + ebx*4 - 0x28]
xor al, byte [esi - 4]
movzx ecx, byte [ecx + str.cw]
xor byte [ebp - 0x21], cl
mov byte [ebp - 0x24], al
mov dword [ebp - 0x34], esi
mov eax, 1
cmp ebx, 8
je 0x473f30
cmp ebx, eax
jle 0x473f8e
jmp 0x473f20
mov ecx, dword [ebp + eax*4 - 0x28]
xor dword [ebp + eax*4 - 0x24], ecx
inc eax
cmp eax, ebx
jl 0x473f20
jmp 0x473f8e
mov ecx, dword [ebp + eax*4 - 0x28]
xor dword [ebp + eax*4 - 0x24], ecx
inc eax
cmp eax, 4
jl 0x473f30
movzx eax, byte [ebp - 0x18]
movzx ecx, byte [eax + str.cw]
movzx eax, byte [ebp - 0x17]
xor byte [ebp - 0x14], cl
movzx ecx, byte [eax + str.cw]
movzx eax, byte [ebp - 0x16]
xor byte [ebp - 0x13], cl
movzx ecx, byte [eax + str.cw]
movzx eax, byte [ebp - 0x15]
xor byte [ebp - 0x12], cl
movzx ecx, byte [eax + str.cw]
xor byte [ebp - 0x11], cl
mov eax, 5
jmp 0x473f80
mov ecx, dword [ebp + eax*4 - 0x28]
xor dword [ebp + eax*4 - 0x24], ecx
inc eax
cmp eax, 8
jl 0x473f80
xor eax, eax
test ebx, ebx
jle 0x473fdb
mov ecx, dword [ebp - 0x28]
lea ecx, [ecx*4 + 8]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x28]
cmp esi, dword [ecx + 0x1c]
ja 0x473fde
cmp eax, ebx
jge 0x473fc7
cmp edx, 4
jge 0x473fca
mov esi, dword [ebp - 0x2c]
mov edi, dword [ebp + eax*4 - 0x24]
add esi, edx
inc eax
inc edx
mov dword [ecx + esi*4], edi
cmp eax, ebx
jl 0x473fb0
cmp edx, 4
jne 0x473fd5
inc dword [ebp - 0x28]
add dword [ebp - 0x2c], 4
xor edx, edx
cmp eax, ebx
jl 0x473fa1
jmp 0x473fde
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x28]
cmp eax, dword [ecx + 0x1c]
jbe 0x473ec0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d48e
mov esp, ebp
pop ebp
ret
Function at 0x474000
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 1
cmp dword [edx + 0x1c], ecx
jbe 0x4740ea
push esi
lea eax, [edx + 0x32]
push edi
jmp 0x474020
movzx esi, byte [eax + 1]
mov esi, dword [esi*4 + 0x4db4e8]
movzx edi, byte [eax - 1]
xor esi, dword [edi*4 + 0x4dace8]
movzx edi, byte [eax]
xor esi, dword [edi*4 + 0x4db0e8]
movzx edi, byte [eax - 2]
xor esi, dword [edi*4 + 0x4da8e8]
inc ecx
mov dword [eax - 2], esi
movzx esi, byte [eax + 5]
mov esi, dword [esi*4 + 0x4db4e8]
movzx edi, byte [eax + 4]
xor esi, dword [edi*4 + 0x4db0e8]
movzx edi, byte [eax + 3]
xor esi, dword [edi*4 + 0x4dace8]
movzx edi, byte [eax + 2]
xor esi, dword [edi*4 + 0x4da8e8]
add eax, 0x10
mov dword [eax - 0xe], esi
movzx esi, byte [eax - 7]
mov esi, dword [esi*4 + 0x4db4e8]
movzx edi, byte [eax - 8]
xor esi, dword [edi*4 + 0x4db0e8]
movzx edi, byte [eax - 9]
xor esi, dword [edi*4 + 0x4dace8]
movzx edi, byte [eax - 0xa]
xor esi, dword [edi*4 + 0x4da8e8]
mov dword [eax - 0xa], esi
movzx esi, byte [eax - 3]
movzx edi, byte [eax - 4]
mov esi, dword [esi*4 + 0x4db4e8]
xor esi, dword [edi*4 + 0x4db0e8]
movzx edi, byte [eax - 5]
xor esi, dword [edi*4 + 0x4dace8]
movzx edi, byte [eax - 6]
xor esi, dword [edi*4 + 0x4da8e8]
mov dword [eax - 6], esi
cmp ecx, dword [edx + 0x1c]
jb 0x474020
pop edi
pop esi
ret
Function at 0x4750f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4d625c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x108], eax
xor esi, esi
mov edi, ecx
xor eax, eax
jmp 0x475120
mov byte [ebp + eax - 0x104], al
inc eax
cmp eax, 0x100
jl 0x475120
xor edx, edx
xor eax, eax
jmp 0x475140
movzx ecx, byte [ebp + eax - 0x104]
mov ebx, eax
and ebx, reloc.WS2_32.dll_ntohs
jns 0x475157
dec ebx
or ebx, 0xfffffff0
inc ebx
movzx ebx, byte [ebx + edi]
add ebx, ecx
add edx, ebx
and edx, 0x800000ff
jns 0x47516f
dec edx
or edx, 0xffffff00
inc edx
mov bl, byte [ebp + edx - 0x104]
mov byte [ebp + eax - 0x104], bl
inc eax
mov byte [ebp + edx - 0x104], cl
cmp eax, 0x100
jl 0x475140
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp - 0x108], 0x20
mov edi, esi
inc esi
and esi, 0x800000ff
jns 0x4751b4
dec esi
or esi, 0xffffff00
inc esi
movzx eax, byte [ebp + esi - 0x104]
add edi, eax
and edi, 0x800000ff
jns 0x4751ce
dec edi
or edi, 0xffffff00
inc edi
mov bl, byte [ebp + edi - 0x104]
mov byte [ebp + esi - 0x104], bl
mov byte [ebp + edi - 0x104], al
movzx ebx, byte [ebp + esi - 0x104]
add ebx, eax
and ebx, 0x800000ff
jns 0x4751fd
dec ebx
or ebx, 0xffffff00
inc ebx
mov al, byte [ebp + ebx - 0x104]
xor al, byte [edx + ecx]
inc ecx
dec dword [ebp - 0x108]
mov byte [ecx - 1], al
jne 0x4751a3
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d48e
mov esp, ebp
pop ebp
ret
Function at 0x475230
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x70
mov eax, dword [0x4d625c]
xor eax, esp
mov dword [esp + 0x6c], eax
inc ecx
push ebx
mov ebx, edx
mov eax, 0x4f7a09cd
imul ecx
imul ecx, ecx, 0x9ef4
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x7fffff07
sub ecx, eax
push esi
jns 0x475270
add ecx, 0x7fffff07
mov edx, ecx
sar edx, 8
mov byte [esp + 0x65], dl
mov eax, ecx
sar eax, 0x10
mov byte [esp + 0x66], al
mov edx, ecx
sar edx, 0x18
mov byte [esp + 0x67], dl
mov eax, 0x4f7a09cd
imul ecx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [esp + 0x64], cl
imul eax, eax, 0x7fffff07
imul ecx, ecx, 0x9ef4
sub ecx, eax
jns 0x4752b6
add ecx, 0x7fffff07
mov edx, ecx
sar edx, 8
mov byte [esp + 0x69], dl
mov eax, ecx
sar eax, 0x10
mov byte [esp + 0x6a], al
mov edx, ecx
sar edx, 0x18
mov byte [esp + 0x6b], dl
mov eax, 0x4f7a09cd
imul ecx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [esp + 0x68], cl
imul eax, eax, 0x7fffff07
imul ecx, ecx, 0x9ef4
sub ecx, eax
jns 0x4752fc
add ecx, 0x7fffff07
mov edx, ecx
sar edx, 8
mov byte [esp + 0x6d], dl
mov eax, ecx
sar eax, 0x10
mov byte [esp + 0x6e], al
mov edx, ecx
sar edx, 0x18
mov byte [esp + 0x6f], dl
mov eax, 0x4f7a09cd
imul ecx
sar edx, 0xe
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [esp + 0x6c], cl
imul eax, eax, 0x7fffff07
imul ecx, ecx, 0x9ef4
sub ecx, eax
jns 0x475342
add ecx, 0x7fffff07
mov eax, ecx
mov edx, ecx
sar eax, 0x10
mov byte [esp + 0x70], cl
sar ecx, 0x18
mov byte [esp + 0x72], al
xor eax, eax
mov byte [esp + 0x73], cl
lea ecx, [esp + 0x64]
sar edx, 8
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
push 0x10
push ecx
lea eax, [esp + 0x10]
mov byte [esp + 0x79], dl
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
call fcn.00474950
add esp, 8
lea esi, [esp + 8]
call fcn.004748a0
mov ecx, dword [esp + 0x74]
pop esi
pop ebx
xor ecx, esp
call fcn.0049d48e
mov esp, ebp
pop ebp
ret
Function at 0x4753c0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
mov eax, dword [0x4d625c]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], edx
xor edx, edx
mov dword [esp + 8], ecx
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
push ebx
sete dl
push esi
push 0x18
mov dword [esp + 0x8c], 0x546c4173
mov dword [esp + 0x1c], 0x67452301
mov dword [esp + 0x20], 0xefcdab89
mov dword [esp + 0x24], 0x98badcfe
mov dword [esp + 0x18], edx
mov edx, dword [eax]
mov dword [esp + 0x78], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x7c], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x80], edx
mov edx, eax
sar edx, 8
mov byte [esp + 0x88], al
mov byte [esp + 0x89], dl
mov edx, eax
sar eax, 0x18
mov byte [esp + 0x8b], al
lea eax, [esp + 0x78]
sar edx, 0x10
push eax
lea eax, [esp + 0x20]
mov byte [esp + 0x8e], dl
mov dword [esp + 0x2c], 0x10325476
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
call fcn.00474950
lea esi, [esp + 0x20]
lea ebx, [esp + 0x7c]
call fcn.004748a0
mov ecx, dword [ebp + 8]
lea edx, [esp + 0x94]
call fcn.00475230
mov ecx, dword [esp + 0x1c]
mov esi, dword [edi + 0x2c]
push ecx
lea ecx, [esp + 0x98]
mov edx, ebx
call fcn.00473760
mov eax, dword [ebp + 0x14]
mov edx, dword [esp + 0x18]
add eax, eax
add eax, eax
add esp, 0xc
add eax, eax
cmp dword [ebp + 0xc], 0
push edx
je 0x4754f2
mov ecx, dword [edi + 0x2c]
push ecx
mov ecx, dword [esp + 0x18]
call fcn.00473840
add esp, 8
pop esi
pop ebx
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0049d48e
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
push ecx
mov ecx, dword [edi + 0x2c]
call fcn.00473b40
mov ecx, dword [esp + 0xa4]
add esp, 8
pop esi
pop ebx
xor ecx, esp
call fcn.0049d48e
mov esp, ebp
pop ebp
ret
Function at 0x4756b0
Capabilities:
Encode data using xor
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc4
mov eax, dword [0x4d625c]
xor eax, esp
mov dword [esp + 0xc0], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, edx
mov dword [esp + 0xc], eax
xor edi, edi
xor eax, eax
cmp esi, 0x20
jle 0x4756e4
mov esi, 0x20
cmp esi, edi
jle 0x4756fc
push esi
push ecx
lea edx, [esp + 0xb4]
push edx
call fcn.0049d5c0
add esp, 0xc
mov eax, esi
xor ecx, ecx
cmp eax, 0x20
jge 0x47571c
cmp ecx, 0x20
jge 0x47571c
mov dl, byte [ecx + 0x4db960]
mov byte [esp + eax + 0xac], dl
inc eax
inc ecx
cmp eax, 0x20
jl 0x475703
xor eax, eax
cmp eax, 0x20
jge 0x475733
mov cl, byte [eax + 0x4db960]
mov byte [esp + eax + 0x7c], cl
inc eax
cmp eax, 0x20
jl 0x475723
lea edx, [esp + 0x7c]
push 0x20
push edx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
call fcn.00474950
add esp, 8
lea esi, [esp + 0x10]
lea ebx, [esp + 0x6c]
call fcn.004748a0
mov edi, 0x32
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x6c]
push 0x10
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.00474950
add esp, 8
lea esi, [esp + 0x10]
lea ebx, [esp + 0x6c]
call fcn.004748a0
dec edi
jne 0x475780
mov ecx, 8
lea esi, [esp + 0xac]
lea edi, [esp + 0x7c]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
xor ebx, ebx
xor eax, eax
jmp 0x4757f0
mov cl, byte [esp + eax + 0x6c]
xor cl, bl
mov byte [esp + eax + 0x9c], cl
inc eax
cmp eax, 0x10
jl 0x4757f0
lea edx, [esp + 0x7c]
push edx
mov eax, edx
push eax
lea ecx, [esp + 0xa4]
call fcn.004750f0
inc ebx
add esp, 8
cmp ebx, 0x14
jl 0x4757e3
lea ecx, [esp + 0xac]
push 0x20
push ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call fcn.00474950
lea edx, [esp + 0x84]
push 0x20
push edx
lea eax, [esp + 0x20]
call fcn.00474950
add esp, 0x10
lea esi, [esp + 0x10]
lea ebx, [esp + 0x6c]
call fcn.004748a0
mov edi, 0x32
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
lea eax, [esp + 0x6c]
push 0x10
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.00474950
add esp, 8
lea esi, [esp + 0x10]
lea ebx, [esp + 0x6c]
call fcn.004748a0
dec edi
jne 0x475883
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x70]
mov dword [eax], ecx
mov ecx, dword [esp + 0x74]
pop edi
mov dword [eax + 4], edx
mov edx, dword [esp + 0x74]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xc8]
pop esi
pop ebx
xor ecx, esp
mov dword [eax + 0xc], edx
call fcn.0049d48e
mov esp, ebp
pop ebp
ret
Function at 0x4784d0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test esi, esi
jne 0x4784e9
lea eax, [esi + 0xd]
pop esi
mov esp, ebp
pop ebp
ret 8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
xor edi, edi
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x4784f3
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
push edi
push eax
mov eax, dword [edx]
push 7
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x478b60
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x4d625c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push edi
or ecx, 0x2001f
push ecx
xor ebx, ebx
push eax
push edx
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x110], ebx
mov dword [ebp - 0x10c], ebx
mov dword [ebp - 0x108], ebx
call fcn.004783b0
mov edi, eax
cmp edi, ebx
je 0x478bda
mov eax, dword [ebp - 0x110]
cmp eax, ebx
je 0x478bc5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d48e
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x120]
push eax
mov eax, dword [ebp - 0x110]
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x114]
push ecx
lea edx, [ebp - 0x104]
push edx
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
mov dword [ebp - 0x114], pe_nt_image_headers32
call ebx
test eax, eax
jne 0x478c58
lea ecx, [ebp - 0x104]
push ecx
lea ecx, [ebp - 0x110]
call fcn.00478b60
mov edi, eax
test edi, edi
jne 0x478c91
lea edx, [ebp - 0x120]
push edx
mov edx, dword [ebp - 0x110]
push eax
push eax
push eax
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x104]
push ecx
push edi
push edx
mov dword [ebp - 0x114], pe_nt_image_headers32
call ebx
test eax, eax
je 0x478c10
mov eax, dword [ebp - 0x110]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
cmp eax, edi
je 0x478c73
push eax
call ebx
mov dword [ebp - 0x110], edi
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x10c], edi
push eax
cmp ecx, edi
je 0x478cbb
mov edx, dword [esi]
push edx
call fcn.00478190
jmp 0x478cc4
mov eax, dword [ebp - 0x110]
test eax, eax
je 0x478bc5
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049d48e
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [ebp - 0x110]
cmp eax, edi
je 0x478cd3
push eax
call ebx
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049d48e
mov esp, ebp
pop ebp
ret 4
Function at 0x47af90
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov eax, dword [0x4d625c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
mov eax, dword [esi + 4]
push 0x3f0
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x27
lea ecx, [ebp - 0x58]
push ecx
push eax
call ebx
mov edx, dword [esi + 4]
push 0x3f1
push edx
call edi
push 0x27
lea ecx, [ebp - 0x30]
push ecx
push eax
call ebx
push 0
push 0
lea edx, [ebp - 0x58]
push edx
push 0x54
push 0xbb8
mov dword [ebp - 8], 2
call fcn.004945b0
mov ecx, dword [ebp - 4]
add esp, 0x14
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0049d48e
mov esp, ebp
pop ebp
ret 0x10

Function at 0x47b130
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, ecx
mov eax, dword [esi + 4]
push 0x3f3
push eax
call edi
push 0x27
lea ebx, [esi + 0x20]
push ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esi + 4]
push 0x3f4
push ecx
call edi
push 0x27
lea edx, [esi + 0x48]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov eax, dword [esi + 4]
push 0x3ec
push eax
call edi
push 0x27
add esi, 0x70
push esi
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0
push 0
push ebx
push 0x78
push 0xbbe
call fcn.004945b0
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10