joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ac70
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x44eab0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp]
push esi
push eax
call fcn.00427760
lea ecx, [esp + 4]
push str.modules360Inst.exe
lea edx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x1c], 0
call fcn.00407a00
mov eax, dword [esp + 0x18]
mov byte [esp + 0x10], 1
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42adcf
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00417ba0
add esp, 4
test eax, eax
jne 0x42ad48
mov esi, dword [esp + 0x18]
push 1
call fcn.004382e0
push eax
push esi
call fcn.00438570
mov eax, dword [esp + 0x24]
mov ecx, dword [0x457054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 0xc
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x42ad20
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42ad20
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.0042d34c
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [0x457054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42ae2b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42ae2b
jmp 0x42ae1b
mov eax, dword [esp + 0x18]
push 5
push str._S__URL:http:__pinst.360.cn_zhuomian_desktopsafe.cab
push eax
push 0
call fcn.00417e40
mov eax, dword [esp + 0x28]
mov edx, dword [0x457054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 0x10
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42ad8f
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42ad8f
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [0x457054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42adba
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42adba
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
mov eax, 1
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov eax, dword [esp + 0x18]
mov edx, dword [0x457054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42ae00
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42ae00
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [0x457054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42ae2b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42ae2b
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
mov ecx, dword [esp + 8]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42ae80
Capabilities:
Check if file exists
Get installed programs
Query or enumerate registry value

Disassembly:
sub esp, 0x81c
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_SHGetValueW]
push ebp
push esi
push edi
mov dword [esp + 0x1c], str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se.exe
mov dword [esp + 0x20], str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se_3.exe
mov dword [esp + 0x24], str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se_5.exe
mov dword [esp + 0x28], str.SoftwareMicrosoftWindowsCurrentVersionApp_Paths360se6.exe
mov dword [esp + 0x10], 0
lea esi, [esp + 0x1c]
mov ebp, 1
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x2e]
mov word [esp + 0x2c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x200
xor eax, eax
lea edi, [esp + 0x2c]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x18]
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [esi]
push ecx
push edx
push 0x45d500
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], 0x400
call ebx
test eax, eax
jne 0x42af48
cmp dword [esp + 0x14], ebp
jne 0x42af48
cmp word [esp + 0x2c], 0
je 0x42af48
mov eax, dword [esp + 0x18]
test eax, eax
jbe 0x42af48
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42af48
lea edx, [esp + 0x2c]
push edx
call fcn.00417ba0
add esp, 4
test eax, eax
jne 0x42af97
mov eax, dword [esp + 0x10]
add esi, 4
inc eax
cmp eax, 4
mov dword [esp + 0x10], eax
jb 0x42aec1
lea eax, [esp + 0x10]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall360se6
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42afa4
mov ecx, dword [esp + 0x10]
mov esi, ebp
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x81c
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x81c
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x81c
ret
Function at 0x42afc0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x44ead0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov ecx, dword [esp + 0x14]
lea eax, [esp]
push esi
push eax
call fcn.00427760
lea ecx, [esp + 4]
push str.modules360Inst.exe
lea edx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x1c], 0
call fcn.00407a00
mov eax, dword [esp + 0x18]
mov byte [esp + 0x10], 1
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42b11f
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00417ba0
add esp, 4
test eax, eax
jne 0x42b098
mov esi, dword [esp + 0x18]
push 1
call fcn.004382e0
push eax
push esi
call fcn.00438570
mov eax, dword [esp + 0x24]
mov ecx, dword [0x457054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 0xc
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x42b070
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42b070
mov eax, dword [esp + 0x18]
add eax, 0xfffffff4
push eax
call fcn.0042d34c
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [0x457054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42b17b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42b17b
jmp 0x42b16b
mov eax, dword [esp + 0x18]
push 5
push str._S__URL:http:__pinst.360.cn_360se_wssj_setup.cab
push eax
push 0
call fcn.00417e40
mov eax, dword [esp + 0x28]
mov edx, dword [0x457054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
add esp, 0x10
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42b0df
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42b0df
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [0x457054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42b10a
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42b10a
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
mov eax, 1
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov eax, dword [esp + 0x18]
mov edx, dword [0x457054]
mov esi, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42b150
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42b150
mov edx, dword [esp + 0x18]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
mov eax, dword [esp + 4]
mov edx, dword [0x457054]
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x42b17b
add eax, 0xfffffff4
push eax
call esi
test eax, eax
jg 0x42b17b
mov edx, dword [esp + 4]
add edx, 0xfffffff4
push edx
call fcn.0042d34c
add esp, 4
mov ecx, dword [esp + 8]
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x42bdd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push 0xffffffffffffffff
push 0x44eb1e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 4], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x24]
mov dword [esp + 0x18], edi
cmp eax, edi
mov dword [esi + 0x20], 0x44fb84
je 0x42be17
lea ecx, [eax - 0x24]
jmp 0x42be19
xor ecx, ecx
push eax
add ecx, 8
push 0x40
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
push 0x2c
mov byte [esp + 0x1c], 1
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
call fcn.00438f1a
add esp, 4
mov dword [esp + 0xc], eax
cmp eax, edi
mov byte [esp + 0x18], 2
je 0x42be62
mov ecx, eax
call fcn.0042cbb0
jmp 0x42be64
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], edi
mov dword [esi], 0x44fb78
mov dword [esi + 0x20], 0x44fb68
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x42c7d0
Capabilities:
Hide graphical window

Disassembly:
push esi
push edi
mov esi, ecx
call fcn.0042cad0
mov edi, eax
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42c819
test edi, edi
je 0x42c819
mov eax, dword [esp + 0xc]
test eax, eax
je 0x42c80d
mov ecx, esi
call fcn.0042c9b0
mov ecx, dword [esi + 4]
push 4
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret 4
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
ret 4

Function at 0x42cbb0
Capabilities:
Allocate or change rwx memory

Disassembly:
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
push esi
mov esi, ecx
mov dword [esi + 4], 0
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x20]
mov dword [esi + 0x18], 0
test eax, eax
je 0x42cbd5
lea ecx, [eax - 0x20]
jmp 0x42cbd7
xor ecx, ecx
push eax
push 0x40
add ecx, 8
push 0xd
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [esi + 0x28], 0
mov dword [esi], 0x44fb94
mov eax, esi
pop esi
ret
Function at 0x430230
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4
Function at 0x432cb0
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x432cdf
push str.GetFileSizeEx__
push eax
push 0x112
push str.E:_build2011_12_30_Release_AQHImageHlp.c
call fcn.0042fa00
add esp, 0x10
xor eax, eax
ret
mov eax, 1
ret

Function at 0x432f30
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
push 0
push 0
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x432f6c
push str.SetFilePointerEx__
push eax
push 0xed
push str.E:_build2011_12_30_Release_AQHImageHlp.c
call fcn.0042fa00
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xc]
push 0
push edx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x432fa5
push str.ReadFile__
push eax
push 0xf0
push str.E:_build2011_12_30_Release_AQHImageHlp.c
call fcn.0042fa00
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
cmp edi, dword [esp + 0xc]
je 0x432fc9
push 0x459048
push 1
push 0xf2
push str.E:_build2011_12_30_Release_AQHImageHlp.c
call fcn.0042fed0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
pop edi
mov eax, 1
pop esi
ret

Function at 0x433430
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
push 0
push 0
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x43346c
push str.SetFilePointerEx__
push eax
push 0x102
push str.E:_build2011_12_30_Release_AQHImageHlp.c
call fcn.0042fa00
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xc]
push 0
push edx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4334a5
push str.WriteFile__
push eax
push 0x105
push str.E:_build2011_12_30_Release_AQHImageHlp.c
call fcn.0042fa00
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
cmp edi, dword [esp + 0xc]
je 0x4334c9
push 0x459104
push 1
push 0x107
push str.E:_build2011_12_30_Release_AQHImageHlp.c
call fcn.0042fed0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
pop edi
mov eax, 1
pop esi
ret

Function at 0x434400
Capabilities:
Clear file content

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x43442a
push str.SetEndOfFile__
push eax
push 0x126
push str.E:_build2011_12_30_Release_AQHImageHlp.c
call fcn.0042fa00
add esp, 0x10
xor eax, eax
ret
mov eax, 1
ret
Function at 0x4351e0
Capabilities:
Get thread local storage value
Print debug messages
Set thread local storage value

Disassembly:
mov ecx, 0x45daf0
jmp fcn.004351f0

Function at 0x435580
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x436d30
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x436d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x436d90
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
push eax
mov eax, dword [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
push edx
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
neg eax
sbb eax, eax
inc eax
ret

Function at 0x438390
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
sub esp, 0x808
push esi
push edi
mov ecx, 0x1ff
xor eax, eax
lea edi, [esp + 0x12]
mov word [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0xc]
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0xc]
push ecx
push edx
push str.Path
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0x800
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x4383f4
pop edi
mov eax, 1
pop esi
add esp, 0x808
ret
lea eax, [esp + 0x10]
push str.360ver.dll
lea ecx, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x438426
pop edi
mov eax, 1
pop esi
add esp, 0x808
ret
lea eax, [esp + 0x10]
push eax
call fcn.00438490
add esp, 4
test eax, eax
jne 0x438445
pop edi
mov eax, 1
pop esi
add esp, 0x808
ret
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
jne 0x438464
pop edi
mov eax, 1
pop esi
add esp, 0x808
ret
push str.IsBetaVersion
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
call eax
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
add esp, 0x808
ret
Function at 0x438570
Capabilities:
Create process on windows
Terminate process

Disassembly:
mov eax, 0x1000
call fcn.00439ff0
push esi
push edi
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 8]
push 0x800
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push 0x459974
push eax
call fcn.00439cf5
mov esi, dword [esp + 0x101c]
push 0x800
lea ecx, [esp + 0x18]
push esi
push ecx
call fcn.0043b619
push 0x800
lea edx, [esp + 0x24]
push 0x459948
push edx
call fcn.0043b619
push 0x800
lea eax, [esp + 0x30]
push esi
push eax
call fcn.0043b619
push 0x800
lea ecx, [esp + 0x3c]
push str.vL
push ecx
call fcn.0043b619
mov edx, dword [esp + 0x1048]
push 0x800
lea eax, [esp + 0x48]
push edx
push eax
call fcn.0043b619
add esp, 0x48
lea ecx, [esp + 8]
push 0x800
push 0x459908
push ecx
call fcn.0043b619
add esp, 0xc
lea edx, [esp + 8]
push 0x14
push esi
push edx
call dword [sym.imp.USER32.dll_GetActiveWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, eax
cmp esi, 6
jne 0x438670
call fcn.00438370
test eax, eax
je 0x438658
call fcn.00438390
test eax, eax
je 0x438658
push 5
push 0
push 0
push str.http:__down.360safe.com_setupbeta.exe
jmp 0x438663
push 5
push 0
push 0
push 0x459594
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [esp + 0x1014]
test eax, eax
je 0x438682
push 0
call fcn.0043b508
mov eax, esi
pop edi
pop esi
add esp, 0x1000
ret

Function at 0x438690
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x13c
mov eax, dword [esp + 0x140]
push ebx
xor ebx, ebx
push esi
push ebx
push ebx
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4386c6
pop esi
xor eax, eax
pop ebx
add esp, 0x13c
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [esp + 0xc]
push 0
push ecx
lea edx, [esp + 0x18]
push 0x40
push edx
push esi
call edi
test eax, eax
je 0x438741
cmp dword [esp + 0xc], 0x40
jne 0x438741
cmp word [esp + 0x10], 0x5a4d
jne 0x438741
mov eax, dword [esp + 0x4c]
push 0
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, dword [esp + 0x4c]
jne 0x438741
lea ecx, [esp + 0xc]
push 0
push ecx
lea edx, [esp + 0x58]
push 0xf8
push edx
push esi
call edi
test eax, eax
je 0x438741
cmp dword [esp + 0xc], 0xf8
jne 0x438741
cmp dword [esp + 0x50], 0x4550
jne 0x438741
cmp word [esp + 0x56], 0
je 0x438741
mov ebx, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebx
pop esi
pop ebx
add esp, 0x13c
ret

Function at 0x438790
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esp + 0x10]
push eax
push ecx
push edx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
ret

Function at 0x4387c0
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
ret
Function at 0x4495e0
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x2c10
call fcn.00439ff0
mov eax, dword [esp + 0x2c14]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
je 0x44974a
mov esi, dword [esp + 0x2c20]
cmp esi, ebx
je 0x44974a
push ebp
push edi
xor edi, edi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], edi
push edi
push str..PhysicalDrive_d
lea eax, [esp + 0x30]
push 0x100
push eax
call fcn.004493e0
add esp, 0x10
lea ecx, [esp + 0x28]
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x44972d
xor edx, edx
mov ecx, 0x9c4
xor eax, eax
lea edi, [esp + 0x510]
mov dword [esp + 0x18], edx
push ebx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x20], edx
push eax
lea ecx, [esp + 0x518]
mov dword [esp + 0x28], edx
push 0x2710
push ecx
lea edx, [esp + 0x28]
push 0xc
push edx
push 0x2d1400
push ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x449715
mov ecx, 0xfa
xor eax, eax
lea edi, [esp + 0x128]
lea edx, [esp + 0x510]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x528]
lea eax, [esp + 0x128]
push eax
push 1
push ecx
push edx
call fcn.0044ab10
add esp, 0x10
cmp esi, 0x7fffffff
ja 0x449715
mov eax, dword [esp + 0x2c24]
lea edx, [esp + 0x128]
xor edi, edi
sub edx, eax
mov cl, byte [edx + eax]
cmp cl, bl
je 0x4496fd
mov byte [eax], cl
inc eax
dec esi
jne 0x4496ee
jmp 0x449701
cmp esi, ebx
jne 0x449707
dec eax
mov edi, 0x8007007a
cmp edi, ebx
mov byte [eax], bl
jne 0x449715
mov dword [esp + 0x10], 1
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], ebx
jne 0x44973b
mov esi, dword [esp + 0x2c28]
mov edi, dword [esp + 0x14]
inc edi
cmp edi, 0x10
mov dword [esp + 0x14], edi
jl 0x449618
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x2c10
ret
pop esi
xor eax, eax
pop ebx
add esp, 0x2c10
ret
Function at 0x449db0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x2e8
test eax, eax
push esi
push edi
je 0x449f9c
mov esi, dword [esp + 0x2f8]
test esi, esi
je 0x449f9c
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
push 8
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x449f36
push ebx
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [esp + 0x14], eax
mov ebx, 0x104
mov eax, dword [esp + 0x14]
push 0
push 0
push 0
lea ecx, [esp + 0x2c]
push 0
lea edx, [esp + 0x100]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
mov dword [esp + 0x40], ebx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
test eax, eax
jne 0x449f22
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push edx
push 1
push eax
lea eax, [esp + 0xfc]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x449f19
lea edx, [esp + 0x1c]
lea eax, [esp + 0x1f4]
push edx
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
push eax
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x3c], 1
mov dword [esp + 0x34], ebx
call ebp
test eax, eax
jne 0x449f0e
mov ecx, 0x19
lea edi, [esp + 0x8c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x8c]
push 0x64
lea ecx, [esp + 0x1f8]
push eax
push ecx
call fcn.00449fb0
add esp, 0xc
test eax, eax
je 0x449f0e
mov al, byte [esp + 0x28]
test al, al
je 0x449ee1
lea edx, [esp + 0x28]
lea eax, [esp + 0x8c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jge 0x449f0e
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x28]
mov esi, 0x64
lea eax, [esp + 0x28]
sub edx, ecx
mov cl, byte [edx + eax]
test cl, cl
je 0x449f06
mov byte [eax], cl
inc eax
dec esi
jne 0x449ef7
jmp 0x449f0a
test esi, esi
jne 0x449f0b
dec eax
mov byte [eax], 0
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
inc dword [esp + 0x14]
jmp 0x449e12
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x300]
pop ebp
pop ebx
mov al, byte [esp + 0x20]
test al, al
je 0x449f9c
cmp esi, 0x7fffffff
jbe 0x449f5d
mov eax, 0x80070057
xor ecx, ecx
test eax, eax
setge cl
pop edi
mov eax, ecx
pop esi
add esp, 0x2e8
ret
mov eax, dword [esp + 0x2f4]
lea edx, [esp + 0x20]
xor edi, edi
sub edx, eax
mov cl, byte [edx + eax]
test cl, cl
je 0x449f7b
mov byte [eax], cl
inc eax
dec esi
jne 0x449f6c
jmp 0x449f7f
test esi, esi
jne 0x449f85
dec eax
mov edi, 0x8007007a
mov byte [eax], 0
mov eax, edi
xor ecx, ecx
pop edi
test eax, eax
setge cl
mov eax, ecx
pop esi
add esp, 0x2e8
ret
pop edi
xor eax, eax
pop esi
add esp, 0x2e8
ret