joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a200
Capabilities:
Get geographical location

Disassembly:
sub esp, 0x88
mov eax, dword [0x42fc3c]
xor eax, dword [esp + 0x88]
movzx ecx, word [esp + 0x90]
push esi
mov dword [esp + 0x88], eax
push 0x80
lea eax, [esp + 0xc]
push eax
push 2
push ecx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov esi, dword [esp + 0x90]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.00404da0
mov ecx, dword [esp + 0x88]
xor ecx, dword [esp + 0x8c]
mov eax, esi
pop esi
add esp, 0x88
jmp fcn.0040bcfc

Function at 0x40cc1e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 8
call fcn.00410a2e
xor esi, esi
inc esi
cmp dword [0x432ae4], esi
pop ecx
jne 0x40cc46
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp dword [ebp + 0xc], 0
mov al, byte [ebp + 0x10]
mov dword [0x432ae0], esi
mov byte [0x432adc], al
jne 0x40ccac
mov ecx, dword [0x43432c]
test ecx, ecx
je 0x40cc8d
mov eax, dword [0x434328]
sub eax, 4
cmp eax, ecx
jmp 0x40cc86
mov eax, dword [eax]
test eax, eax
je 0x40cc78
call eax
mov eax, dword [0x434328]
sub eax, 4
cmp eax, dword [0x43432c]
mov dword [0x434328], eax
jae 0x40cc70
mov eax, 0x42f078
mov esi, 0x42f080
cmp eax, esi
mov edi, eax
jae 0x40ccac
mov eax, dword [edi]
test eax, eax
je 0x40cca5
call eax
add edi, 4
cmp edi, esi
jb 0x40cc9d
mov eax, 0x42f084
mov esi, 0x42f08c
cmp eax, esi
mov edi, eax
jae 0x40cccb
mov eax, dword [edi]
test eax, eax
je 0x40ccc4
call eax
add edi, 4
cmp edi, esi
jb 0x40ccbc
cmp dword [ebp + 0x10], 0
pop edi
pop esi
je 0x40ccdc
push 8
call fcn.0041099a
jmp 0x40ccee
push dword [ebp + 8]
mov dword [0x432ae4], 1
call fcn.0040cb77
pop ecx
pop ebp
ret

Function at 0x40d6a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
jne 0x40d6bd
call fcn.0040df5c
mov dword [eax], 0x16
xor eax, eax
jmp 0x40d727
push esi
push 0x88
push 1
call fcn.0040fab1
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40d712
push esi
call fcn.00410643
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
pop ecx
mov dword [esi + 0x4c], edi
jne 0x40d6f0
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push esi
push 0x40d5fc
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x40d726
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.0040d31e
test ebx, ebx
pop ecx
je 0x40d724
push ebx
call fcn.0040df6e
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x413270
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x42fc3c]
xor eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 4], eax
xor edx, edx
push edi
xor eax, eax
cmp ecx, dword [eax*8 + 0x4304a0]
je 0x41329d
inc eax
cmp eax, 0x12
jb 0x41328e
mov esi, eax
shl esi, 3
cmp ecx, dword [esi + 0x4304a0]
jne 0x4133d1
mov eax, dword [0x432af0]
cmp eax, 1
je 0x4133ac
cmp eax, edx
jne 0x4132cd
cmp dword [0x42fc74], 1
je 0x4133ac
cmp ecx, 0xfc
je 0x4133d1
push 0x104
lea eax, [ebp - 0x10c]
push eax
push edx
mov byte [ebp - 8], dl
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x413306
lea eax, [ebp - 0x10c]
push str._program_name_unknown_
push eax
call fcn.00414de0
pop ecx
pop ecx
lea eax, [ebp - 0x10c]
push eax
lea edi, [ebp - 0x10c]
call fcn.0040dad0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x413348
lea eax, [ebp - 0x10c]
push eax
call fcn.0040dad0
mov edi, eax
lea eax, [ebp - 0x10c]
sub eax, 0x3b
push 3
add edi, eax
push 0x4292f4
push edi
call fcn.00416020
add esp, 0x10
push edi
call fcn.0040dad0
push dword [esi + 0x4304a4]
mov ebx, eax
call fcn.0040dad0
lea eax, [ebx + eax + 0x1c]
pop ecx
add eax, 3
pop ecx
and eax, 0xfffffffc
call fcn.0040c070
mov ebx, esp
push str.Runtime_Error__n_nProgram:
push ebx
call fcn.00414de0
push edi
push ebx
call fcn.00414df0
push 0x4292f0
push ebx
call fcn.00414df0
push dword [esi + 0x4304a4]
push ebx
call fcn.00414df0
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebx
call fcn.00415f20
add esp, 0x2c
jmp 0x4133d1
push edx
lea eax, [ebp + 8]
push eax
lea esi, [esi + 0x4304a4]
push dword [esi]
call fcn.0040dad0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
lea esp, [ebp - 0x118]
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.0040bcfc
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401e80
Capabilities:
Enumerate processes

Disassembly:
push 0xffffffffffffffff
push 0x409d3b
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 0x401fbd
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.00401fe0
add esp, 8
test eax, eax
jne 0x401f46
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 0x401fbd
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.00401fe0
add esp, 8
test eax, eax
je 0x401f08
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 0x401f74
mov edx, ecx
dec ecx
test edx, edx
jle 0x401f74
mov byte [eax], 0
mov dl, byte [eax - 1]
dec eax
cmp dl, 0x5c
jne 0x401f61
lea ecx, [esp + 0x23c]
call fcn.00403aa0
lea eax, [esp + 0x10]
lea ecx, [esp + 0x23c]
push eax
push str.Insertpath
push str.Insert
mov dword [esp + 0x45c], 0
call fcn.00403f00
lea ecx, [esp + 0x23c]
mov dword [esp + 0x450], 0xffffffff
call fcn.00403b10
mov ecx, dword [esp + 0x448]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x444
ret

Function at 0x401fe0
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x110c
call fcn.00404660
push ebx
push ebp
mov ebp, dword [esp + 0x1118]
xor ebx, ebx
cmp ebp, ebx
mov dword [esp + 8], ebx
jne 0x402008
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 0x4020cf
test dword [esp + 0x14], 0xfffffffc
jbe 0x4020cf
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 0x402083
lea ecx, [esp + 0x18]
push ecx
call fcn.004045e0
lea edx, [esp + 0x1c]
push str.qvodupdate.exe
push edx
call fcn.0040456a
add esp, 0xc
test eax, eax
jne 0x4020a1
mov eax, dword [esp + 0x14]
inc ebx
shr eax, 2
add esi, 4
cmp ebx, eax
jb 0x40203f
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 0x4020e0
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 0x402154
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.00402160
add esp, 4
test eax, eax
je 0x40213a
push 4
push esi
call ebx
lea edx, [esp + 0x10]
push edx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x402118
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x128
ret
xor eax, eax
pop ebp
add esp, 0x128
ret

Function at 0x402160
Capabilities:
Enumerate process modules

Disassembly:
mov eax, 0x110c
call fcn.00404660
push ebx
push ebp
mov ebp, dword [esp + 0x1118]
xor ebx, ebx
cmp ebp, ebx
mov dword [esp + 8], ebx
jne 0x402188
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 0x4022bd
test dword [esp + 0x14], 0xfffffffc
jbe 0x4022bd
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 0x402293
lea ecx, [esp + 0x18]
push ecx
call fcn.004045e0
lea edx, [esp + 0x1c]
push str.qvodinsert.dll
push edx
call fcn.0040456a
add esp, 0xc
test eax, eax
jne 0x4022b5
lea eax, [esp + 0x18]
push str.qvodplayer.exe
push eax
call fcn.0040456a
add esp, 8
test eax, eax
jne 0x4022b5
lea ecx, [esp + 0x18]
push str.qvodterminal.exe
push ecx
call fcn.0040456a
add esp, 8
test eax, eax
jne 0x4022b5
lea edx, [esp + 0x18]
push str.qvodtvplayer.exe
push edx
call fcn.0040456a
add esp, 8
test eax, eax
jne 0x4022b5
lea eax, [esp + 0x18]
push str.mencoder.exe
push eax
call fcn.0040456a
add esp, 8
test eax, eax
jne 0x4022b5
lea ecx, [esp + 0x18]
push str.qvodnetbar.exe
push ecx
call fcn.0040456a
add esp, 8
test eax, eax
jne 0x4022b5
lea edx, [esp + 0x18]
push str.qvodtip.exe
push edx
call fcn.0040456a
add esp, 8
test eax, eax
jne 0x4022b5
mov eax, dword [esp + 0x14]
inc ebx
shr eax, 2
add esi, 4
cmp ebx, eax
jb 0x4021bf
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 0x4022d0
Capabilities:
Stop service

Disassembly:
sub esp, 0x1c
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test eax, eax
jne 0x4022ea
add esp, 0x1c
ret
push 0x20
push str.Qvod_Terminal
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
test eax, eax
jne 0x402300
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 0x4025c0
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.00404144
lea ecx, [esp + 0x18]
push 0
push ecx
call fcn.004027c0
push str.QvodTerminal.exe
push esi
lea edx, [esp + 0x28]
push str._s_s
push edx
call fcn.00404144
lea eax, [esp + 0x30]
push 0
push eax
call fcn.004027c0
push str.Qupdate.exe
push esi
lea ecx, [esp + 0x40]
push str._s_s
push ecx
call fcn.00404144
add esp, 0x40
lea edx, [esp + 8]
push 0
push edx
call fcn.004027c0
push str.zh_TW.dll
push esi
lea eax, [esp + 0x18]
push str._slang_s
push eax
call fcn.00404144
lea ecx, [esp + 0x20]
push 0
push ecx
call fcn.004027c0
push str.en_US.dll
push esi
lea edx, [esp + 0x30]
push str._slang_s
push edx
call fcn.00404144
lea eax, [esp + 0x38]
push 0
push eax
call fcn.004027c0
push str.ColorFilter.ax
push esi
lea ecx, [esp + 0x48]
push str._sCodecs_s
push ecx
call fcn.00404144
add esp, 0x48
lea edx, [esp + 8]
push 1
push edx
call fcn.004027c0
push str.QvodInsert.dll
push esi
lea eax, [esp + 0x18]
push str._s_s
push eax
call fcn.00404144
lea ecx, [esp + 0x20]
push 0
push ecx
call fcn.004027c0
push str.NetAgent.dll
push esi
lea edx, [esp + 0x30]
push str._s_s
push edx
call fcn.00404144
lea eax, [esp + 0x38]
push 0
push eax
call fcn.004027c0
push str.QvodNetBar.exe
push esi
lea ecx, [esp + 0x48]
push str._s_s
push ecx
call fcn.00404144
add esp, 0x48
lea edx, [esp + 8]
push 0
push edx
call fcn.004027c0
push str.QvodBand.dll
push esi
lea eax, [esp + 0x18]
push str._s_s
push eax
call fcn.00404144
lea ecx, [esp + 0x20]
push 0
push ecx
call fcn.004027c0
push str.ShareModule.dll
push esi
lea edx, [esp + 0x30]
push str._s_s
push edx
call fcn.00404144
lea eax, [esp + 0x38]
push 0
push eax
call fcn.004027c0
push str.QvodExtend.dll
push esi
lea ecx, [esp + 0x48]
push str._s_s
push ecx
call fcn.00404144
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x155]
mov byte [esp + 0x154], 0
rep stosd dword es:[edi], eax
add esp, 0x48
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.00404144
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 0x4027c0
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 0x4027d8
mov eax, 1
pop esi
ret
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4027e9
push esi
call fcn.004028f0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4027fe
push eax
push esi
call fcn.00402800
add esp, 8
pop esi
ret
Function at 0x402840
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 0x4028e1
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 0x40289e
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 0x4028c6
pop edi
pop esi
add esp, 0x30c
ret
push 4
lea edx, [esp + 0x110]
push 0
push edx
call esi
test eax, eax
jne 0x4028e1
pop edi
pop esi
add esp, 0x30c
ret
pop edi
mov eax, 1
pop esi
add esp, 0x30c
ret
Function at 0x4037b0
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 0x4037e6
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 0x40d710
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ebx
mov ebp, ecx
inc ebp
call fcn.0040468f
add esp, 8
test eax, eax
je 0x4038c0
push 0x40d70c
push ebx
call fcn.0040468f
add esp, 8
test eax, eax
je 0x4038c0
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 0x4038c0
mov eax, dword [esp + 0x20]
push 1
push 0
push 0
push eax
call fcn.00404720
mov ecx, dword [esp + 0x1c]
xor edi, edi
add eax, ecx
adc edx, edi
cmp edx, esi
jb 0x4038c0
ja 0x403890
cmp eax, dword [esp + 0x14]
jbe 0x4038c0
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 0x403819
pop esi
pop ebp
pop ebx
mov eax, 1
pop edi
add esp, 0x128
ret
Function at 0x4038f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x208
mov ecx, 0x41
xor eax, eax
push ebx
push esi
push edi
lea edi, [esp + 0x110]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x110]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0xc]
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x110]
push ecx
push str._s_system32driversetchosts
push edx
call fcn.00404144
push 0x180
lea eax, [esp + 0x1c]
push 0x102
push eax
call fcn.00404b86
mov esi, eax
add esp, 0x18
cmp esi, 0xffffffff
je 0x403a01
push esi
call fcn.00404b0e
push esi
mov ebx, eax
call fcn.00404a5b
add esp, 8
test ebx, ebx
jle 0x403a01
push ebx
call fcn.00403fdf
lea ecx, [esp + 0x10]
push 0x40d720
push ecx
mov edi, eax
call fcn.00404a48
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4039f8
push esi
push ebx
push 1
push edi
call fcn.00404940
push str.qvod.com
push edi
mov ebx, eax
call fcn.00404080
add esp, 0x18
test eax, eax
je 0x4039ef
mov ecx, eax
mov edx, 0x30303030
add eax, 8
push str.qvod.com
mov dword [ecx], edx
push eax
mov dword [ecx + 4], edx
call fcn.00404080
add esp, 8
test eax, eax
jne 0x4039b9
push eax
push eax
push esi
call fcn.004048b4
push esi
push ebx
push 1
push edi
call fcn.004047aa
add esp, 0x1c
push esi
call fcn.00404754
add esp, 4
push edi
call fcn.00403fd4
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x208
ret

Function at 0x403b20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
xor eax, eax
lea edx, [esp + 0xc]
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x82
lea edi, [esp + 0x18]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x224]
lea ecx, [esi + 4]
push eax
push ecx
push str._s_s
push edx
xor ebp, ebp
call fcn.00404144
mov edx, dword [esi]
add esp, 0x10
lea eax, [esp + 0xc]
lea ecx, [esp + 0x18]
push eax
push 0x20019
push ebp
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403c05
mov esi, dword [esp + 0x228]
mov edx, dword [esp + 0xc]
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ebp
push ecx
push ebp
push esi
push edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call edi
test eax, eax
jne 0x403bfa
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x403bb4
cmp eax, 2
jne 0x403bfa
mov eax, dword [esp + 0x14]
cmp eax, 1
jb 0x403bfa
push ebx
push eax
call fcn.00403fdf
mov ecx, dword [esp + 0x234]
add esp, 4
mov ebx, eax
lea eax, [esp + 0x234]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
push ebp
push esi
push eax
call edi
test eax, eax
jne 0x403bf0
mov ebp, 1
push ebx
call fcn.00403fd4
add esp, 4
pop ebx
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebp
pop esi
pop ebp
add esp, 0x214
ret 0x10
Function at 0x403c20
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x218
push ebx
push esi
mov esi, ecx
push edi
mov ebx, dword [esp + 0x230]
mov ecx, 0x82
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x228]
lea ecx, [esi + 4]
push eax
push ecx
lea edx, [esp + 0x24]
push str._s_s
push edx
mov dword [esp + 0x1c], ebx
call fcn.00404144
mov edx, dword [esi]
add esp, 0x10
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
push 0x20019
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x403ccb
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x230]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push 0
mov esi, 4
push eax
push ecx
mov dword [esp + 0x28], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp dword [esp + 0x18], esi
jne 0x403cbc
cmp dword [esp + 0x10], esi
je 0x403cc0
mov dword [esp + 0xc], ebx
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
add esp, 0x218
ret 0xc

Function at 0x403ce0
Capabilities:
Set registry value

Disassembly:
sub esp, 0x20c
xor eax, eax
lea edx, [esp + 4]
push esi
mov esi, ecx
push edi
mov ecx, 0x82
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x218]
lea ecx, [esi + 4]
push eax
push ecx
push str._s_s
push edx
call fcn.00404144
add esp, 0x10
mov edx, dword [esi]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push 0
push eax
push 0
push 0x20006
push 0
push 0
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov esi, eax
test esi, esi
jne 0x403d6c
mov ecx, dword [esp + 0x21c]
mov edx, dword [esp + 8]
lea eax, [esp + 0x220]
push 4
push eax
push 4
push esi
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
pop edi
and eax, 0xff
pop esi
add esp, 0x20c
ret 0xc

Function at 0x403da0
Capabilities:
Delete registry key

Disassembly:
sub esp, 0x20c
xor eax, eax
lea edx, [esp + 4]
push esi
mov esi, ecx
push edi
mov ecx, 0x82
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x218]
lea ecx, [esi + 4]
push eax
push ecx
push str._s_s
push edx
call fcn.00404144
mov edx, dword [esi]
add esp, 0x10
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push 0x20006
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x403e17
mov eax, dword [esp + 0x21c]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov edx, dword [esp + 8]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
sete al
pop edi
and eax, 0xff
pop esi
add esp, 0x20c
ret 8