joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401750
Capabilities:
Terminate process

Disassembly:
invalid
sbb ebx, dword [ebx]
sbb ebx, dword [ebx]
sbb ebx, dword [ebx]
sbb ebx, dword [ebx]
sbb ecx, dword [eax]
or dword [edx], ecx
or ebp, dword [edx + 0xc]
into
push cs
cmpsb byte [esi], byte es:[edi]
bndstx [ebx], bnd3
adc bh, bh
adc dword [ebx + 0x15141b13], ecx
push ss
pop ss
sbb byte [ecx], bl
sbb dl, byte [eax - 0x6f546f70]
nop
nop
nop
cli
nop
nop
nop
nop
push cs
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [0x8a40c0c8]
push eax
jbe 0x401720
inc eax
je 0x401711
inc eax
add byte [ecx - 1], dl
adc eax, 0x8fc180
mov eax, dword [0x4102ac]
add esp, 0xfffffff3
test eax, eax
add ecx, dword [edi]
push eax
push 0x40e854
dec esi
clc
inc eax
add byte [esi + 0x16a08c4], ch
call dword [sym.imp.MSVCRT.dll_exit]
nop
mov word [ebx - 0x47137e14], cs
add byte [eax], al
add byte [ecx + 0x1a410278], ah
test eax, eax
sbb al, 0xc
inc eax
inc ecx
add al, ch
adc al, 0xb3
inc eax
or al, byte [ecx]
push eax
call 0x76b25850
dec si
or eax, 0xf41025f
jmp 0x4017cf
mov dword [0x415c08], eax
invalid

Function at 0x406f30
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebx, dword [eax]
mov ecx, dword [ebp + 0x18]
mov eax, dword [esi + 0x56c18b69]
push esi
sahf
jne 0x406f4b
sub dword [eax + 3], 0x57
invalid
test dword [ecx - 0x51], ebp
sbb al, 0x8b
add cl, bl
mov al, 0xff
jne 0x406f6b
cmp eax, 3
je 0x406f6b
test cl, 0xc8
je 0x406f7d
pop edi
mov eax, 0x11187
pop esi
pop ebp
ret 0x5c18
push esi
mov eax, 0x16
pop esi
mov eax, edx
inc edi
mov edx, 0x8510cf8b
rcr byte [ebp + eax + 0x2b8], 0
mov eax, 2
inc edi
jge 0x406fa1
push edi
push ecx
mov ecx, dword [ebp + 0x14]
push ecx
xor edx, dword [esi + 0x52]
call 0x406fa0
add esp, 0x18
pop edi
pop esi
pop ebp
push ebx
mov al, byte [0x90e01900]
nop
push ebp
mov ebp, esp
or dword [eax], 0x24
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp ebp, dword [edi]
dec ebx
mov dword [ebp - 0xc], esi
jne 0x406f3b
mov esi, str.0.0.0.0
mov al, byte [esi]
cmp al, 0x30
jl 0x40707d
cmp al, 0x39
jg 0x121707d
push str.0123456789.
push esi
jmp dword [eax + sym.imp.MSVCRT.dll_strspn]
stosb byte es:[edi], al
call dword [sym.imp.WSOCK32.dll_gethostbyname]
xchg esp, eax
ret
Function at 0x406fa0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebx, dword [eax]
mov ecx, dword [ebp + 0x18]
mov eax, dword [esi + 0x56c18b69]
push esi
sahf
jne 0x406f4b
sub dword [eax + 3], 0x57
invalid
test dword [ecx - 0x51], ebp
sbb al, 0x8b
add cl, bl
mov al, 0xff
jne 0x406f6b
cmp eax, 3
je 0x406f6b
test cl, 0xc8
je 0x406f7d
pop edi
mov eax, 0x11187
pop esi
pop ebp
ret 0x5c18
push esi
mov eax, 0x16
pop esi
mov eax, edx
inc edi
mov edx, 0x8510cf8b
rcr byte [ebp + eax + 0x2b8], 0
mov eax, 2
inc edi
jge 0x406fa1
push edi
push ecx
mov ecx, dword [ebp + 0x14]
push ecx
xor edx, dword [esi + 0x52]
call 0x406fa0
add esp, 0x18
pop edi
pop esi
pop ebp
push ebx
mov al, byte [0x90e01900]
nop
push ebp
mov ebp, esp
or dword [eax], 0x24
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp ebp, dword [edi]
dec ebx
mov dword [ebp - 0xc], esi
jne 0x406f3b
mov esi, str.0.0.0.0
mov al, byte [esi]
cmp al, 0x30
jl 0x40707d
cmp al, 0x39
jg 0x121707d
push str.0123456789.
push esi
jmp dword [eax + sym.imp.MSVCRT.dll_strspn]
stosb byte es:[edi], al
call dword [sym.imp.WSOCK32.dll_gethostbyname]
xchg esp, eax
ret

Function at 0x40a940
Capabilities:
Encode data using xor

Disassembly:
add eax, 0x13c
add ah, dh
fmul qword [eax]
inc ecx
add byte [ebx - 0x76a08bab], cl
add cl, byte [ebx + 0x3a08dc0b]
add byte [ebx], dh
rol byte [ebx - 0x62e2fe02], 0xc0
call 0x4e6ece92
xor dword [eax], eax
pop ebp
ret
nop
push ebp
mov ebp, esp
mov eax, dword [ebp - 0x76]
push esi
or dword [eax*4 + 0x4108e4], 0xffffff8d
xor al, 0x85
dec ebx
or byte [ecx], al
test ecx, ecx
jne 0x40a93f
mov eax, dword [eax*4 + 0x40c4f4]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
test dword [esi + 0x3759b89], edx
aas
pop ebp
mov dword [0x7210458b], eax
pcmpeqb mm1, qword [0x51500e8b]
push eax
push ecx
call [ebx]
sbb al, 0xc0
inc eax
das
pop esi
pop ebp
jl 0x40a910
push ebp
or al, 0x50
push es
push edx
push eax
call dword [0xf2c01c]
pop esi
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
nop
jmp int.00401219
Function at 0x404240
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x447908
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
lea eax, [esp + 8]
mov ecx, 0x460898
push eax
push 0x41c
push str.Urls
mov dword [esp + 0x24], 0
call fcn.00437ea0
mov ecx, dword [esp + 8]
push ecx
push str.http:___s
push 0x460300
call sub.MFC42.DLL_CString::Format
mov esi, dword [esp + 0x2c]
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call sub.MFC42.DLL_operatornew
mov edx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0xc]
push ecx
push 0
push edx
push 0x4041d0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 8]
mov dword [esp + 0x18], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4048b6
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x447a58
push eax
mov dword fs:[0], esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esp + 0x1c]
mov eax, dword [esi + 0xc4]
lea ebx, [esi + 0xc4]
push edi
push eax
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
jne 0x4048f9
mov esi, dword [esi + 0xc0]
push esi
mov eax, dword [esi]
call dword [eax + 0x30]
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 4
mov ecx, dword [esi + 0x194]
lea eax, [esi + 0x194]
mov edx, dword [ecx - 8]
test edx, edx
jne 0x404920
push 0
push 0
push 0
push 0
push 0
push edi
mov ecx, esi
call sub.MFC42.DLL_CHtmlView::Navigate2
jmp 0x40495c
push eax
lea edx, [esp + 0x20]
push str.Referer:
push edx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push 0
push 0
push eax
push 0
push 0
push edi
mov ecx, esi
mov dword [esp + 0x2c], 0
call sub.MFC42.DLL_CHtmlView::Navigate2
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
push edi
mov ecx, ebx
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xc
ret 4

Function at 0x404a70
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x18c]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x404a99
push 3
push 0
push 0
push eax
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, esi
call sub.MFC42.DLL_CWnd::Default
pop esi
ret 0xc
Function at 0x406cf0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [0x46050c]
sub esp, 0x20
push esi
mov esi, ecx
push edi
push eax
mov edx, dword [esi + 8]
lea edi, [esi + 8]
lea ecx, [esp + 0xc]
push 0x20
push ecx
push 0x4602fc
push edx
push str.HotKey
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 8]
lea ecx, [esi + 0xc]
push eax
call sub.MFC42.DLL_CString::operator_2
push edi
mov ecx, esi
call fcn.00406d40
pop edi
pop esi
add esp, 0x20
ret

Function at 0x406f60
Capabilities:
Access peb ldr_data
Log keystrokes

Disassembly:
push 0xffffffffffffffff
push 0x447da0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [esp + 0x24]
push esi
push eax
lea ecx, [esp + 0x2c]
call fcn.0044629a
push 0x4602fc
push str.Ctrl
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::Replace
push 0x4602fc
push str.Alt
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Replace
push 0x4602fc
push str.Shift
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Replace
push 0x4602fc
push str.Win
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::Replace
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::TrimLeft
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::TrimRight
lea ecx, [esp + 8]
call fcn.00405a30
push ecx
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 8], esp
push edx
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 0xc]
call fcn.004068e0
mov esi, eax
test esi, esi
jne 0x40702f
mov eax, dword [esp + 0x28]
push 1
mov al, byte [eax]
movsx ecx, al
push ecx
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov esi, eax
lea ecx, [esp + 8]
mov byte [esp + 0x20], 0
call fcn.00406a00
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x20
ret 4
Function at 0x40c9b0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x448a58
push eax
mov eax, dword [0x46050c]
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push eax
push 0xffffffffffffffff
push str.index
push str.UserInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
xor ebx, ebx
cmp eax, 0xffffffff
mov dword [0x460510], eax
je 0x40c9f5
cmp eax, ebx
jne 0x40cb2c
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 4]
mov dword [esp + 0x20], ebx
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 3
push ecx
push 0x41e
push str.Urls
mov ecx, 0x460898
call fcn.00437ea0
push 0x460740
lea edx, [esp + 0x18]
push 0x460744
push edx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x10]
push str.http:___s_version_s
push edx
mov byte [esp + 0x30], 4
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 3
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 8]
push 1
lea eax, [esp + 0x10]
push ebx
lea ecx, [esp + 0xc]
push eax
push ecx
push edx
call fcn.00437080
add esp, 0x14
test eax, eax
jne 0x40cad7
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
cmp eax, ebx
mov dword [0x460510], eax
jle 0x40cad7
mov ecx, dword [0x46050c]
mov edx, dword [esp + 4]
push ecx
push edx
push str.index
push str.UserInfo
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::Empty
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::Empty
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Empty
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 4]
mov byte [esp + 0x20], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x410ea0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x449410
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x110
mov eax, dword [0x46050c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edi
push eax
push 0
push str.DirCount
push str.AddTask
mov dword [esp + 0x20], 0
call esi
mov ecx, dword [0x46050c]
mov edi, eax
push ecx
push 0
push str.LastUse
push str.AddTask
call esi
lea ecx, [esp + 0xc]
mov esi, eax
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 8]
mov dword [esp + 0x120], 1
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [0x4605e8]
mov byte [esp + 0x120], 2
test eax, eax
je 0x410f70
test edi, edi
jle 0x410f70
push esi
lea edx, [esp + 0x10]
push str.Dir_d
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x46050c]
mov edx, dword [esp + 0x18]
add esp, 0xc
lea ecx, [esp + 0x14]
push eax
push 0x104
push ecx
push 0x4602fc
push edx
push str.AddTask
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 0x14]
lea ecx, [esp + 8]
push eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 8]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x410f89
push 0x4605ec
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_2
mov esi, dword [esp + 0x128]
lea edx, [esp + 8]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov dword [esp + 0x10], 1
lea ecx, [esp + 8]
mov byte [esp + 0x120], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x120], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x118]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x11c
ret 4
Function at 0x413020
Capabilities:
Create process on windows
Create process suspended

Disassembly:
sub esp, 0x854
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x14]
mov edx, dword [0x460504]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x85c]
mov word [esp + 0x44], ax
mov dword [esp + 4], eax
push ecx
mov dword [esp + 0xc], eax
push edx
mov dword [esp + 0x14], eax
push str.__sVdDiag.exe____s_
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x24], 0x44
mov dword [esp + 0x50], 1
call dword [sym.imp.MSVCRT.dll_sprintf]
mov eax, dword [0x460504]
add esp, 0x10
lea ecx, [esp + 4]
lea edx, [esp + 0x14]
push ecx
push edx
push eax
push 0
push 0x20
push 0
push 0
lea ecx, [esp + 0x74]
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
add esp, 0x854
ret 4
Function at 0x419d10
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
push edi
mov ebx, ecx
lea ebp, [esi + 4]
push ebp
push str.Starting_task:__s
push 0x460a78
call fcn.00435360
xor edx, edx
add esp, 0xc
cmp esi, edx
jne 0x419d3f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
mov edi, dword [esi + 0xe4c]
mov dword [esi + 0xe48], edx
cmp edi, edx
je 0x419df5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x419df5
mov eax, dword [esi + 0x165c]
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edx
mov dword [esi + 0x1658], edx
jle 0x419d89
call edi
sub eax, dword [esi + 0x165c]
mov dword [esi + 0x1664], eax
jmp 0x419d8f
mov dword [esi + 0x1664], edx
mov eax, dword [esi + 0x16c8]
test eax, eax
jne 0x419da6
mov ecx, ebx
call fcn.00420650
mov dword [esi + 0x16c8], eax
mov ecx, dword [esi + 0x16c8]
test ecx, ecx
je 0x419dca
mov eax, dword [ecx]
push esi
call dword [eax + 4]
test eax, eax
je 0x419dca
call edi
mov dword [esi + 0x1660], eax
mov dword [esi], 2
jmp 0x419e3a
mov dword [esi], 5
mov eax, dword [esi + 0xe34]
test eax, eax
je 0x419ddd
mov eax, dword [eax + 0x20]
push 0
push esi
push 0x800e
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 4
lea ecx, [esp + 0x14]
mov dword [esi], 1
push ecx
push edx
push esi
push 0x419fa0
push edx
push edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x1678], eax
jne 0x419e21
mov dword [esi], 4
jmp 0x419dd0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x165c], eax
mov eax, dword [esi + 0xe48]
inc eax
mov dword [esi + 0xe48], eax
mov edi, dword [esi + 0xe48]
push ebp
inc edi
push str.task_started:__s
push 0x460a78
mov dword [esi + 0xe48], edi
call fcn.00435360
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x41b3c0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x44a120
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
push edi
push str.vdtasks.vid
lea eax, [esp + 0x14]
push 0x460504
mov esi, ecx
push eax
call sub.MFC42.DLL_operator_1
push str.tasks.vid
lea ecx, [esp + 0x10]
xor ebx, ebx
push 0x460504
push ecx
mov dword [esp + 0x34], ebx
call sub.MFC42.DLL_operator_1
mov edx, dword [esp + 0xc]
mov byte [esp + 0x28], 1
push edx
call fcn.0043f990
add esp, 4
test eax, eax
jne 0x41b456
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
lea eax, [esp + 0xc]
push eax
call fcn.0043ef90
lea ecx, [esp + 0x14]
push ecx
call fcn.0043ef90
mov edx, dword [esp + 0x18]
lea edi, [esi + 0x20]
push edi
push edx
mov dword [edi], ebx
call sub.sqlite3.dll_sqlite3_open
add esp, 0x10
cmp eax, ebx
jne 0x41b4a6
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], ebx
call sub.sqlite3.dll_sqlite3_open
add esp, 8
cmp eax, ebx
je 0x41b4da
mov edx, dword [edi]
push edx
call sub.sqlite3.dll_sqlite3_close
add esp, 4
lea ecx, [esp + 0xc]
mov dword [edi], ebx
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret
push str.select__from_tasks
lea ecx, [esp + 0x1c]
call fcn.0044629a
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
push ebx
push 0x41af30
push ecx
push edx
call sub.sqlite3.dll_sqlite3_exec
mov esi, eax
mov eax, dword [esp + 0x28]
neg esi
sbb esi, esi
push eax
inc esi
call sub.sqlite3.dll_sqlite3_close
mov ecx, dword [edi]
push ecx
call sub.sqlite3.dll_sqlite3_close
add esp, 0x1c
cmp esi, ebx
mov dword [edi], ebx
je 0x41b52f
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x20]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret
Function at 0x41e350
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x44a360
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
push str.vdtasks.vid
lea eax, [esp + 0xc]
push 0x460504
mov edi, ecx
push eax
call sub.MFC42.DLL_operator_1
mov ecx, dword [esp + 8]
mov dword [esp + 0x20], 0
push ecx
call fcn.0043f990
add esp, 4
test eax, eax
jne 0x41e3c6
push str.vdtasks.org
lea edx, [esp + 0x14]
push 0x460504
push edx
call sub.MFC42.DLL_operator_1
mov ecx, dword [esp + 8]
mov eax, dword [eax]
push 1
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, edi
call fcn.0041b3c0
mov ecx, edi
call fcn.0041b570
lea edx, [esp + 8]
push edx
call fcn.0043ef90
mov eax, dword [esp + 0xc]
lea esi, [edi + 0x20]
push esi
push eax
mov dword [esi], 0
call sub.sqlite3.dll_sqlite3_open
add esp, 0xc
test eax, eax
je 0x41e423
lea ecx, [esp + 8]
mov dword [esi], 0
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
push str.select__from_tasks
lea ecx, [esp + 0x10]
call fcn.0044629a
mov edx, dword [esp + 0xc]
mov eax, dword [esi]
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 1
push ecx
push 0
push 0x41a9a0
push edx
push eax
call sub.sqlite3.dll_sqlite3_exec
mov esi, eax
add esp, 0x14
neg esi
sbb esi, esi
mov ecx, edi
inc esi
call fcn.0041a940
mov ecx, dword [0x46050c]
push ecx
push 1
push str.ExitAbnormal
push str.General
call fcn.00440370
add esp, 0x10
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret

Function at 0x41f790
Capabilities:
Delete file

Disassembly:
sub esp, 0x104
push esi
mov esi, dword [esp + 0x10c]
mov eax, dword [esi + 0xe3c]
test eax, eax
jle 0x41f7e6
cmp dword [esi + 0xe44], eax
jne 0x41f7e6
lea eax, [esi + 0x908]
lea ecx, [esi + 0x804]
push eax
push ecx
lea edx, [esp + 0xc]
push 0x45e228
push edx
mov dword [esi + 0xe44], 0
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esi + 0x1670], 0
mov dword [esi + 0x1674], 0
mov dword [esi], 0
pop esi
add esp, 0x104
ret 4
Function at 0x422ec0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x44a7e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], 0
cmp eax, 3
ja case.default.0x422ef5
jmp dword [eax*4 + 0x422ff4]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 4]
mov eax, esi
shl eax, 4
add eax, 0x45eebc
push eax
push str.Downloading_Width__s
push ecx
call sub.MFC42.DLL_CString::Format
mov esi, dword [esi*4 + 0x45effc]
add esp, 0xc
jmp 0x422f7a
mov esi, dword [esp + 0x1c]
lea eax, [esp + 4]
mov edx, esi
shl edx, 4
add edx, 0x45ef7c
push edx
push str.Downloaded_Width__s
push eax
call sub.MFC42.DLL_CString::Format
mov esi, dword [esi*4 + 0x45f02c]
add esp, 0xc
jmp 0x422f7a
mov esi, dword [esp + 0x1c]
lea edx, [esp + 4]
mov ecx, esi
shl ecx, 4
add ecx, str.State
push ecx
push str.Deleted_Width__s
push edx
call sub.MFC42.DLL_CString::Format
mov esi, dword [esi*4 + 0x45f03c]
add esp, 0xc
mov eax, dword [0x46050c]
mov ecx, dword [esp + 4]
push edi
push eax
push esi
push ecx
push str.VidownView
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edi, eax
cmp edi, 0x7d0
jg 0x422fa1
cmp edi, 0xa
jge 0x422fa3
mov edi, esi
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, edi
pop edi
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
lea ecx, [esp + 4]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
mov eax, 0x14
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8