joyce8/EMBER2024-capa huggingface dataset:
Function at 0x481418
Capabilities:
Terminate thread

Disassembly:
push ecx
and dword [esp], 0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ebp, [esi + 0x2c]
push ebp
call edi
lea ebx, [esi + 0x14]
push ebx
call edi
cmp byte [esi + 4], 0
jne 0x481445
mov dword [esp + 0x10], 0xfffffffd
jmp 0x48145d
push 0
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esi + 4], 0
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebx
call esi
push ebp
call esi
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x48152c
Capabilities:
Create thread

Disassembly:
push ecx
push ecx
and dword [esp], 0
push ebx
push esi
mov esi, eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esi + 0x2c]
push eax
mov dword [esp + 0x14], eax
call edi
call fcn.004815d7
test al, al
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
je 0x48155d
or dword [esp + 0xc], 0xffffffff
jmp 0x4815c7
push ebp
push 8
call fcn.0046133b
mov ebp, eax
xor eax, eax
cmp ebp, eax
pop ecx
jne 0x481578
mov dword [esp + 0x10], 0xfffffffa
jmp 0x4815c6
lea ecx, [esi + 0xc]
push ecx
push eax
push ebp
push 0x4817c6
push eax
push eax
mov dword [ebp], esi
mov dword [ebp + 4], eax
call fcn.004aa41d
add esp, 0x18
test eax, eax
mov dword [esi + 8], eax
je 0x4815b7
lea ebp, [esi + 0x14]
jmp 0x4815a9
call ebx
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebp
call edi
cmp byte [esi + 4], 0
push ebp
je 0x48159f
call ebx
jmp 0x4815c6
push ebp
call fcn.004a5e9d
pop ecx
mov dword [esp + 0x10], 0xfffffffe
pop ebp
push dword [esp + 0x10]
call ebx
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
ret
Function at 0x4816f8
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4cbc00
call fcn.004ca860
push ebx
push esi
mov esi, dword [ebp + 8]
mov dword [esi], vtable.KInstallTool::KUIInfoReport.0
mov eax, dword [edi + 4]
mov dword [esi + 4], eax
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
push 0x10
pop ebx
sub eax, ebx
call fcn.00403285
add eax, ebx
mov dword [esi + 0xc], eax
and dword [ebp - 4], 0
mov eax, dword [edi + 0x10]
sub eax, ebx
call fcn.00403285
add eax, ebx
mov dword [esi + 0x10], eax
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x14]
sub eax, ebx
call fcn.00403285
add eax, ebx
mov dword [esi + 0x14], eax
mov byte [ebp - 4], 2
mov eax, dword [edi + 0x18]
sub eax, ebx
call fcn.00403285
add eax, ebx
mov dword [esi + 0x18], eax
mov byte [ebp - 4], 3
mov eax, dword [edi + 0x1c]
sub eax, ebx
call fcn.00403285
add eax, ebx
mov dword [esi + 0x1c], eax
mov byte [ebp - 4], 4
mov eax, dword [edi + 0x20]
sub eax, ebx
call fcn.00403285
add eax, ebx
mov dword [esi + 0x20], eax
mov al, byte [edi + 0x24]
mov ecx, dword [ebp - 0xc]
mov byte [esi + 0x24], al
mov al, byte [edi + 0x25]
mov byte [esi + 0x25], al
mov al, byte [edi + 0x26]
mov byte [esi + 0x26], al
mov al, byte [edi + 0x27]
mov byte [esi + 0x27], al
mov al, byte [edi + 0x28]
mov byte [esi + 0x28], al
mov eax, dword [edi + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x481b09
Capabilities:
Create thread

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0xe8
push ebx
xor ebx, ebx
xor eax, eax
cmp dword [0x50d894], ebx
je 0x481b27
inc eax
jmp 0x481c16
push esi
push edi
mov byte [ebp + 0x54], bl
lea edi, [ebp + 0x55]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov dword [ebp + 0x68], ebx
lea edi, [ebp + 0x6c]
stosd dword es:[edi], eax
push 0xc6
stosd dword es:[edi], eax
lea eax, [ebp - 0x72]
push ebx
push eax
mov word [ebp - 0x74], bx
call fcn.004a6df0
add esp, 0xc
call fcn.00482021
push dword [ebp + 0x7c]
mov dword [0x50d898], eax
push 0x50d86c
call fcn.00403504
call fcn.00481f6e
xor edi, edi
inc edi
push edi
lea eax, [ebp + 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push ebx
push ebx
push edi
lea eax, [ebp + 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [ebp + 0x54]
push 0x50d870
mov dword [ebp + 0x68], 0xc
mov dword [ebp + 0x6c], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea eax, [ebp - 0x74]
push 0x4ebc20
push eax
call fcn.004822ad
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventW]
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push edi
push edi
lea eax, [ebp + 0x68]
push eax
call esi
push ebx
push ebx
push edi
push ebx
mov dword [0x50d860], eax
call esi
cmp dword [0x50d860], ebx
mov dword [0x50d864], eax
je 0x481c12
cmp eax, ebx
je 0x481c12
push ebx
push ebx
push 0x50d858
push 0x481dc1
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [0x50d868], eax
je 0x481c12
mov dword [0x50d894], edi
mov eax, edi
jmp 0x481c14
xor eax, eax
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4

Function at 0x481c1e
Capabilities:
Terminate thread

Disassembly:
push esi
push edi
xor edi, edi
cmp dword [0x50d868], edi
mov dword [0x50d858], 1
je 0x481c69
mov eax, dword [0x50d864]
cmp eax, edi
je 0x481c44
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0xea60
push dword [0x50d868]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x481c69
push edi
push dword [0x50d868]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [0x50d864]
cmp eax, edi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x481c81
push eax
call esi
mov dword [0x50d864], edi
mov eax, dword [0x50d868]
cmp eax, edi
je 0x481c93
push eax
call esi
mov dword [0x50d868], edi
mov dword [0x50d894], edi
pop edi
pop esi
ret
Function at 0x481dcd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cda2c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
mov esi, ecx
call fcn.00482171
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebx
push 0xffffffffffffffff
mov dword [esp + 0x50], ebx
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
jne 0x481f47
lea edi, [esi + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x38]
mov dword [esi + 0x38], eax
push dword [esi + 0xc]
mov dword [esp + 0x24], ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [esp + 0x20], ebx
je 0x481f30
cmp dword [esi + 4], ebx
jne 0x481e76
mov eax, dword [esi + 0x14]
push 0x4ebca0
push eax
call fcn.004aaa18
cmp eax, ebx
pop ecx
pop ecx
mov dword [esi + 4], eax
je 0x481f30
push ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x40], 0xf
call fcn.0041a6cd
mov byte [esp + 0x4c], 1
cmp dword [esp + 0x20], ebx
je 0x481f0a
mov eax, dword [esp + 0x1c]
mov edi, dword [eax]
cmp edi, eax
jne 0x481ea2
call fcn.004a7b94
push 0xffffffffffffffff
push ebx
add edi, 8
push edi
lea ecx, [esp + 0x30]
call fcn.0041a6e9
mov eax, dword [esp + 0x1c]
push dword [eax]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
lea ebx, [esp + 0x24]
call fcn.0048211b
cmp dword [esp + 0x3c], 0x10
mov ecx, dword [esp + 0x28]
jae 0x481eda
lea ecx, [esp + 0x28]
mov eax, dword [esi + 4]
test eax, eax
je 0x481f02
push eax
push dword [esp + 0x3c]
push 1
push ecx
call fcn.004ac01e
push dword [esi + 4]
push 2
push 1
push 0x4e90a0
call fcn.004ac01e
add esp, 0x20
xor ebx, ebx
cmp dword [esp + 0x20], ebx
jne 0x481e93
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x481f1b
push eax
call fcn.004aad54
pop ecx
mov dword [esi + 4], ebx
push ebx
push 1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x54], bl
call fcn.0041a682
jmp 0x481e16
cmp dword [esi], ebx
jne 0x481f47
push 0xffffffffffffffff
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x481e16
lea esi, [esp + 0x18]
call fcn.00482189
push dword [esp + 0x1c]
call fcn.004a5e9d
pop ecx
mov ecx, dword [esp + 0x44]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x481f6e
Capabilities:
Delete file
Get file size
Move file
Set file attributes

