joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e970
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598941
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x220
push ebx
mov edx, dword [0x6614e8]
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x1c]
push eax
push ecx
push 0
push 0
mov ebx, 4
push edi
push edx
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
test esi, esi
jne 0x40e9dc
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp esi, 2
jne 0x40ea76
mov ecx, dword [0x6614e8]
lea eax, [ebp - 0x14]
push ebx
push eax
push ebx
push 0
push edi
push ecx
mov dword [ebp - 0x14], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
test esi, esi
je 0x40ea5e
lea ecx, [ebp - 0x124]
call fcn.00477f00
mov edx, dword [0x65ca8c]
mov dword [ebp + 8], edx
push esi
lea eax, [ebp + 8]
push str.RegSetValueEx_err__ld_in_CBrInt:ReadIntFrReg_n
push eax
mov byte [ebp - 4], 2
call fcn.0057f8fb
mov ecx, dword [ebp + 8]
add esp, 0xc
push 1
push ecx
lea ecx, [ebp - 0x124]
call fcn.00478010
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00586b33
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.00478000
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x124]
call fcn.00477f00
mov edx, dword [0x65ca8c]
mov dword [ebp + 8], edx
push esi
lea eax, [ebp + 8]
push str.Error__ld_in_CBrInt:ReadIntFrReg_n
push eax
mov byte [ebp - 4], bl
call fcn.0057f8fb
mov ecx, dword [ebp + 8]
add esp, 0xc
push 1
push ecx
lea ecx, [ebp - 0x124]
call fcn.00478010
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00586b33
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
jmp 0x40ea59

Function at 0x40eb00
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59896e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], esp
push 4
xor ebx, ebx
push ecx
mov dword [ebp - 0x14], eax
mov eax, dword [0x6614e8]
push 4
push ebx
push edx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
cmp esi, ebx
jne 0x40eb66
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp - 0x11c]
call fcn.00477f00
mov ecx, dword [0x65ca8c]
mov dword [ebp + 0xc], ecx
push esi
lea edx, [ebp + 0xc]
push str.RegSetValueEx_err__ld_in_CBrInt:SaveIntToReg_n
push edx
mov byte [ebp - 4], 2
call fcn.0057f8fb
mov eax, dword [ebp + 0xc]
add esp, 0xc
lea ecx, [ebp - 0x11c]
push 1
push eax
call fcn.00478010
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call fcn.00586b33
lea ecx, [ebp - 0x11c]
mov byte [ebp - 4], bl
call fcn.00478000
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40ec10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59898b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x248
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x660ff8
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00586cbc
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp + 8]
push eax
push 0xf003f
push 0
push str.SOFTWARENetscapeNetscape_6
push reloc.WSOCK32.dll_bind
call esi
test eax, eax
jne 0x40edd9
lea ecx, [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x48]
push ecx
push edx
push eax
push eax
mov eax, dword [ebp + 8]
push str.CurrentVersion
push eax
mov dword [ebp - 0x14], 0x32
call edi
test eax, eax
jne 0x40edd9
lea ecx, [ebp + 8]
lea edx, [ebp - 0x48]
push ecx
push 0xf003f
push eax
mov eax, dword [ebp + 8]
push edx
push eax
call esi
test eax, eax
jne 0x40edd9
mov edx, dword [ebp + 8]
lea ecx, [ebp + 8]
push ecx
push 0xf003f
push eax
push str.Main
push edx
call esi
test eax, eax
jne 0x40edd9
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x14c]
push eax
push ecx
push 0
push 0
push str.Install_Directory
push edx
mov dword [ebp - 0x14], 0x104
call edi
test eax, eax
jne 0x40edd9
lea edi, [ebp - 0x14c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ebp + ecx - 0x14d], 0x5c
je 0x40ed43
mov edi, 0x6384b8
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x14c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Plugins_
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x14c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x14c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00586cbc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40ee90
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [esp + 0x114]
push esi
push edi
push 0x660ff8
mov ecx, ebx
call fcn.00586cbc
lea eax, [esp + 0x10]
push eax
push 0xf003f
push 0
push str.SoftwareOpera_Software
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40eeda
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10c
ret 4
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
mov edi, 0x104
push str.Last_Directory
push eax
mov dword [esp + 0x24], edi
call esi
test eax, eax
je 0x40ef8e
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push str.Last_CommandLine
push eax
mov dword [esp + 0x24], edi
call esi
test eax, eax
je 0x40ef5d
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push edx
push 0
push 0
push str.Last_Directory2
push eax
mov dword [esp + 0x24], edi
call esi
test eax, eax
je 0x40ef8e
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10c
ret 4
lea ecx, [esp + 0x14]
push 0x63852c
push ecx
call fcn.0056ab30
add esp, 8
test eax, eax
je 0x40f007
lea edx, [esp + 0x14]
push 0x5c
push edx
call fcn.0056aa30
add esp, 8
test eax, eax
je 0x40ef8e
mov byte [eax + 1], 0
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x13], 0x5c
je 0x40efd3
mov edi, 0x6384b8
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x18]
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
pop ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
call fcn.00586cbc
push str.ProgramPlugins_
mov ecx, ebx
call fcn.00586ea9
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x10]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x14]
push eax
push ecx
push 0
push 0
push str.Last_Directory2
push edx
mov dword [esp + 0x24], edi
call esi
test eax, eax
je 0x40ef8e
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10c
ret 4
Function at 0x40f2c0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5989f3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov eax, dword [0x65ca8c]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
test eax, eax
je 0x40f332
mov eax, dword [ebp + 8]
test eax, eax
jl 0x40f3fb
cmp eax, dword [ecx + 0x50]
jge 0x40f3fb
mov ecx, dword [ecx + 0x4c]
lea edx, [ecx + eax*4]
lea ecx, [ebp - 0x14]
push edx
call fcn.00586c6c
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [eax - 8]
test eax, eax
setg cl
mov eax, ecx
jmp case.default.0x40f33d
mov edx, dword [ebp + 8]
xor eax, eax
dec edx
cmp edx, 3
ja case.default.0x40f33d
jmp dword [edx*4 + 0x40f484]
lea eax, [ebp - 0x14]
push eax
call fcn.0040ee90
jmp case.default.0x40f33d
lea edx, [ebp - 0x14]
push edx
call fcn.0040ec10
jmp case.default.0x40f33d
lea eax, [ebp - 0x14]
push eax
call fcn.0040f8a0
jmp case.default.0x40f33d
lea edx, [ebp - 0x14]
push edx
call fcn.0040f6c0
test eax, eax
je 0x40f3fb
lea eax, [ebp - 0x14]
push str.NPIDMan1.dll
lea ecx, [ebp + 8]
push eax
push ecx
call fcn.00586d62
mov edx, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov bl, 2
push edx
mov byte [ebp - 4], bl
call esi
test eax, eax
jne 0x40f3ac
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40f3ef
lea ecx, [ebp - 0x14]
push str.NPIDMan2.dll
lea edx, [ebp + 0xc]
push ecx
push edx
call fcn.00586d62
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.00586c6c
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.00586b33
mov eax, dword [ebp + 8]
push eax
call esi
test eax, eax
jne 0x40f41c
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40f41c
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00586b33
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00586b33
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.00586b33
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00586b33
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40f4a0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598a23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov eax, dword [0x6614bc]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
push str.NPIDMan1.dll
push eax
lea ecx, [ebp - 0x11c]
push 0x637020
push ecx
mov dword [ebp - 4], 0
call fcn.0056b4da
mov edx, dword [0x65ca8c]
add esp, 0x10
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
test eax, eax
je 0x40f534
mov eax, dword [ebp + 8]
test eax, eax
jl 0x40f5ba
cmp eax, dword [esi + 0x50]
jge 0x40f5ba
mov ecx, dword [esi + 0x4c]
lea edx, [ecx + eax*4]
lea ecx, [ebp - 0x14]
push edx
call fcn.00586c6c
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [eax - 8]
test eax, eax
setg cl
mov eax, ecx
jmp case.default.0x40f541
mov edx, dword [ebp + 8]
xor eax, eax
lea ecx, [edx - 1]
cmp ecx, 3
ja case.default.0x40f541
jmp dword [ecx*4 + 0x40f6a4]
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0040ee90
jmp case.default.0x40f541
lea ecx, [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.0040ec10
jmp case.default.0x40f541
lea edx, [ebp - 0x14]
mov ecx, esi
push edx
call fcn.0040f8a0
jmp case.default.0x40f541
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.0040f6c0
test eax, eax
je 0x40f5ba
lea ecx, [ebp - 0x14]
push str.NPIDMan1.dll
lea edx, [ebp - 0x18]
push ecx
push edx
call fcn.00586d62
mov eax, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
lea ecx, [ebp - 0x11c]
mov bl, 2
push eax
push ecx
mov byte [ebp - 4], bl
call esi
test eax, eax
jne 0x40f5db
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.00586b33
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00586b33
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [0x6614bc]
push str.NPIDMan2.dll
push edx
lea eax, [ebp - 0x11c]
push 0x637020
push eax
call fcn.0056b4da
add esp, 0x10
lea ecx, [ebp - 0x14]
lea edx, [ebp + 8]
push str.NPIDMan2.dll
push ecx
push edx
call fcn.00586d62
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.00586c6c
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.00586b33
mov eax, dword [ebp - 0x18]
push 0
lea ecx, [ebp - 0x11c]
push eax
push ecx
call esi
test eax, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
je 0x40f5b5
call fcn.00586b33
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.00586b33
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40f6c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598a3b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x248
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x660ff8
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00586cbc
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp + 8]
push eax
push 0xf003f
push 0
push str.SOFTWAREmozilla.orgMozilla
push reloc.WSOCK32.dll_bind
call esi
test eax, eax
jne 0x40f889
lea ecx, [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x48]
push ecx
push edx
push eax
push eax
mov eax, dword [ebp + 8]
push str.CurrentVersion
push eax
mov dword [ebp - 0x14], 0x32
call edi
test eax, eax
jne 0x40f889
lea ecx, [ebp + 8]
lea edx, [ebp - 0x48]
push ecx
push 0xf003f
push eax
mov eax, dword [ebp + 8]
push edx
push eax
call esi
test eax, eax
jne 0x40f889
mov edx, dword [ebp + 8]
lea ecx, [ebp + 8]
push ecx
push 0xf003f
push eax
push str.Main
push edx
call esi
test eax, eax
jne 0x40f889
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x14c]
push eax
push ecx
push 0
push 0
push str.Install_Directory
push edx
mov dword [ebp - 0x14], 0x104
call edi
test eax, eax
jne 0x40f889
lea edi, [ebp - 0x14c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ebp + ecx - 0x14d], 0x5c
je 0x40f7f3
mov edi, 0x6384b8
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x14c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Plugins_
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x14c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x14c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00586cbc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40f8a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598a5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x248
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x10], esp
push 0x660ff8
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.00586cbc
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea eax, [ebp + 8]
push eax
push 0xf003f
push 0
push str.SOFTWARENetscapeNetscape
push reloc.WSOCK32.dll_bind
call esi
test eax, eax
jne 0x40fa69
lea ecx, [ebp - 0x14]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea edx, [ebp - 0x48]
push ecx
push edx
push eax
push eax
mov eax, dword [ebp + 8]
push str.CurrentVersion
push eax
mov dword [ebp - 0x14], 0x32
call edi
test eax, eax
jne 0x40fa69
lea ecx, [ebp + 8]
lea edx, [ebp - 0x48]
push ecx
push 0xf003f
push eax
mov eax, dword [ebp + 8]
push edx
push eax
call esi
test eax, eax
jne 0x40fa69
mov edx, dword [ebp + 8]
lea ecx, [ebp + 8]
push ecx
push 0xf003f
push eax
push str.Main
push edx
call esi
test eax, eax
jne 0x40fa69
mov edx, dword [ebp + 8]
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x14c]
push eax
push ecx
push 0
push 0
push str.Install_Directory
push edx
mov dword [ebp - 0x14], 0x104
call edi
test eax, eax
jne 0x40fa69
lea edi, [ebp - 0x14c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ebp + ecx - 0x14d], 0x5c
je 0x40f9d3
mov edi, 0x6384b8
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x14c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.Plugins_
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x14c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x14c]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00586cbc
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4110a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x6614e8]
lea eax, [esp]
lea ecx, [esp + 4]
push eax
push ecx
push 0
push 0
push str.intAOFRWE
push edx
mov dword [esp + 0x18], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4110e0
mov eax, dword [esp + 4]
test eax, eax
je 0x4110e0
mov eax, 1
add esp, 8
ret
xor eax, eax
add esp, 8
ret
Function at 0x411570
Capabilities:
Delete file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x598bc6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x178
mov eax, dword [esp + 0x18c]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x1c], ecx
push str.shlwapi
mov dword [eax], 0
mov dword [esp + 0x1c], 0x168
xor ebx, ebx
xor ebp, ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, eax
test esi, esi
jne 0x4115d3
push str.shlwapi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov ebp, 1
test esi, esi
je 0x411643
push str.AssocQueryStringA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x411630
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
push edx
push 0x636f3c
push 0x637254
push 2
push 0
call eax
test eax, eax
jl 0x411630
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x411630
mov ecx, dword [esp + 0x198]
lea eax, [esp + 0x20]
push eax
push 0x636fa0
push ecx
call fcn.0057f8fb
add esp, 0xc
mov ebx, 1
test ebp, ebp
je 0x41163b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
jne 0x411716
mov edx, dword [0x65ca8c]
mov dword [esp + 0x10], edx
mov eax, dword [0x6614c8]
lea ecx, [esp + 0x10]
push eax
push str._stmp_test.html
push ecx
mov dword [esp + 0x19c], 0
call fcn.0057f8fb
mov edx, dword [esp + 0x1c]
add esp, 0xc
push 0
push 0
push 2
push 0
push 1
push 0xc0000000
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4116fe
lea eax, [esp + 0x14]
push 0
push eax
push 0xd
push str._HTML___HTML_
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x20]
push ecx
push 0
push edx
call dword [sym.imp.SHELL32.dll_FindExecutableA]
cmp eax, 0x20
jle 0x4116f3
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4116f3
mov ecx, dword [esp + 0x198]
lea eax, [esp + 0x20]
push eax
push 0x636fa0
push ecx
call fcn.0057f8fb
add esp, 0xc
mov ebx, 1
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x190], 0xffffffff
call fcn.00586b33
test ebx, ebx
je 0x41178f
mov esi, dword [esp + 0x198]
push 0x7e
mov eax, dword [esi]
push eax
call fcn.0056aa70
add esp, 8
test eax, eax
je 0x41177a
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push esi
call fcn.005868a8
lea eax, [esp + 0x18]
push eax
call fcn.00434f90
add esp, 8
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x190], 1
push ecx
push 0x636fa0
push esi
call fcn.0057f8fb
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [esp + 0x190], 0xffffffff
call fcn.00586b33
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.004117b0
mov edx, dword [esp + 0x19c]
mov dword [edx], eax
mov ecx, dword [esp + 0x188]
pop edi
pop esi
mov eax, ebx
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x184
ret 8
Function at 0x411930
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x598bdb
push eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x178
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push ebp
xor ebp, ebp
push eax
push 0x20019
push ebp
push ecx
push reloc.WSOCK32.dll_bind
call ebx
test eax, eax
jne 0x411aa8
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push eax
push ebp
push ebp
push str.CurrentVersion
push ecx
mov dword [esp + 0x28], 0x64
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x411a9d
lea edx, [esp + 0x18]
push esi
mov esi, dword [esp + 0x19c]
push edx
push 0x636fa0
push esi
call fcn.0057f8fb
mov eax, dword [esi]
push 0x20
push eax
call fcn.0056aa70
add esp, 0x14
test eax, eax
je 0x4119ed
mov byte [eax], 0
mov edx, dword [esi]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
cmp byte [edx + ecx - 1], 0x2e
jne 0x4119ed
dec ecx
push ebp
push ecx
mov ecx, esi
call fcn.00587013
mov eax, dword [0x65ca8c]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x10]
push ecx
push str._sMain
push edx
mov dword [esp + 0x198], 0
call fcn.0057f8fb
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push 0x20019
push 0
push ecx
push edx
call ebx
test eax, eax
pop esi
jne 0x411a89
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x7c]
push eax
push ecx
push 0
push 0
push str.PathToExe
push edx
mov dword [esp + 0x28], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x411a7e
mov ecx, dword [esp + 0x194]
lea eax, [esp + 0x7c]
push eax
push 0x636fa0
push ecx
call fcn.0057f8fb
add esp, 0xc
mov ebp, 1
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
mov dword [esp + 0x188], 0xffffffff
call fcn.00586b33
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x180]
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x184
ret 0xc