joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4568c0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4568f3
push esi
call fcn.004599d0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4568ec
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x456979
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x456962
mov eax, dword [esi + 8]
test eax, eax
je 0x456917
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x45695e
cmp eax, 2
je 0x456962
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x45690a
cmp eax, 3
je 0x45693d
cmp eax, 1
jne 0x45690a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x45690a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x45690a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004569a0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x456988
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004569a0
add esp, 4
pop esi
ret

Function at 0x462b80
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x462c23
test eax, eax
jbe 0x462c23
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x462c23
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x462bce
xor esi, esi
jmp 0x462bd4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x462bff
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00466610
add esi, eax
push esi
mov ebx, esi
call fcn.00466610
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x462be0
pop ebp
test edi, edi
pop edi
jne 0x462c23
test ebx, ebx
je 0x462c23
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0046b960
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x462d65
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x462e7d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x462e7d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0047d5d5
mov esi, eax
test esi, esi
je 0x462e7d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x462e7d
mov ecx, esi
call fcn.00462cd0
cmp edi, eax
jge 0x462e7d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x462e03
mov dword [esp + 0x34], 1
jmp 0x462e5e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x462e7d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.00462220
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x466ab0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x466b16
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x466b16
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x466af7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x466ea0
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x466ed8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x467b00
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x467b49
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x467fc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48ade0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00467b70
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00467bf0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00467bf0
lea ecx, [esi + 0xc]
call fcn.0047bb35
lea ecx, [esi + 0x10]
call fcn.0047bb35
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00469180
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00469180
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00469180
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.0047bbaa
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.0047bbaa
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x47df78
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x47dfb0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0047c005
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0047bfdd
jmp 0x47dfbc
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x47f666
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x47f6a8
call fcn.00485426
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x47f6a8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x47f69f
xor eax, eax
jmp 0x47f6b0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0047f6b6
pop edi
pop esi
pop ebx
ret 4

Function at 0x485956
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x485984
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4859a2
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004858bc
jmp 0x4859a2
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4859a2
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004858bc
test edi, edi
mov eax, edi
jne 0x48598c
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401000
Capabilities:
Packed with generic packer

Disassembly:
mov eax, 0x656fb8
push eax
push dword fs:[0]
outsd dx, dword [esi]
add byte gs:[eax + 0x64], dl
push dword [0]
mov dword fs:[0], esp
xor eax, eax
mov dword [eax], ecx
push eax
inc ebp
inc ebx
outsd dx, dword [esi]
insd dword es:[edi], dx
jo 0x401080
arpl word [edx + esi], si
adc ebx, dword [edi - 0x54]
xchg ebx, eax
neg dl
push cs
dec ecx
mov eax, 0x7fb97088
add ah, ah
aam 0xeb
jp 0x40109d
mov byte [eax - 0x47], dh
jg 0x401033
mov ecx, 0xd4e4027f
in al, 0xd4
jmp 0x4010af
test eax, 0xcf33638c
adc ch, bl
js 0x400fd0
sbb ch, ah
daa
stosd dword es:[edi], eax
mov dword [0x540fb128], eax
xchg edi, eax
inc ecx
and dword [esi + esi*8 - 0x78], ebp
rcr byte [eax - 0x2e], 0xa4
sti
push ss
scasd eax, dword es:[edi]
jne 0x40108b
jl 0x40102c
salc
pushal
jbe 0x401085
daa
xchg esp, eax
lcall 0xa4e8, 0x1020bb2d
mov ebx, 0xa4e81020
push eax
in eax, dx
xor bl, ah
sti
bnd jg 0x401002
popal
lea ebp, [edx - 0x70bb56c6]
push ds
pop ss
cmp dword [eax + ebx*8 + 0x46], eax
and byte [eax - 0x702274c0], al
pop eax
test al, 0xc5
fisttp qword [edi + 0x3dc5a858]
lahf
mov ah, 0xc2
sub ecx, dword [0x6e1df55c]
cmp eax, 0x2bc2b49f
or eax, 0x6e1df55c
pop esp
cmc
sbb eax, 0x97530b6e
or edx, dword [ebx - 0x69]
in al, 0x34
sub dword [edi], edx
stosd dword es:[edi], eax
loop 0x4010a6
shr byte [edx - 0x45d61c4d], 1
arpl word [edi - 0x278de9a], dx
sub dword [edx + 0x21669763], edi
xchg ebp, edi
jo 0x4010b7
adc byte [ebx - 0x7b], dh
jae 0x40102e
xlatb
in al, dx
scasd eax, dword es:[edi]
rol dword [0xffffd0cf], 1
fisub dword [edx + 0x3d]
xchg edi, eax
xchg ebp, eax
push 0xa7e35ce0
iretd
loopne 0x401115
jecxz 0x401062
jmp 0x4010fb
and dh, byte es:[esp + ebp*4 - 0x23]
pop edx
enter 0xffffffffffffeae3, 0xffffffffffffff98
stosd dword es:[edi], eax
add eax, 0x6eeca138
out 0x20, eax
fcomp qword [edi + ecx*8 - 0x11]
aas
dec edi
sub bh, byte [eax + 0x37]
xor edx, dword [edx]
rol byte [eax + 0x43], 0xbe
call 0x994340fd
sub dword [edx + edx*8], 0x59
or byte [ebp + 0x4d], 0x13
mov ebp, 0x837088a5
in al, 0xcf
sti
sub dword [eax - 0x26fb9b57], esp
stosd dword es:[edi], eax
xlatb
mov byte [0xfd0f3f20], al
push ebp
cmp byte [esi + esi*2 - 0xf8a4bf2], dh
out dx, eax
in eax, 0x55
iretd
add dword [edi], eax
jp 0x401155
fnstenv [esi]
rcr dword [esi + ecx - 0x3170fcc3], 0xaa
dec ecx
cld
inc edx
inc eax
push ecx
lds edx, [ecx - 0x55b53a8b]
cld
test byte [ebp + edx*4 + 0x19], dh
push cs
loop 0x4010bd
add ebp, dword [ebp - 0x39]
jg 0x401198
fcom qword [0x6d805a99]
fidiv dword [ebx - 7]
inc ebp
movsd dword es:[edi], dword [esi]
xchg ecx, eax
rcl dl, cl
xor esp, dword [ecx - 0x3e5e23c6]
and cl, byte [edx - 0x55]
pop ss
cmp byte [ebp + 0x15], dl
aas
pop edx
sbb dl, dh
push ebp
adc eax, 0xd61a5a3f
dec edx
or al, dl
retf 0x6e55
invalid
Function at 0x401c70
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x40a5db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x438
push ebx
push ebp
push esi
push edi
push 0
push 2
mov dword [esp + 0x11c], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebx, eax
lea eax, [esp + 0x114]
push eax
push ebx
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x401dad
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x11c]
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
push ecx
push eax
push 0x1f0fff
call edi
lea edx, [esp + 0x10]
mov esi, eax
push edx
push esi
call fcn.00401dd0
add esp, 8
test eax, eax
jne 0x401d36
mov ebp, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call ebp
lea eax, [esp + 0x114]
push eax
push ebx
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x401dad
mov ecx, dword [esp + 0x11c]
push ecx
push 0
push 0x1f0fff
call edi
lea edx, [esp + 0x10]
mov esi, eax
push edx
push esi
call fcn.00401dd0
add esp, 8
test eax, eax
je 0x401cf8
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dl, byte [esp + ecx + 0x10]
lea eax, [esp + ecx + 0x10]
cmp dl, 0x5c
je 0x401d64
mov edx, ecx
dec ecx
test edx, edx
jle 0x401d64
mov byte [eax], 0
mov dl, byte [eax - 1]
dec eax
cmp dl, 0x5c
jne 0x401d51
lea ecx, [esp + 0x23c]
call fcn.00403800
lea eax, [esp + 0x10]
lea ecx, [esp + 0x23c]
push eax
push str.Insertpath
push str.Insert
mov dword [esp + 0x45c], 0
call fcn.00403c60
lea ecx, [esp + 0x23c]
mov dword [esp + 0x450], 0xffffffff
call fcn.00403870
mov ecx, dword [esp + 0x448]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x444
ret

Function at 0x401dd0
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x110c
call fcn.00404330
push ebx
push ebp
mov ebp, dword [esp + 0x1118]
xor ebx, ebx
cmp ebp, ebx
mov dword [esp + 8], ebx
jne 0x401df8
pop ebp
xor eax, eax
pop ebx
add esp, 0x110c
ret
push esi
lea eax, [esp + 0x10]
push edi
push eax
lea ecx, [esp + 0x120]
push 0x1000
push ecx
push ebp
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x401ebf
test dword [esp + 0x14], 0xfffffffc
jbe 0x401ebf
lea esi, [esp + 0x11c]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
push 0x104
push edx
push eax
push ebp
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
je 0x401e73
lea ecx, [esp + 0x18]
push ecx
call fcn.004042b0
lea edx, [esp + 0x1c]
push str.qvodupdate.exe
push edx
call fcn.0040423a
add esp, 0xc
test eax, eax
jne 0x401e91
mov eax, dword [esp + 0x14]
inc ebx
shr eax, 2
add esi, 4
cmp ebx, eax
jb 0x401e2f
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110c
ret
lea edi, [esp + 0x18]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x10], 1
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x1124]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110c
ret
Function at 0x401ed0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
sub esp, 0x128
push ebp
push 0
push 2
mov dword [esp + 0xc], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
lea eax, [esp + 4]
push eax
push ebp
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x401f44
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [esp + 0x18]
push ecx
push 0
push 0x1f0fff
call edi
mov esi, eax
push esi
call fcn.00401f50
add esp, 4
test eax, eax
je 0x401f2a
push 4
push esi
call ebx
lea edx, [esp + 0x10]
push edx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x401f08
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x128
ret
xor eax, eax
pop ebp
add esp, 0x128
ret

Function at 0x401f50
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x110c
call fcn.00404330
push ebx
push ebp
mov ebp, dword [esp + 0x1118]
xor ebx, ebx
cmp ebp, ebx
mov dword [esp + 8], ebx
jne 0x401f78
pop ebp
xor eax, eax
pop ebx
add esp, 0x110c
ret
push esi
lea eax, [esp + 0x10]
push edi
push eax
lea ecx, [esp + 0x120]
push 0x1000
push ecx
push ebp
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x402093
test dword [esp + 0x14], 0xfffffffc
jbe 0x402093
lea esi, [esp + 0x11c]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
push 0x104
push edx
push eax
push ebp
call sub.PSAPI.DLL_GetModuleFileNameExA
test eax, eax
je 0x402069
lea ecx, [esp + 0x18]
push ecx
call fcn.004042b0
lea edx, [esp + 0x1c]
push str.qvodinsert.dll
push edx
call fcn.0040423a
add esp, 0xc
test eax, eax
jne 0x40208b
lea eax, [esp + 0x18]
push str.qvodplayer.exe
push eax
call fcn.0040423a
add esp, 8
test eax, eax
jne 0x40208b
lea ecx, [esp + 0x18]
push str.qvodterminal.exe
push ecx
call fcn.0040423a
add esp, 8
test eax, eax
jne 0x40208b
lea edx, [esp + 0x18]
push str.qvodtvplayer.exe
push edx
call fcn.0040423a
add esp, 8
test eax, eax
jne 0x40208b
lea eax, [esp + 0x18]
push str.mencoder.exe
push eax
call fcn.0040423a
add esp, 8
test eax, eax
jne 0x40208b
lea ecx, [esp + 0x18]
push str.qvodnetbar.exe
push ecx
call fcn.0040423a
add esp, 8
test eax, eax
jne 0x40208b
mov edx, dword [esp + 0x14]
inc ebx
shr edx, 2
add esi, 4
cmp ebx, edx
jb 0x401faf
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110c
ret
mov dword [esp + 0x10], 1
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110c
ret

Function at 0x4020b0
Capabilities:
Stop service

Disassembly:
sub esp, 0x1c
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test eax, eax
jne 0x4020ca
add esp, 0x1c
ret
push 0x20
push str.Qvod_Terminal
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
test eax, eax
jne 0x4020e0
add esp, 0x1c
ret
lea ecx, [esp]
push ecx
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_ControlService]
neg eax
sbb eax, eax
neg eax
add esp, 0x1c
ret
Function at 0x4023a0
Capabilities:
Delete file
Move file

Disassembly:
sub esp, 0x208
push esi
mov esi, dword [esp + 0x210]
push edi
push str.QvodPlayer.exe
push esi
lea eax, [esp + 0x10]
push str._s_s
push eax
call fcn.00403e14
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.004025c0
add esp, 0x18
lea edx, [esp + 8]
push str.QvodTerminal.exe
push esi
push str._s_s
push edx
call fcn.00403e14
lea eax, [esp + 0x18]
push 0
push eax
call fcn.004025c0
add esp, 0x18
lea ecx, [esp + 8]
push str.Qupdate.exe
push esi
push str._s_s
push ecx
call fcn.00403e14
lea edx, [esp + 0x18]
push 0
push edx
call fcn.004025c0
add esp, 0x18
lea eax, [esp + 8]
push str.zh_TW.dll
push esi
push str._slang_s
push eax
call fcn.00403e14
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.004025c0
add esp, 0x18
lea edx, [esp + 8]
push str.en_US.dll
push esi
push str._slang_s
push edx
call fcn.00403e14
lea eax, [esp + 0x18]
push 0
push eax
call fcn.004025c0
add esp, 0x18
lea ecx, [esp + 8]
push str.ColorFilter.ax
push esi
push str._sCodecs_s
push ecx
call fcn.00403e14
lea edx, [esp + 0x18]
push 1
push edx
call fcn.004025c0
add esp, 0x18
lea eax, [esp + 8]
push str.QvodInsert.dll
push esi
push str._s_s
push eax
call fcn.00403e14
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.004025c0
add esp, 0x18
push str.NetAgent.dll
push esi
lea edx, [esp + 0x10]
push str._s_s
push edx
call fcn.00403e14
lea eax, [esp + 0x18]
push 0
push eax
call fcn.004025c0
add esp, 0x18
lea ecx, [esp + 8]
push str.QvodNetBar.exe
push esi
push str._s_s
push ecx
call fcn.00403e14
lea edx, [esp + 0x18]
push 0
push edx
call fcn.004025c0
add esp, 0x18
lea eax, [esp + 8]
push str.QvodBand.dll
push esi
push str._s_s
push eax
call fcn.00403e14
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.004025c0
add esp, 0x18
lea edx, [esp + 8]
push str.ShareModule.dll
push esi
push str._s_s
push edx
call fcn.00403e14
lea eax, [esp + 0x18]
push 0
push eax
call fcn.004025c0
add esp, 0x18
lea ecx, [esp + 8]
push str.QvodExtend.dll
push esi
push str._s_s
push ecx
call fcn.00403e14
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11d]
mov byte [esp + 0x11c], 0
rep stosd dword es:[edi], eax
add esp, 0x10
lea edx, [esp + 0x10c]
stosw word es:[edi], ax
push str.QvodExtend.dll
push esi
push str._sCodecs_s
push edx
stosb byte es:[edi], al
call fcn.00403e14
add esp, 0x10
lea eax, [esp + 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x10c]
lea edx, [esp + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
pop edi
mov eax, 1
pop esi
add esp, 0x208
ret

Function at 0x4025c0
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4025d8
mov eax, 1
pop esi
ret
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4025e9
push esi
call fcn.004026f0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4025fe
push eax
push esi
call fcn.00402600
add esp, 8
pop esi
ret
Function at 0x402640
Capabilities:
Get common file path

Disassembly:
sub esp, 0x30c
mov ecx, 0x82
xor eax, eax
push esi
push edi
lea edi, [esp + 0x10c]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jbe 0x4026e1
lea ecx, [esp + 0x10c]
lea edx, [esp + 8]
push ecx
push 0
push str.update
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
test eax, eax
jne 0x40269e
pop edi
pop esi
add esp, 0x30c
ret
mov ecx, dword [esp + 0x31c]
mov esi, dword [esp + 0x318]
lea eax, [esp + 0x10c]
push 1
push eax
push ecx
call esi
test eax, eax
jne 0x4026c6
pop edi
pop esi
add esp, 0x30c
ret
push 4
lea edx, [esp + 0x110]
push 0
push edx
call esi
test eax, eax
jne 0x4026e1
pop edi
pop esi
add esp, 0x30c
ret
pop edi
mov eax, 1
pop esi
add esp, 0x30c
ret
Function at 0x4035a0
Capabilities:
Get disk information
Get disk size

Disassembly:
sub esp, 0x128
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x28]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
mov dword [esp + 4], eax
ja 0x4035d6
xor eax, eax
pop edi
add esp, 0x128
ret
lea edi, [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
push esi
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x13c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea ebx, [esp + 0x34]
and ecx, 3
mov dword [esp + 0x14], eax
rep movsb byte es:[edi], byte [esi]
xor esi, esi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
push 0x40e69c
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
mov ebp, ecx
inc ebp
call fcn.0040435f
add esp, 8
test eax, eax
je 0x4036b0
push 0x40e698
push ebx
call fcn.0040435f
add esp, 8
test eax, eax
je 0x4036b0
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x2c]
push eax
lea edx, [esp + 0x28]
push ecx
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x4036b0
mov eax, dword [esp + 0x20]
push 1
push 0
push 0
push eax
call fcn.004043f0
mov ecx, dword [esp + 0x1c]
xor edi, edi
add eax, ecx
adc edx, edi
cmp edx, esi
jb 0x4036b0
ja 0x403680
cmp eax, dword [esp + 0x14]
jbe 0x4036b0
mov dword [esp + 0x14], eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x18], edx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x13c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
add ebx, ebp
sub eax, ebp
test eax, eax
mov dword [esp + 0x10], eax
ja 0x403609
pop esi
pop ebp
pop ebx
mov eax, 1
pop edi
add esp, 0x128
ret