joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002440
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
push edi
push 0x2001f
push dword [ebp + 8]
mov ebx, ecx
xor esi, esi
lea ecx, [ebp - 4]
push dword [ebx]
mov dword [ebp - 4], esi
call fcn.10002402
mov edi, eax
cmp edi, esi
je 0x10002480
cmp dword [ebp - 4], esi
je 0x10002479
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x1000251d
lea eax, [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x114]
mov dword [ebp - 8], 0x100
push eax
push esi
push dword [ebp - 4]
call edi
test eax, eax
jne 0x100024f1
lea eax, [ebp - 0x114]
lea ecx, [ebp - 4]
push eax
call fcn.10002440
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x100024de
lea eax, [ebp - 0x14]
mov dword [ebp - 8], 0x100
push eax
push esi
push esi
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 0x114]
push eax
push esi
push dword [ebp - 4]
jmp 0x100024a3
cmp dword [ebp - 4], esi
je 0x100024ec
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
jmp 0x1000251d
cmp dword [ebp - 4], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x10002504
push dword [ebp - 4]
call edi
mov dword [ebp - 4], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 4], esi
mov ebx, eax
je 0x1000251b
push dword [ebp - 4]
call edi
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x10002a6f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
mov dword [ebp - 4], edi
call fcn.1000299c
test eax, eax
jne 0x10002a99
push edi
push edi
push 0xc0000000
push 2
mov ecx, esi
call fcn.100029a0
test eax, eax
je 0x10002abe
cmp dword [ebp + 8], edi
je 0x10002abe
lea eax, [ebp - 4]
push edi
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10002ab9
mov dword [ebp - 4], edi
mov eax, dword [ebp - 4]
jmp 0x10002ac0
xor eax, eax
pop edi
pop esi
leave
ret 8

