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

Disassembly:
mov eax, 0x4d16f6
call fcn.004cdff0
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.00489f10
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 [0x50c868]
xor edi, edi
inc edi
add esp, 0xc
mov ecx, 0x50c868
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 0x4ec558
call fcn.00408eea
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 0x458ba6
mov dword [ebp - 0x18], edi
cmp dword [ebp - 0x28], ebx
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
je 0x458bb9
push dword [ebp - 0x28]
call edi
mov dword [ebp - 0x28], ebx
cmp dword [ebp - 0x24], ebx
je 0x458bc6
push dword [ebp - 0x24]
call edi
mov dword [ebp - 0x24], ebx
lea eax, [esi - 0x10]
call fcn.00407fe5
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 0x458c32
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov eax, 0x4d27dc
call fcn.004cdff0
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.0040826f
push dword [ebp + 8]
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x458c7d
xor esi, esi
inc esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407fe5
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 0x458c5e
mov edi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call edi
mov ebx, 0xb7
cmp eax, ebx
je 0x458c5e
lea ecx, [ebp - 0x10]
call fcn.00458be0
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], 0
jne 0x458cb4
xor esi, esi
jmp 0x458c61
push eax
call fcn.00458c32
test eax, eax
pop ecx
je 0x458cb0
push 0
push dword [ebp + 8]
call esi
test eax, eax
jne 0x458c5e
call edi
cmp eax, ebx
jne 0x458cb0
jmp 0x458c5e
Function at 0x458d1e
Capabilities:
Query environment variable

Disassembly:
push 0x14
push 0x4f9d40
call fcn.004ce010
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp + 8], eax
je 0x458dc8
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 0x458dc8
cmp esi, 0x103
ja 0x458dc8
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.00486b44
pop ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x458dc4
lea ecx, [esi + esi]
push ecx
push 0
push eax
call fcn.00489f10
add esp, 0xc
push esi
push dword [ebp - 0x24]
push ebx
call edi
test eax, eax
je 0x458dc4
mov ecx, 0x103
cmp eax, ecx
ja 0x458dc4
push eax
push dword [ebp - 0x24]
push ecx
push dword [ebp + 8]
call fcn.0048f23a
add esp, 0x10
mov dword [ebp - 0x20], 1
jmp 0x458dc4
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], 0
je 0x458dd7
push dword [ebp - 0x1c]
call fcn.00489f07
pop ecx
mov eax, dword [ebp - 0x20]
call fcn.004ce04b
ret

Function at 0x458de0
Capabilities:
Create directory
Delete directory

Disassembly:
mov eax, 0x4d55fc
call fcn.004cdff0
push ebx
push esi
push edi
and dword [ebp - 4], 0
push str._access
lea eax, [ebp + 8]
push eax
call fcn.00408995
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 0x458e22
push ebx
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
jmp 0x458e29
call esi
cmp eax, 5
je 0x458e2c
xor edi, edi
inc edi
lea eax, [ebx - 0x10]
call fcn.00407fe5
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x458e45
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4d16e4
call fcn.004cdff0
sub esp, 0x70
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], edi
mov ebx, ecx
jne 0x458e65
xor eax, eax
jmp 0x458fa6
mov eax, dword [0x50c868]
mov ecx, 0x50c868
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 0x4ec558
call fcn.00408eea
add esp, 0xc
lea esi, [ebp - 0x14]
mov dword [ebp - 0x14], edi
call fcn.0040c1be
test eax, eax
jne 0x458f8a
push 0x40
push eax
lea eax, [ebp - 0x78]
push eax
mov dword [ebp - 0x7c], 0x44
call fcn.00489f10
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 0x458f34
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 0x458f34
push ebx
push dword [ebp - 0x14]
lea eax, [ebp + 8]
push eax
call esi
test eax, eax
je 0x458f31
mov dword [ebp - 0x24], 0x430
jmp 0x458f34
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 0x458f63
push dword [ebp - 0x34]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0x30], ebx
je 0x458f71
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0x18], ebx
je 0x458f7c
push dword [ebp + 8]
call dword [ebp - 0x18]
cmp dword [ebp - 0x1c], ebx
je 0x458f8a
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp dword [ebp - 0x14], 0
je 0x458f99
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x20]
add eax, 0xfffffff0
call fcn.00407fe5
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x458fb5
Capabilities:
Check os version
Create process on windows

Disassembly:
mov eax, 0x4d16d2
call fcn.004cdff0
sub esp, 0x184
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
jne 0x458fd6
xor eax, eax
jmp 0x459189
mov eax, dword [0x50c868]
mov ecx, 0x50c868
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 0x4ec558
call fcn.00408eea
push 0x110
lea eax, [ebp - 0x18c]
push ebx
push eax
call fcn.00489f10
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 0x45903b
cmp dword [ebp - 0x18c], 6
jne 0x45903b
inc esi
cmp esi, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], ebx
lea esi, [ebp - 0x10]
jne 0x45904f
call fcn.0040c1be
jmp 0x459054
call fcn.0040c16e
cmp eax, ebx
jne 0x45916d
push 0x40
lea eax, [ebp - 0x74]
push ebx
push eax
mov dword [ebp - 0x78], 0x44
call fcn.00489f10
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.0040c229
add esp, 0x10
test al, al
jne 0x4590b9
cmp dword [ebp - 0x10], ebx
je 0x4590af
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [ebp - 0x10], ebx
lea eax, [ebp - 0x10]
push eax
call fcn.0040c3a3
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 0x459118
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 0x459118
push ebx
push dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
call esi
test eax, eax
je 0x459115
mov dword [ebp - 0x14], 0x430
jmp 0x459118
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 0x459148
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp dword [ebp - 0x28], ebx
je 0x459156
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
cmp edi, ebx
je 0x45915f
push dword [ebp + 8]
call edi
cmp dword [ebp - 0x1c], ebx
je 0x45916d
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.DLL_FreeLibrary]
cmp dword [ebp - 0x10], ebx
je 0x45917b
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00407fe5
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 0x45956d
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.00486b44
mov edi, eax
test edi, edi
pop ecx
je 0x4595ba
push dword [ebp - 4]
push 0
push edi
call fcn.00489f10
add esp, 0xc
lea eax, [ebp - 4]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
mov esi, eax
cmp esi, 0x6f
jne 0x4595c0
push edi
call fcn.00489f07
pop ecx
xor edi, edi
inc ebx
cmp ebx, 2
jl 0x459583
test esi, esi
jne 0x459607
test edi, edi
mov esi, edi
je 0x459612
push 6
lea eax, [esi + 0x10c]
push str.vmware
push eax
call fcn.0048d620
add esp, 0xc
test eax, eax
jne 0x4595ec
mov esi, dword [esi]
test esi, esi
jne 0x4595ca
jmp 0x459607
push 8
add esi, 0x194
push esi
push dword [ebp + 8]
call fcn.0048bbc0
add esp, 0xc
mov dword [ebp - 8], 1
test edi, edi
je 0x459612
push edi
call fcn.00489f07
pop ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4598d8
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 0x459942
push ebx
push 0x14
push str.ascore
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov ebx, eax
cmp ebx, esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x45993e
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x45993b
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 0x459aac
Capabilities:
Check if file exists

Disassembly:
push ecx
mov eax, dword [esi + 8]
cmp dword [eax - 0xc], 0
jne 0x459abd
mov eax, 0x13a
pop ecx
ret
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x459acf
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.00458fb5
add esp, 0xc
test eax, eax
je 0x459aea
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.00458e45
test eax, eax
pop ecx
pop ecx
jne 0x459ae6
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, dword [esi + 0x1c]
call fcn.00458b11
neg eax
sbb eax, eax
pop ecx
and eax, 0xfffffec7
pop ecx
add eax, 0x139
pop ecx
ret
Function at 0x459b22
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 0x459b98
lea eax, [ebp - 0x10]
push eax
push 0x4ec614
push edi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x459b98
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 0x459b98
push 0x40000
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
cmp eax, 1
jne 0x459b98
inc ebx
cmp dword [ebp - 4], edi
je 0x459ba6
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
mov eax, ebx
pop ebx
leave
ret

Function at 0x459c07
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x4d27dc
call fcn.004cdff0
push ecx
mov eax, dword [0x50c868]
push esi
push edi
mov ecx, 0x50c868
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
push str.asreboot_inst
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.004086aa
mov edi, dword [ebp - 0x10]
xor esi, esi
inc esi
add esp, 0x10
cmp eax, esi
jne 0x459c79
push str.true
push edi
call fcn.0048c034
test eax, eax
pop ecx
pop ecx
jne 0x459c79
lea eax, [edi - 0x10]
call fcn.00407fe5
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
xor esi, esi
jmp 0x459c61

Function at 0x45b312
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push edi
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], edi
je 0x45b3ec
cmp eax, 4
je 0x45b3ec
cmp eax, 8
je 0x45b3ec
push ebx
push eax
push edi
push 0x410
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov ebx, eax
cmp ebx, edi
je 0x45b3eb
push esi
mov esi, 0x206
push esi
lea eax, [ebp - 0x20a]
push edi
push eax
mov word [ebp - 0x20c], di
call fcn.00489f10
add esp, 0xc
push 0x103
lea eax, [ebp - 0x20c]
push eax
push edi
push ebx
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jne 0x45b3cd
push esi
lea eax, [ebp - 0x412]
push edi
push eax
mov word [ebp - 0x414], di
call fcn.00489f10
add esp, 0xc
push 0x104
lea eax, [ebp - 0x414]
push eax
push ebx
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x45b3e3
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x414]
push eax
call fcn.0045b3f4
test eax, eax
je 0x45b3e3
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 8]
call fcn.0040849e
mov dword [ebp - 4], 1
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop esi
pop ebx
mov eax, dword [ebp - 4]
pop edi
leave
ret 4
Function at 0x45b3f4
Capabilities:
Get disk information

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x4bc
push edi
xor edi, edi
cmp dword [ebp + 0x7c], edi
jne 0x45b40e
xor eax, eax
jmp 0x45b4d1
push ebx
push esi
lea eax, [ebp - 0x44c]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_GetLogicalDriveStringsW]
test eax, eax
je 0x45b4c1
cmp word [ebp - 0x44c], di
mov dword [ebp + 0x6c], edi
je 0x45b4c1
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrcmpiW]
lea esi, [ebp - 0x44c]
push 0x4ecbbc
push esi
call ebx
test eax, eax
je 0x45b4ab
push 0x4ecbc4
push esi
call ebx
test eax, eax
je 0x45b4ab
mov ax, word [esi]
and word [ebp + 0x68], 0
mov word [ebp + 0x64], ax
mov ax, word [ebp + edi - 0x44a]
mov word [ebp + 0x66], ax
push 0x64
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp + 0x64]
push eax
call dword [sym.imp.KERNEL32.DLL_QueryDosDeviceW]
test eax, eax
je 0x45b4cd
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
mov edi, dword [ebp + 0x78]
mov esi, eax
push esi
lea eax, [ebp - 0x64]
push eax
push edi
call fcn.0048ecb5
add esp, 0xc
test eax, eax
je 0x45b4d9
add dword [ebp + 0x6c], 4
mov edi, dword [ebp + 0x6c]
add edi, edi
lea esi, [ebp + edi - 0x44c]
cmp word [esi], 0
jne 0x45b446
push dword [ebp + 0x78]
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
xor eax, eax
pop esi
pop ebx
pop edi
add ebp, 0x70
leave
ret 8
lea eax, [ebp + 0x64]
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.DLL_lstrcpyW]
lea eax, [edi + esi*2]
push eax
push dword [ebp + 0x7c]
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
xor eax, eax
inc eax
jmp 0x45b4cf
Function at 0x45c342
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, 0x4d595e
call fcn.004cdff0
sub esp, 0x21c
mov eax, dword [0x50c868]
push ebx
push esi
push edi
mov ecx, 0x50c868
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 4], eax
push 0x206
push eax
mov word [ebp - 0x228], ax
lea eax, [ebp - 0x226]
push eax
call fcn.00489f10
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
call fcn.0048a91e
pop ecx
lea ecx, [ebp - 0x228]
mov ebx, eax
push ecx
lea eax, [ebp - 0x10]
call fcn.00408058
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040849e
push 0x2e
lea esi, [ebp - 0x10]
call fcn.00408a51
cmp eax, 0xffffffff
je 0x45c409
mov ecx, eax
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.00408bc7
mov edi, esi
mov byte [ebp - 4], 1
call fcn.00407526
xor ebx, ebx
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.00407fe5
jmp 0x45c40b
xor ebx, ebx
mov eax, dword [0x50c868]
mov ecx, 0x50c868
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.0045c042
test eax, eax
jne 0x45c468
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00407fe5
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407fe5
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 0x45c4a3
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.00407fe5
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.00407fe5
mov eax, ebx
jmp 0x45c457
push ebx
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x45c50b
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.0040a65e
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov esi, eax
cmp esi, ebx
je 0x45c501
cmp dword [ebp - 0x14], edi
jne 0x45c501
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x45c4e9
fld qword [ebp - 0x20]
fstp qword [eax]
mov esi, dword [ebp + 0xc]
mov eax, edi
call fcn.0040b749
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor ebx, ebx
inc ebx
jmp 0x45c489
mov edx, dword [ebp + 0xc]
xor eax, eax
call fcn.0040a684
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ebx, esi
jmp 0x45c489
Function at 0x45e9a4
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4d22ca
call fcn.004cdff0
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 + 0x48], edi
mov eax, vtable.CBkBitmap.0
mov dword [esi + 0x44], eax
mov dword [esi + 0x54], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], eax
mov dword [esi + 0x6c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov byte [ebp - 4], 2
mov dword [esi + 0x70], edi
call fcn.004660c5
lea ecx, [esi + 0x78]
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 + 0x7c], edi
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4617e1
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 0x4618e3
mov eax, dword [eax + 0xc]
cmp eax, edi
jne 0x461809
mov ecx, esi
call fcn.00463568
mov eax, edi
jmp 0x4618ec
cmp eax, 2
jne 0x46181b
push 6
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x461802
cmp eax, 0x65
jne 0x461829
mov eax, esi
call fcn.00463a13
jmp 0x461802
cmp eax, 0x66
jne 0x461841
xor eax, eax
cmp dword [esi + 0x510], eax
sete al
push eax
call fcn.004641b2
jmp 0x461802
cmp eax, 0x191
jne 0x461850
push edi
call fcn.00463bf9
jmp 0x461802
cmp eax, 0x96
jne 0x461876
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.004634d1
jmp 0x461802
cmp eax, 0x1f5
jne 0x46188b
xor ecx, ecx
mov eax, esi
call fcn.0042d38c
jmp 0x461802
cmp eax, 0x3e9
jne 0x4618ad
push edi
xor eax, eax
push eax
push eax
push str.https:__vipguanjia.net_userLicense.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x461802
cmp eax, 0x3ea
jne 0x4618c0
push edi
xor eax, eax
push eax
push eax
push str.https:__vipguanjia.net_privacy.html
jmp 0x46189c
cmp eax, 0x68
jne 0x4618d0
push esi
call fcn.00463f58
jmp 0x461802
cmp eax, 0x3e8
jne 0x4618e3
mov ebx, esi
call fcn.0046344f
jmp 0x461802
and dword [esi + 0x544], 0
xor eax, eax
pop edi
pop esi
pop ebx
ret