Disassembly:
mov eax, 0x4cd64e
call fcn.004ca860
push ecx
push ebx
push esi
xor esi, esi
push esi
push 0x80
push 3
push esi
push 3
push SysReAllocString
push dword [0x50d86c]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x482010
push edi
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x481fb2
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0x80000
jb 0x48200f
mov eax, dword [0x50d86c]
add eax, 0xfffffff0
call fcn.00403285
add eax, 0x10
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], esi
call fcn.00482086
mov edi, dword [ebp - 0x10]
mov ebx, dword [0x50d86c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push ebx
call esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea eax, [edi - 0x10]
call fcn.004027f4
pop edi
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop esi
inc eax
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4823c3
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4cc831
call fcn.004ca860
sub esp, 0x98
push ebx
push esi
xor ebx, ebx
push edi
mov esi, ecx
mov dword [ebp - 0xa4], vtable.KMD5.0
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, eax
lea eax, [esi + 4]
add esi, 0x14
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], esi
mov eax, dword [0x50bacc]
mov ecx, 0x50bacc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x2c]
mov eax, edi
mov byte [ebp - 4], 1
call fcn.00482565
test eax, eax
je 0x482538
mov ebx, dword [ebp - 0x14]
cmp dword [ebx - 0xc], 0
je 0x482540
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x482540
push 0x5c
lea esi, [ebp - 0x14]
call fcn.00433944
cmp eax, 0xffffffff
je 0x482540
lea edx, [eax + 1]
lea eax, [ebp - 0x28]
push eax
mov eax, esi
call fcn.004030bf
mov edi, dword [ebp - 0x18]
add edi, 0xfffffff4
mov byte [ebp - 4], 2
call fcn.00403197
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
call fcn.004027f4
mov byte [ebp - 0x40], 0
xor eax, eax
lea edi, [ebp - 0x3f]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea edi, [ebp - 0xa4]
call fcn.0044a647
test eax, eax
je 0x482540
push 0x10
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.004a5880
mov eax, dword [0x50bacc]
add esp, 0xc
mov ecx, 0x50bacc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
xor esi, esi
movzx eax, byte [ebp + esi - 0x40]
push eax
push 0x4eaf20
lea ecx, [ebp - 0x1c]
call fcn.00414cb5
inc esi
cmp esi, 0x10
pop ecx
pop ecx
jl 0x4824df
mov esi, dword [ebp - 0x1c]
cmp dword [esi - 0xc], 0
je 0x48250e
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x1c]
call fcn.00403197
mov edi, dword [ebp - 0x24]
lea eax, [esi - 0x10]
call fcn.004027f4
lea eax, [ebx - 0x10]
mov byte [ebp - 4], 0
call fcn.004027f4
inc dword [ebp - 0x20]
add dword [ebp - 0x18], 4
cmp dword [ebp - 0x20], 3
jl 0x482407
jmp 0x482548
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
jmp 0x482543
lea eax, [ebx - 0x10]
call fcn.004027f4
lea ecx, [ebp - 0xa4]
call fcn.0044a61d
mov ecx, dword [ebp - 0xc]
pop edi
xor eax, eax
pop esi
inc eax
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x482565
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x440
push ebx
push esi
xor esi, esi
cmp dword [ecx], esi
push edi
jne 0x482581
xor eax, eax
jmp 0x4826c6
cmp eax, esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
je 0x4826c3
cmp eax, 4
je 0x4826c3
cmp eax, 8
je 0x4826c3
mov ebx, dword [sym.imp.KERNEL32.dll_OpenProcess]
push eax
push esi
push 0x400
call ebx
cmp eax, esi
mov dword [ebp - 0xc], eax
je 0x4826c3
xor eax, eax
mov dword [ebp - 0x2c], esi
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
push 0x18
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp + 8]
push esi
push dword [ebp - 0xc]
call dword [eax]
test eax, eax
jne 0x4826ae
mov eax, dword [ebp - 0x18]
cmp eax, esi
mov dword [ebp + 8], eax
je 0x4826ae
cmp eax, 8
je 0x4826ae
push eax
push esi
push 0x410
call ebx
mov edi, eax
cmp edi, esi
mov dword [ebp - 8], edi
je 0x4826ae
mov ebx, 0x206
push ebx
lea eax, [ebp - 0x232]
push esi
push eax
mov word [ebp - 0x234], si
call fcn.004a6df0
add esp, 0xc
push 0x103
lea eax, [ebp - 0x234]
push eax
push esi
push edi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jne 0x48268c
push ebx
lea eax, [ebp - 0x43a]
push esi
push eax
mov word [ebp - 0x43c], si
call fcn.004a6df0
add esp, 0xc
push 0x104
lea eax, [ebp - 0x43c]
push eax
push edi
call sub.PSAPI.DLL_GetProcessImageFileNameW
test eax, eax
je 0x4826ae
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x43c]
push eax
call fcn.004826cd
test eax, eax
je 0x4826ae
mov eax, dword [ebp + 0x10]
cmp eax, esi
je 0x482698
mov ecx, dword [ebp + 8]
mov dword [eax], ecx
lea eax, [ebp - 0x234]
push eax
push dword [ebp + 0xc]
call fcn.00403504
mov dword [ebp - 0x10], 1
push dword [ebp - 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
cmp dword [ebp - 8], esi
je 0x4826c3
push dword [ebp - 8]
call edi
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4826cd
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 0x4826e7
xor eax, eax
jmp 0x4827aa
push ebx
push esi
lea eax, [ebp - 0x44c]
push eax
push 0x3e8
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x48279a
cmp word [ebp - 0x44c], di
mov dword [ebp + 0x6c], edi
je 0x48279a
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea esi, [ebp - 0x44c]
push 0x4ebce0
push esi
call ebx
test eax, eax
je 0x482784
push 0x4ebce8
push esi
call ebx
test eax, eax
je 0x482784
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 0x4827a6
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.004ab31f
add esp, 0xc
test eax, eax
je 0x4827b2
add dword [ebp + 0x6c], 4
mov edi, dword [ebp + 0x6c]
add edi, edi
lea esi, [ebp + edi - 0x44c]
cmp word [esi], 0
jne 0x48271f
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 0x4827a8
Function at 0x48286c
Capabilities:
Create process on windows

Disassembly:
push ebx
push esi
xor ebx, ebx
mov esi, ecx
mov ecx, dword [eax + 8]
inc ebx
cmp ecx, ebx
push edi
jne 0x48298d
mov eax, dword [eax + 0xc]
cmp eax, ebx
jne 0x482892
call fcn.00483c52
mov eax, ebx
jmp 0x482996
cmp eax, 2
jne 0x4828b1
lea ecx, [esi + 0x602]
xor eax, eax
cmp byte [ecx], al
jne 0x4828a5
mov byte [ecx], bl
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x48288b
cmp eax, 0x65
jne 0x4828bf
mov edi, esi
call fcn.00483cef
jmp 0x48288b
cmp eax, 0x66
jne 0x4828d7
xor eax, eax
cmp dword [esi + 0x594], eax
sete al
push eax
call fcn.00484b63
jmp 0x48288b
cmp eax, 0x191
jne 0x482912
xor ecx, ecx
mov eax, esi
call fcn.0040e7c2
call fcn.0047dd05
test eax, eax
je 0x48288b
xor eax, eax
push eax
push eax
push 2
push 2
push 0x4e4ef8
push eax
push eax
push 0x4e4f08
push eax
call fcn.0040c581
add esp, 0x24
jmp 0x48288b
cmp eax, 0x96
jne 0x48293a
push dword [esi + 0x5c0]
push dword [esi + 0x598]
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor eax, eax
push eax
push eax
push esi
call fcn.00483870
jmp 0x48288b
cmp eax, 0x1f5
jne 0x48294d
mov edi, esi
call fcn.00483d97
jmp 0x48288b
cmp eax, 0xa0
jne 0x48297d
push ebx
xor eax, eax
push eax
push eax
push str.https:__www.ijinshan.com_privacy_duba_enduserlicenseandsevice_agreement.html
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x48288b
call fcn.00483e87
jmp 0x48288b
cmp eax, 0x68
jne 0x48298d
push esi
call fcn.004848a4
jmp 0x48288b
and dword [esi + 0x5c4], 0
xor eax, eax
pop edi
pop esi
pop ebx
ret
Function at 0x482dfb
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 0x482e6c
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 0x482e6c
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)
fcomp qword [0x4ed5a8]
fnstsw ax
test ah, 1
jne 0x482e6c
inc esi
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x482ff9
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4ce7fe
call fcn.004ca860
sub esp, 0x408
push esi
push edi
xor esi, esi
push 0x3fe
lea eax, [ebp - 0x412]
push esi
mov dword [ebp - 0x14], esi
push eax
mov edi, str.https:__wpa1.qq.com_5ciKQjBf__typewpaqidiantrue
mov dword [ebp - 0x14], str.MarketQQLink
mov word [ebp - 0x414], si
call fcn.004a6df0
add esp, 0xc
test byte [0x50da1c], 1
jne 0x48305f
or dword [0x50da1c], 1
mov dword [ebp - 4], esi
call fcn.00482e72
push 0x4d11b3
call fcn.004a5861
or dword [ebp - 4], 0xffffffff
pop ecx
mov eax, dword [0x50d960]
cmp eax, esi
je 0x48307e
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
test al, al
je 0x48307e
mov edi, str.https:__wpa1.qq.com_FDdK6y0s__typewpaqidiantrue
mov dword [ebp - 0x14], str.VipMarketQQLink
push esi
lea ecx, [ebp - 0x10]
call fcn.0047b0b2
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], 1
call fcn.0047b1be
pop ecx
pop ecx
push str.dataoperation_contact.dat
lea eax, [ebp - 0x10]
push eax
call fcn.00433844
push dword [ebp - 0x10]
lea eax, [ebp - 0x414]
push 0x200
push eax
push edi
push dword [ebp - 0x14]
push str.FeedBack
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x414]
push eax
push dword [ebp + 8]
call fcn.00403321
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004027f4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 4

Function at 0x483e87
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4cd64e
call fcn.004ca860
push ecx
push ecx
push esi
push 1
push 0
mov esi, str.https:__www.ijinshan.com_privacy_duba_enduserlicenseandsevice_agreement.html
push esi
push str.IEXPLORE.EXE
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x483ed9
lea eax, [ebp - 0x10]
push eax
call fcn.0047d7cd
pop ecx
and dword [ebp - 4], 0
push esi
push dword [ebp - 0x10]
call fcn.0047ceac
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
add eax, 0xfffffff0
call fcn.004027f4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
leave
ret
Function at 0x483ee6
Capabilities:
Inspect load icon resource

Disassembly:
mov eax, 0x4cc7da
call fcn.004ca860
sub esp, 0xc
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
mov esi, ecx
and dword [ebp - 4], 0
push 0x66
push dword [0x50ba60]
call dword [sym.imp.USER32.dll_LoadIconW]
mov ebx, eax
mov eax, dword [esi + 4]
mov dword [esi + 0x64c], eax
lea eax, [ebp - 0x14]
push 0x4ebfa8
lea edi, [esi + 0x648]
lea ecx, [esi + 0x62c]
push eax
mov dword [ebp - 0x18], ebx
mov dword [esi + 0x65c], ebx
mov dword [edi], 0x3b8
mov dword [esi + 0x654], 7
mov dword [esi + 0x658], 0x468
mov dword [esi + 0x968], 3
mov dword [esi + 0x650], 2
call fcn.0041d9a9
push dword [eax]
add esi, 0x660
push 0x80
push esi
call fcn.004a687d
mov eax, dword [ebp - 0x14]
add esp, 0x14
add eax, 0xfffffff0
call fcn.004027f4
push edi
push 0
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
test eax, eax
je 0x483f9f
mov dword [ebp - 0x10], 1
test ebx, ebx
je 0x483faa
push ebx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4847dc
Capabilities:
Check if file exists
Get disk information
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push dword [edi]
lea esi, [ebp - 4]
call fcn.0047d3be
mov eax, dword [ebp - 4]
pop ecx
add eax, 0xfffffff0
call fcn.004027f4
mov eax, dword [edi]
push 3
pop esi
cmp dword [eax - 0xc], esi
jl 0x48489d
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48481f
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 1
je 0x48489d
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.0040315b
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, esi
mov eax, dword [ebp - 4]
setne bl
add eax, 0xfffffff0
call fcn.004027f4
test bl, bl
je 0x48484c
push 2
pop eax
jmp 0x4848a0
push edi
call fcn.00484750
test eax, eax
pop ecx
je 0x48485b
mov eax, esi
jmp 0x4848a0
mov ecx, esi
lea edx, [ebp - 4]
mov eax, edi
call fcn.0040315b
push dword [eax]
call fcn.00482dfb
mov ebx, eax
mov eax, dword [ebp - 4]
neg ebx
sbb bl, bl
pop ecx
add eax, 0xfffffff0
inc bl
call fcn.004027f4
test bl, bl
je 0x48488a
push 4
jmp 0x484849
mov eax, dword [edi]
cmp dword [eax - 0xc], 0x96
jle 0x484899
push 5
jmp 0x484849
xor eax, eax
jmp 0x4848a0
xor eax, eax
inc eax
pop esi
pop ebx
leave
ret