Function at 0x10002b38
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [ecx + 4]
push ebx
push esi
cmp eax, 0xffffffff
push edi
mov dword [ebp - 0xc], ecx
je 0x10002baa
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
xor ebx, ebx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 8]
push ebx
push ecx
lea ecx, [ebp - 1]
push 1
push ecx
push eax
mov byte [ebp - 1], bl
call esi
cmp dword [ebp - 8], ebx
jne 0x10002b71
xor eax, eax
jmp 0x10002bad
mov ecx, dword [ebp + 0xc]
mov eax, edi
sub eax, dword [ebp + 8]
cmp eax, dword [ecx]
jae 0x10002baa
mov al, byte [ebp - 1]
cmp edi, dword [ebp + 8]
mov byte [edi], al
jbe 0x10002b91
cmp al, 0xa
jne 0x10002b91
cmp byte [edi - 1], 0xd
je 0x10002baa
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 1]
push 1
push eax
mov eax, dword [ebp - 0xc]
inc edi
push dword [eax + 4]
call esi
cmp dword [ebp - 8], ebx
jne 0x10002b71
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x10002d72
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x2c]
mov ecx, ebx
call fcn.1000301f
and byte [ebp - 0x104], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
mov edi, 0x104
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov dword [esi + 0x30], eax
lea eax, [ebp - 0x104]
push eax
push 0x1000cd6c
push ebx
call fcn.10003245
mov esi, dword [esi + 0x30]
add esp, 0xc
test esi, esi
je 0x10002ddc
cmp esi, edi
jae 0x10002ddc
push 1
pop eax
jmp 0x10002dde
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10002ed2
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [section..data]
push esi
push edi
mov dword [ebp - 4], eax
push dword [ecx + 0x24]
lea eax, [ebp - 0x104]
push 0xff
push eax
push 0x10011ed0
push dword [ebp + 0xc]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x104]
push eax
call fcn.1000a9e0
mov esi, eax
inc esi
push esi
call fcn.10009841
mov edi, eax
push esi
push 0
push edi
call fcn.1000a550
lea eax, [ebp - 0x104]
push eax
push edi
call fcn.1000a8f0
mov ecx, dword [ebp + 8]
add esp, 0x1c
push edi
call fcn.1000260b
lea ecx, [ebp - 4]
call fcn.100025df
lea ecx, [ebp + 0xc]
call fcn.100025df
lea ecx, [ebp + 0x10]
call fcn.100025df
mov eax, dword [ebp + 8]
pop edi
pop esi
leave
ret 0xc
Function at 0x10003f41
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push dword [ebp + 0xc]
mov esi, ecx
push dword [ebp + 8]
mov dword [esi + 0x70], 0x1000cdd0
mov dword [0x10011f98], esi
mov dword [esi], 0x84
push esi
mov dword [esi + 0x64], 0x300
call fcn.10004006
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x10003f8a
push 0x10
push dword [ebp + 0x10]
push 0x10011f88
call fcn.1000a5b0
add esp, 0xc
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [esi + 0x18], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
cmp eax, 1
jbe 0x10003ff8
or dword [esi + 0x74], 0xffffffff
add eax, eax
xor ecx, ecx
test eax, 0x80000000
jne 0x10003fc2
shr dword [esi + 0x74], 1
shl eax, 1
inc ecx
cmp ecx, 0x20
jl 0x10003fb0
shr dword [esi + 0x74], 1
mov eax, dword [esi + 0x74]
push edi
lea eax, [eax*4 + 4]
push eax
push ebx
push dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov dword [esi + 0x78], eax
xor edi, edi
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ecx, dword [esi + 0x78]
mov dword [ecx + edi*4], eax
inc edi
cmp edi, dword [esi + 0x74]
jbe 0x10003fe0
pop edi
jmp 0x10003ffe
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
pop esi
xor eax, eax
pop ebx
leave
ret 0xc
Function at 0x10004381
Capabilities:
Get common file path
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5b8
push ebx
push esi
mov esi, 0x104
push edi
xor ebx, ebx
push esi
lea eax, [ebp - 0x4b4]
mov edi, 0x105
push ebx
mov dword [ebp - 4], ecx
push eax
mov dword [ebp - 0x10], edi
call fcn.1000a550
push esi
lea eax, [ebp - 0x3b0]
push ebx
push eax
call fcn.1000a550
add esp, 0x18
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4b4]
push eax
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x3b0]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
cmp dword [ebp - 8], ebx
je 0x100045c9
cmp eax, ebx
je 0x100045c9
push esi
lea eax, [ebp - 0x2ac]
push ebx
push eax
call fcn.1000a550
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpynA]
add esp, 0xc
mov ebx, 0x103
lea eax, [ebp - 0x4b4]
push ebx
push eax
lea eax, [ebp - 0x2ac]
push eax
call edi
lea eax, [ebp - 0x2ac]
push 0x1000d238
push eax
call fcn.1000a900
mov eax, dword [ebp - 4]
push dword [eax + 0x208]
lea eax, [ebp - 0x2ac]
push eax
call fcn.1000a900
push 0x94
lea eax, [ebp - 0x1a8]
push 0
push eax
call fcn.1000a550
add esp, 0x1c
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x1a8], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x100045c9
cmp dword [ebp - 0x198], 1
jne 0x100044aa
lea eax, [ebp - 0x3b0]
push str.Cookies
push eax
call fcn.1000a900
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x3b0]
add eax, esi
push ecx
push eax
call fcn.1000a8f0
add esp, 0x10
jmp 0x100044fc
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x3b0]
add eax, 0x104
push 4
push ecx
push eax
call edi
mov eax, dword [ebp - 4]
push str.Documents_and_Settings_
add eax, 0x104
push eax
call fcn.1000a900
lea eax, [ebp - 0x4b4]
push eax
mov eax, dword [ebp - 4]
add eax, 0x104
push eax
call fcn.1000a900
mov eax, dword [ebp - 4]
push str.Cookies
add eax, 0x104
push eax
call fcn.1000a900
add esp, 0x18
push esi
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.1000a550
add esp, 0xc
lea eax, [ebp - 0x2ac]
push ebx
push eax
lea eax, [ebp - 0x114]
push eax
call edi
lea eax, [ebp - 0x114]
push str._1_.txt
push eax
call fcn.1000a900
pop ecx
lea eax, [ebp - 0xc]
pop ecx
push eax
lea eax, [ebp - 0x5b8]
push eax
push esi
lea eax, [ebp - 0x114]
push 0
push eax
mov eax, dword [ebp - 4]
add eax, 0x104
push eax
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
jne 0x100045b7
push esi
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.1000a550
add esp, 0xc
lea eax, [ebp - 0x2ac]
push ebx
push eax
lea eax, [ebp - 0x114]
push eax
call edi
lea eax, [ebp - 0x114]
push str._2_.txt
push eax
call fcn.1000a900
pop ecx
lea eax, [ebp - 0xc]
pop ecx
push eax
lea eax, [ebp - 0x5b8]
push eax
push esi
lea eax, [ebp - 0x114]
push 0
push eax
mov eax, dword [ebp - 4]
add eax, 0x104
push eax
call dword [sym.imp.KERNEL32.dll_SearchPathA]
test eax, eax
je 0x100045c9
lea eax, [ebp - 0x114]
push ebx
push eax
push dword [ebp - 4]
call edi
push 1
pop eax
jmp 0x100045cb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100045d0
Capabilities:
Read file on windows
Set current directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.1000aa80
push esi
mov esi, ecx
push edi
xor edi, edi
lea eax, [esi + 0x104]
mov dword [ebp - 0x14], esi
push eax
mov dword [ebp - 0xc], edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
test eax, eax
je 0x1000474f
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
je 0x1000474f
mov esi, 0x1000
lea eax, [ebp - 0x101c]
push esi
push edi
push eax
call fcn.1000a550
add esp, 0xc
lea eax, [ebp - 0xc]
push edi
push eax
lea eax, [ebp - 0x101c]
push esi
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1000474f
mov eax, dword [section..data]
push ebx
xor ebx, ebx
mov dword [ebp - 4], eax
cmp dword [ebp - 0xc], ebx
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], edi
jbe 0x10004738
mov esi, 0x10011ed0
mov al, byte [ebp + edi - 0x101c]
cmp al, 0x2f
jne 0x10004689
cmp dword [ebp - 0x10], 0
jne 0x10004738
test ebx, ebx
je 0x1000469d
cmp al, 0x2a
jne 0x1000472e
xor ebx, ebx
inc edi
jmp 0x1000472e
cmp al, 0xa
je 0x100046ca
cmp al, 0x3d
je 0x100046ca
cmp al, 0x26
je 0x100046ca
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10004755
push eax
lea ecx, [ebp - 4]
call fcn.100026a0
lea ecx, [ebp - 0x1c]
call fcn.100025df
jmp 0x1000472e
mov eax, dword [ebp - 0x14]
push dword [eax + 0x20c]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x100046e9
mov dword [ebp - 0x10], 1
jmp 0x1000472e
cmp dword [ebp - 0x10], 0
je 0x10004722
mov eax, dword [ebp - 8]
push 2
cdq
pop ecx
idiv ecx
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 0x210]
test edx, edx
je 0x1000470f
lea ecx, [eax + 0x21c]
call fcn.10002524
push esi
lea ecx, [ebp - 4]
call fcn.1000276b
inc dword [ebp - 8]
jmp 0x1000472e
push 1
lea ecx, [ebp - 4]
pop ebx
push esi
call fcn.1000276b
inc edi
cmp edi, dword [ebp - 0xc]
jb 0x10004674
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 4]
call fcn.100025df
push 1
pop eax
pop ebx
jmp 0x10004751
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x10004802
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0x10004828
mov eax, dword [ebp + 8]
xor edx, edx
lea ecx, [esi + eax]
mov eax, esi
div dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
mov al, byte [edx + eax]
xor byte [ecx], al
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x1000480d
pop esi
pop ebp
ret
Function at 0x10005020
Capabilities:
Copy file
Move file

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push dword [esp + 0x18]
mov edi, dword [esp + 0x14]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ebx, eax
test ebx, ebx
jne 0x10005077
cmp dword [0x10011fa8], eax
jne 0x10005050
push esi
push edi
call fcn.10004e43
pop ecx
pop ecx
jmp 0x10005077
cmp dword [0x10011d6c], 2
jne 0x10005065
push 5
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
jmp 0x10005077
push str.WININIT.INI
push esi
push edi
push str.rename
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
pop edi
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x10005393
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x428
mov eax, dword [section..data]
push esi
mov esi, 0x100123cc
push edi
push esi
lea ecx, [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
call fcn.1000260b
lea eax, [ebp - 0x428]
push 0x410
mov edi, str.PATH
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea eax, [ebp - 0x428]
lea ecx, [ebp - 8]
push eax
call fcn.1000260b
push 0
push esi
lea ecx, [ebp - 8]
call fcn.100089a8
cmp eax, 0xffffffff
jne 0x10005431
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push 0x1000d5ac
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.1000303d
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.1000880c
push eax
lea ecx, [ebp - 4]
call fcn.100026a0
lea ecx, [ebp - 0x18]
call fcn.100025df
lea ecx, [ebp - 0x14]
call fcn.100025df
push dword [ebp - 4]
push edi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
lea ecx, [ebp - 8]
call fcn.100025df
lea ecx, [ebp - 0xc]
call fcn.100025df
lea ecx, [ebp - 0x10]
call fcn.100025df
lea ecx, [ebp - 4]
call fcn.100025df
pop edi
pop esi
leave
ret

Function at 0x100054f8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [section..data]
push str.cdn.dll
mov dword [ebp - 4], eax
push 0x10011fbc
lea eax, [ebp - 4]
push str._s_s
push eax
call fcn.10003245
push 1
push 0
push dword [ebp - 4]
call fcn.100090d1
add esp, 0x1c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call fcn.10005546
lea ecx, [ebp - 4]
call fcn.100025df
push 1
pop eax
leave
ret
Function at 0x10005c02
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov eax, dword [section..data]
mov dword [ebp - 8], eax
movzx eax, word [ebp - 0x1e]
push eax
movzx eax, word [ebp - 0x22]
push eax
movzx eax, word [ebp - 0x24]
push eax
lea eax, [ebp - 8]
push str._.4d_.2d_.2d
push eax
call fcn.10003245
add esp, 0x14
lea eax, [ebp - 0x14]
xor edi, edi
push eax
lea eax, [ebp - 4]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push str.SOFTWARECNNICCdnClientUpdate
push 0x80000002
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, edi
jne 0x10005d56
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
mov esi, dword [ebp - 8]
push esi
call ebx
inc eax
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push edi
push str.NextUpdateTime
push dword [ebp - 4]
call esi
push 0x10011ed0
call ebx
inc eax
push eax
push 0x10011ed0
push 1
pop ebx
push ebx
push edi
push str.LastUpdateTime
push dword [ebp - 4]
call esi
mov eax, dword [0x10011fa8]
cmp eax, edi
jne 0x10005cbf
push 4
mov dword [ebp - 0x10], edi
pop ebx
lea eax, [ebp - 0x10]
push ebx
jmp 0x10005cdd
cmp eax, ebx
jne 0x10005ccf
push 4
mov dword [ebp - 0x10], ebx
pop ebx
lea eax, [ebp - 0x10]
push ebx
jmp 0x10005cdd
push 4
mov dword [ebp - 0x10], 2
pop ebx
lea eax, [ebp - 0x10]
push ebx
push eax
push ebx
push edi
push str.RelayUpdate
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], edi
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
push str.FeedBack
mov dword [ebp - 0x14], edi
push dword [ebp - 4]
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 0xc]
push ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push ebx
push edi
push str.FeedBack
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x14]
push ebx
push eax
push ebx
push edi
push str.UpdateByIE
push dword [ebp - 4]
mov dword [ebp - 0x14], edi
call esi
cmp dword [ebp - 4], edi
pop esi
pop ebx
je 0x10005d49
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 8]
call fcn.100025df
push 1
pop eax
jmp 0x10005d60
lea ecx, [ebp - 8]
call fcn.100025df
xor eax, eax
pop edi
leave
ret
Function at 0x10005d63
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
lea eax, [ebp - 0x2c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov eax, dword [section..data]
mov dword [ebp - 4], eax
movzx eax, word [ebp - 0x26]
push eax
movzx eax, word [ebp - 0x2a]
push eax
movzx eax, word [ebp - 0x2c]
push eax
lea eax, [ebp - 4]
push str._.4d_.2d_.2d
push eax
call fcn.10003245
add esp, 0x14
lea eax, [ebp - 0x10]
xor ebx, ebx
push eax
lea eax, [ebp - 8]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SOFTWARECNNICCdnClientInstallInfo
push 0x80000002
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x10005e35
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x1b]
mov byte [ebp - 0x1c], bl
mov esi, str.InsTime
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosb byte es:[edi], al
lea eax, [ebp - 0xc]
mov edi, dword [ebp - 8]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x10]
push eax
push ebx
push esi
push edi
mov dword [ebp - 0xc], 0xa
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10005e1b
mov eax, dword [ebp - 4]
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp - 0x10]
push 1
push ebx
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp edi, ebx
je 0x10005e26
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 4]
call fcn.100025df
push 1
pop eax
pop edi
pop esi
jmp 0x10005e3f
lea ecx, [ebp - 4]
call fcn.100025df
xor eax, eax
pop ebx
leave
ret

