joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40990b
Capabilities:
Delete file
Move file

Disassembly:
push 0x234
mov eax, 0x435ca9
call fcn.00433cb0
xor ebx, ebx
lea ecx, [ebp - 0x220]
mov dword [ebp - 4], ebx
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_void_]
push 0x105
lea eax, [ebp - 0x21c]
push ebx
push eax
mov byte [ebp - 4], 1
call fcn.00409541
mov esi, dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringW::GetLength_void_const]
add esp, 0xc
lea ecx, [ebp + 8]
call esi
push eax
push ebx
lea ecx, [ebp + 8]
call dword [sym.imp.Common.dll_public:_wchar_t____thiscall_CTXStringW::GetBuffer_int_]
push eax
lea eax, [ebp - 0x21c]
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
lea ecx, [ebp + 8]
call esi
push eax
lea ecx, [ebp + 8]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::ReleaseBuffer_int_]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x238], eax
xor esi, esi
lea eax, [ebp - 0x240]
inc esi
push eax
mov dword [ebp - 0x22e], esi
mov word [ebp - 0x230], 0x614
mov dword [ebp - 0x22a], ebx
mov dword [ebp - 0x240], ebx
mov dword [ebp - 0x226], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x23c], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
je 0x4099f0
xor edi, edi
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], bl
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call esi
mov eax, edi
call fcn.00433d33
ret 4
mov edi, esi
jmp 0x4099cc

Function at 0x40a5ba
Capabilities:
Check if file exists
Get file attributes

Disassembly:
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40a5d4
test al, 0x10
je 0x40a5d4
xor eax, eax
inc eax
ret
xor eax, eax
ret
Function at 0x40a7bd
Capabilities:
Get common file path

Disassembly:
push 0x27c
mov eax, 0x435ec7
call fcn.00433cb0
and dword [ebp - 0x22c], 0
mov edi, ecx
mov dword [ebp - 0x228], edi
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
xor ebx, ebx
lea eax, [ebp + 8]
inc ebx
push eax
lea ecx, [ebp - 0x21c]
mov dword [ebp - 4], ebx
call esi
push 0x104
lea eax, [ebp - 0x218]
push 0
push eax
mov byte [ebp - 4], 2
call fcn.00409541
add esp, 0xc
push ebx
push 0x1a
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x40a961
mov edi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_void_]
lea ecx, [ebp - 0x224]
call edi
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 3
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::MakeLower_void_]
lea eax, [ebp - 0x288]
push eax
call entry0
pop ecx
lea ecx, [ebp - 0x21c]
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringW::GetLength_void_const]
push eax
lea ecx, [ebp - 0x21c]
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringW::GetLength_void_const]
push eax
lea ecx, [ebp - 0x21c]
call dword [sym.imp.Common.dll_public:_wchar_t____thiscall_CTXStringW::GetBuffer_int_]
push eax
lea eax, [ebp - 0x288]
push eax
call fcn.00401753
add esp, 0xc
lea eax, [ebp - 0x288]
push eax
push 0x10
lea ecx, [ebp - 0x224]
call dword [sym.imp.Common.dll_public:_wchar_t____thiscall_CTXStringW::GetBuffer_int_]
push eax
call fcn.00401977
pop ecx
pop ecx
push 0x10
lea ecx, [ebp - 0x224]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::ReleaseBuffer_int_]
lea eax, [ebp - 0x224]
push eax
call fcn.0040a48d
pop ecx
lea ecx, [ebp - 0x220]
call edi
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 4
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push str._sQQ_s_
push eax
call dword [sym.imp.Common.dll_public:_void___cdecl_CTXStringW::Format_wchar_t_const__]
add esp, 0x10
lea ecx, [ebp - 0x220]
call fcn.0040a5ba
test eax, eax
jne 0x40a912
lea ebx, [ebp - 0x220]
call fcn.0040a5d7
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x228]
lea eax, [ebp - 0x220]
push eax
call esi
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x22c], ebx
mov byte [ebp - 4], 3
call esi
lea ecx, [ebp - 0x224]
mov byte [ebp - 4], 2
call esi
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], bl
call esi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call esi
mov eax, dword [ebp - 0x228]
jmp 0x40a98b
lea eax, [ebp + 8]
push eax
mov ecx, edi
call esi
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x21c]
mov dword [ebp - 0x22c], ebx
mov byte [ebp - 4], bl
call esi
lea ecx, [ebp + 8]
mov byte [ebp - 4], 0
call esi
mov eax, edi
call fcn.00433d33
ret
Function at 0x40de7b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4491c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
mov ecx, edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x40dede
xor eax, eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x230]
push eax
mov ecx, edi
call esi
push eax
call sub.MFC80U.DLL_Ordinal_3383
jmp 0x40dee1
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00433c38
leave
ret
Function at 0x412d33
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x230
mov eax, 0x43740c
call fcn.00433cb0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
xor ebx, ebx
push ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x22c], ecx
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x234], ebx
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_int_]
xor esi, esi
inc esi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x23c], VariantClear
mov dword [ebp - 0x238], reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x220], ebx
lea eax, [ebp - 0x224]
push eax
mov eax, dword [ebp - 0x220]
push 0x20019
push ebx
push str.SoftwareTencentQPlus
push dword [ebp + eax*4 - 0x23c]
mov dword [ebp - 0x224], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x412e33
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x230]
push eax
push ebx
push dword [ebp - 0x228]
mov dword [ebp - 0x230], esi
push dword [ebp - 0x224]
mov dword [ebp - 0x21c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x224]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp edi, ebx
jne 0x412e33
cmp dword [ebp - 0x230], esi
jne 0x412e33
shr dword [ebp - 0x21c], 1
je 0x412e33
mov eax, dword [ebp - 0x21c]
cmp word [ebp + eax*2 - 0x21a], bx
je 0x412e2b
dec dword [ebp - 0x21c]
cmp dword [ebp - 0x21c], ebx
jne 0x412e48
inc dword [ebp - 0x220]
cmp dword [ebp - 0x220], 2
jb 0x412d8c
jmp 0x412e80
push dword [ebp - 0x21c]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x228]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t_const___int_]
mov ecx, dword [ebp - 0x22c]
push eax
mov dword [ebp - 4], esi
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], bl
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov eax, dword [ebp - 0x22c]
call fcn.00433d33
ret
Function at 0x412ea8
Capabilities:
Check if file exists

Disassembly:
push 0x10
mov eax, 0x437469
call fcn.00433c47
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x14]
push 0x43c640
push eax
call fcn.00412d33
xor ebx, ebx
lea eax, [ebp - 0x1c]
inc ebx
push eax
mov dword [ebp - 4], ebx
call fcn.00412c1d
push str.QPlus.exe
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
add esp, 0x18
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call esi
mov edi, dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
lea ecx, [ebp - 0x14]
call edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412f20
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
jmp 0x412f4a
lea ecx, [ebp - 0x10]
call edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov ecx, dword [ebp + 8]
je 0x412f3f
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__]
jmp 0x412f4a
push 0x43aa24
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], bl
call esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
call esi
mov eax, dword [ebp + 8]
call fcn.00433d1f
ret

Function at 0x412f67
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
call fcn.00412ea8
pop ecx
push 5
xor esi, esi
push esi
push dword [ebp + 8]
mov ecx, eax
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 4]
mov esi, eax
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov eax, esi
pop esi
leave
ret
Function at 0x412f9f
Capabilities:
Check if file exists

Disassembly:
push 0x14
mov eax, 0x4374a8
call fcn.00433c47
and dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.00412e8c
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.00412ea8
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 1
call fcn.00412c1d
push str.QPlus.exe
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.Common.dll_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__]
add esp, 0x18
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 4
call esi
mov edi, dword [sym.imp.Common.dll_public:_bool___thiscall_CTXStringW::IsEmpty_void_const]
lea ecx, [ebp - 0x1c]
call edi
test al, al
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
jne 0x413026
lea ecx, [ebp - 0x10]
call edi
test al, al
jne 0x413026
lea ecx, [ebp - 0x10]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
call ebx
test eax, eax
jne 0x413036
lea ecx, [ebp - 0x18]
call dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
push eax
call ebx
test eax, eax
je 0x41303d
mov dword [ebp - 0x14], 1
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call esi
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call esi
mov eax, dword [ebp - 0x14]
call fcn.00433d1f
ret

Function at 0x4140ea
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4491c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
mov ecx, edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41414d
xor eax, eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x230]
push eax
mov ecx, edi
call esi
push eax
call sub.MFC80U.DLL_Ordinal_3383
jmp 0x414150
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00433c38
leave
ret
Function at 0x4164c2
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x437cd8
call fcn.00433c47
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 1
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_void_]
mov esi, dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
lea eax, [ebp - 0x14]
push eax
push 0x20019
xor edi, edi
push edi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call esi
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, edi
je 0x416532
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call esi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call esi
xor eax, eax
call fcn.00433d1f
ret 0x14
push 0x208
call sub.MFC80U.DLL_Ordinal_265
pop ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
mov dword [ebp + 8], eax
lea eax, [ebp - 0x1c]
push eax
push edi
lea ecx, [ebp + 0x10]
mov dword [ebp - 0x1c], 2
mov dword [ebp - 0x18], 0x104
call esi
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
mov esi, dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
je 0x416590
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call esi
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call esi
mov eax, edi
jmp 0x41652a
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_wchar_t__]
push edi
mov edi, dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringW::Find_wchar_t__int_const]
or ebx, 0xffffffff
jmp 0x4165ac
mov ebx, eax
inc eax
push eax
push 0x5c
lea ecx, [ebp - 0x10]
call edi
cmp eax, 0xffffffff
jne 0x4165a8
inc ebx
push ebx
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.Common.dll_public:_class_CTXStringW___thiscall_CTXStringW::Left_int_]
mov ecx, dword [ebp + 0x14]
mov edi, dword [sym.imp.Common.dll_public:_class_CTXStringW____thiscall_CTXStringW::operator_class_CTXStringW_const__]
push eax
mov byte [ebp - 4], 3
call edi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call esi
push ebx
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp - 0x10]
call dword [sym.imp.Common.dll_public:_class_CTXStringW___thiscall_CTXStringW::Mid_int_]
mov ecx, dword [ebp + 0x18]
push eax
mov byte [ebp - 4], 4
call edi
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call esi
push dword [ebp + 8]
call sub.MFC80U.DLL_Ordinal_266
pop ecx
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
inc edi
jmp 0x416571
Function at 0x41b08b
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push 0x18
mov eax, 0x4388c8
call fcn.00433c47
mov eax, dword [sym.imp.MSVCR80.dll___argc]
push 2
xor ebx, ebx
pop esi
cmp dword [eax], esi
mov dword [ebp - 0x14], ebx
jle 0x41b0ab
mov dword [ebp - 0x14], esi
mov eax, dword [sym.imp.MSVCR80.dll___wargv]
mov eax, dword [eax]
push dword [eax + 4]
lea ecx, [ebp - 0x18]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::constructor_wchar_t__]
lea ecx, [ebp - 0x18]
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringW::GetLength_void_const]
cmp eax, 0x1400
jle 0x41b0d1
mov dword [ebp - 0x14], esi
push str.tencent:__finger__subcmdqiaoyuka
lea ecx, [ebp - 0x18]
call dword [sym.imp.Common.dll_public:_int___thiscall_CTXStringW::CompareNoCase_wchar_t_const__const]
test eax, eax
je 0x41b0f8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call dword [sym.imp.Common.dll_public:_void___thiscall_CTXStringW::destructor_void_]
mov eax, ebx
call fcn.00433d1f
ret
lea eax, [ebp - 0x10]
push eax
push str.SoftwareTencentQQ2009
push SysReAllocString
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x41b170
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
mov esi, 0x43d688
push esi
push dword [ebp - 0x10]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push ebx
call dword [sym.imp.MSVCR80.dll__time64]
pop ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 3
cmp eax, ecx
mov dword [ebp - 0x24], eax
jae 0x41b154
mov dword [ebp - 0x14], 1
jmp 0x41b167
push 4
lea eax, [ebp - 0x24]
push eax
push 4
push ebx
push esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [ebp - 0x14]
jmp 0x41b0e3
Function at 0x41bd67
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4491c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [sym.imp.Common.dll_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const]
mov ecx, edi
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x41bdca
xor eax, eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x230]
push eax
mov ecx, edi
call esi
push eax
call sub.MFC80U.DLL_Ordinal_3383
jmp 0x41bdcd
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00433c38
leave
ret
Function at 0x420e49
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x98]
test eax, eax
jne 0x420f2f
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push dword [esi + 0x20]
mov edi, dword [sym.imp.USER32.dll_IsWindow]
call edi
test eax, eax
jne 0x420e81
push dword [esi + 0xe8]
call edi
test eax, eax
je 0x420f2d
mov ecx, esi
call fcn.0041fb2d
test eax, eax
je 0x420f2d
mov eax, dword [esi + 0x74]
lea edi, [esi + 0xd0]
push eax
mov ecx, edi
call fcn.0041fe93
cmp dword [eax], 0
je 0x420ef9
mov ecx, esi
call fcn.004202d5
mov eax, dword [esi + 0x98]
test eax, eax
jne 0x420f2d
push dword [esi + 0x74]
mov ecx, edi
call fcn.0041fe93
cmp dword [eax + 0x14], 5
jae 0x420ecb
push 0x64
jmp 0x420edc
push dword [esi + 0x74]
mov ecx, edi
call fcn.0041fe93
mov eax, dword [eax + 0x14]
imul eax, eax, 0xa
push eax
push dword [esi + 0xbc]
call ebx
mov eax, dword [esi + 0x98]
test eax, eax
jne 0x420f2d
mov eax, dword [esi + 0x74]
cmp eax, dword [esi + 0xd8]
jae 0x420f2d
mov ecx, esi
call fcn.0041fb2d
test eax, eax
je 0x420f2d
cmp dword [esi + 0x90], 0
jne 0x420f31
inc dword [esi + 0x74]
mov eax, dword [esi + 0x74]
cmp eax, dword [esi + 0xd8]
jb 0x420f1f
and dword [esi + 0x74], 0
mov eax, dword [esi + 0x98]
test eax, eax
je 0x420e62
pop edi
pop ebx
pop esi
ret
pop edi
pop ebx
pop esi
jmp fcn.0041fac9

Function at 0x421472
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov dword [ebp - 4], ecx
call sub.MFC80U.DLL_Ordinal_1079
push dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
call sub.MFC80U.DLL_Ordinal_1079
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test esi, esi
mov dword [ebp + 0xc], eax
jne 0x4214af
xor eax, eax
jmp 0x42153f
push edi
call sub.MFC80U.DLL_Ordinal_1079
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
jne 0x4214de
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
jmp 0x42153e
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [ebp + 0xc]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x42152b
test ebx, ebx
je 0x42152b
push edi
push eax
push ebx
call sub.MSVCR80.dll_memcpy
add esp, 0xc
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [ebp - 4]
push edi
push esi
call fcn.00421053
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
jmp 0x42153d
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 8
Function at 0x421bfa
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_IsWindow]
mov esi, ecx
push dword [esi + 0x20]
call edi
test eax, eax
jne 0x421c24
push dword [esi + 0xe8]
call edi
test eax, eax
je 0x421d89
xor edi, edi
cmp dword [esi + 0x9c], edi
je 0x421d89
cmp dword [esi + 0x8c], edi
mov ecx, esi
je 0x421c49
call fcn.004202d5
xor eax, eax
inc eax
jmp 0x421d8b
mov dword [esi + 0x90], edi
call fcn.004202a4
test eax, eax
je 0x421c9f
lea eax, [ebp - 0xc]
push eax
push 4
push esi
push 0x421bbe
push edi
push edi
mov dword [esi + 0x98], edi
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
cmp eax, edi
mov dword [esi + 0xb8], eax
je 0x421d89
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp + 8]
mov dword [esi + 0x90], eax
mov dword [esi + 0x8c], 1
jmp 0x421c41
mov eax, dword [esi + 0xc0]
cmp eax, edi
je 0x421d89
cmp dword [esi + 0xe4], edi
je 0x421cc3
xor eax, eax
inc eax
mov dword [esi + 0x8c], eax
jmp 0x421d8b
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0xc0]
mov ecx, dword [eax]
lea edx, [ebp - 4]
push edx
push eax
call dword [ecx + 0x1c]
mov ebx, dword [esi + 0xf4]
cmp ebx, edi
jl 0x421cf6
cmp dword [esi + 0x94], edi
je 0x421cf6
mov eax, ebx
mov dword [ebp + 8], ebx
jmp 0x421cfc
mov eax, dword [esi + 0x68]
mov dword [ebp + 8], eax
mov ecx, dword [esi + 0xf8]
cmp ecx, edi
jl 0x421d0e
cmp dword [esi + 0x94], edi
jne 0x421d11
mov ecx, dword [esi + 0x6c]
xor edx, edx
cmp dword [esi + 0x94], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
je 0x421d36
cmp ebx, edi
jl 0x421d36
cmp dword [esi + 0xf8], edi
jl 0x421d36
lea edx, [ebp - 0x1c]
push edx
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0xc0]
mov ebx, dword [eax]
neg edx
push edx
push dword [ebp - 8]
push dword [ebp - 4]
push edi
push ecx
push dword [ebp + 8]
push edi
push edi
push dword [esi + 0xa0]
push eax
call dword [ebx + 0x20]
test eax, eax
jne 0x421c41
mov eax, dword [esi + 0xe8]
xor ebx, ebx
inc ebx
cmp eax, edi
push edi
mov dword [esi + 0x8c], ebx
push edi
je 0x421d7c
push eax
jmp 0x421d7f
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, ebx
jmp 0x421d8b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x42969e
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [ebp + 0x10]
jle 0x4296db
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x4296b8
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x4296f7
dec esi
je 0x4296f0
dec esi
jne 0x4296fc
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
pop ebp
ret 0xc