joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41b4b0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4de58b
push eax
mov eax, dword [0x52790c]
mov dword fs:[0], esp
sub esp, 0x804
mov ecx, dword [eax + 0x258]
push ebx
push esi
mov esi, dword [esp + 0x81c]
push edi
test ecx, ecx
jne 0x41b4fb
mov ecx, dword [esi]
cmp dword [ecx - 8], 0x104
jl 0x41b4fb
mov ecx, esi
call fcn.004c5712
jmp 0x41b59a
mov eax, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea edx, [esp + 0x14]
push 0x800
push edx
push 0x5269d8
push 0x51ca78
push str.InternetShortcut
call ebx
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x41b58e
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push esi
call fcn.004c54fc
lea eax, [esp + 0x10]
push eax
call fcn.0041b250
add esp, 8
push eax
mov ecx, esi
mov dword [esp + 0x81c], 0
call fcn.004c58c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x818], 0xffffffff
call fcn.004c5787
mov ecx, dword [esi]
lea edx, [esp + 0x10]
push ecx
push 0x800
push edx
push 0x5269d8
push 0x51ca78
push str.InternetShortcut
call ebx
lea eax, [esp + 0x10]
mov ecx, esi
push eax
call fcn.004c5910
mov ecx, dword [esp + 0x810]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x810
ret

Function at 0x41b5c0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4de5ab
push eax
mov eax, dword [0x52790c]
mov dword fs:[0], esp
sub esp, 0x804
mov ecx, dword [eax + 0x258]
push ebx
push esi
mov esi, dword [esp + 0x81c]
push edi
test ecx, ecx
jne 0x41b625
mov ecx, dword [esi]
cmp dword [ecx - 8], 0x104
jl 0x41b625
mov edx, dword [esp + 0x824]
mov eax, dword [esp + 0x828]
mov ecx, esi
mov dword [edx], 0xffffffff
mov dword [eax], 0
call fcn.004c5712
jmp 0x41b6fe
mov eax, dword [esi]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea ecx, [esp + 0x14]
push 0x800
push ecx
push 0x5269d8
push 0x51ca78
push str.InternetShortcut
call ebx
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x41b6b8
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push esi
call fcn.004c54fc
lea edx, [esp + 0x10]
push edx
call fcn.0041b250
add esp, 8
push eax
mov ecx, esi
mov dword [esp + 0x81c], 0
call fcn.004c58c0
lea ecx, [esp + 0xc]
mov dword [esp + 0x818], 0xffffffff
call fcn.004c5787
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push eax
push 0x800
push ecx
push 0x5269d8
push 0x51ca78
push str.InternetShortcut
call ebx
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0xffffffffffffffff
push str.Property
push str.InternetShortcut
call edi
mov edx, dword [esp + 0x824]
mov dword [edx], eax
mov eax, dword [esi]
push eax
push 0
push str.AutoRunCmd
push str.InternetShortcut
call edi
mov ecx, dword [esp + 0x828]
lea edx, [esp + 0x10]
push edx
mov dword [ecx], eax
mov ecx, esi
call fcn.004c5910
mov ecx, dword [esp + 0x810]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x810
ret
Function at 0x41b720
Capabilities:
Check os version

Disassembly:
sub esp, 0xa0
push esi
push str.ntdll.dll
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
mov esi, 2
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
je 0x41b774
push str.RtlGetNtVersionNumbers
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41b774
lea ecx, [esp + 0xc]
lea edx, [esp + 4]
push ecx
lea ecx, [esp + 0xc]
push edx
push ecx
call eax
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x41b7b4
lea edx, [esp + 0x10]
mov dword [esp + 0x10], 0x94
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x41b7a1
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
jmp 0x41b7a9
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
test ecx, ecx
je 0x41b805
cmp esi, 2
jne 0x41b805
jmp 0x41b7b8
mov eax, dword [esp + 4]
cmp ecx, 6
jb 0x41b7e1
cmp eax, 2
jb 0x41b7cf
mov eax, 8
pop esi
add esp, 0xa0
ret
dec eax
pop esi
neg eax
sbb eax, eax
and al, 0xfc
add eax, 7
add esp, 0xa0
ret
cmp ecx, 5
jb 0x41b7f8
cmp eax, 1
jb 0x41b7f8
mov eax, 2
pop esi
add esp, 0xa0
ret
mov eax, 1
pop esi
add esp, 0xa0
ret
xor eax, eax
pop esi
add esp, 0xa0
ret