Function at 0x100060fc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SOFTWARECNNICCdnClientRunAct
push 0x80000002
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x10006159
lea eax, [ebp - 8]
push 4
push eax
push 4
push esi
push str.HoldMode
push dword [ebp - 4]
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 4], esi
je 0x10006154
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
jmp 0x1000615b
xor eax, eax
pop esi
leave
ret
Function at 0x1000615e
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push edi
push 1
xor ebx, ebx
pop edx
xor eax, eax
push 0x40
lea edi, [ebp - 0x113]
pop ecx
mov byte [ebp - 0x114], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ax, word [0x10011fb0]
mov dword [ebp - 0xc], edx
cmp ax, bx
mov dword [ebp - 8], ebx
jne 0x100061a1
push str.SOFTWAREMicrosoftInternet_ExplorerMenuExt
push 0x1000d99c
jmp 0x100061b7
cmp ax, dx
push str.SOFTWAREMicrosoftInternet_ExplorerMenuExt
jne 0x100061b2
push 0x1000d98c
jmp 0x100061b7
push str._sAccess_Internet_Keyword
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0xf003f
push ebx
push ebx
lea eax, [ebp - 0x114]
push ebx
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x1000627c
mov eax, dword [section..data]
mov edi, dword [ebp - 4]
push esi
mov dword [ebp - 4], eax
push str.cnnic.htm
push 0x100123cc
lea eax, [ebp - 4]
push str._s_s
push eax
mov dword [ebp - 8], edi
call fcn.10003245
mov esi, dword [ebp - 4]
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 1
push ebx
push 0x10011ed0
push edi
call esi
test eax, eax
je 0x10006244
mov dword [ebp - 0xc], ebx
lea eax, [ebp - 0x10]
push 4
push eax
push 4
push ebx
push str.Contexts
push edi
mov dword [ebp - 0x10], 0x7f
call esi
test eax, eax
pop esi
je 0x10006264
mov dword [ebp - 0xc], ebx
cmp edi, ebx
je 0x10006272
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 8], ebx
lea ecx, [ebp - 4]
call fcn.100025df
jmp 0x1000627f
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 8], ebx
pop edi
pop ebx
je 0x1000628f
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0xc]
leave
ret
Function at 0x100062c5
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [section..data]
push ebx
push esi
push edi
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
push str.cdnvers.dat
push 0x100123cc
lea eax, [ebp - 0xc]
push str._s_s
push eax
call fcn.10003245
add esp, 0x10
lea eax, [ebp - 0xc]
push 3
push 0x1000cd68
push 1
push ecx
mov ecx, esp
push eax
call fcn.100042f1
lea ecx, [ebp - 0x4c]
call fcn.10002bb4
push ecx
mov ecx, esp
push str.DispVer
call fcn.1000260b
push ecx
mov esi, 0x1000da08
mov ecx, esp
push esi
call fcn.1000260b
lea eax, [ebp - 8]
lea ecx, [ebp - 0x4c]
push eax
call fcn.10002ed2
push eax
lea ecx, [ebp - 4]
call fcn.100026a0
lea ecx, [ebp - 8]
call fcn.100025df
mov eax, dword [ebp - 4]
xor edi, edi
cmp dword [eax - 8], edi
jne 0x10006369
push str.2.0.0.0
lea eax, [ebp - 4]
push 0x1000cd6c
push eax
call fcn.10003245
add esp, 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 8], edi
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0xf003f
push edi
push edi
push edi
push str.SOFTWARECNNICCdnClientDisplay
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, edi
jne 0x100063bc
mov ebx, dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push ebx
push 1
push edi
push esi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 8], edi
je 0x100063b9
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop edi
lea ecx, [ebp - 0x4c]
call fcn.10002d06
lea ecx, [ebp - 4]
call fcn.100025df
lea ecx, [ebp - 0xc]
call fcn.100025df
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100065b2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 4]
xor esi, esi
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push str.SOFTWARECNNICCdnClientConsole
push 0x80000001
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x1000660a
lea eax, [ebp - 8]
push 4
push eax
push 4
push esi
push str.EnableMailW
push dword [ebp - 4]
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
cmp dword [ebp - 4], esi
je 0x1000660a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret