joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4041e8
Capabilities:
Get disk size

Disassembly:
mov eax, 0x44155d
call fcn.00440d70
sub esp, 0x34
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
cmp dword [esi + 0x40], ebx
jne 0x40432e
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call fcn.00422cb8
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x4042a8
push 0x40
call sub.MFC42.DLL_operatornew
mov edi, eax
pop ecx
mov dword [ebp - 0x18], edi
cmp edi, ebx
mov dword [ebp - 4], ebx
je 0x404249
mov ecx, edi
call fcn.00440974
mov byte [ebp - 4], 1
mov dword [edi], vtable.CQQMPlayerCtrl.0
mov byte [ebp - 4], bl
mov ecx, edi
jmp 0x40424b
xor ecx, ecx
push ebx
or edi, 0xffffffff
push 0x1000
lea edx, [ebp - 0x40]
push esi
mov dword [ebp - 4], edi
push edx
mov dword [esi + 0x40], ecx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov eax, dword [ecx]
push ebx
push ebx
push ebx
call dword [eax + 0x5c]
mov ecx, dword [esi + 0x40]
test eax, eax
jne 0x404287
cmp ecx, ebx
je 0x404298
mov eax, dword [ecx]
push 1
call dword [eax + 4]
jmp 0x404298
call fcn.00405ab6
test eax, eax
jne 0x4042af
mov ecx, dword [esi + 0x40]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [ebp - 0x10]
push 0x66
push 1
push edi
mov dword [esi + 0x40], ebx
call fcn.0042181f
xor eax, eax
jmp 0x404331
mov ecx, dword [ebp - 0x10]
push 0x65
push 1
push edi
call fcn.0042181f
lea eax, [ebp - 0x14]
push eax
call fcn.00429421
pop ecx
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
mov ecx, dword [esi + 0x40]
test eax, eax
je 0x404315
call fcn.00405a4e
mov edx, dword [ebp - 0x1c]
push 0x14
mov ebx, eax
mov eax, dword [ebp - 0x20]
pop ecx
call fcn.00440e00
add eax, ebx
push 0x64
imul eax, eax, 0x32
cdq
pop ecx
idiv ecx
mov ecx, 0x12c
cmp eax, ecx
jl 0x40431a
push ecx
jmp 0x40431b
call fcn.00405a4e
push eax
mov ecx, dword [esi + 0x40]
call fcn.00405a29
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call sub.MFC42.DLL_CString::CString
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x4046b9
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x4415d4
call fcn.00440d70
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x40]
mov dword [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [esi + 0x10]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0xc]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4051f1
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, ecx
test esi, esi
je 0x40524c
push dword [esi + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x40523a
mov ecx, edi
call fcn.00404d01
mov esi, eax
cmp esi, 0xffffffff
je 0x40524c
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call fcn.00422cb8
test eax, eax
je 0x40524c
push 0x2711
push 2
push esi
mov ecx, eax
call fcn.0042181f
jmp 0x40524c
mov ecx, dword [edi + 0x40]
test ecx, ecx
je 0x40524c
push dword [esi + 0x38]
push dword [esi + 0xc]
call fcn.0040592b
pop edi
pop esi
ret 4
Function at 0x41b266
Capabilities:
Delete file

Disassembly:
mov eax, 0x4444bc
call fcn.00440d70
push ecx
push ecx
push esi
mov esi, ecx
push dword [ebp + 0xc]
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
lea eax, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_3
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
call fcn.00429893
add esp, 4
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 3
call fcn.004295df
pop ecx
push 0
lea ecx, [esi + 0x20]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004352f0
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 8

Function at 0x41f474
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x4452e8
call fcn.00440d70
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
lea ebx, [esi + 0xc]
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_4
and dword [ebp - 4], 0
lea ecx, [esi + 0x10]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString_4
mov edi, 0x463460
mov byte [ebp - 4], 7
or dword [esi], 0xffffffff
or dword [esi + 4], 0xffffffff
and dword [esi + 8], 0
push edi
mov ecx, ebx
call sub.MFC42.DLL_CString::operator_3
push edi
lea ecx, [esi + 0x10]
call sub.MFC42.DLL_CString::operator_3
push edi
lea ecx, [esi + 0x14]
call sub.MFC42.DLL_CString::operator_3
push edi
lea ecx, [esi + 0x18]
call sub.MFC42.DLL_CString::operator_3
push edi
lea ecx, [esi + 0x1c]
call sub.MFC42.DLL_CString::operator_3
fldz
push edi
lea ecx, [esi + 0x30]
fstp qword [esi + 0x20]
fldz
fstp qword [esi + 0x28]
call sub.MFC42.DLL_CString::operator_3
push edi
lea ecx, [esi + 0x34]
call sub.MFC42.DLL_CString::operator_3
or dword [esi + 0x38], 0xffffffff
and dword [esi + 0x3c], 0
push edi
lea ecx, [esi + 0x40]
call sub.MFC42.DLL_CString::operator_3
mov ecx, dword [ebp - 0xc]
or dword [ebp - 4], 0xffffffff
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x422871
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
push ebx
push esi
mov esi, 0x400
push edi
lea eax, [ebp - 0x408]
xor ebx, ebx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
cmp eax, ebx
je 0x422927
cmp eax, esi
jae 0x422927
mov byte [ebp + eax - 0x408], bl
lea eax, [ebp - 0x408]
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
cmp esi, ebx
je 0x422927
push esi
call sub.MFC42.DLL_operatornew
mov edi, eax
pop ecx
cmp edi, ebx
je 0x422927
push edi
push esi
lea eax, [ebp - 0x408]
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x422920
lea eax, [ebp - 8]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 4]
push eax
push 0x460398
push edi
mov dword [ebp - 8], ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x422920
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 8]
push 1
mov ecx, dword [eax + 8]
pop ebx
shr ecx, 0x10
mov byte [edx], cl
mov edx, dword [ebp + 0xc]
mov cl, byte [eax + 8]
mov byte [edx], cl
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp + 0x10]
and eax, 0xffff
mov dword [ecx], eax
push edi
call sub.MFC42.DLL_operatordelete
pop ecx
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret 0xc
Function at 0x42696b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ebx
jne 0x426985
xor esi, esi
jmp 0x4269b3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and al, 0xfc
call fcn.00440dc0
mov esi, esp
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
mov byte [esi], bl
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 4], edi
jne 0x4269ee
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
je 0x4269e7
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x426a83
xor esi, esi
jmp 0x426a83
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x426a11
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jne 0x426a24
xor esi, esi
jmp 0x426a7a
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
cmp edi, ebx
mov dword [ebp + 8], edi
jne 0x426a36
jmp 0x426a01
call esi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x426a7a
push esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov eax, dword [ebp + 8]
cmp byte [esi + eax], bl
je 0x426a6c
lea eax, [esi + 1]
add eax, 3
and al, 0xfc
call fcn.00440dc0
lea eax, [esi + 1]
mov edi, esp
push eax
push dword [ebp + 8]
push edi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov byte [edi + esi], bl
push dword [ebp + 0x14]
lea ecx, [ebp - 0xc]
push edi
call fcn.00426aea
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea esp, [ebp - 0x18]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x4274a3
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x4460f8
call fcn.00440d70
sub esp, 0x114
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esi
push 0x2001f
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
mov dword [ebp - 4], esi
push dword [ebx]
call fcn.00426310
mov edi, eax
cmp edi, esi
je 0x4274f1
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], esi
je 0x4274ea
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x427596
lea eax, [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x427566
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x10]
push eax
call fcn.004274a3
cmp eax, esi
mov dword [ebp - 0x18], eax
jne 0x42754f
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
push eax
push esi
push dword [ebp - 0x10]
jmp 0x427514
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], esi
je 0x427561
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
jmp 0x427596
cmp dword [ebp - 0x10], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x427579
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], esi
mov ebx, eax
je 0x427594
push dword [ebp - 0x10]
call edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4275a7
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2014
call fcn.00440dc0
push ebx
push esi
lea eax, [ebp - 0x2014]
push edi
mov esi, ecx
push eax
mov dword [ebp - 0x14], esi
call fcn.00426c43
xor edi, edi
cmp eax, edi
jl 0x42775f
lea eax, [ebp - 0xa]
push eax
lea eax, [ebp - 0x2014]
push eax
call fcn.0042776c
pop ecx
test eax, eax
pop ecx
jne 0x4275f2
mov eax, 0x80020009
jmp 0x42775f
mov ecx, esi
call fcn.00426c1b
lea eax, [ebp - 0x1014]
mov ecx, esi
push eax
call fcn.00426c43
cmp eax, edi
jl 0x42775f
movzx eax, word [ebp - 0xa]
sub eax, 8
je 0x427727
sub eax, 9
je 0x42768c
dec eax
dec eax
jne 0x42774e
lea eax, [ebp - 0x1014]
test eax, eax
jne 0x427637
xor ebx, ebx
jmp 0x42766c
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.00440dc0
mov ebx, esp
push esi
push ebx
lea eax, [ebp - 0x1014]
push 0xffffffffffffffff
push eax
push edi
push edi
mov word [ebx], di
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x10]
push eax
push edi
push edi
push ebx
call dword [sym.imp.OLEAUT32.dll_VarUI4FromDisp]
mov eax, dword [ebp - 0x10]
push 4
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 4
jmp 0x42773f
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test al, 1
mov dword [ebp - 8], eax
jne 0x4276c8
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov eax, ebx
add eax, 3
and al, 0xfc
call fcn.00440dc0
mov dword [ebp - 4], esp
push ebx
push edi
push dword [ebp - 4]
call sub.MSVCRT.dll_memset
add esp, 0xc
cmp dword [ebp - 4], edi
jne 0x4276d2
mov eax, 0x80004005
jmp 0x42775f
cmp dword [ebp - 8], 0
jle 0x42770c
mov ecx, dword [ebp - 4]
mov eax, edi
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + ecx]
mov al, byte [ebp + edi - 0x1014]
push eax
call fcn.004277f3
pop ecx
mov ecx, edi
push 4
and ecx, 1
shl ecx, 2
mov edx, ecx
pop ecx
sub ecx, edx
shl al, cl
or byte [esi], al
inc edi
cmp edi, dword [ebp - 8]
jl 0x4276d8
mov eax, dword [ebp + 8]
push ebx
push dword [ebp - 4]
mov eax, dword [eax]
push 3
push 0
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor edi, edi
jmp 0x42774e
lea eax, [ebp - 0x1014]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
lea eax, [ebp - 0x1014]
push eax
push 1
mov eax, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.00426c43
cmp eax, edi
jl 0x42775f
xor eax, eax
lea esp, [ebp - 0x2020]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4295df
Capabilities:
Create directory
Get file attributes

Disassembly:
mov eax, 0x44635c
call fcn.00440d70
push ecx
push ecx
push ebx
push esi
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [eax - 8], 3
jg 0x429604
or dword [ebp - 4], 0xffffffff
jmp 0x42968a
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
or esi, 0xffffffff
cmp eax, esi
je 0x429616
test al, 0x10
jne 0x429687
push 0x5c
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, esi
je 0x429673
push eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::Left
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 1
call fcn.004295df
cmp eax, ebx
pop ecx
jne 0x42965a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
jmp 0x42966e
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x10]
jne 0x429682
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov dword [ebp - 4], esi
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x429695
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], esi
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x429d0a
Capabilities:
Get common file path

Disassembly:
mov eax, 0x44648b
call fcn.00440d70
sub esp, 0x24
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], edi
push 1
lea ecx, [ebp - 0x18]
pop ebx
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_4
lea eax, [ebp - 0x30]
mov byte [ebp - 4], 2
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], edi
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.ole32.dll_StringFromCLSID]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1c]
call fcn.00440a04
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_4
mov esi, 0x104
lea ecx, [ebp - 0x14]
push esi
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::GetBuffer
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push esi
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::ReleaseBuffer
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x5c
je 0x429dad
push 0x460398
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx - 8], edi
je 0x429dd9
cmp byte [ecx], 0x2e
push ecx
push dword [ebp - 0x1c]
push eax
je 0x429dd2
push str._s_s._s
lea eax, [ebp - 0x18]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
jmp 0x429dee
push str._s_s_s
jmp 0x429dc4
push dword [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push 0x45e320
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
push dword [ebp - 0x20]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [ebp + 0x10], edi
je 0x429e2c
push edi
push 0x80
push ebx
push edi
push edi
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, edi
jne 0x429e25
mov ecx, dword [ebp + 8]
push 0x463460
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x10], ebx
jmp 0x429e3b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42bae8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push esi
call sub.MSVCRT.dll_strlen
cmp eax, 1
pop ecx
jle 0x42bb0d
mov cl, byte [eax + esi - 2]
lea edx, [eax + esi]
add cl, byte [edx - 1]
jmp 0x42bb15
jne 0x42bb13
mov cl, byte [esi]
jmp 0x42bb15
xor cl, cl
xor cl, al
xor ebx, ebx
movzx esi, cl
mov al, byte [esi + edi + 0x9c]
movzx eax, al
test eax, eax
mov dword [ebp - 8], eax
jle 0x42bb5b
mov eax, dword [edi + 0x8c]
mov ecx, dword [edi + 0x28]
push dword [ebp + 8]
mov eax, dword [eax + ebx*4]
mov al, byte [eax + esi]
mov byte [ebp - 1], al
movzx eax, al
mov eax, dword [ecx + eax*4]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
je 0x42bb65
inc ebx
cmp ebx, dword [ebp - 8]
jl 0x42bb2d
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret 4
movzx eax, byte [ebp - 1]
jmp 0x42bb5e