Function at 0x41b890
Capabilities:
Get file system object information

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x160
lea eax, [esp]
push esi
push 0x4001
push 0x160
push eax
push 0
push ecx
or esi, 0xffffffff
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
je 0x41b8be
mov esi, dword [esp + 8]
lea ecx, [esp + 0x168]
call fcn.004c5787
mov eax, esi
pop esi
add esp, 0x160
ret
Function at 0x41c720
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x4de6ef
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [0x52251c]
push ebx
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea ecx, [esp + 4]
mov dword [esp + 0x28], 1
call fcn.004c5712
mov ebx, dword [esp + 0x34]
shr ebx, 0x18
test bl, 8
je 0x41c775
push 0x51cb4c
lea ecx, [esp + 8]
call fcn.004c5b63
test bl, 4
je 0x41c7a1
mov ecx, dword [esp + 4]
mov eax, dword [ecx - 8]
test eax, eax
je 0x41c793
push 0x51cb48
lea ecx, [esp + 8]
call fcn.004c5b63
push 0x51cb40
lea ecx, [esp + 8]
call fcn.004c5b63
test bl, 0x10
pop ebx
je 0x41c7ce
mov edx, dword [esp]
mov eax, dword [edx - 8]
test eax, eax
je 0x41c7c0
push 0x51cb48
lea ecx, [esp + 4]
call fcn.004c5b63
push 0x51cb3c
lea ecx, [esp + 4]
call fcn.004c5b63
mov ecx, dword [esp]
xor eax, eax
mov al, byte [esp + 0x32]
push esi
mov esi, eax
mov eax, dword [ecx - 8]
test eax, eax
je 0x41c7f0
push 0x51cb48
lea ecx, [esp + 8]
call fcn.004c5b63
cmp si, 0x21
jb 0x41c80b
cmp si, 0x2f
ja 0x41c80b
and esi, 0xffff
mov edx, dword [esi*4 + 0x51c608]
jmp 0x41c84a
cmp si, 0x6f
jne 0x41c818
push str.Num__
jmp 0x41c84b
cmp si, 0x90
jne 0x41c826
push str.Num_Lock
jmp 0x41c84b
and esi, 0xffff
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
lea ecx, [esp + 0xc]
push 0x14
shl eax, 0x10
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
lea edx, [esp + 0xc]
push edx
lea ecx, [esp + 8]
call fcn.004c5b63
mov esi, dword [esp + 0x30]
lea eax, [esp + 4]
push eax
mov ecx, esi
call fcn.004c54fc
mov dword [esp + 8], 1
lea ecx, [esp + 4]
mov byte [esp + 0x28], 0
call fcn.004c5787
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x41e420
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x4de978
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x20]
lea ecx, [esi + 0xe4]
push eax
lea edx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x24], 0
call fcn.004c59b6
push ecx
lea eax, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
mov byte [esp + 0x20], 1
call fcn.004c54fc
call fcn.004156a0
add esp, 4
test eax, eax
je 0x41e505
lea ecx, [esp + 8]
push str..bak
lea edx, [esp + 0x10]
push ecx
push edx
call fcn.004c5a1c
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
push eax
mov eax, dword [esp + 0x10]
push eax
call edi
lea ecx, [esp + 0xc]
call fcn.004c5787
mov eax, dword [esp + 0x24]
test eax, eax
je 0x41e505
lea ecx, [esp + 0x20]
add esi, 0xd8
push ecx
lea edx, [esp + 0x10]
push esi
push edx
call fcn.004c59b6
push str..default
push eax
lea eax, [esp + 0x2c]
mov byte [esp + 0x20], 2
push eax
call fcn.004c5a1c
mov ecx, dword [esp + 8]
mov eax, dword [eax]
push 0
push ecx
push eax
call edi
lea ecx, [esp + 0x24]
call fcn.004c5787
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 1
call fcn.004c5787
lea ecx, [esp + 8]
mov byte [esp + 0x18], 0
call fcn.004c5787
lea ecx, [esp + 0x20]
mov dword [esp + 0x18], 0xffffffff
call fcn.004c5787
mov ecx, dword [esp + 0x10]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 8
Function at 0x41f970
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x18], ebx
mov dword [ebx + 0x108], 1
call fcn.004d72f1
mov eax, dword [eax + 8]
mov ebp, 0x84
push eax
push 0x51cb58
push 0x527058
mov dword [0x5270c8], 0x51cba0
mov dword [0x5270e4], 0x527058
mov dword [0x527058], ebp
mov dword [0x5270bc], 0x300
call fcn.00420c50
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x5270dc], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov cx, word [0x51d300]
mov dl, byte [0x51d302]
mov word [esp + 0x10], cx
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, 0x527058
mov byte [esp + 0x1a], dl
call fcn.0041f920
mov esi, eax
test esi, esi
je 0x41fa39
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push str.UnregServer
push esi
call edi
test eax, eax
je 0x41fa7c
push str.RegServer
push esi
call edi
test eax, eax
je 0x41faa1
lea edx, [esp + 0x10]
mov ecx, 0x527058
push edx
push esi
call fcn.0041f920
mov esi, eax
test esi, esi
jne 0x41fa0b
mov edx, 0x527058
test edx, edx
je 0x41fb9e
mov esi, dword [0x527068]
xor edi, edi
cmp dword [esi], 0
je 0x41fbb2
mov ebp, dword [sym.imp.ole32.dll_CoRegisterClassObject]
lea ebx, [esi + 0x14]
test edi, edi
jne 0x41fb98
mov eax, dword [esi + 8]
mov dword [esp + 0x14], edi
test eax, eax
jne 0x41fb41
jmp 0x41fb76
push 0
push 0
push 0
push 0x66
push 0x527058
call fcn.00420f70
push 0
push 1
push 0x527058
call fcn.00420ee0
jmp 0x41fb23
push 0
push 0
push 1
push 0x66
push 0x527058
call fcn.00420f70
mov eax, 0x527058
test eax, eax
je 0x41fb23
mov esi, dword [0x527068]
xor edi, edi
cmp dword [esi], 0
je 0x41fb17
mov eax, dword [esi + 0x18]
test eax, eax
je 0x41fad6
call eax
test eax, eax
jne 0x41fafd
push 1
call dword [esi + 4]
mov edi, eax
test edi, edi
jl 0x41fb23
cmp dword [0x527058], ebp
jne 0x41fafd
push 1
call dword [esi + 0x1c]
mov ecx, dword [esi]
push eax
push ecx
call fcn.00420db0
mov edi, eax
test edi, edi
jl 0x41fb23
cmp dword [0x527058], 0x64
jne 0x41fb0b
add esi, 0x1c
jmp 0x41fb0e
add esi, 0x24
cmp dword [esi], 0
jne 0x41fac9
test edi, edi
jl 0x41fb23
push 0
push 0x527058
call fcn.004213f0
push 0x527058
mov dword [ebx + 0x108], 0
call fcn.00420ce0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x14]
push ecx
push 0x4fcf78
push edx
call eax
mov edi, eax
test edi, edi
jl 0x41fb68
mov eax, dword [esp + 0x14]
mov ecx, dword [esi]
push ebx
push 1
push 4
push eax
push ecx
call ebp
mov edi, eax
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41fb76
mov edx, dword [eax]
push eax
call dword [edx + 8]
cmp dword [0x527058], 0x64
jne 0x41fb87
add esi, 0x1c
add ebx, 0x1c
jmp 0x41fb8d
add esi, 0x24
add ebx, 0x24
cmp dword [esi], 0
jne 0x41fa60
test edi, edi
jge 0x41fbb2
mov ebx, dword [esp + 0x18]
pop edi
pop esi
mov dword [ebx + 0x108], 0
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret
Function at 0x42d5c0
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfcd0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0x88]
mov dword [ebp - 0x10], esp
cmp eax, ebx
jne 0x42d709
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
call fcn.00413440
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x18], edi
je 0x42d709
mov eax, dword [edi]
lea ecx, [ebp - 0x14]
push ecx
push edi
call dword [eax + 0x1b0]
cmp eax, ebx
jl 0x42d6eb
mov edx, dword [0x52790c]
cmp dword [edx + 0x620], ebx
je 0x42d6cf
mov ecx, dword [esi + 0xfc]
lea eax, [ebp - 0x28]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x24]
sub eax, ecx
mov ecx, dword [0x52790c]
cdq
idiv dword [ecx + 0x620]
mov edx, dword [esi + 0x1d0]
inc edx
mov ecx, edx
mov dword [esi + 0x1d0], edx
cmp ecx, eax
jl 0x42d6eb
mov edx, dword [0x52790c]
cmp dword [edx + 0x620], 1
jne 0x42d699
push ebx
push ebx
push ebx
push 0x22
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push eax
push 0x22
call dword [sym.imp.USER32.dll_keybd_event]
mov dword [esi + 0x1d0], ebx
jmp 0x42d6eb
mov edi, 0xa
mov eax, dword [esi + 0x1d0]
cmp eax, ebx
jle 0x42d6c4
cmp eax, edi
jl 0x42d6ae
mov eax, edi
mov ecx, dword [ebp - 0x14]
push eax
push ebx
push ecx
mov edx, dword [ecx]
call dword [edx + 0x118]
sub dword [esi + 0x1d0], edi
jmp 0x42d69e
mov edi, dword [ebp - 0x18]
mov dword [esi + 0x1d0], ebx
jmp 0x42d6eb
mov eax, dword [ebp - 0x14]
push 1
push ebx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x118]
jmp 0x42d6eb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 2
cmp eax, ebx
je 0x42d6ff
mov edx, dword [eax]
push eax
call dword [edx + 8]
cmp edi, ebx
je 0x42d709
mov eax, dword [edi]
push edi
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c170
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e1b88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x10], esp
xor edi, edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
cmp eax, edi
jl 0x43c1f6
lea ecx, [ebp - 0x18]
push ecx
push 6
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
cmp eax, edi
je 0x43c1c2
xor esi, esi
jmp 0x43c1d5
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x124]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
mov esi, eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp esi, edi
mov dword [ebp - 0x14], edi
je 0x43c28e
mov esi, dword [ebp + 8]
lea edx, [ebp - 0x124]
push edx
mov ecx, esi
call fcn.004c5910
push 1
push 0x5c
lea ecx, [ebp - 0x1c]
call fcn.004bd113
lea eax, [ebp - 0x20]
push 1
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.004bd68d
mov esi, dword [ebp - 0x1c]
mov eax, dword [eax]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x43c251
test cl, cl
je 0x43c24d
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x43c251
add eax, 2
add esi, 2
test cl, cl
jne 0x43c229
xor eax, eax
jmp 0x43c256
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
lea ecx, [ebp - 0x20]
setne bl
ret
call fcn.004c5787
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0
call fcn.004c5787
test bl, bl
je 0x43c27d
mov ecx, dword [ebp + 8]
push 0x5c
call fcn.004c5b8a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x124]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x124]
push ecx
push str._s_favorites_
push edx
call fcn.004bdb29
mov ecx, dword [ebp - 0xc]
add esp, 0xc
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43c940
Capabilities:
Get file version info

Disassembly:
sub esp, 0x18
mov ecx, dword [0x51e304]
mov dx, word [0x51e308]
mov eax, dword [str.mshtml.dll]
push ebx
mov dword [esp + 0x14], ecx
push esi
mov word [esp + 0x1c], dx
lea ecx, [esp + 8]
push edi
mov dword [esp + 0x18], eax
mov al, byte [0x51e30a]
lea edx, [esp + 0x18]
xor ebx, ebx
push ecx
push edx
mov byte [esp + 0x2a], al
mov dword [esp + 0x14], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
cmp edi, ebx
je 0x43c9e5
push edi
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
cmp esi, ebx
je 0x43c9e5
mov eax, dword [esp + 0xc]
push esi
push edi
lea ecx, [esp + 0x20]
push eax
push ecx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x43c9de
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
push 0x51c594
push esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x43c9de
cmp dword [esp + 0x10], ebx
je 0x43c9de
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx + 8]
shr ebx, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x440f30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e1fc7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x28]
push esi
push edi
xor edi, edi
cmp eax, 0x7f
mov dword [esp + 0x18], edi
jne 0x440f7c
mov esi, dword [esp + 0x2c]
push 0x5272a8
mov ecx, esi
call fcn.004c54fc
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
push ebx
push 0x5272a8
lea ecx, [esp + 0x10]
call fcn.004c54fc
mov eax, dword [0x52251c]
mov dword [esp + 0x28], 1
mov dword [esp + 0x10], eax
mov bl, 2
mov byte [esp + 0x28], bl
push 0x20
lea ecx, [esp + 0x10]
call fcn.004c5c4e
mov esi, eax
test esi, esi
jge 0x440fc3
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.004c58c0
jmp 0x44102c
lea edx, [esp + 0x14]
push esi
push edx
lea ecx, [esp + 0x14]
call fcn.004bd709
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 3
call fcn.004c58c0
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.004c5787
mov eax, dword [esp + 0xc]
lea ecx, [esp + 0x18]
mov eax, dword [eax - 8]
sub eax, esi
dec eax
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.004bd68d
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 4
call fcn.004c58c0
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.004c5787
lea ecx, [esp + 0xc]
call fcn.004bdc60
test esi, esi
jl 0x44103c
cmp edi, dword [esp + 0x34]
je 0x44103c
inc edi
jmp 0x440fa2
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.004c54fc
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 1
mov byte [esp + 0x28], 1
call fcn.004c5787
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 0
call fcn.004c5787
mov ecx, dword [esp + 0x20]
pop ebx
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x442dc0
Capabilities:
Delete registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e21f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x148
mov eax, dword [0x51c884]
push ebx
push esi
mov esi, ecx
push edi
xor ecx, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x24], ecx
xor ebx, ebx
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push SysReAllocString
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x20], cl
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
lea edx, [ebp - 0x18]
push edx
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
test eax, eax
jne 0x442eec
lea eax, [ebp - 0x154]
mov dword [ebp - 0x50], 1
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0xe70]
mov dword [ebp - 0x44], 0x104
push ebx
mov ecx, dword [eax + 0x1c]
push ebx
push 0x146
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0x18
mov dword [ebp - 0x1c], eax
jle 0x442e67
mov dword [ebp - 0x1c], 0x18
xor eax, eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x1c]
jge 0x442ee2
mov ecx, dword [esi + 0xe70]
lea edx, [ebp - 0x50]
push edx
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x154], 0
call fcn.004bf1c3
lea eax, [ebp - 0x25]
lea esi, [ebx + 1]
push 0xa
push eax
push esi
call fcn.004b0136
mov edx, dword [ebp - 0x48]
add esp, 0xc
test edx, edx
je 0x442ed0
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x442ed0
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
mov edx, dword [ebp - 0x18]
push 1
lea ecx, [ebp - 0x28]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, esi
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x14], eax
jmp 0x442e6c
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x443f50
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x83c
mov eax, dword [0x51c884]
mov dword [esp + 0x14], ecx
lea edx, [esp]
push esi
xor ecx, ecx
push edx
mov dword [esp + 0x14], ecx
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push SysReAllocString
mov dword [esp + 0x18], eax
mov byte [esp + 0x20], cl
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x444055
push ebx
lea eax, [esp + 0x13]
push 0xa
push eax
push esi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x18], 0x800
call fcn.004b0136
add esp, 0xc
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x44]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
lea eax, [esp + 0x1c]
push 0
push eax
push ecx
call ebx
test eax, eax
jne 0x444049
push edi
lea edi, [esp + 0x48]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x444011
lea edx, [esi - 1]
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x48]
push ecx
mov ecx, dword [edx + 0xe70]
mov dword [esp + 0x30], eax
call fcn.004bf1da
lea eax, [esp + 0x17]
inc esi
push 0xa
push eax
push esi
call fcn.004b0136
add esp, 0xc
lea ecx, [esp + 0x10]
lea edx, [esp + 0x48]
lea eax, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x10]
push edx
push 0
push 0
push eax
push ecx
mov dword [esp + 0x28], 0x800
call ebx
test eax, eax
je 0x443fde
pop edi
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
pop esi
add esp, 0x83c
ret

Function at 0x444a60
Capabilities:
Delete registry value

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
push esi
push 0
mov eax, dword [ebx + 0xe70]
push 0
push 0x14b
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [0x51c884]
lea ecx, [esp + 8]
xor eax, eax
push ecx
mov dword [esp + 0x14], eax
push str.SoftwareMicrosoftInternet_ExplorerTypedUrls
push SysReAllocString
mov dword [esp + 0x18], edx
mov byte [esp + 0x20], al
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x444b0d
push edi
lea edx, [esp + 0x13]
push 0xa
push edx
push esi
call fcn.004b0136
mov ecx, dword [esp + 0x18]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push ecx
call edi
test eax, eax
jne 0x444afa
lea edx, [esp + 0x13]
inc esi
push 0xa
push edx
push esi
call fcn.004b0136
mov ecx, dword [esp + 0x18]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
push ecx
call edi
test eax, eax
je 0x444ad9
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, ebx
call fcn.00443f50
pop edi
pop esi
pop ebx
add esp, 0x10
ret