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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57bdbb
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 0x63e040
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.0056a289
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 0x40d289
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 0x40d289
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 0x40d289
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 0x40d289
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 0x40d289
lea edi, [ebp - 0x14c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ebp + ecx - 0x14d], 0x5c
je 0x40d1f3
mov edi, 0x617168
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.0056a289
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 0x40d340
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
push ebx
mov ebx, dword [esp + 0x114]
push esi
push edi
push 0x63e040
mov ecx, ebx
call fcn.0056a289
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 0x40d38a
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 0x40d43e
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 0x40d40d
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 0x40d43e
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10c
ret 4
lea ecx, [esp + 0x14]
push 0x6171dc
push ecx
call fcn.0054e0f0
add esp, 8
test eax, eax
je 0x40d4b7
lea edx, [esp + 0x14]
push 0x5c
push edx
call fcn.0054dff0
add esp, 8
test eax, eax
je 0x40d43e
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 0x40d483
mov edi, 0x617168
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.0056a289
push str.ProgramPlugins_
mov ecx, ebx
call fcn.0056a476
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 0x40d43e
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x10c
ret 4
Function at 0x40d860
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x7d0
mov eax, dword [esp + 0x7d4]
push esi
mov esi, dword [sym.imp.USER32.dll_GetWindow]
push edi
push 5
push eax
mov byte [esp + 0x10], 0
call esi
push 2
push eax
call esi
push 2
push eax
call esi
push 2
push eax
call esi
push 5
push eax
call esi
push 5
push eax
call esi
push 2
push eax
call esi
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x2755
push eax
call esi
push 0x3e9
push eax
call esi
lea ecx, [esp + 8]
push ecx
push 0x7d0
push 0xd
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x7e0]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
add esp, 0x7d0
ret

Function at 0x40d900
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57be06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x294
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp eax, ebx
mov dword [ebp - 0x10], esp
mov dword [esi + 0x44], eax
je 0x40d95c
mov edi, 1
mov dword [ebp + 8], edi
call fcn.0040d510
test eax, eax
jne 0x40d968
mov ecx, esi
call fcn.0040d4f0
test eax, eax
jne 0x40d968
mov ecx, esi
mov dword [esi + 0x44], ebx
call fcn.0040d500
xor edi, edi
jmp 0x40d965
mov ecx, esi
call fcn.0040d500
mov edi, eax
mov dword [ebp + 8], edi
cmp dword [ebp + 0xc], ebx
je 0x40d981
cmp edi, ebx
je 0x40d981
mov eax, dword [esi + 0x44]
mov ecx, esi
push eax
push str.IntegrateOpera
call fcn.0040cfb0
cmp dword [esi + 0x44], ebx
je 0x40da3b
cmp dword [esi + 0x48], ebx
jne 0x40da3b
lea ecx, [esi + 0x4c]
mov dword [ebp - 4], ebx
push ecx
push ebx
push ebx
push 0x40d520
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [esi + 0x48], eax
jne 0x40da3b
lea ecx, [ebp - 0x198]
call fcn.0046f750
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x90]
push str.CreateThread___failed_during_CBrowsersIntegrator::Set_Opera_integration____errCode___ld_n
push edx
call fcn.0054ea2a
add esp, 0xc
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x198]
push 1
push eax
call fcn.0046f830
lea ecx, [ebp - 0x198]
mov byte [ebp - 4], bl
call fcn.0046f820
jmp 0x40da3b
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x40dc30
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57be63
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov eax, dword [0x639ad4]
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 0x40dca2
mov eax, dword [ebp + 8]
test eax, eax
jl 0x40dd6b
cmp eax, dword [ecx + 0x58]
jge 0x40dd6b
mov ecx, dword [ecx + 0x54]
lea edx, [ecx + eax*4]
lea ecx, [ebp - 0x14]
push edx
call fcn.0056a239
mov eax, dword [ebp - 0x14]
xor ecx, ecx
mov eax, dword [eax - 8]
test eax, eax
setg cl
mov eax, ecx
jmp case.default.0x40dcad
mov edx, dword [ebp + 8]
xor eax, eax
dec edx
cmp edx, 3
ja case.default.0x40dcad
jmp dword [edx*4 + 0x40ddf4]
lea eax, [ebp - 0x14]
push eax
call fcn.0040d340
jmp case.default.0x40dcad
lea edx, [ebp - 0x14]
push edx
call fcn.0040d0c0
jmp case.default.0x40dcad
lea eax, [ebp - 0x14]
push eax
call fcn.0040e300
jmp case.default.0x40dcad
lea edx, [ebp - 0x14]
push edx
call fcn.0040e120
test eax, eax
je 0x40dd6b
lea eax, [ebp - 0x14]
push str.NPIDMan1.dll
lea ecx, [ebp + 8]
push eax
push ecx
call fcn.0056a32f
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 0x40dd1c
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40dd5f
lea ecx, [ebp - 0x14]
push str.NPIDMan2.dll
lea edx, [ebp + 0xc]
push ecx
push edx
call fcn.0056a32f
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 3
call fcn.0056a239
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], bl
call fcn.0056a100
mov eax, dword [ebp + 8]
push eax
call esi
test eax, eax
jne 0x40dd8c
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x40dd8c
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call fcn.0056a100
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0056a100
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.0056a100
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call fcn.0056a100
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 0x40e120
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57becb
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 0x63e040
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.0056a289
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 0x40e2e9
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 0x40e2e9
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 0x40e2e9
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 0x40e2e9
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 0x40e2e9
lea edi, [ebp - 0x14c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ebp + ecx - 0x14d], 0x5c
je 0x40e253
mov edi, 0x617168
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.0056a289
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 0x40e300
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57beeb
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 0x63e040
mov ecx, ebx
mov dword [ebp - 4], 0
call fcn.0056a289
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 0x40e4c9
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 0x40e4c9
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 0x40e4c9
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 0x40e4c9
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 0x40e4c9
lea edi, [ebp - 0x14c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [ebp + ecx - 0x14d], 0x5c
je 0x40e433
mov edi, 0x617168
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.0056a289
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 0x40ead0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x11c
lea eax, [esp]
push ebx
push ebp
push esi
push edi
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftInternet_ExplorerMenuExt_
mov ebx, ecx
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40eb33
lea ecx, [esp + 0x10]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0x63e040
push 0
push str.SoftwareMicrosoftInternet_ExplorerMenuExt_
push reloc.WSOCK32.dll_accept
call esi
test eax, eax
jne 0x40ebce
lea edx, [esp + 0x28]
push str.IEExt.htm
push edx
mov ecx, ebx
call fcn.0040ed60
test eax, eax
je 0x40ebc1
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x10]
push 0
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.Download_with_IDM
push ecx
call esi
test eax, eax
jne 0x40ebb4
lea edi, [esp + 0x28]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea edx, [esp + 0x28]
push ecx
push edx
push 1
push eax
push eax
mov eax, dword [esp + 0x24]
push eax
call ebp
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x24]
push 4
push ecx
push 4
push 0
push str.contexts
push edx
mov dword [esp + 0x3c], 0xf3
call ebp
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40ebdb
push eax
push str.Error__ld_creating_MenuExt_key_during_CBIr::IntIE___r_n
mov ecx, ebx
call fcn.0040ecb0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x40ebdb
push eax
push str.Error__ld_opening_IEMenuKey_during_CBIr::IntIE___r_n
mov ecx, ebx
call fcn.0040ecb0
lea ecx, [esp + 0x14]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0x63e040
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerBrowser_Helper_Objects
push reloc.WSOCK32.dll_bind
call esi
test eax, eax
jne 0x40ec25
lea edx, [esp + 0x10]
push eax
push edx
push eax
push 0xf003f
push eax
push 0x63e040
push eax
mov eax, dword [esp + 0x30]
push str.0055C089_8582_441B_A0BF_17B458C2A3A8
push eax
call esi
test eax, eax
je 0x40ec3d
push eax
push str.Err__ld_opening_IDMBHO_KEY_in_CBIr::IntIE_n
mov ecx, ebx
call fcn.0040ecb0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret
mov ecx, dword [str.IDM_Helper]
mov ax, word [0x6175b8]
mov edx, dword [0x6175b4]
mov dword [esp + 0x18], ecx
mov cl, byte [0x6175ba]
mov word [esp + 0x20], ax
mov byte [esp + 0x22], cl
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x18]
repne scasb al, byte es:[edi]
not ecx
push ecx
push edx
push 1
push eax
push eax
mov eax, dword [esp + 0x24]
push eax
call ebp
mov ecx, dword [esp + 0x10]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x11c
ret
Function at 0x40fbb0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov edx, dword [0x63e518]
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 0x40fbf0
mov eax, dword [esp + 4]
test eax, eax
je 0x40fbf0
mov eax, 1
add esp, 8
ret
xor eax, eax
add esp, 8
ret
Function at 0x410080
Capabilities:
Delete file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x57c086
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 0x4100e3
push str.shlwapi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
mov ebp, 1
test esi, esi
je 0x410153
push str.AssocQueryStringA
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x410140
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
push edx
push 0x615e54
push 0x616150
push 2
push 0
call eax
test eax, eax
jl 0x410140
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x410140
mov ecx, dword [esp + 0x198]
lea eax, [esp + 0x20]
push eax
push 0x615e9c
push ecx
call fcn.00562ecb
add esp, 0xc
mov ebx, 1
test ebp, ebp
je 0x41014b
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
jne 0x410226
mov edx, dword [0x639ad4]
mov dword [esp + 0x10], edx
mov eax, dword [0x63e500]
lea ecx, [esp + 0x10]
push eax
push str._stmp_test.html
push ecx
mov dword [esp + 0x19c], 0
call fcn.00562ecb
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 0x41020e
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 0x410203
lea edi, [esp + 0x20]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x410203
mov ecx, dword [esp + 0x198]
lea eax, [esp + 0x20]
push eax
push 0x615e9c
push ecx
call fcn.00562ecb
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.0056a100
test ebx, ebx
je 0x41029f
mov esi, dword [esp + 0x198]
push 0x7e
mov eax, dword [esi]
push eax
call fcn.0054e030
add esp, 8
test eax, eax
je 0x41028a
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push esi
call fcn.00569e75
lea eax, [esp + 0x18]
push eax
call fcn.004308d0
add esp, 8
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x190], 1
push ecx
push 0x615e9c
push esi
call fcn.00562ecb
add esp, 0xc
lea ecx, [esp + 0x14]
mov dword [esp + 0x190], 0xffffffff
call fcn.0056a100
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.004102c0
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 0x410420
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57c09b
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 0x410598
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 0x41058d
lea edx, [esp + 0x18]
push esi
mov esi, dword [esp + 0x19c]
push edx
push 0x615e9c
push esi
call fcn.00562ecb
mov eax, dword [esi]
push 0x20
push eax
call fcn.0054e030
add esp, 0x14
test eax, eax
je 0x4104dd
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 0x4104dd
dec ecx
push ebp
push ecx
mov ecx, esi
call fcn.0056a5e0
mov eax, dword [0x639ad4]
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.00562ecb
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 0x410579
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 0x41056e
mov ecx, dword [esp + 0x194]
lea eax, [esp + 0x7c]
push eax
push 0x615e9c
push ecx
call fcn.00562ecb
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.0056a100
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