Function at 0x42c3e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ecx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
mov eax, dword [eax - 8]
lea eax, [eax + ecx + 7]
mov ecx, dword [ebp + 8]
push eax
mov dword [ebp - 4], eax
call sub.MFC42.DLL_CString::GetBuffer
mov esi, eax
mov al, byte [ebp + 0xc]
mov byte [esi], al
mov eax, dword [edi]
inc esi
mov ebx, dword [eax - 8]
movzx eax, bx
mov word [esi], bx
push eax
push dword [edi]
inc esi
inc esi
mov dword [ebp + 0x10], eax
push esi
call sub.MSVCRT.dll_memcpy
xor edi, edi
add esp, 0xc
xor bl, bh
xor eax, eax
cmp dword [ebp + 0x10], edi
jbe 0x42c441
mov cl, byte [eax + esi]
not cl
xor cl, bl
mov byte [eax + esi], cl
inc eax
cmp eax, dword [ebp + 0x10]
jb 0x42c431
add esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x14]
push ebx
push dword [ebp + 0x18]
mov dword [esi], ebx
add esi, 4
push esi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
cmp byte [ebp + 0xc], 7
je 0x42c465
cmp byte [ebp + 0xc], 6
jne 0x42c47c
mov al, bl
xor al, bh
cmp ebx, edi
jbe 0x42c47c
mov cl, byte [edi + esi]
not cl
xor cl, al
mov byte [edi + esi], cl
inc edi
cmp edi, ebx
jb 0x42c46d
push dword [ebp - 4]
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::ReleaseBuffer
pop edi
pop esi
pop ebx
leave
ret 0x14

Function at 0x4331c7
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x447b26
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea edi, [esi + 4]
mov ecx, edi
call fcn.00433ae0
lea ebx, [esi + 0x30]
mov dword [esp + 0x18], 0
mov ecx, ebx
call sub.MFC42.DLL_CString::CString_4
mov ecx, edi
mov byte [esp + 0x18], 1
mov dword [esi], 0x44c5ac
call fcn.00433d60
push 0x463460
mov ecx, ebx
call sub.MFC42.DLL_CString::operator_3
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4351f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x447ef1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
mov dword [esi], 0x44c698
mov dword [esp + 0x18], 8
call fcn.004352d0
lea ecx, [esi + 0x10c]
mov byte [esp + 0x18], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x108]
mov byte [esp + 0x18], 6
call sub.MFC42.DLL_CString::CString
lea edi, [esi + 0xb0]
mov dword [esp + 0xc], edi
lea ecx, [edi + 4]
mov byte [esp + 0x18], 9
call sub.MFC42.DLL_CString::CString
mov ecx, edi
mov byte [esp + 0x18], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x5c]
mov byte [esp + 0x18], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x58]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x54]
mov byte [esp + 0x18], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x34]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call fcn.004389e0
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x435db0
Capabilities:
Create http request

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x447fa0
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
mov eax, dword [esi + 0x78]
test eax, eax
jne 0x435ee0
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 4]
mov ecx, esi
push eax
mov dword [esp + 0x20], 0
call fcn.00436a70
test eax, eax
jne 0x435e1a
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov ecx, dword [esi + 0x38]
mov edx, dword [esp + 4]
push 0x10000000
push 0
push 0
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 0x78], eax
jne 0x435e40
push eax
push eax
call sub.MFC42.DLL_AfxThrowInternetException
mov eax, dword [esi + 0x78]
push 0x436b40
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallback]
cmp eax, 0xffffffff
jne 0x435e5d
push 0
push 0
call sub.MFC42.DLL_AfxThrowInternetException
push 0
push 0x464344
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CSingleLock::CSingleLock
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CSingleLock::Lock
mov eax, dword [esp + 0x10]
test eax, eax
je 0x435e9f
push esi
mov ecx, 0x464328
call sub.MFC42.DLL_CMapPtrToPtr::operator__
lea ecx, [esp + 8]
mov dword [eax], 0
call sub.MFC42.DLL_CSingleLock::Unlock
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CSingleLock::Unlock
mov ecx, esi
call fcn.00436a90
test eax, eax
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [esp + 4]
jne 0x435edb
call sub.MFC42.DLL_CString::CString
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret