joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45aa55
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
call fcn.0045a6ee
test eax, eax
je 0x45aa8d
push str.360DirectUICls_SwitchBar
push str.360DirectUICls
call dword [sym.imp.USER32.dll_FindWindowW]
push 2
push 0
push 0x2278
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
push 1
call dword [eax + 0x20]
pop esi
ret
push ebx
push ebp
push edi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetParent]
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
xor ebp, ebp
mov ebx, eax
push ebp
push ebx
call edi
push ebp
push ebp
push esi
push 0x45a3a3
push ebp
push ebp
mov dword [0x4c6514], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebp
je 0x45aace
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x45aad3
push 1
push ebx
call edi
pop edi
pop ebp
pop ebx
pop esi
ret
Function at 0x45acaa
Capabilities:
Check for time delay via gettickcount
Enumerate processes
Query service status
Set registry value
Stop service

Disassembly:
push ebp
lea ebp, [esp - 0x200]
sub esp, 0x280
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x1fc], eax
push ebx
push esi
push edi
xor esi, esi
push esi
push 2
xor ebx, ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [ebp - 0x30]
push eax
push edi
mov dword [ebp - 0x30], 0x22c
call sub.KERNEL32.dll_Process32FirstW
push str.zhudongfangyu.exe
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x45ad0a
lea eax, [ebp - 0x30]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x45ace7
jmp 0x45ad0d
xor ebx, ebx
inc ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, esi
je 0x45adfe
push 0xf003f
push esi
push esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x34], eax
cmp eax, esi
je 0x45adfe
push 0x124
push str.zhudongfangyu
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
cmp ebx, esi
je 0x45adf5
push 4
lea eax, [ebp - 0x38]
push eax
push 4
push str.EFlags
push str.SOFTWARE360Safe360krnlsvc
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x38], 1
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
lea eax, [ebp - 0x80]
push eax
push 0x8e
push ebx
call dword [sym.imp.ADVAPI32.dll_ControlService]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, esi
je 0x45adee
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x40]
push eax
push 0x24
lea eax, [ebp - 0x64]
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
push ebx
call esi
test eax, eax
je 0x45adee
cmp dword [ebp - 0x60], 1
je 0x45adee
jmp 0x45ade8
push dword [ebp - 0x4c]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x40]
push eax
push 0x24
lea eax, [ebp - 0x64]
push eax
push 0
push ebx
call esi
test eax, eax
je 0x45adee
cmp dword [ebp - 0x60], 1
je 0x45adee
call edi
sub eax, dword [ebp - 0x3c]
cmp eax, 0xea60
ja 0x45adee
cmp dword [ebp - 0x60], 3
je 0x45adba
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ecx, dword [ebp + 0x1fc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046711a
add ebp, 0x200
leave
ret
Function at 0x45ae1c
Capabilities:
Create process on windows
Get common file path
Manipulate boot configuration

Disassembly:
push ebp
lea ebp, [esp - 0x5f0]
sub esp, 0x670
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x5ec], eax
push ebx
push esi
call fcn.0044a074
mov ebx, eax
xor esi, esi
cmp ebx, esi
je 0x45afec
mov ecx, ebx
call fcn.0044c743
test eax, eax
je 0x45afec
push edi
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x2a]
push esi
push eax
call fcn.004670a0
xor eax, eax
push edi
mov word [ebp + 0x3e4], ax
lea eax, [ebp + 0x3e6]
push esi
push eax
call fcn.004670a0
xor eax, eax
push edi
mov word [ebp + 0x1dc], ax
lea eax, [ebp + 0x1de]
push esi
push eax
call fcn.004670a0
add esp, 0x24
push 0x104
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
push 0x22
pop eax
lea edi, [eax + 0x60]
mov word [ebp + 0x3e4], ax
mov word [ebp + 0x1dc], ax
push edi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x3e4]
push eax
call fcn.004686e1
push edi
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp + 0x1dc]
push eax
call fcn.004686e1
add esp, 0x18
mov ecx, ebx
call fcn.0044c743
mov ecx, dword [eax]
push eax
call dword [ecx + 0x60]
test eax, eax
push edi
lea eax, [ebp + 0x3e4]
je 0x45af14
push str.Sysnative_bcdedit.exe___set_bootmgr_flightsigning_off
push eax
call fcn.004686e1
push edi
push str.Sysnative_bcdedit.exe___set_flightsigning_off
jmp 0x45af25
push str._system32_bcdedit.exe___set_bootmgr_flightsigning_off
push eax
call fcn.004686e1
push edi
push str._system32_bcdedit.exe___set_flightsigning_off
lea eax, [ebp + 0x1dc]
push eax
call fcn.004686e1
add esp, 0x18
push 0x40
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.004670a0
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x3c], esi
lea edi, [ebp - 0x38]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x44
pop ebx
stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_CreateProcessW]
xor eax, eax
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp + 0x3e4]
push eax
push esi
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x54], 1
call edi
test eax, eax
je 0x45af95
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
lea eax, [ebp - 0x80]
push esi
push eax
call fcn.004670a0
push 0x10
lea eax, [ebp - 0x3c]
push esi
push eax
call fcn.004670a0
add esp, 0x18
xor eax, eax
mov word [ebp - 0x50], ax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x80]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp + 0x1dc]
push eax
push esi
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x54], 1
call edi
pop edi
test eax, eax
je 0x45afec
push dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x3c]
call esi
mov ecx, dword [ebp + 0x5ec]
pop esi
xor ecx, ebp
pop ebx
call fcn.0046711a
add ebp, 0x5f0
leave
ret
Function at 0x45b003
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
call fcn.0044a074
mov ebx, eax
test ebx, ebx
je 0x45b124
push edi
call fcn.0045acaa
push 2
push esi
mov edi, 0x45ae16
push edi
mov ecx, ebx
call fcn.0044c6fc
mov ecx, eax
call fcn.004208f9
and dword [ebp - 4], 0
mov ecx, ebx
call fcn.0044c743
test eax, eax
je 0x45b0bc
mov ecx, ebx
call fcn.0044c743
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
test eax, eax
je 0x45b0bc
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SOFTWARE360SafeCoop
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45b0bc
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
push str.Bcdedit
push dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 4
jne 0x45b0bc
cmp dword [ebp - 0xc], 1
jne 0x45b0bc
mov ecx, esi
call fcn.0045ae1c
mov ecx, esi
call fcn.0044a0dc
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x45b0d9
call fcn.00421bd4
mov ecx, dword [ebp - 0x10]
call fcn.0042468e
mov ecx, ebx
call fcn.0044c6ed
test eax, eax
je 0x45b0ea
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
push 1
push esi
push edi
mov ecx, ebx
call fcn.0044c6fc
mov ecx, eax
call fcn.004208f9
push str.SYSTEMCurrentControlSetServiceszhudongfangyu
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov ecx, ebx
call fcn.0044c758
push dword [esi + 4]
mov ecx, eax
push dword [esi + 0x58]
call fcn.004286a9
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45b996
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x4ad618
push 0x468d70
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, 0x1864
call fcn.00467130
mov eax, dword [0x4be8a0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1828], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1820], eax
mov ebx, 0x800
push ebx
xor esi, esi
push esi
lea eax, [ebp - 0x81c]
push eax
call fcn.004670a0
push 0x400
lea eax, [ebp - 0x81c]
push eax
push dword [ebp - 0x1828]
push edi
call fcn.00428b39
push 0x40
push esi
lea eax, [ebp - 0x1878]
push eax
call fcn.004670a0
add esp, 0x28
mov dword [ebp - 0x1838], esi
xor eax, eax
lea edi, [ebp - 0x1834]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x187c], 0x44
lea eax, [ebp - 0x187c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 0x1850], 1
mov ax, word [ebp + 0x14]
mov word [ebp - 0x184c], ax
xor eax, eax
mov word [ebp - 0x181c], ax
push 0xffe
push esi
lea eax, [ebp - 0x181a]
push eax
call fcn.004670a0
add esp, 0xc
cmp dword [ebp - 0x1820], esi
je 0x45ba98
push dword [ebp - 0x1820]
call fcn.004673c7
pop ecx
lea eax, [ebp - 0x81c]
push eax
push 0x49a21c
lea eax, [ebp - 0x181c]
push eax
call fcn.0045b97b
push dword [ebp - 0x1820]
push ebx
lea eax, [ebp - 0x181c]
push eax
call fcn.00467a3e
add esp, 0x18
mov dword [ebp - 4], esi
lea eax, [ebp - 0x1838]
push eax
lea eax, [ebp - 0x187c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x181c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x1824], eax
cmp eax, esi
je 0x45bb2f
cmp dword [ebp + 0x18], esi
je 0x45bb09
push dword [ebp + 0x1c]
push dword [ebp - 0x1838]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x1834]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1838]
call esi
jmp 0x45bb2f
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1824]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0046711a
leave
ret

Function at 0x45c12b
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
test ecx, ecx
je 0x45c138
lea esi, [ecx - 0x30]
jmp 0x45c13a
xor esi, esi
cmp byte [ecx + 0x1c], 0
je 0x45c16e
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x45c15f
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45c174
cmp dword [ebp + 0xc], 0
jne 0x45c16e
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x45c189
mov eax, dword [ebp + 0x10]
shr eax, 0x10
cwde
push eax
movsx eax, word [ebp + 0x10]
push eax
lea ecx, [esi + 0x30]
call fcn.0045bf24
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x45c363
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.00467130
push 0xffffffffffffffff
push 0x489beb
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0044a099
xor ebx, ebx
mov dword [ebp - 0x1c], eax
cmp eax, ebx
je 0x45c4e8
push 0x4c4f30
lea ecx, [ebp - 0x10]
call fcn.00401ce4
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.0044a074
cmp eax, ebx
je 0x45c4dd
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.0044d477
mov edi, 0x800
push edi
lea eax, [ebp + 0x800]
push ebx
push eax
call fcn.004670a0
mov esi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
add esp, 0xc
push 0x496604
push dword [ebp - 0x10]
lea eax, [ebp + 0x800]
push eax
call esi
push edi
lea eax, [ebp]
push ebx
push eax
call fcn.004670a0
add esp, 0xc
push str.360ver.dll
push dword [ebp - 0x10]
lea eax, [ebp]
push eax
call esi
push str._URL:http:__pinst.360.cn_360safe_uninst_inst.cab
lea ecx, [ebp - 0x14]
call fcn.004029f9
push str.http:__down.360safe.com_inst.exe
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call fcn.004029f9
lea eax, [ebp]
push eax
mov byte [ebp - 4], 2
call fcn.00402118
cmp eax, ebx
je 0x45c486
push str.IsBetaVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x45c486
call eax
test eax, eax
je 0x45c486
push str._URL:http:__pinst.360.cn_360safebeta_uninst_instbeta.cab
lea ecx, [ebp - 0x14]
call fcn.004025eb
push str.http:__down.360safe.com_instbeta.exe
lea ecx, [ebp - 0x18]
call fcn.004025eb
lea eax, [ebp + 0x800]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45c4ac
push 1
push ebx
push ebx
push dword [ebp - 0x18]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x45c4c7
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push 0xffffffffffffffff
push ebx
push ebx
push 1
push 5
push dword [ebp - 0x14]
lea edx, [ebp + 0x800]
push edx
push eax
call dword [ecx + 0x24]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004023e9
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.004023e9
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004023e9
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x1004
leave
ret
Function at 0x460e51
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x1f94]
mov eax, 0x2014
call fcn.00467130
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x1f90], eax
mov eax, dword [ebp + 0x1fa4]
push ebx
mov ebx, dword [ebp + 0x1fa0]
push esi
push edi
mov edi, dword [ebp + 0x1f9c]
mov esi, 0x1fff
push esi
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x6f]
push 0
push eax
mov byte [ebp - 0x70], 0
call fcn.004670a0
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x460ef2
cmp eax, esi
ja 0x460ef2
lea ecx, [ebp - 0x70]
push ecx
push eax
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x460ef2
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x49cb38
lea eax, [ebp - 0x70]
push eax
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x460ef2
mov eax, dword [ebp - 0x78]
mov ecx, dword [eax + 8]
mov dword [ebx], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x74]
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x460ef4
xor eax, eax
mov ecx, dword [ebp + 0x1f90]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046711a
add ebp, 0x1f94
leave
ret
Function at 0x463535
Capabilities:
Print debug messages

Disassembly:
push ebp
lea ebp, [esp - 0x10cc]
mov eax, 0x10cc
call fcn.00467130
push 0xffffffffffffffff
push 0x48c2e2
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x4be8a0]
xor eax, ebp
mov dword [ebp + 0x10c8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x10d8]
mov esi, ecx
lea ecx, [ebp - 0xd]
call fcn.00460ac5
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [esi + 8], edi
jne 0x4635bf
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00460ae0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x10c8]
xor ecx, ebp
call fcn.0046711a
add ebp, 0x10cc
leave
ret 0x10
xor eax, eax
push 0x10aa
mov word [ebp + 0x1c], ax
lea eax, [ebp + 0x1e]
push edi
push eax
call fcn.004670a0
push ebx
push dword [ebp + 0x10d4]
lea eax, [ebp + 0x1c]
push str._d_s
push 0x856
push eax
call fcn.0040b9d3
add esp, 0x20
xor ecx, ecx
push 2
inc ecx
pop eax
mov dword [ebp - 0x14], eax
cmp dword [ebp + 0x10dc], ecx
jne 0x463609
mov dword [ebp - 0x14], 0xa
cmp dword [esi + 8], edi
je 0x4636a9
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 0x10d4], edi
je 0x463620
mov dword [ebp - 0x1c], ecx
cmp dword [esi + 0xc], edi
je 0x463660
push str.360RealPro
lea ecx, [ebp]
call fcn.00404ba4
cmp dword [ebp + 0x18], 0x10
mov eax, dword [ebp + 4]
mov byte [ebp - 4], 1
jae 0x463642
lea eax, [ebp + 4]
push dword [ebp + 0x14]
mov ecx, dword [esi + 0xc]
mov edx, dword [ecx]
push eax
push dword [ebp - 0x14]
call dword [edx + 0x1c]
push edi
push 1
lea ecx, [ebp]
mov byte [ebp - 4], 0
call fcn.0040526f
mov eax, dword [esi + 8]
mov edi, dword [eax]
push ebx
call fcn.004673c7
pop ecx
mov ecx, dword [esi + 8]
push eax
push ebx
push dword [ebp - 0x1c]
push 1
push dword [ebp - 0x14]
call dword [edi + 0xc]
cmp dword [ebp - 0x14], 2
mov edi, eax
jne 0x4636a9
test edi, edi
jne 0x4636a9
cmp dword [ebp + 0x10e0], eax
je 0x4636a9
push dword [ebp + 0x10d4]
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push ebx
call fcn.004029f9
mov ecx, esi
call fcn.004634bd
push 0x4a11e8
lea ecx, [ebp - 0x18]
call fcn.004029f9
push ebx
push dword [ebp + 0x10d4]
lea eax, [ebp - 0x18]
push 1
push dword [ebp - 0x14]
mov byte [ebp - 4], 2
push edi
push str.CWdPHFileSafeHelper::SetHomePageSetings:___the_result_is__d__________the_browserType_is__d____dwurlID_is__d____dwLock_is__d____url_is__s_n
push eax
call fcn.00404c90
add esp, 0x1c
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.004023e9
xor edi, edi
inc edi
jmp 0x46358c
Function at 0x465010
Capabilities:
Get file size

Disassembly:
push ecx
mov ecx, dword [ecx]
push esi
lea eax, [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x465038
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x465038
xor al, al
pop esi
pop ecx
ret 4
mov edx, dword [esp + 4]
push 1
push 0
push 0
push edx
call fcn.0046e560
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [esp + 0xc]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
pop ecx
ret 4

Function at 0x465120
Capabilities:
Read file on windows

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
mov ecx, dword [ecx]
push 0
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 0x10]
push edx
push eax
push ecx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp]
test eax, eax
mov dword [edx], ecx
setne al
pop ecx
ret 0xc
mov eax, dword [esp + 8]
mov edx, dword [0x4be79c]
cmp eax, edx
jbe 0x465130
mov eax, edx
mov dword [esp + 8], eax
jmp 0x4650e0

Function at 0x465170
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [0x4be79c]
cmp eax, edx
jbe 0x465180
mov eax, edx
mov ecx, dword [ecx]
push 0
lea edx, [esp + 0xc]
push edx
push eax
mov eax, dword [esp + 0x10]
push eax
push ecx
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 8]
test eax, eax
mov dword [edx], ecx
setne al
ret 0xc

Function at 0x465340
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x465380
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0
push esi
call fcn.00465340
add esp, 8
test al, al
jne 0x465396
pop esi
ret
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
pop esi
ret
Function at 0x46630b
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x4c4f4c], 0
push esi
jne 0x46627e
call fcn.004661a4
test eax, eax
je 0x4662c1
mov eax, dword [0x4c4f4c]
cmp eax, 1
jne 0x46629f
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4662c1
pop esi
ret
push eax
call dword [0x4c4f54]
test eax, eax
jne 0x466309
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4662c5
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x4c4f4c]
call dword [0x4c4f54]
mov edi, eax
test edi, edi
je 0x4662ea
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x466306
mov edi, esi
add esi, 0xff0
push edi
push dword [0x4c4f4c]
call dword [0x4c4f50]
add edi, 0x10
cmp edi, esi
jb 0x4662f2
mov eax, edi
pop edi
pop esi
ret
jmp 0x46626b

Function at 0x46711a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4be8a0]
jne 0x467124
repz ret
jmp fcn.00470115

Function at 0x47f99f
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0047108a
and dword [ebp - 4], 0
cmp dword [0x4c5c68], 0
mov ebx, eax
jne 0x47fa50
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x47fb01
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x47fb01
push eax
call fcn.00471018
mov dword [esp], 0x4a0538
push edi
mov dword [0x4c5c68], eax
call esi
push eax
call fcn.00471018
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4c5c6c], eax
call esi
push eax
call fcn.00471018
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4c5c70], eax
call esi
push eax
call fcn.00471018
pop ecx
mov dword [0x4c5c78], eax
test eax, eax
je 0x47fa50
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00471018
pop ecx
mov dword [0x4c5c74], eax
mov eax, dword [0x4c5c74]
cmp eax, ebx
je 0x47faa8
cmp dword [0x4c5c78], ebx
je 0x47faa8
push eax
call fcn.00471093
push dword [0x4c5c78]
mov esi, eax
call fcn.00471093
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x47faa8
test edi, edi
je 0x47faa8
call esi
test eax, eax
je 0x47fa9f
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x47fa9f
test byte [ebp - 0xc], 1
jne 0x47faa8
or dword [ebp + 0x10], 0x200000
jmp 0x47fae1
mov eax, dword [0x4c5c6c]
cmp eax, ebx
je 0x47fae1
push eax
call fcn.00471093
pop ecx
test eax, eax
je 0x47fae1
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x47fae1
mov eax, dword [0x4c5c70]
cmp eax, ebx
je 0x47fae1
push eax
call fcn.00471093
pop ecx
test eax, eax
je 0x47fae1
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4c5c68]
call fcn.00471093
pop ecx
test eax, eax
je 0x47fb01
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x47fb03
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret