joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457dcf
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4a9447
call fcn.004a7794
sub esp, 0x68
push ebx
push esi
push edi
xor ebx, ebx
push 0x40
lea eax, [ebp - 0x70]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x18], ebx
call fcn.00477840
xor eax, eax
mov dword [ebp - 0x28], ebx
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [0x4da2a0]
xor edi, edi
inc edi
add esp, 0xc
mov ecx, 0x4da2a0
mov dword [ebp - 0x74], 0x44
mov dword [ebp - 0x48], edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push dword [ebp + 8]
mov dword [ebp - 4], ebx
push 0x4be950
call fcn.00407054
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x74]
push eax
push ebx
push ebx
push ebx
neg esi
push ebx
sbb esi, esi
push ebx
and esi, 0xa
mov word [ebp - 0x44], si
mov esi, dword [ebp - 0x14]
push ebx
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x457e64
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x28], ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x457e77
push dword [ebp - 0x28]
call edi
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x24], ebx
je 0x457e84
push dword [ebp - 0x24]
call edi
mov dword [ebp - 0x24], ebx
lea eax, [esi - 0x10]
call fcn.00405cd1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret

Function at 0x457e9e
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov eax, 0x4a94f0
call fcn.004a7794
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00405e55
push dword [ebp + 8]
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x457ee9
xor esi, esi
inc esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405cd1
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push 0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x457eca
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebx, 0xb7
cmp eax, ebx
je 0x457eca
lea ecx, [ebp - 0x10]
call fcn.00451af0
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x457f20
xor esi, esi
jmp 0x457ecd
push eax
call fcn.00457e9e
test eax, eax
pop ecx
je 0x457f1c
push 0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x457eca
call edi
cmp eax, ebx
jne 0x457f1c
jmp 0x457eca
Function at 0x457fc7
Capabilities:
Query environment variable

Disassembly:
push 0x14
push 0x4c9648
call fcn.004a77b4
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], eax
je 0x458071
push eax
push eax
mov ebx, str._TEMP_
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
call edi
mov esi, eax
cmp esi, 1
jb 0x458071
cmp esi, 0x103
ja 0x458071
and dword [ebp - 4], 0
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00476e91
pop ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x45806d
lea ecx, [esi + esi]
push ecx
push 0
push eax
call fcn.00477840
add esp, 0xc
push esi
push dword [ebp - 0x24]
push ebx
call edi
test eax, eax
je 0x45806d
mov ecx, 0x103
cmp eax, ecx
ja 0x45806d
push eax
push dword [ebp - 0x24]
push ecx
push dword [ebp + 8]
call fcn.0047d5d4
add esp, 0x10
mov dword [ebp - 0x20], 1
jmp 0x45806d
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 0
je 0x458080
push dword [ebp - 0x1c]
call fcn.00479a04
pop ecx
mov eax, dword [ebp - 0x20]
call fcn.004a77ef
ret

Function at 0x458089
Capabilities:
Create directory
Delete directory

Disassembly:
mov eax, 0x4aa2e8
call fcn.004a7794
push ebx
push esi
push edi
and dword [ebp - 4], 0
push str._access
lea eax, [ebp + 8]
push eax
call fcn.00406d14
mov ebx, dword [ebp + 8]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
call esi
test edi, edi
je 0x4580cb
push ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x4580d2
call esi
cmp eax, 5
je 0x4580d5
xor edi, edi
inc edi
lea eax, [ebx - 0x10]
call fcn.00405cd1
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4580ee
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4a9435
call fcn.004a7794
sub esp, 0x70
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov ebx, ecx
jne 0x45810e
xor eax, eax
jmp 0x45824f
mov eax, dword [0x4da2a0]
mov ecx, 0x4da2a0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
push dword [ebp + 0xc]
mov dword [ebp - 4], edi
push dword [ebp + 8]
lea eax, [ebp - 0x20]
push 0x4be950
call fcn.00407054
add esp, 0xc
lea esi, [ebp - 0x14]
mov dword [ebp - 0x14], edi
call fcn.0040a8d8
test eax, eax
jne 0x458233
push 0x40
push eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x7c], 0x44
call fcn.00477840
and dword [ebp - 0x34], 0
xor eax, eax
add esp, 0xc
neg ebx
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
sbb ebx, ebx
and ebx, 5
stosd dword es:[edi], eax
mov word [ebp - 0x4c], bx
xor ebx, ebx
push str.userenv.dll
stosd dword es:[edi], eax
mov dword [ebp - 0x74], str.Winsta0Default
mov dword [ebp - 0x24], 0x30
mov dword [ebp + 8], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x4581dd
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateEnvironmentBlock
push eax
call edi
push str.DestroyEnvironmentBlock
push dword [ebp - 0x1c]
mov esi, eax
call edi
cmp esi, ebx
mov dword [ebp - 0x18], eax
je 0x4581dd
push ebx
push dword [ebp - 0x14]
lea eax, [ebp + 8]
push eax
call esi
test eax, eax
je 0x4581da
mov dword [ebp - 0x24], 0x430
jmp 0x4581dd
mov dword [ebp + 8], ebx
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push dword [ebp + 8]
push dword [ebp - 0x24]
push ebx
push ebx
push ebx
push dword [ebp - 0x20]
push ebx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
cmp dword [ebp - 0x34], ebx
mov edi, eax
je 0x45820c
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x30], ebx
je 0x45821a
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x18], ebx
je 0x458225
push dword [ebp + 8]
call dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ebx
je 0x458233
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x14], 0
je 0x458242
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00405cd1
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x45825e
Capabilities:
Check os version
Create process on windows

Disassembly:
mov eax, 0x4a9423
call fcn.004a7794
sub esp, 0x184
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
jne 0x45827f
xor eax, eax
jmp 0x458432
mov eax, dword [0x4da2a0]
mov ecx, 0x4da2a0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
lea eax, [ebp - 0x18]
push 0x4be950
call fcn.00407054
push 0x110
lea eax, [ebp - 0x18c]
push ebx
push eax
call fcn.00477840
add esp, 0x18
lea eax, [ebp - 0x190]
push eax
mov dword [ebp - 0x190], 0x114
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4582e4
cmp dword [ebp - 0x18c], 6
jne 0x4582e4
inc esi
cmp esi, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
lea esi, [ebp - 0x10]
jne 0x4582f8
call fcn.0040a8d8
jmp 0x4582fd
call fcn.0040a888
cmp eax, ebx
jne 0x458416
push 0x40
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x78], 0x44
call fcn.00477840
push dword [ebp - 0x10]
xor eax, eax
mov dword [ebp - 0x2c], ebx
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
neg eax
sbb eax, eax
and eax, 5
mov dword [ebp - 0x4c], 1
mov word [ebp - 0x48], ax
call fcn.0040a943
add esp, 0x10
test al, al
jne 0x458362
cmp dword [ebp - 0x10], ebx
je 0x458358
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
call fcn.0040aabd
pop ecx
push str.userenv.dll
mov dword [ebp - 0x70], str.Winsta0Default
mov dword [ebp - 0x14], 0x30
mov dword [ebp + 8], ebx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [ebp - 0x1c], eax
je 0x4583c1
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CreateEnvironmentBlock
push eax
call edi
push str.DestroyEnvironmentBlock
push dword [ebp - 0x1c]
mov esi, eax
call edi
cmp esi, ebx
mov edi, eax
je 0x4583c1
push ebx
push dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
call esi
test eax, eax
je 0x4583be
mov dword [ebp - 0x14], 0x430
jmp 0x4583c1
mov dword [ebp + 8], ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x78]
push eax
push ebx
push dword [ebp + 8]
push dword [ebp - 0x14]
push ebx
push ebx
push ebx
push dword [ebp - 0x18]
push ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
cmp dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], eax
je 0x4583f1
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x28], ebx
je 0x4583ff
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, ebx
je 0x458408
push dword [ebp + 8]
call edi
cmp dword [ebp - 0x1c], ebx
je 0x458416
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x10], ebx
je 0x458424
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405cd1
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x458822
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 8], ebx
xor esi, esi
mov dword [ebp - 4], 0x288
push dword [ebp - 4]
call fcn.00476e91
mov edi, eax
test edi, edi
pop ecx
je 0x45886f
push dword [ebp - 4]
push 0
push edi
call fcn.00477840
add esp, 0xc
lea eax, [ebp - 4]
push eax
push edi
call sub.iphlpapi.dll_GetAdaptersInfo
mov esi, eax
cmp esi, 0x6f
jne 0x458875
push edi
call fcn.00479a04
pop ecx
xor edi, edi
inc ebx
cmp ebx, 2
jl 0x458838
test esi, esi
jne 0x4588bc
test edi, edi
mov esi, edi
je 0x4588c7
push 6
lea eax, [esi + 0x10c]
push str.vmware
push eax
call fcn.0047d236
add esp, 0xc
test eax, eax
jne 0x4588a1
mov esi, dword [esi]
test esi, esi
jne 0x45887f
jmp 0x4588bc
push 8
add esi, 0x194
push esi
push dword [ebp + 8]
call fcn.0047bc60
add esp, 0xc
mov dword [ebp - 8], 1
test edi, edi
je 0x4588c7
push edi
call fcn.00479a04
pop ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x458d70
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
push 6
pop ecx
xor esi, esi
push 1
push esi
xor eax, eax
mov dword [ebp - 0x20], esi
lea edi, [ebp - 0x1c]
push esi
mov dword [ebp - 4], esi
rep stosd dword es:[edi], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
cmp edi, esi
je 0x458dda
push ebx
push 0x14
push str.wmsvc
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
cmp ebx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x458dd6
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x458dd3
mov al, byte [ebp - 0x1c]
mov ecx, dword [ebp + 8]
mov byte [ecx], al
mov dword [ebp - 4], 1
push ebx
call esi
push edi
call esi
pop ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x459178
Capabilities:
Check if file exists

Disassembly:
push ecx
mov eax, dword [esi + 8]
cmp dword [eax - 0xc], 0
jne 0x459189
mov eax, 0x13a
pop ecx
ret
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x45919b
mov eax, 0x13b
pop ecx
ret
push dword [esi + 0x1c]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
call fcn.0045825e
add esp, 0xc
test eax, eax
je 0x4591b6
xor eax, eax
pop ecx
ret
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, dword [esi + 0x1c]
call fcn.004580ee
test eax, eax
pop ecx
pop ecx
jne 0x4591b2
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, dword [esi + 0x1c]
call fcn.00457dcf
neg eax
sbb eax, eax
pop ecx
and eax, 0xfffffec7
pop ecx
add eax, 0x139
pop ecx
ret
Function at 0x4591ee
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
lea eax, [ebp - 4]
push eax
xor edi, edi
push 0x28
mov dword [ebp - 4], edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x459264
lea eax, [ebp - 0x10]
push eax
push 0x4bea84
push edi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x459264
push edi
push edi
push edi
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x459264
push 0x40000
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
cmp eax, 1
jne 0x459264
inc ebx
cmp dword [ebp - 4], edi
je 0x459272
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, ebx
pop ebx
leave
ret

Function at 0x459344
Capabilities:
Create thread
Terminate thread

Disassembly:
push esi
push edi
mov esi, eax
push 0xffffffffffffffff
call fcn.004574b6
mov eax, dword [esi]
xor edi, edi
cmp eax, edi
je 0x459369
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], edi
mov eax, dword [esp + 0xc]
mov dword [esi + 8], eax
lea eax, [esi + 0xc]
push eax
push edi
push esi
push 0x4574d9
push edi
push edi
mov dword [esi + 4], esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor ecx, ecx
cmp eax, edi
setne cl
mov dword [esi], eax
pop edi
pop esi
mov eax, ecx
ret 4

Function at 0x459c25
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4a9c72
call fcn.004a7794
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea eax, [ebx + 4]
push eax
mov dword [ebx], vtable.CSinglerReport.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor esi, esi
mov dword [ebp - 4], esi
or dword [ebx + 0x30], 0xffffffff
mov dword [ebx + 0x24], esi
mov dword [ebx + 0x28], esi
mov dword [ebx + 0x2c], esi
lea edi, [ebx + 0x34]
call fcn.004563ba
lea eax, [ebx + 0x94]
mov byte [ebp - 4], 2
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
lea esi, [ebx + 0xbc]
mov ecx, 0x4da2a0
call fcn.00405e98
and dword [ebx + 0x1c], 0
and dword [ebx + 0x20], 0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x45b0be
Capabilities:
Create process on windows

Disassembly:
mov ecx, dword [eax + 8]
push esi
xor esi, esi
inc esi
cmp ecx, esi
jne 0x45b12d
mov eax, dword [eax + 0xc]
cmp eax, esi
jne 0x45b0da
push edi
call fcn.0045b27c
mov eax, esi
pop esi
ret
cmp eax, 0x64
jne 0x45b0f7
push esi
xor eax, eax
push eax
push eax
push str.https:__youhua.imeitools.com_master_privacy_about.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x45b0d6
cmp eax, 0x65
jne 0x45b116
push 7
push esi
call fcn.0045a657
push eax
call fcn.0045a0d9
push 2
pop ecx
mov eax, edi
call fcn.0042fb88
jmp 0x45b0d6
cmp eax, 0x66
jne 0x45b12d
push 8
push esi
call fcn.0045a657
push eax
call fcn.0045a0d9
push 3
jmp 0x45b10c
and dword [edi + 0x504], 0
xor eax, eax
pop esi
ret
Function at 0x45c2c4
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x4ac710
call fcn.004a7794
sub esp, 0x21c
mov eax, dword [0x4da2a0]
push ebx
push esi
push edi
mov ecx, 0x4da2a0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x226]
push ebx
mov dword [ebp - 4], ebx
push eax
mov word [ebp - 0x228], bx
call fcn.00477840
add esp, 0xc
push 0x104
lea eax, [ebp - 0x228]
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00406070
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00406070
push 0x2e
lea esi, [ebp - 0x10]
call fcn.004070db
cmp eax, 0xffffffff
je 0x45c379
mov ecx, eax
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.0040709f
mov edi, esi
mov byte [ebp - 4], 1
call fcn.00405da7
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00405cd1
mov eax, dword [0x4da2a0]
mov ecx, 0x4da2a0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
mov byte [ebp - 4], 2
fld1
lea eax, [ebp - 0x10]
fstp qword [ebp - 0x20]
push eax
call fcn.0045bfc4
test eax, eax
jne 0x45c3d6
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405cd1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405cd1
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x45c411
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00405cd1
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405cd1
mov eax, ebx
jmp 0x45c3c5
push ebx
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x45c479
mov esi, dword [ebp + 0xc]
push ebx
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [edi + 0xa]
push eax
mov dword [ebp - 0x14], ebx
call fcn.00408abe
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov esi, eax
cmp esi, ebx
je 0x45c46f
cmp dword [ebp - 0x14], edi
jne 0x45c46f
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x45c457
fld qword [ebp - 0x20]
fstp qword [eax]
mov esi, dword [ebp + 0xc]
mov eax, edi
call fcn.0040a06b
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
inc ebx
jmp 0x45c3f7
mov edx, dword [ebp + 0xc]
xor eax, eax
call fcn.00408ae4
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, esi
jmp 0x45c3f7
Function at 0x45e904
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4a93e5
call fcn.004a7794
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [ebp - 4], edi
fld1
fstp qword [esi + 0x10]
mov dword [esi], vtable.CBkPngSkin.0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x4c], edi
mov eax, vtable.CBkBitmap.0
mov dword [esi + 0x48], eax
mov dword [esi + 0x58], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], eax
mov dword [esi + 0x70], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov byte [ebp - 4], 2
mov dword [esi + 0x74], edi
call fcn.0046a82b
lea ecx, [esi + 0x7c]
mov dword [ecx], eax
mov byte [eax + 0x15], 1
mov eax, dword [ecx]
mov dword [eax + 4], eax
mov eax, dword [ecx]
mov dword [eax], eax
mov ecx, dword [ecx]
mov dword [ecx + 8], ecx
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x80], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x462244
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
mov ecx, dword [eax + 8]
inc edi
cmp ecx, edi
jne 0x462340
mov eax, dword [eax + 0xc]
cmp eax, edi
jne 0x46226c
mov ecx, esi
call fcn.00464d69
mov eax, edi
jmp 0x462349
cmp eax, 2
jne 0x46227e
push 6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x462265
cmp eax, 0x65
jne 0x46228c
mov eax, esi
call fcn.004653e9
jmp 0x462265
cmp eax, 0x6c
jne 0x462298
call fcn.004654a3
jmp 0x462265
cmp eax, 0x66
jne 0x4622b0
xor eax, eax
cmp dword [esi + 0x510], eax
sete al
push eax
call fcn.00465e3e
jmp 0x462265
cmp eax, 0x191
jne 0x4622bf
push edi
call fcn.004657fe
jmp 0x462265
cmp eax, 0x96
jne 0x4622e5
push dword [esi + 0x53c]
push dword [esi + 0x514]
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
push eax
push eax
mov eax, esi
call fcn.00464cd0
jmp 0x462265
cmp eax, 0x1f5
jne 0x4622fa
xor ecx, ecx
mov eax, esi
call fcn.0042fb88
jmp 0x462265
cmp eax, 0x3e9
jne 0x46231c
push edi
xor eax, eax
push eax
push eax
push str.https:__youhua.imeitools.com_master_license.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x462265
cmp eax, 0x3ea
jne 0x46232f
push edi
xor eax, eax
push eax
push eax
push str.https:__youhua.imeitools.com_master_privacy_about.html
jmp 0x46230b
cmp eax, 0x68
jne 0x462340
mov ebx, esi
call fcn.00465b8d
jmp 0x462265
and dword [esi + 0x54c], 0
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x4625fc
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push edi
push dword [ebp + 8]
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x462673
xor eax, eax
mov dword [ebp - 0xc], esi
lea edi, [ebp - 8]
stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x462673
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [ebp - 8], eax
and dword [ebp - 8], 0x80000000
and eax, 0x7fffffff
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0xc], esi
fild qword [ebp - 0x14]
fild qword [ebp - 0xc]
fchs
faddp st(1)
fmul qword [0x4c1018]
fcomp qword [0x4c1010]
fnstsw ax
test ah, 1
jne 0x462673
inc esi
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x4630ed
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4a94f0
call fcn.004a7794
sub esp, 0x5c
mov eax, dword [0x4da2a0]
push esi
push edi
mov ecx, 0x4da2a0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push str._stop__uninstall
push dword [ebp + 8]
xor esi, esi
push 0x4be950
lea eax, [ebp - 0x10]
mov dword [ebp - 4], esi
call fcn.00407054
push 0x40
lea eax, [ebp - 0x64]
push esi
push eax
call fcn.00477840
xor eax, eax
mov dword [ebp - 0x24], esi
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
add esp, 0x18
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x68]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0x10]
mov dword [ebp - 0x68], 0x44
push esi
mov dword [ebp - 0x3c], 1
mov word [ebp - 0x38], si
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x24]
cmp eax, esi
je 0x463190
cmp dword [ebp - 0x14], esi
je 0x46318a
cmp ebx, esi
je 0x46318a
mov dword [ebx], eax
jmp 0x463190
push eax
call edi
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x20], esi
je 0x46319d
push dword [ebp - 0x20]
call edi
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00405cd1
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret