joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f93e
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x53fc30]
push ebx
push esi
push edi
xor ebx, ebx
mov word [ebp - 0x20c], ax
push 0x206
lea eax, [ebp - 0x20a]
mov dword [ebp - 0x210], ebx
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x214], ebx
call fcn.005091d0
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 0xc
push 2
push ebx
push 0xffffffffffffff96
push dword [esi + 8]
call edi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x210]
push eax
push 0x6a
lea eax, [ebp - 0x20c]
push eax
push dword [esi + 8]
call ebx
cmp dword [ebp - 0x210], 0x6a
jne 0x40fa37
mov ecx, str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40f9ec
test dx, dx
je 0x40f9e8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40f9ec
add eax, 4
add ecx, 4
test dx, dx
jne 0x40f9c6
xor eax, eax
jmp 0x40f9f1
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40fa37
push 1
push eax
push 0xffffffffffffff92
push dword [esi + 8]
call edi
push 0
lea eax, [ebp - 0x210]
push eax
push 4
lea eax, [ebp - 0x214]
push eax
push dword [esi + 8]
call ebx
mov eax, dword [ebp - 0x214]
add eax, dword [ebp - 0x210]
push 1
push 0
neg eax
push eax
push dword [esi + 8]
call edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret

Function at 0x40fa48
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push 2
push ebx
push ebx
mov eax, dword [esi + 0x26e8]
sub eax, dword [esi + 0x26e4]
push dword [esi + 8]
sar eax, 2
mov dword [ebp - 8], ebx
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 4], ebx
je 0x40fb0b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 8]
push ebx
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [esi + 8]
call edi
mov eax, dword [esi + 0x26e8]
xor ecx, ecx
sub eax, dword [esi + 0x26e4]
sar eax, 2
mov dword [ebp - 0xc], ecx
push 4
pop ebx
test eax, eax
je 0x40fae4
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [esi + 0x26e4]
push 0x20
push dword [eax + ecx*4]
push dword [esi + 8]
call edi
mov eax, dword [esi + 0x26e8]
add ebx, 0x20
mov ecx, dword [ebp - 0xc]
sub eax, dword [esi + 0x26e4]
inc ecx
sar eax, 2
mov dword [ebp - 0xc], ecx
cmp ecx, eax
jb 0x40fab1
push 0
lea eax, [ebp - 8]
mov dword [ebp - 4], ebx
push eax
push 4
lea eax, [ebp - 4]
push eax
push dword [esi + 8]
call edi
push 0
lea eax, [ebp - 8]
push eax
push 0x6a
push str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
push dword [esi + 8]
call edi
pop edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40fb1a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x53fc30]
push ebx
push esi
push edi
xor ebx, ebx
mov word [ebp - 0x210], ax
push 0x206
lea eax, [ebp - 0x20e]
mov dword [ebp - 0x214], ebx
push ebx
push eax
mov edi, ecx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x220], ebx
call fcn.005091d0
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 0xc
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x218], ebx
push 2
push ebx
push 0xffffffffffffff96
push dword [edi + 8]
call esi
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x214]
push eax
push 0x6a
lea eax, [ebp - 0x210]
push eax
push dword [edi + 8]
call ebx
cmp dword [ebp - 0x214], 0x6a
jne 0x40fd0e
mov ecx, str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
lea eax, [ebp - 0x210]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40fbde
test dx, dx
je 0x40fbda
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40fbde
add eax, 4
add ecx, 4
test dx, dx
jne 0x40fbb8
xor eax, eax
jmp 0x40fbe3
sbb eax, eax
or eax, 1
test eax, eax
jne 0x40fd0e
push 1
push eax
push 0xffffffffffffff92
push dword [edi + 8]
call esi
push 0
lea eax, [ebp - 0x214]
push eax
push 4
lea eax, [ebp - 0x228]
push eax
push dword [edi + 8]
call ebx
mov eax, dword [ebp - 0x228]
add eax, dword [ebp - 0x214]
push 1
push 0
neg eax
push eax
push dword [edi + 8]
call esi
push 0
lea eax, [ebp - 0x214]
push eax
push 4
lea eax, [ebp - 0x220]
push eax
push dword [edi + 8]
call ebx
and dword [ebp - 0x224], 0
cmp dword [ebp - 0x220], 0
jbe 0x40fcd1
lea ebx, [edi + 0x5cfc0]
push 0
lea eax, [ebp - 0x214]
push eax
push 0x20
lea esi, [ebx - 8]
push esi
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebx + 0x10]
xor edx, edx
add dword [ebx], eax
mov eax, dword [ebx + 0x14]
adc dword [ebx + 4], eax
mov ecx, dword [ebx + 8]
sub ecx, dword [ebx]
mov eax, dword [ebx + 0xc]
sbb eax, dword [ebx + 4]
add ecx, 1
mov dword [esi], edx
adc eax, edx
mov dword [ebx - 4], edx
add dword [ebp - 0x21c], ecx
lea ecx, [edi + 0x26e4]
mov dword [ebx + 0x10], edx
adc dword [ebp - 0x218], eax
lea eax, [ebp - 0x22c]
push eax
mov dword [ebx + 0x14], edx
mov dword [ebp - 0x22c], esi
call fcn.0040bea5
mov eax, dword [ebp - 0x224]
lea ebx, [ebx + 0x20]
inc eax
mov dword [ebp - 0x224], eax
cmp eax, dword [ebp - 0x220]
jb 0x40fc55
mov edx, dword [edi + 0x5d100]
sub edx, dword [ebp - 0x21c]
mov ecx, dword [edi + 0x5d104]
sbb ecx, dword [ebp - 0x218]
xor eax, eax
mov dword [edi + 0x5d11c], ecx
inc eax
mov ecx, edx
mov dword [edi + 0x5d118], edx
mov dword [edi + 0x5d110], ecx
mov ecx, dword [edi + 0x5d11c]
mov dword [edi + 0x5d114], ecx
jmp 0x40fd10
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret
Function at 0x40fd21
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov eax, dword [edi + 0x20]
mov ebx, dword [edi + 0x805c]
cmp dword [eax + 4], 1
jne 0x40fd3f
mov ebx, dword [edi]
xor eax, eax
cmp dword [esi + 0x26f0], eax
je 0x40fde4
call fcn.0040f93e
mov eax, dword [edi + 0x8040]
mov dword [ebp - 8], eax
push 0
mov edx, dword [eax + 8]
add edx, dword [eax + 0x18]
mov ecx, dword [eax + 0xc]
adc ecx, dword [eax + 0x1c]
mov eax, ecx
mov dword [ebp - 4], ecx
sar eax, 0x1f
lea eax, [ebp - 4]
push eax
push edx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x40fd92
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x40fe1d
and dword [ebp + 8], 0
lea eax, [ebp + 8]
push 0
push eax
push ebx
lea eax, [edi + 0x40]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40fe1d
mov ecx, dword [ebp + 8]
cmp ecx, ebx
jne 0x40fe1d
mov eax, dword [ebp - 8]
add dword [eax + 0x18], ecx
adc dword [eax + 0x1c], 0
mov ecx, dword [ebp + 8]
add dword [esi + 0x5d110], ecx
push ecx
adc dword [esi + 0x5d114], 0
mov ecx, esi
push edi
call fcn.0040fe28
mov ecx, esi
call fcn.0040fa48
xor eax, eax
inc eax
jmp 0x40fe1f
push eax
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push ebx
lea eax, [edi + 0x40]
push eax
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40fe1d
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x40fe1d
add dword [esi + 0x5d110], eax
mov ecx, esi
push eax
adc dword [esi + 0x5d114], 0
push edi
call fcn.0040fe28
jmp 0x40fddf
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x412414
Capabilities:
Check if file exists
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
push 0x206
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push ebx
push eax
call fcn.005091d0
add esp, 0xc
lea eax, [ebp - 0x210]
push ebx
push 0x26
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x412583
lea edi, [ebp - 0x210]
sub edi, 2
mov ax, word [edi + 2]
add edi, 2
cmp ax, bx
jne 0x41246c
push 0x10
pop ecx
lea eax, [ebp - 0x210]
mov esi, str.internet_exploreriexplore.exe
rep movsd dword es:[edi], dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412583
xor eax, eax
mov dword [ebp - 0x214], 7
mov word [ebp - 0x228], ax
lea ecx, [ebp - 0x240]
lea eax, [ebp - 0x210]
mov dword [ebp - 0x218], ebx
push eax
call fcn.004058f0
lea edx, [ebp - 0x228]
lea ecx, [ebp - 0x240]
call fcn.00434dc2
test al, al
je 0x412567
lea ecx, [ebp - 0x228]
call fcn.0040ae91
mov edi, eax
test edi, edi
je 0x412567
push str.10.0.0.0
lea ecx, [ebp - 0x258]
call fcn.004058f0
lea ecx, [ebp - 0x258]
call fcn.0040ae91
push ebx
push 1
lea ecx, [ebp - 0x258]
mov esi, eax
call fcn.0040536f
push edi
mov ecx, esi
call fcn.0040adde
test al, al
jne 0x412555
test esi, esi
je 0x41252d
mov eax, dword [esi]
push 1
call dword [eax]
mov edx, dword [edi]
mov ecx, edi
push 1
call dword [edx]
push ebx
push 1
lea ecx, [ebp - 0x240]
call fcn.0040536f
push ebx
push 1
lea ecx, [ebp - 0x228]
call fcn.0040536f
mov al, 1
jmp 0x412585
test esi, esi
je 0x41255f
mov eax, dword [esi]
push 1
call dword [eax]
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
push ebx
push 1
lea ecx, [ebp - 0x240]
call fcn.0040536f
push ebx
push 1
lea ecx, [ebp - 0x228]
call fcn.0040536f
xor al, al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret
Function at 0x41262b
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x62c
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov ebx, 0x206
push ebx
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.005091d0
add esp, 0xc
mov dword [ebp - 0x628], 1
lea eax, [ebp - 0x624]
mov dword [ebp - 0x624], 0x104
mov edi, 0x53fc30
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x628]
push eax
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se_3.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4126b7
xor al, al
jmp 0x412772
xor eax, eax
push ebx
push eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push eax
call fcn.005091d0
add esp, 0xc
lea eax, [ebp - 0x418]
mov esi, 0x541018
push esi
push str._s_shellopencommand
push 0x103
push eax
call fcn.005028f6
xor eax, eax
push ebx
push eax
mov word [ebp - 0x620], ax
lea eax, [ebp - 0x61e]
push eax
call fcn.005091d0
add esp, 0x1c
lea eax, [ebp - 0x210]
push eax
push str.__s_____1_
lea eax, [ebp - 0x620]
push 0x104
push eax
call fcn.005028f6
lea eax, [ebp - 0x620]
mov ebx, SysReAllocString
push eax
push edi
lea edx, [ebp - 0x418]
mov ecx, ebx
call fcn.0041278d
add esp, 0x18
test al, al
je 0x4126b0
call fcn.00464040
push esi
cmp eax, 3
jl 0x412783
push str.Progid
mov edx, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
lea ecx, [ebx + 1]
call fcn.0041278d
pop ecx
pop ecx
test al, al
je 0x4126b0
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret
push edi
mov edx, str..html
mov ecx, ebx
jmp 0x412761

