joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e3e0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push eax
lea edi, [ebp - 0x114]
call fcn.0040cd10
add esp, 4
test eax, eax
je 0x40e515
cmp byte [eax], 0
mov esi, 0x100
mov edx, eax
lea ecx, [ebp - 0x104]
je 0x40e43b
dec esi
test esi, esi
jle 0x40e43b
mov al, byte [edx]
cmp al, 0x2f
jne 0x40e432
mov byte [ecx], 0x5c
jmp 0x40e434
mov byte [ecx], al
inc edx
inc ecx
cmp byte [edx], 0
jne 0x40e422
mov byte [ecx], 0
mov edi, edi
dec ecx
lea eax, [ebp - 0x104]
cmp ecx, eax
jb 0x40e515
cmp byte [ecx], 0x5c
jne 0x40e440
mov byte [ecx], 0
lea ebx, [ecx + 1]
mov ecx, eax
push ecx
lea ecx, [ebp - 0x110]
call fcn.0040d620
lea edx, [ebp - 0x108]
push edx
push 0x20006
push 0
lea ecx, [ebp - 0x110]
call fcn.0040d4d0
push eax
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [ebp - 0x110]
test eax, eax
jne 0x40e510
call fcn.0040c390
push ebx
lea ecx, [ebp - 0x110]
call fcn.0040d620
lea ecx, [ebp - 0x110]
call fcn.0040d4d0
mov ecx, dword [ebp - 0x108]
mov edi, eax
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
test esi, esi
je 0x40e4e0
cmp byte [ebx], 0
je 0x40e4e0
mov edx, dword [ebp - 0x108]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [ebp - 0x108]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x110]
test esi, esi
jne 0x40e510
call fcn.0040c390
pop edi
lea eax, [esi + 1]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
call fcn.0040c390
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
Function at 0x40e530
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8030
call fcn.004b81c0
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0x14]
push edi
push eax
lea edi, [ebp - 0x802c]
mov dword [ebp - 0x8030], ecx
call fcn.0040cd10
add esp, 4
test eax, eax
jne 0x40e57b
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
cmp byte [eax], 0
push esi
mov esi, 0x100
mov edx, eax
lea ecx, [ebp - 0x104]
je 0x40e5a9
mov edi, edi
dec esi
test esi, esi
jle 0x40e5a9
mov al, byte [edx]
cmp al, 0x2f
jne 0x40e5a0
mov byte [ecx], 0x5c
jmp 0x40e5a2
mov byte [ecx], al
inc edx
inc ecx
cmp byte [edx], 0
jne 0x40e590
lea edx, [ebp - 0x104]
mov byte [ecx], 0
push edx
lea ecx, [ebp - 0x8024]
call fcn.0040d620
lea eax, [ebp - 0x8018]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x8024]
call fcn.0040d4d0
mov ecx, dword [ebp - 0x802c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e64d
xor edx, edx
lea eax, [ebp - 0x801c]
push eax
mov word [ebp - 0x30c], dx
lea ecx, [ebp - 0x8010]
push ecx
lea edx, [ebp - 0x8028]
push edx
mov edx, dword [ebp + 0xc]
push 0
lea eax, [ebp - 0x8014]
push eax
mov eax, dword [ebp - 0x8018]
lea ecx, [ebp - 0x30c]
push ecx
push edx
push eax
mov dword [ebp - 0x8014], 0x104
mov dword [ebp - 0x801c], 0x7d02
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
je 0x40e66b
mov ecx, dword [ebp - 0x8018]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x8024]
call fcn.0040c390
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x8028]
cmp eax, 1
je 0x40e67f
cmp eax, 2
jne 0x40e717
mov eax, dword [ebp - 0x8014]
test eax, eax
jne 0x40e6a0
mov edx, 0x40
mov eax, 1
mov word [ebp - 0x30c], dx
mov dword [ebp - 0x8014], eax
lea ecx, [ebx - 2]
cmp eax, ecx
jae 0x40e717
mov esi, dword [ebp - 0x8030]
push ebx
push esi
push eax
lea edx, [ebp - 0x30c]
push edx
call fcn.0040d5d0
add esp, 0x10
mov dword [ebp - 0x8014], eax
test eax, eax
je 0x40e717
lea ecx, [esi + eax]
inc eax
mov dword [ebp - 0x8014], eax
mov byte [ecx], 9
mov eax, ebx
sub eax, dword [ebp - 0x8014]
inc ecx
dec eax
push eax
push ecx
mov ecx, dword [ebp - 0x801c]
push ecx
lea edx, [ebp - 0x8010]
push edx
call fcn.0040d5d0
add esp, 0x10
test eax, eax
js 0x40e702
add dword [ebp - 0x8014], eax
mov eax, dword [ebp - 0x8014]
cmp eax, ebx
jae 0x40e712
mov byte [esi + eax], 0
jmp 0x40e717
mov byte [ebx + esi - 1], 0
mov eax, dword [ebp - 0x8018]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [ebp - 0x8014]
lea ecx, [ebp - 0x8024]
call fcn.0040c390
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
Function at 0x40e750
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push eax
lea edi, [ebp - 0x320]
call fcn.0040cd10
add esp, 4
test eax, eax
jne 0x40e78e
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
cmp byte [eax], 0
push esi
mov esi, 0x100
mov edx, eax
lea ecx, [ebp - 0x104]
je 0x40e7ba
dec esi
test esi, esi
jle 0x40e7ba
mov al, byte [edx]
cmp al, 0x2f
jne 0x40e7b1
mov byte [ecx], 0x5c
jmp 0x40e7b3
mov byte [ecx], al
inc edx
inc ecx
cmp byte [edx], 0
jne 0x40e7a1
lea eax, [ebp - 0x104]
mov byte [ecx], 0
push eax
lea ecx, [ebp - 0x31c]
call fcn.0040d620
lea ecx, [ebp - 0x314]
push ecx
push 0x20019
push 0
lea ecx, [ebp - 0x31c]
call fcn.0040d4d0
mov edx, dword [ebp - 0x320]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40e845
lea ecx, [ebp - 0x328]
push ecx
mov ecx, dword [ebp + 0xc]
push eax
push eax
push eax
lea edx, [ebp - 0x310]
push edx
mov edx, dword [ebp - 0x314]
mov word [ebp - 0x30c], ax
lea eax, [ebp - 0x30c]
push eax
push ecx
push edx
mov dword [ebp - 0x310], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x40e863
mov eax, dword [ebp - 0x314]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x31c]
call fcn.0040c390
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x314]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x310]
test eax, eax
je 0x40e895
mov edx, dword [ebp + 0x14]
push edx
push ebx
push eax
lea eax, [ebp - 0x30c]
push eax
call fcn.0040d5d0
add esp, 0x10
mov dword [ebp - 0x310], eax
lea ecx, [ebp - 0x31c]
mov esi, eax
call fcn.0040c390
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
pop edi
xor ecx, ebp
pop ebx
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
Function at 0x40e900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8030
call fcn.004b81c0
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x8024], ecx
xor ecx, ecx
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x8018], ecx
cmp dword [eax + 0x50], ecx
je 0x40eaf8
mov eax, dword [eax + 0x64]
test eax, eax
je 0x40eaf8
push esi
push edi
mov ecx, 7
mov esi, str.SoftwarePRONTOFieldDefaults
lea edi, [ebp - 0x108]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x108]
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40e960
mov dx, word [0x4cce98]
mov word [edi], dx
mov eax, dword [eax + 0x8c]
mov eax, dword [eax + 0x50]
mov ecx, eax
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x40e980
lea edi, [ebp - 0x108]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x40e992
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x108]
push ecx
call fcn.00407750
add esp, 4
lea edx, [ebp - 0x108]
push edx
lea ecx, [ebp - 0x802c]
call fcn.0040d620
lea eax, [ebp - 0x8020]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x802c]
call fcn.0040d4d0
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x40ead6
lea ecx, [ebp - 0x801c]
push ecx
lea edx, [ebp - 0x8010]
push edx
lea eax, [ebp - 0x8030]
push eax
mov eax, dword [ebp + 0xc]
push 0
lea ecx, [ebp - 0x8014]
push ecx
mov ecx, dword [ebp - 0x8020]
lea edx, [ebp - 0x310]
push edx
push eax
push ecx
mov dword [ebp - 0x8014], 0x104
mov dword [ebp - 0x801c], 0x7d00
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x40eac9
mov eax, dword [ebp - 0x8014]
mov dword [ebp - 0x8018], 1
cmp eax, 0x1e
jbe 0x40ea71
mov eax, 0x1e
xor edx, edx
mov dword [ebp - 0x8014], eax
mov word [ebp - 0x2d4], dx
mov edi, dword [ebp - 0x8024]
push edi
push ebx
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.0040d5d0
mov esi, eax
add esp, 0x10
test esi, esi
jle 0x40eac9
lea eax, [ebx + esi]
inc esi
mov ecx, edi
sub ecx, esi
mov byte [eax], 9
mov edx, dword [ebp - 0x801c]
dec ecx
push ecx
inc eax
push eax
push edx
lea eax, [ebp - 0x8010]
push eax
call fcn.0040d5d0
add esp, 0x10
test eax, eax
js 0x40eaba
add esi, eax
cmp esi, edi
jge 0x40eac4
mov byte [ebx + esi], 0
jmp 0x40eac9
mov byte [edi + ebx - 1], 0
mov ecx, dword [ebp - 0x8020]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x802c]
call fcn.0040c390
mov eax, dword [ebp - 0x8018]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004b7f56
mov esp, ebp
pop ebp
ret

Function at 0x40f2b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.0040e900
Function at 0x4119b0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0xc], 0
jne 0x4119ce
mov eax, dword [ebp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4119c2
sub eax, edx
mov dword [ebp + 0xc], eax
push ebx
push esi
push edi
xor esi, esi
xor bl, bl
xor edi, edi
dec dword [ebp + 0xc]
mov word [ebp - 7], si
mov byte [ebp - 8], bl
jns 0x4119f3
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov bl, byte [ebp - 7]
mov eax, dword [ebp + 8]
mov cl, byte [eax]
inc eax
mov byte [ebp - 1], cl
mov dword [ebp + 8], eax
cmp esi, 2
jle 0x411a8b
movzx edx, byte [ebp - 8]
shr dl, 2
movzx eax, dl
push eax
call fcn.00411950
movzx ecx, al
push ecx
call fcn.00411990
mov al, byte [ebp - 8]
and al, 3
mov dl, bl
shl al, 4
shr dl, 4
or al, dl
movzx eax, al
push eax
call fcn.00411950
movzx ecx, al
push ecx
call fcn.00411990
movzx edx, byte [ebp - 6]
and bl, 0xf
add bl, bl
shr dl, 6
add bl, bl
or bl, dl
movzx eax, bl
push eax
call fcn.00411950
movzx ecx, al
push ecx
call fcn.00411990
mov al, byte [ebp - 6]
and al, 0x3f
movzx edx, al
push edx
call fcn.00411950
movzx eax, al
push eax
call fcn.00411990
add esp, 0x20
add edi, 4
xor esi, esi
mov word [ebp - 7], si
mov byte [ebp - 8], 0
mov cl, byte [ebp - 1]
mov byte [ebp + esi - 8], cl
inc esi
dec dword [ebp + 0xc]
jns 0x4119f0
test esi, esi
je 0x4119e3
mov bl, byte [ebp - 8]
mov dl, bl
shr dl, 2
movzx eax, dl
push eax
call fcn.00411950
movzx ecx, al
push ecx
call fcn.00411990
mov dl, byte [ebp - 7]
and bl, 3
shr dl, 4
shl bl, 4
or bl, dl
movzx eax, bl
push eax
call fcn.00411950
movzx ecx, al
push ecx
call fcn.00411990
add esp, 0x10
dec esi
je 0x411b70
dec esi
je 0x411b39
dec esi
jne 0x411b81
mov al, byte [ebp - 7]
mov bl, byte [ebp - 6]
and al, 0xf
add al, al
mov dl, bl
add al, al
shr dl, 6
or al, dl
movzx eax, al
push eax
call fcn.00411950
movzx ecx, al
push ecx
call fcn.00411990
and bl, 0x3f
movzx edx, bl
push edx
call fcn.00411950
movzx eax, al
push eax
call fcn.00411990
add esp, 0x10
lea eax, [edi + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 7]
mov cl, byte [ebp - 6]
and al, 0xf
add al, al
add al, al
shr cl, 6
or al, cl
movzx edx, al
push edx
call fcn.00411950
movzx eax, al
push eax
call fcn.00411990
push 0x3d
call fcn.00411990
add esp, 0xc
lea eax, [edi + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x3d
call fcn.00411990
push 0x3d
call fcn.00411990
add esp, 8
lea eax, [edi + 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411b90
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 0xc], edi
jne 0x411bb2
mov eax, dword [ebp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x411ba6
sub eax, edx
mov dword [ebp + 0xc], eax
xor bl, bl
dec dword [ebp + 0xc]
mov dword [ebp - 0xc], edi
mov word [ebp - 7], di
mov byte [ebp - 8], bl
js 0x411d3c
mov esi, dword [ebp + 0x10]
jmp 0x411bd3
mov bl, byte [ebp - 7]
mov eax, dword [ebp + 8]
mov cl, byte [eax]
inc eax
mov byte [ebp - 1], cl
mov dword [ebp + 8], eax
cmp edi, 2
jle 0x411c5f
mov eax, dword [ebp - 0xc]
add eax, 4
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp + 0x14]
jg 0x411d01
mov dl, byte [ebp - 8]
shr dl, 2
movzx eax, dl
push eax
call fcn.00411950
mov byte [esi], al
mov al, byte [ebp - 8]
and al, 3
mov cl, bl
shl al, 4
shr cl, 4
or al, cl
movzx edx, al
push edx
call fcn.00411950
mov byte [esi + 1], al
movzx eax, byte [ebp - 6]
and bl, 0xf
add bl, bl
shr al, 6
add bl, bl
or bl, al
movzx ecx, bl
push ecx
call fcn.00411950
mov byte [esi + 2], al
mov al, byte [ebp - 6]
and al, 0x3f
movzx edx, al
push edx
call fcn.00411950
mov byte [esi + 3], al
add esp, 0x10
add esi, 4
xor edi, edi
mov word [ebp - 7], di
mov byte [ebp - 8], 0
mov al, byte [ebp - 1]
mov byte [ebp + edi - 8], al
inc edi
dec dword [ebp + 0xc]
jns 0x411bd0
test edi, edi
je 0x411d3c
mov eax, dword [ebp - 0xc]
add eax, 4
mov dword [ebp - 0xc], eax
cmp eax, dword [ebp + 0x14]
jg 0x411d01
mov bl, byte [ebp - 8]
mov cl, bl
shr cl, 2
movzx edx, cl
push edx
call fcn.00411950
and bl, 3
shl bl, 4
mov byte [ebp + 0xf], bl
mov bl, byte [ebp - 7]
mov byte [esi], al
mov al, byte [ebp + 0xf]
mov cl, bl
shr cl, 4
or al, cl
movzx edx, al
push edx
call fcn.00411950
add esp, 8
dec edi
mov byte [esi + 1], al
je 0x411d36
dec edi
je 0x411d0a
dec edi
jne 0x411d3c
movzx eax, byte [ebp - 6]
and bl, 0xf
add bl, bl
shr al, 6
add bl, bl
or bl, al
movzx ecx, bl
push ecx
call fcn.00411950
mov byte [esi + 2], al
mov al, byte [ebp - 6]
and al, 0x3f
movzx edx, al
push edx
call fcn.00411950
add esp, 8
pop edi
mov byte [esi + 3], al
mov eax, dword [ebp - 0xc]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 6]
and bl, 0xf
add bl, bl
shr al, 6
add bl, bl
or bl, al
movzx ecx, bl
push ecx
call fcn.00411950
add esp, 4
mov byte [esi + 2], al
mov eax, dword [ebp - 0xc]
pop edi
mov byte [esi + 3], 0x3d
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov word [esi + 2], 0x3d3d
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x411d50
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
jge 0x411d71
mov eax, ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x411d68
sub eax, esi
xor edx, edx
mov dword [ebp + 8], edi
mov dword [ebp - 4], edx
mov ebx, 0xaa
cmp eax, 2
jl 0x411daf
lea esi, [eax - 2]
shr esi, 1
inc esi
mov edx, esi
neg edx
lea eax, [eax + edx*2]
mov dword [ebp + 0xc], eax
movzx eax, byte [ecx + 1]
movzx edx, byte [ecx]
add dword [ebp + 8], edx
add edi, eax
xor eax, edx
xor ebx, eax
add ecx, 2
dec esi
jne 0x411d93
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
test eax, eax
jle 0x411db8
movzx edx, byte [ecx]
xor ebx, edx
mov ecx, dword [ebp + 8]
lea eax, [edi + ecx]
add eax, edx
shl eax, 8
movzx edx, bl
pop edi
and eax, 0xffff00
pop esi
or eax, edx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x413870
Capabilities:
Create thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x168]
push 0
push 0x13a
call edx
test eax, eax
jne 0x413895
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + 0x20]
push edi
push 0
push 0x1388
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
push 0
mov ecx, esi
call sub.mfc100u.dll_CWnd::ShowWindow
mov dword [0x5098c8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [ebp + 8]
lea ecx, [ebp - 4]
push ecx
push 0
push edx
push 0x4137a0
push 0
push 0
mov dword [0x5098c4], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
je 0x413920
mov eax, dword [0x5098c8]
test eax, eax
jne 0x413902
mov ecx, 0x50a900
call fcn.0043e020
test eax, eax
jne 0x4138e6
mov eax, dword [0x5098c8]
cmp eax, 0xfffffffe
jne 0x41392a
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
mov edx, dword [eax + 0x68]
mov ecx, esi
call edx
pop edi
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 8
test eax, eax
jle 0x413910
mov ecx, dword [0x5098bc]
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
mov edx, dword [0x5098c0]
push edi
mov dword [eax + 4], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi]
mov edx, dword [eax + 0x184]
mov ecx, esi
call edx
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x415aa0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0xd0]
push eax
push 0x20019
push 0
push str.SoftwarePRONTOColor
push closesocket
mov esi, ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x415b67
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push edi
xor edi, edi
lea ecx, [ebp - 0xdc]
push ecx
mov ecx, dword [ebp - 0xd0]
push edi
push edi
push edi
lea edx, [ebp - 0xd4]
push edx
lea eax, [ebp - 0xcc]
push eax
push edi
push ecx
mov dword [ebp - 0xd4], 0xc8
call ebx
test eax, eax
jne 0x415b58
lea edx, [ebp - 0xcc]
push edx
mov ecx, esi
call fcn.004149f0
lea eax, [ebp - 0xdc]
push eax
mov eax, dword [ebp - 0xd0]
push 0
push 0
push 0
lea ecx, [ebp - 0xd4]
push ecx
lea edx, [ebp - 0xcc]
push edx
inc edi
push edi
push eax
mov dword [ebp - 0xd4], 0xc8
call ebx
test eax, eax
je 0x415b16
mov ecx, dword [ebp - 0xd0]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
push 0
mov ecx, 0x509970
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
mov ecx, esi
call fcn.004149f0
push 0
mov ecx, 0x509974
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
mov ecx, esi
call fcn.004149f0
cmp dword [0x4f8574], 0
je 0x415c46
push 0
mov ecx, 0x50997c
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
mov ecx, esi
call fcn.004149f0
push 0
mov ecx, 0x50999c
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
mov ecx, esi
call fcn.004149f0
push 0
mov ecx, 0x509990
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
mov ecx, esi
call fcn.004149f0
push 0
mov ecx, 0x50998c
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
mov ecx, esi
call fcn.004149f0
push 0
mov ecx, 0x509980
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
mov ecx, esi
call fcn.004149f0
push 0
mov ecx, 0x509998
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
mov ecx, esi
call fcn.004149f0
push 0
mov ecx, 0x509984
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
mov ecx, esi
call fcn.004149f0
push 0
mov ecx, 0x509988
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
mov ecx, esi
call fcn.004149f0
push 0
lea ecx, [esi + 0x9c]
call dword [sym.imp.mfc100u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
mov ecx, esi
call fcn.004149f0
push 0
push eax
push 0x14e
push 0x463
mov ecx, esi
call sub.mfc100u.dll_CWnd::SendDlgItemMessageW
mov ecx, esi
call fcn.00415970
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
Function at 0x41c0d0
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x4ff94c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 0
push 0x188
push 0x406
mov edi, ecx
call sub.mfc100u.dll_CWnd::SendDlgItemMessageW
movzx eax, ax
push 0
push eax
push 0x199
push 0x406
mov ecx, edi
call sub.mfc100u.dll_CWnd::SendDlgItemMessageW
mov esi, dword [0x509e1c]
movzx eax, ax
movzx ecx, al
shr eax, 8
movzx eax, al
test esi, esi
je 0x41c227
movsx edx, word [esi]
cmp edx, ecx
jne 0x41c137
movsx edx, word [esi + 2]
cmp edx, eax
je 0x41c14e
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x41c128
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
push 0x4dab4c
push 0x407
mov ecx, edi
call sub.mfc100u.dll_CWnd::SetDlgItemTextW
xor eax, eax
mov word [esi + 8], ax
movsx eax, word [esi + 2]
dec eax
je 0x41c1a4
dec eax
je 0x41c192
dec eax
je 0x41c180
movsx ecx, word [esi]
sub ecx, 0x6f
push ecx
push str.macro_f_d
jmp 0x41c1b0
movsx eax, word [esi]
sub eax, 0x6f
push eax
push str.macro_csf_d
lea ecx, [ebp - 0x24]
push ecx
jmp 0x41c1b4
movsx edx, word [esi]
sub edx, 0x6f
push edx
push str.macro_cf_d
lea eax, [ebp - 0x24]
push eax
jmp 0x41c1b4
movsx ecx, word [esi]
sub ecx, 0x6f
push ecx
push str.macro_sf_d
lea edx, [ebp - 0x24]
push edx
call dword [sym.imp.MSVCR100.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
push 0
push 0x2001f
push 0
push 0x4dab4c
push 0
push str.SoftwarePRONTOSettings
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x41c20f
mov edx, dword [edi + 0x20]
push 0x30
push str.Pronto_Xi
push str.Cant_create_open_settings_registry_key
push edx
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b7f56
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004b7f56
mov esp, ebp
pop ebp
ret