joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40d0c8
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4b3172
call fcn.00458b70
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x28]
call fcn.0045842e
and dword [ebp - 4], 0
lea ecx, [esi + 0x2c]
call fcn.0045842e
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.0045842e
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call fcn.0045842e
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 3
call fcn.0045842e
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 4
call fcn.0045842e
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 5
call fcn.0045842e
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 6
call fcn.0045842e
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 7
call fcn.0045842e
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 8
call fcn.0045842e
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 9
call fcn.0045842e
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 0xa
call fcn.0045842e
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 0xb
call fcn.0045842e
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0xc
call fcn.0045842e
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0xd
call fcn.0045842e
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 0xe
call fcn.0045842e
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 0xf
call fcn.0045842e
lea ecx, [esi + 0x6c]
mov byte [ebp - 4], 0x10
call fcn.0045842e
mov byte [ebp - 4], 0x11
mov ecx, esi
mov dword [esi], 0x4c9020
call fcn.0040d2ec
or dword [ebp - 4], 0xffffffff
mov eax, esi
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret

Function at 0x40d1ed
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4b3242
call fcn.00458b70
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x4c9020
lea ecx, [esi + 0x6c]
mov dword [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x58]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x54]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [esi + 0x2c]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x28]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40d63c
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x4b342a
call fcn.00458b70
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 8]
call fcn.0045842e
and dword [ebp - 4], 0
lea ecx, [esi + 0xc]
call fcn.0045842e
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call fcn.0045842e
lea ecx, [esi + 0x14]
mov byte [ebp - 4], 2
call fcn.0045842e
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 3
call fcn.0045842e
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 4
call fcn.0045842e
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 5
call fcn.0045842e
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 6
call fcn.0045842e
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 7
call fcn.0045842e
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 8
call fcn.0045842e
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 9
call fcn.0045842e
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 0xa
call fcn.0045842e
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 0xb
call fcn.0045842e
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 0xc
call fcn.0045842e
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 0xd
call fcn.0045842e
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 0xe
call fcn.0045842e
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 0xf
call fcn.0045842e
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0x10
call fcn.0045842e
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0x11
call fcn.0045842e
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 0x12
call fcn.0045842e
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 0x13
call fcn.0045842e
lea ecx, [esi + 0x78]
mov byte [ebp - 4], 0x14
call fcn.0045842e
mov byte [ebp - 4], 0x15
mov ecx, esi
mov dword [esi], 0x4c9038
call fcn.0040d8c0
mov ecx, dword [ebp - 0xc]
or dword [ebp - 4], 0xffffffff
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x40d791
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, 0x4b3526
call fcn.00458b70
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], 0x4c9038
lea ecx, [esi + 0x78]
mov dword [ebp - 4], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x74]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x70]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x5c]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x44]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x40]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
lea ecx, [esi + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [esi + 0xc]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x415f6f
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
je 0x415f8c
push eax
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
ret 0xc

Function at 0x415f8f
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [ecx + 4]
test eax, eax
je 0x415fac
push eax
push dword [esp + 0x10]
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.MSVCRT.dll_fwrite]
add esp, 0x10
ret 0xc
Function at 0x417227
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
xor esi, esi
push 0x44
lea eax, [ebp - 0x54]
push esi
push eax
call sub.MSVCRT.dll_memset
mov ax, word [ebp + 0xc]
add esp, 0xc
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
mov dword [ebp - 0x54], 0x44
push dword [ebp + 8]
mov dword [ebp - 0x28], 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x417285
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
push 0x21
jmp 0x4172a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
dec eax
je 0x4172a5
dec eax
je 0x4172a1
sub eax, 0xbe
je 0x41729d
xor eax, eax
jmp 0x4172a8
push 0xb
jmp 0x4172a7
push 3
jmp 0x4172a7
push 2
pop eax
pop esi
leave
ret
Function at 0x425188
Capabilities:
Check if file exists
Create directory
Delete file
Get file attributes

Disassembly:
mov eax, 0x4b54ac
call fcn.00458b70
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0x714]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea edi, [esi + 0x71c]
push 0x500c1c
lea eax, [ebp - 0x10]
push edi
push eax
call sub.MFC42.DLL_operator
xor ebx, ebx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call fcn.004584fa
mov eax, dword [esi + 0x714]
push ebx
push eax
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x42524a
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42524a
push 0xc
lea eax, [ebp - 0x1c]
push ebx
push eax
call sub.MSVCRT.dll_memset
mov edi, dword [edi]
add esp, 0xc
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0xc
push eax
push edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 1
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x42524a
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CFileFind::CFileFind
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4252ff
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [ebp - 0x58]
call fcn.004584fa
mov eax, dword [esi + 0x714]
push ebx
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x4252d9
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CFile::CFile
mov esi, dword [esi + 0x714]
push ebx
push 0x1002
push esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x42529b
xor esi, esi
jmp 0x42529e
push 1
pop esi
lea ecx, [ebp - 0x58]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.004587c4
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CFileFind::CFileFind
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov eax, esi
jmp 0x4252ff
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CFileFind::CFileFind
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
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 0x4274eb
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4b5913
call fcn.00458b70
push ecx
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x20]
call fcn.0045842e
and dword [ebp - 4], 0
lea ecx, [esi + 0x24]
call fcn.0045842e
push 1
lea ecx, [esi + 0x28]
pop ebx
mov byte [ebp - 4], bl
call fcn.0045842e
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 2
call fcn.0045842e
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 3
call fcn.0045842e
mov ecx, dword [ebp - 0xc]
push 2
pop eax
mov byte [ebp - 4], 4
and word [esi + 4], 0
and dword [esi], 0
or dword [esi + 8], 0xffffffff
and dword [esi + 0x38], 0
or dword [ebp - 4], 0xffffffff
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x30], 0x196
mov dword [esi + 0x10], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x42deb1
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4b6594
call fcn.00458b70
sub esp, 0x30
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [ebp - 0x20]
call fcn.0045842e
push dword [esi + 0x60]
and dword [ebp - 4], 0
call dword [sym.imp.BasicCtrlDll.dll_unsigned_long_int___cdecl_GetCurrentUin_struct_IQQCore__]
pop ecx
mov edi, 0x50084c
push eax
lea eax, [ebp - 0x20]
push edi
push eax
call sub.MFC42.DLL_CString::Format
push 0x10
lea eax, [ebp - 0x3c]
push 0x30
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
lea ecx, [ebp - 0x1c]
call fcn.0045842e
push dword [esi + 0x20]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push edi
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx - 8]
push eax
push ecx
lea ecx, [ebp - 0x2c]
sub ecx, eax
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0x18
lea ecx, [ebp - 0x10]
call fcn.0045842e
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x28], eax
mov ecx, dword [eax - 8]
lea edi, [ecx + 0x20]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], edi
mov ebx, dword [eax - 8]
lea eax, [ebp - 0x14]
push eax
push edi
call sub.MFC42.DLL_CString::GetBuffer
push eax
lea eax, [ebp - 0x3c]
push eax
push ebx
push dword [ebp - 0x28]
call fcn.00409a74
add esp, 0x14
lea ecx, [ebp - 0x10]
push edi
call sub.MFC42.DLL_CString::ReleaseBuffer
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::GetBufferSetLength
push dword [ebp - 0x14]
lea eax, [ebp - 0x24]
push dword [ebp - 0x10]
push eax
call dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_Base64Encode_char_const___int_]
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0045842e
mov byte [ebp - 4], 4
push dword [esi + 0x20]
lea eax, [ebp - 0x18]
push dword [ebp + 8]
push dword [ebp - 0x24]
push str._s__d__d_0_1
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x14
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.0042de44
lea eax, [ebp + 8]
mov ecx, esi
push eax
mov byte [ebp - 4], 5
call fcn.0042de44
mov eax, dword [eax]
push 5
push 0
mov byte [ebp - 4], 6
push dword [ebp - 0x18]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x432aad
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4b6fd8
call fcn.00458b70
sub esp, 0x14
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x10]
call fcn.0045842e
xor ebx, ebx
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.0045842e
mov esi, dword [sym.imp.BasicCtrlDll.dll_class_CString___cdecl_GetExeFolder_void_]
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 1
call esi
pop ecx
push dword [eax]
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 2
push str._snewface_face.ini
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x1c]
push eax
call esi
pop ecx
push dword [eax]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push str._snewface_
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x10]
push ebx
push str.MAXFACE
push str.MAIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, ebx
mov dword [ebp - 0x18], eax
jle 0x432c21
add edi, 0x68
mov dword [ebp - 0x1c], ebx
mov ecx, edi
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CbmpImageList::DeleteAllBitmaps_void_]
push 0x28
push 0x28
mov ecx, edi
call dword [sym.imp.QQBaseClassInDll.dll_public:_int___thiscall_CbmpImageList::Create_int__int_]
test eax, eax
je 0x432c1e
mov dword [ebp - 0x1c], 1
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push 0x2000
push ebx
push ebx
push ebx
push 0x72f
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
cmp eax, ebx
je 0x432c21
push eax
mov ecx, edi
call dword [sym.imp.QQBaseClassInDll.dll_public:_int___thiscall_CbmpImageList::SetAwayMask_struct_HBITMAP____]
xor eax, eax
cmp dword [ebp - 0x18], ebx
jle 0x432c1e
mov esi, dword [sym.imp.QQBaseClassInDll.dll_public:_int___thiscall_CbmpImageList::AddDelayBitmap_class_CString__int_]
lea ebx, [eax + 1]
lea eax, [ebp - 0x10]
push ebx
push dword [ebp - 0x14]
push str._s_ld.bmp
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea eax, [ebp - 0x10]
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [ebp - 4], 1
call esi
push 1
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [ebp - 4], 1
call esi
push 2
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call sub.MFC42.DLL_CString::CString_2
mov ecx, edi
mov byte [ebp - 4], 1
call esi
mov eax, ebx
cmp eax, dword [ebp - 0x18]
jl 0x432bb4
mov ebx, dword [ebp - 0x1c]
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, ebx
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
Function at 0x43537b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push esi
mov esi, 0x9c
push esi
lea eax, [ebp - 0x9c]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
push eax
call esi
test eax, eax
jne 0x4353d4
lea eax, [ebp - 0x9c]
mov dword [ebp - 0x9c], 0x94
push eax
call esi
test eax, eax
jne 0x4353d4
xor ax, ax
jmp 0x435478
mov eax, dword [ebp - 0x8c]
sub eax, 0
je 0x435475
dec eax
je 0x435422
dec eax
je 0x4353f0
xor eax, eax
jmp 0x435478
push 4
pop eax
cmp dword [ebp - 0x98], eax
ja 0x4353ff
push 1
jmp 0x435477
cmp dword [ebp - 0x98], 5
jne 0x435478
cmp dword [ebp - 0x94], 0
jne 0x435415
push 2
jmp 0x435477
cmp dword [ebp - 0x94], 1
jne 0x435478
push 3
jmp 0x435477
cmp dword [ebp - 0x98], 4
push 0xa
pop eax
jne 0x435478
cmp dword [ebp - 0x94], 0
jne 0x435450
cmp byte [ebp - 0x87], 0x43
push 5
pop eax
je 0x43544c
cmp byte [ebp - 0x87], 0x42
jne 0x435478
push 6
jmp 0x435477
cmp dword [ebp - 0x94], eax
jne 0x435468
cmp byte [ebp - 0x87], 0x41
push 7
pop eax
jne 0x435478
push 8
jmp 0x435477
cmp dword [ebp - 0x94], 0x5a
jne 0x435478
push 9
jmp 0x435477
push 0xb
pop eax
pop esi
leave
ret
Function at 0x437df5
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
mov eax, 0x4b7ac8
call fcn.00458b70
sub esp, 0x48
push ebx
push esi
lea ecx, [ebp - 0x54]
call fcn.004584fa
push dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x437e6e
push 0xc
lea eax, [ebp - 0x18]
pop esi
push esi
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], ebx
push 1
pop esi
push eax
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x437e71
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CFileFind::Close
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CFileFind::CFileFind
xor eax, eax
jmp 0x437ef4
push 1
pop esi
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [ebp - 0x38]
call fcn.004584fa
push ebx
lea ecx, [ebp - 0x38]
push dword [ebp + 0xc]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
jne 0x437ece
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CFile::CFile
push ebx
push 0x1002
push dword [ebp + 0xc]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CFile::Open
test eax, eax
jne 0x437eb8
xor esi, esi
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CFileFind::Close
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004587c4
jmp 0x437edb
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_CFileFind::Close
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CFileFind::CFileFind
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call sub.MFC42.DLL_CFileFind::CFileFind
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0xc

Function at 0x4384d1
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4b7dc7
call fcn.00458b70
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x2c]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x28]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x1c]
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 0x43855e
Capabilities:
Delete file

Disassembly:
mov eax, 0x4b7de4
call fcn.00458b70
push esi
push edi
mov esi, ecx
push dword [ebp + 0xc]
lea ecx, [esi + 0x344]
mov dword [ebp - 4], 1
call sub.MFC42.DLL_CMapStringToOb::operator__
mov edi, dword [ebp + 0x10]
lea ecx, [esi + 0x37c]
mov dword [eax], edi
push dword [ebp + 0xc]
call sub.MFC42.DLL_CMapStringToOb::operator__
mov ecx, dword [ebp + 0x14]
cmp edi, 1
mov dword [eax], ecx
je 0x4385ba
cmp edi, 2
je 0x4385c3
jle 0x4385d4
cmp edi, 4
jg 0x4385d4
push 0
lea ecx, [esi + 0x16c]
push dword [ebp + 0xc]
push dword [ebp + 8]
jmp 0x4385ce
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
lea ecx, [esi + 0x20]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.QQBaseClassInDll.dll_public:_unsigned_int___thiscall_CHttpDownload::Download_char_const___char_const___struct__SYSTEMTIME__]
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 edi
pop esi
mov dword fs:[0], ecx
leave
ret 0x10