Function at 0x41278d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov dword [ebp - 0x214], eax
mov edi, ecx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.005091d0
add esp, 0xc
mov dword [ebp - 0x210], 1
lea eax, [ebp - 0x218]
mov dword [ebp - 0x218], 0x207
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push ebx
push edi
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
pop edi
pop esi
pop ebx
test eax, eax
jne 0x41282f
cmp ax, word [ebp - 0x20c]
je 0x41282f
push dword [ebp - 0x214]
lea ecx, [ebp - 0x20c]
push ecx
call fcn.005036e8
pop ecx
pop ecx
test eax, eax
jne 0x41282f
mov al, 1
jmp 0x412831
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00501d03
mov esp, ebp
pop ebp
ret
Function at 0x413072
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
mov esi, edx
cmp dword [edi + 0x10], 0
je 0x413134
mov edx, str.repairsedefbrow
call fcn.004153e9
test al, al
je 0x4130b2
call fcn.0041283f
test al, al
je 0x413134
jmp 0x4130cb
mov edx, str.setsedefbrow
mov ecx, edi
call fcn.004153e9
test al, al
je 0x413134
call fcn.00412bc5
test al, al
jne 0x413134
cmp dword [esi + 0x14], 8
jb 0x4130d5
mov eax, dword [esi]
jmp 0x4130d7
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x413134
xor eax, eax
push 0x81e
push eax
mov word [ebp - 0x828], ax
lea eax, [ebp - 0x826]
push eax
call fcn.005091d0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x413108
mov esi, dword [esi]
push str.__make_default_browser
push esi
push str.__s___s
push 0xffffffffffffffff
lea eax, [ebp - 0x828]
push 0x410
push eax
call fcn.005038e8
add esp, 0x18
lea ecx, [ebp - 0x828]
call fcn.00430b62
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00501d03
mov esp, ebp
pop ebp
ret
Function at 0x4131e7
Capabilities:
Delete registry value
Persist via default file association registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push esi
push edi
cmp ax, word [0x768498]
jne 0x413211
call fcn.00413cb1
mov esi, eax
jmp 0x413216
mov esi, 0x768498
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x628], ax
xor ebx, ebx
lea eax, [ebp - 0x626]
push ebx
push eax
call fcn.005091d0
add esp, 0xc
xor eax, eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push edi
push ebx
push eax
call fcn.005091d0
add esp, 0xc
lea eax, [ebp - 0x218]
push esi
push str.__s_____1_
push 0x104
push eax
call fcn.005028f6
push str.IEXPLORE.EXE
push str.SOFTWAREClientsStartMenuInternet
push 0x540480
lea eax, [ebp - 0x628]
push 0x103
push eax
call fcn.005028f6
add esp, 0x24
lea eax, [ebp - 0x628]
push str.LocalizedString
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
lea eax, [ebp - 0x218]
push eax
push ecx
push str.htmlfile_shell
call fcn.00413b9d
lea eax, [ebp - 0x218]
push eax
push ecx
push str.InternetShortcut_shell
call fcn.00413b9d
lea eax, [ebp - 0x218]
push eax
push ecx
push str.mhtmlfile_shell
call fcn.00413b9d
lea eax, [ebp - 0x218]
push eax
push ecx
push str.xhtmlfile_shell
call fcn.00413b9d
call fcn.00464040
cmp eax, 3
jl 0x413411
mov esi, str.open
mov dword [ebp - 0x634], str.IE.FTP
lea edi, [ebp - 0x10]
mov dword [ebp - 0x630], 0x5410f4
mov dword [ebp - 0x62c], str.IE.HTTPS
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov esi, ebx
xor eax, eax
push 0x206
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
push eax
call fcn.005091d0
add esp, 0xc
lea eax, [ebp - 0x420]
push dword [ebp + esi*4 - 0x634]
push str.SoftwareClasses_s_shell
push 0x104
push eax
call fcn.0040acc0
lea ecx, [ebp - 0x10]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x41336e
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
push 0x53fc30
lea eax, [ebp - 0x420]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
push 0x208
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.005091d0
add esp, 0xc
lea eax, [ebp - 0x420]
push dword [ebp + esi*4 - 0x634]
push str.SoftwareClasses_s_shellopencommand
push 0x104
push eax
call fcn.0040acc0
lea ecx, [ebp - 0x218]
add esp, 0x10
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x4133d8
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0x53fc30
lea eax, [ebp - 0x420]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
inc esi
cmp esi, 3
jb 0x41332a
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret
Function at 0x413422
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
push esi
push edi
cmp ax, word [0x768498]
jne 0x41344c
call fcn.00413cb1
mov esi, eax
jmp 0x413451
mov esi, 0x768498
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.005091d0
push esi
push str.__s_____1_
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005028f6
add esp, 0x1c
lea eax, [ebp - 0x20c]
push eax
push ecx
push str.http_shell
call fcn.00413b9d
lea eax, [ebp - 0x20c]
push eax
push ecx
push str.https_shell
call fcn.00413b9d
lea eax, [ebp - 0x20c]
push eax
push ecx
push str.ftp_shell
call fcn.00413b9d
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005091d0
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
add esp, 0xc
mov edi, str.htmlfile
push 0x10
pop ebx
push ebx
push edi
push 1
push 0x53fc30
push str..htm
push SysReAllocString
call esi
push ebx
push edi
push 1
push 0x53fc30
push str..html
push SysReAllocString
call esi
push ebx
push edi
push 1
push 0x53fc30
push str..shtm
push SysReAllocString
call esi
push ebx
push edi
push 1
push 0x53fc30
push str..shtml
push SysReAllocString
call esi
push 0x12
pop ebx
push ebx
mov edi, str.mhtmlfile
push edi
push 1
push 0x53fc30
push str..mht
push SysReAllocString
call esi
push ebx
push edi
push 1
push 0x53fc30
push str..mhtm
push SysReAllocString
call esi
push ebx
push edi
push 1
push 0x53fc30
push str..mhtml
push SysReAllocString
call esi
push ebx
mov edi, str.xhtmlfile
push edi
push 1
push 0x53fc30
push str..xht
push SysReAllocString
call esi
push ebx
push edi
push 1
push 0x53fc30
push str..xhtml
push SysReAllocString
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret 4
Function at 0x413b9d
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 8
push str.open
push 1
push 0x53fc30
push ebx
push SysReAllocString
mov dword [ebp - 0x210], eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea edx, [ebp - 0x20c]
mov ecx, ebx
sub edx, ebx
movzx eax, word [ecx]
mov word [edx + ecx], ax
lea ecx, [ecx + 2]
test ax, ax
jne 0x413be3
lea edi, [ebp - 0x20c]
sub edi, 2
xor ecx, ecx
mov ax, word [edi + 2]
add edi, 2
cmp ax, cx
jne 0x413bfd
push 7
pop ecx
mov esi, str.opencommand
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x210]
xor esi, esi
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x413c20
mov esi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edi
push 1
push 0x53fc30
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call esi
push str.open
push ebx
push str._s_scommand
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.005028f6
mov ecx, edi
add esp, 0x14
xor ebx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bx
jne 0x413c75
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edi
push 1
push 0x53fc30
lea eax, [ebp - 0x20c]
push eax
push SysReAllocString
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret 0xc

Function at 0x413cb1
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebx
push esi
push edi
xor esi, esi
mov ebx, 0x768498
push esi
push 0x26
push ebx
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edi, [ebx - 2]
mov cx, word [edi + 2]
add edi, 2
cmp cx, si
jne 0x413cc9
push 0x10
pop ecx
mov esi, str.internet_exploreriexplore.exe
mov eax, ebx
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
ret

Function at 0x414270
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push 0x40
xor esi, esi
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.005091d0
xor eax, eax
mov dword [ebp - 0x54], 0x44
mov word [ebp - 0x24], ax
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], 1
cmp dword [eax + 0x14], 8
jb 0x4142a7
mov eax, dword [eax]
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4142c5
xor al, al
jmp 0x4142e2
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x10]
call esi
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4142e9
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x468
mov eax, dword [0x5c2460]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
push 0x40e
mov word [ebp - 0x414], ax
mov esi, ecx
lea eax, [ebp - 0x412]
push ebx
push eax
call fcn.005091d0
push esi
push str.__s____make_default_browser
lea eax, [ebp - 0x414]
push 0x207
push eax
call fcn.005028f6
push 0x40
lea eax, [ebp - 0x464]
push ebx
push eax
call fcn.005091d0
xor eax, eax
mov dword [ebp - 0x424], ebx
lea edi, [ebp - 0x420]
mov dword [ebp - 0x468], 0x44
stosd dword es:[edi], eax
add esp, 0x28
xor esi, esi
mov dword [ebp - 0x43c], 0x81
inc esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [ebp - 0x438], ax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x468]
push eax
push ebx
push ebx
push ebx
push esi
push ebx
push ebx
lea eax, [ebp - 0x414]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4143ac
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4143ae
mov esi, ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00501d03
mov esp, ebp
pop ebp
ret
Function at 0x416fee
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
push esi
push edi
push 0xf003f
push str.Software360360se6Chrome
mov esi, ecx
lea ecx, [ebp - 0x10]
push SysReAllocString
call fcn.0045b490
cmp dword [ebp - 0x10], 0
je 0x41706c
mov edi, str.se_shortcuts_del
lea ecx, [ebp - 0x10]
push edi
call fcn.0045b7e0
test al, al
je 0x41706c
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.0045b9b0
test eax, eax
jne 0x417062
mov eax, dword [ebp - 4]
test al, 1
je 0x41704a
mov byte [esi], 1
test al, 2
je 0x417052
mov byte [esi + 1], 1
test al, 4
je 0x41705a
mov byte [esi + 2], 1
test al, 8
je 0x417062
mov byte [esi + 3], 1
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
lea ecx, [ebp - 0x10]
call fcn.0045b550
pop edi
pop esi
mov esp, ebp
pop ebp
ret