joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45df10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524a20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x118]
mov dword [ebp - 0x10], esp
cmp eax, ebx
je 0x45df51
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 0x118], ebx
mov ecx, 8
xor eax, eax
lea edi, [ebp - 0x48]
mov dword [ebp - 0x4c], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x4c]
lea edi, [esi + 0xd]
push eax
push ebx
push edi
mov dword [esi + 0x114], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
test eax, eax
je 0x45e0ed
mov esi, dword [ebp - 0x2c]
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x20], eax
je 0x45e0ed
lea edi, [esi + 1]
push edi
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x45e0e3
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
mov dword [ebp - 0x18], 0
rep stosb byte es:[edi], al
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push eax
push esi
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x45e0da
cmp dword [ebp - 0x18], esi
jne 0x45e0da
xor eax, eax
cmp eax, esi
jae 0x45e014
mov edx, dword [ebp - 0x14]
mov cl, byte [edx + 0xc]
mov dl, byte [eax + ebx]
xor dl, cl
mov byte [eax + ebx], dl
inc eax
jmp 0x45dfff
mov eax, dword [ebp - 0x14]
mov edx, dword [ebx]
cmp edx, dword [eax + 8]
jne 0x45e0da
mov ecx, dword [ebx + 0xc]
mov edx, dword [eax + 4]
cmp ecx, edx
jb 0x45e0da
mov edi, dword [ebx + 0x10]
test edi, edi
jbe 0x45e0da
mov edx, dword [ebx + 8]
mov ecx, dword [ebx + 4]
imul edx, edi
add edx, ecx
cmp esi, edx
jne 0x45e0da
mov dword [eax + 0x114], edi
mov eax, edi
shl eax, 6
add eax, edi
shl eax, 3
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x28], eax
test eax, eax
je 0x45e093
mov dword [ebp - 0x1c], edi
mov esi, 0x208
mov edx, eax
mov ecx, dword [ebp - 0x1c]
dec ecx
mov dword [ebp - 0x1c], ecx
js 0x45e095
mov ecx, 0x82
xor eax, eax
mov edi, edx
add edx, esi
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x28]
jmp 0x45e078
xor eax, eax
mov ecx, dword [ebp - 0x14]
test eax, eax
mov dword [ecx + 0x118], eax
je 0x45e0da
xor eax, eax
cmp eax, dword [ebx + 0x10]
jae 0x45e0d3
mov esi, dword [ebx + 8]
mov ecx, dword [ebp - 0x14]
imul esi, eax
mov edi, dword [ebx + 4]
mov ecx, dword [ecx + 0x118]
mov edx, eax
add esi, edi
shl edx, 6
add edx, eax
add esi, ebx
inc eax
lea edi, [ecx + edx*8]
mov ecx, 0x82
rep movsd dword es:[edi], dword [esi]
jmp 0x45e0a4
mov dword [ebp - 0x24], 1
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45e110
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x524a30
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], ecx
push ebx
push esi
xor ecx, ecx
push edi
cmp eax, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], ecx
jbe 0x45e238
cmp dword [ebp + 0xc], ecx
je 0x45e238
mov esi, eax
shl esi, 6
add esi, eax
shl esi, 3
lea eax, [esi + 0x14]
mov dword [ebp - 0x1c], eax
lea edi, [eax + 1]
push edi
call sub.MFC42.DLL_operatornew
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x45e238
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp - 0x14]
lea edi, [ebx + 0x14]
mov ecx, dword [eax + 8]
mov dword [ebx + 4], 0x14
mov dword [ebx], ecx
mov edx, dword [eax + 4]
mov eax, dword [ebp + 8]
mov ecx, esi
mov esi, dword [ebp + 0xc]
mov dword [ebx + 0xc], edx
mov edx, ecx
mov dword [ebx + 0x10], eax
shr ecx, 2
mov dword [ebx + 8], 0x208
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp - 0x1c]
cmp eax, edi
jae 0x45e1dc
mov ecx, dword [ebp - 0x14]
mov dl, byte [ecx + 0xc]
mov cl, byte [eax + ebx]
xor cl, dl
mov byte [eax + ebx], cl
inc eax
jmp 0x45e1c4
mov eax, dword [ebp - 0x14]
push 0
push 0x80
push 2
push 0
push 0
add eax, 0xd
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x45e22f
lea ecx, [ebp + 8]
push 0
push ecx
push edi
push ebx
push esi
mov dword [ebp + 8], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x45e228
cmp dword [ebp + 8], edi
jne 0x45e228
mov dword [ebp - 0x18], 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45f9f0
Capabilities:
Access peb ldr_data
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x524b23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x20]
mov ecx, dword [eax]
push edi
mov edi, dword [esp + 0x2c]
mov dword [esi], ecx
add esi, 4
mov edx, dword [edi]
lea eax, [edi + 4]
xor ebx, ebx
push eax
lea ecx, [esi + 4]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], esi
mov dword [esi], edx
call fcn.004c73e6
lea ecx, [edi + 8]
mov dword [esp + 0x1c], ebx
push ecx
lea ecx, [esi + 8]
call fcn.004c73e6
lea edx, [edi + 0xc]
lea ecx, [esi + 0xc]
push edx
mov byte [esp + 0x20], 1
call fcn.004c73e6
lea ebx, [edi + 0x10]
lea ebp, [esi + 0x10]
push ebx
mov ecx, ebp
mov byte [esp + 0x20], 2
mov dword [esp + 0x30], ebp
call fcn.004c73e6
lea eax, [ebx + 4]
lea ecx, [ebp + 4]
push eax
mov byte [esp + 0x20], 3
call fcn.004c73e6
lea ecx, [ebx + 8]
mov byte [esp + 0x1c], 4
push ecx
lea ecx, [ebp + 8]
call fcn.004c73e6
lea edx, [ebx + 0xc]
lea ecx, [ebp + 0xc]
push edx
mov byte [esp + 0x20], 5
call fcn.004c73e6
lea eax, [ebx + 0x10]
lea ecx, [ebp + 0x10]
push eax
mov byte [esp + 0x20], 6
call fcn.004c73e6
lea ecx, [ebx + 0x14]
mov byte [esp + 0x1c], 7
push ecx
lea ecx, [ebp + 0x14]
call fcn.004c73e6
lea edx, [ebx + 0x18]
lea ecx, [ebp + 0x18]
push edx
mov byte [esp + 0x20], 8
call fcn.004c73e6
lea eax, [ebx + 0x1c]
lea ecx, [ebp + 0x1c]
push eax
mov byte [esp + 0x20], 9
call fcn.004c73e6
lea ecx, [ebx + 0x20]
mov byte [esp + 0x1c], 0xa
push ecx
lea ecx, [ebp + 0x20]
call fcn.004c73e6
lea edx, [ebx + 0x24]
lea ecx, [ebp + 0x24]
push edx
mov byte [esp + 0x20], 0xb
call fcn.004c73e6
lea eax, [ebx + 0x28]
lea ecx, [ebp + 0x28]
push eax
mov byte [esp + 0x20], 0xc
call fcn.004c73e6
mov ecx, dword [ebx + 0x2c]
mov dword [ebp + 0x2c], ecx
mov edx, dword [edi + 0x40]
lea eax, [edi + 0x44]
push eax
lea ecx, [esi + 0x44]
mov byte [esp + 0x20], 0xd
mov dword [esi + 0x40], edx
call fcn.004c73e6
mov ecx, dword [edi + 0x48]
mov byte [esp + 0x1c], 0xe
mov dword [esi + 0x48], ecx
mov edx, dword [edi + 0x4c]
mov dword [esi + 0x4c], edx
mov eax, dword [edi + 0x50]
mov dword [esi + 0x50], eax
mov ecx, dword [edi + 0x54]
lea edx, [edi + 0x58]
mov dword [esi + 0x54], ecx
push edx
lea ecx, [esi + 0x58]
call fcn.004c73e6
lea eax, [edi + 0x5c]
lea ecx, [esi + 0x5c]
push eax
mov byte [esp + 0x20], 0xf
call fcn.004c73e6
lea ecx, [edi + 0x60]
mov byte [esp + 0x1c], 0x10
push ecx
lea ecx, [esi + 0x60]
call fcn.004c73e6
lea edx, [edi + 0x64]
lea ecx, [esi + 0x64]
push edx
mov byte [esp + 0x20], 0x11
call fcn.004c73e6
mov eax, dword [edi + 0x68]
mov dword [esi + 0x68], eax
mov ecx, dword [edi + 0x6c]
mov eax, dword [esp + 0x24]
mov dword [esi + 0x6c], ecx
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x465f70
Capabilities:
Check if file exists
Get common file path

Disassembly:
sub esp, 0x104
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
push 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea eax, [esp + 0x14]
push 0x1a
push eax
push 0
call edi
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x465fcf
lea ecx, [esp + 0x10]
push 0x565568
push ecx
call ebx
test eax, eax
je 0x465fcf
lea edx, [esp + 0x10]
push edx
call ebp
test eax, eax
jne 0x465ffb
push 0
lea eax, [esp + 0x14]
push 0x1a
push eax
push 0
call edi
test eax, eax
je 0x466014
lea ecx, [esp + 0x10]
push 0x565540
push ecx
call ebx
test eax, eax
je 0x466014
lea edx, [esp + 0x10]
push edx
call ebp
test eax, eax
je 0x466014
push 5
push 0xbbd
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
push 1
jmp 0x466016
push 0
push 0xbbd
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem_1
mov ecx, eax
call sub.MFC42.DLL_CWnd::EnableWindow
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x104
ret
Function at 0x4695f0
Capabilities:
Read .ini file

Disassembly:
push ecx
lea eax, [esp]
push esi
push eax
call fcn.00423be0
mov eax, dword [eax]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
add esp, 4
push eax
mov eax, dword [esp + 0x10]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 4]
mov esi, eax
call sub.MFC42.DLL_CString::CString
xor eax, eax
test esi, esi
setne al
pop esi
pop ecx
ret

Function at 0x46ab20
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, 1
push edi
mov esi, ecx
push ebx
mov dword [ebp - 4], esi
call sub.MFC42.DLL_CWnd::UpdateData
push esi
push 0x3f3
call fcn.00421f80
add esp, 8
test eax, eax
je 0x46ab62
push ebx
push str.TipBeforeDownload
push str.Options
mov dword [0x56fbdc], ebx
call fcn.00469630
add esp, 0xc
push esi
push 0x3f4
call fcn.00421f80
add esp, 8
test eax, eax
je 0x46ab91
xor edi, edi
push edi
push str.TipBeforeDownload
push str.Options
mov dword [0x56fbdc], edi
call fcn.00469630
add esp, 0xc
jmp 0x46ab93
xor edi, edi
push esi
push 0x3fd
call fcn.00421f80
add esp, 8
test eax, eax
je 0x46abbe
push ebx
push str.DownloadInstall
push str.Options
mov dword [0x56fbd8], ebx
call fcn.00469630
add esp, 0xc
push esi
push 0x3fe
call fcn.00421f80
add esp, 8
test eax, eax
je 0x46abe9
push edi
push str.DownloadInstall
push str.Options
mov dword [0x56fbd8], edi
call fcn.00469630
add esp, 0xc
push esi
push 0x407
call fcn.00421f80
add esp, 8
test eax, eax
je 0x46ac14
push ebx
push str.DelOldFilePerWeek
push str.Options
mov dword [0x56fbe0], ebx
call fcn.00469630
add esp, 0xc
push esi
push 0x408
call fcn.00421f80
add esp, 8
test eax, eax
je 0x46ac44
push 2
push str.DelOldFilePerWeek
push str.Options
mov dword [0x56fbe0], 2
call fcn.00469630
add esp, 0xc
push esi
push 0x409
call fcn.00421f80
add esp, 8
test eax, eax
je 0x46ac6f
push edi
push str.DelOldFilePerWeek
push str.Options
mov dword [0x56fbe0], edi
call fcn.00469630
add esp, 0xc
mov eax, dword [0x56fbd0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
jne 0x46ac8c
mov ecx, dword [0x56fbd0]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, dword [0x56fbd4]
cmp ebx, edi
je 0x46acc6
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
lea eax, [esi + esi]
add eax, 3
and al, 0xfc
call fcn.004c79b0
mov edi, esp
push esi
push edi
push 0xffffffffffffffff
push ebx
push 0
push 0
mov word [edi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, dword [ebp - 4]
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
mov edx, dword [0x56fbd4]
push edx
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x46ace8
mov eax, dword [0x56fbd4]
push eax
jmp 0x46ad07
push 0x56fbd0
mov ecx, 0x56fbd4
call sub.MFC42.DLL_CString::operator_2
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::UpdateData
mov ecx, dword [0x56fbd4]
push ecx
push str.DownloadFolder
push str.Options
call fcn.004696c0
add esp, 0xc
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x46c5b0
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x90], eax
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
mov edi, eax
test edi, edi
je 0x46c649
mov ecx, dword [esi + 0xa4]
test ecx, ecx
je 0x46c5df
push 0
call sub.MFC42.DLL_CWnd::EnableWindow
mov eax, dword [esi + 0xa8]
test eax, eax
je 0x46c61c
push eax
call fcn.004208c0
add esp, 4
test eax, eax
je 0x46c61c
mov edx, dword [esi + 0xa8]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xa8], 0
mov ecx, dword [esi + 0x20]
push 1
push ecx
mov ecx, 0x571c00
call fcn.0042c5f0
mov eax, dword [esi + 0x8c]
test eax, eax
je 0x46c649
mov edx, dword [eax + 0x20]
push 0
push 0
push 0x184
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [0x571b8c]
mov ecx, dword [0x571b88]
mov edx, eax
cmp eax, edx
je 0x46c675
push ebp
mov ebp, dword [eax]
add eax, 8
mov dword [ecx], ebp
mov ebp, dword [eax - 4]
mov dword [ecx + 4], ebp
add ecx, 8
cmp eax, edx
jne 0x46c65b
mov eax, dword [0x571b8c]
pop ebp
neg edi
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
sbb edi, edi
push eax
and edi, esi
push 0
push edi
push 0x46afb0
push 0
push 0
mov dword [0x571b8c], ecx
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xa8], eax
pop edi
mov eax, 1
pop esi
ret 4
Function at 0x46d100
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x414
lea eax, [esp]
push ebx
push esi
push edi
push eax
xor ebx, ebx
push 0x16
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
je 0x46d129
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x414
ret
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], bl
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
stosw word es:[edi], ax
push ecx
push edx
stosb byte es:[edi], al
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
jne 0x46d15b
pop edi
pop esi
pop ebx
add esp, 0x414
ret
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAddBackslashA]
lea ecx, [esp + 0x10]
push ecx
call esi
test eax, eax
jne 0x46d181
pop edi
pop esi
pop ebx
add esp, 0x414
ret
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x219]
mov byte [esp + 0x218], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x31d]
mov byte [esp + 0x31c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x115]
mov byte [esp + 0x114], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp byte [esp + 0x114], bl
jne 0x46d20a
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
lea edx, [esp + 0x114]
push 0x104
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [esp + 0x114]
push 0x5c
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
mov byte [eax + 1], bl
lea ecx, [esp + 0x114]
push ecx
call esi
test eax, eax
jne 0x46d222
pop edi
pop esi
pop ebx
add esp, 0x414
ret
lea edx, [esp + 0x114]
push 0x565c8c
push edx
push str._s_s
lea eax, [esp + 0x224]
push 0x104
push eax
call fcn.00431100
add esp, 0x14
lea ecx, [esp + 0x114]
lea edx, [esp + 0x31c]
push ecx
push 0x565c78
push 0x104
push edx
call fcn.00431100
add esp, 0x10
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push 0x565c5c
push 0x104
push ecx
call fcn.00431100
mov eax, dword [esp + 0x434]
add esp, 0x10
cmp eax, ebx
je 0x46d2ec
lea edx, [esp + 0x10]
push edx
call fcn.0046d0a0
add esp, 4
test eax, eax
je 0x46d2af
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x414
ret
lea eax, [esp + 0x218]
push ebx
push eax
lea ecx, [esp + 0x18]
push 0x56f01c
push ecx
push 0x56f01c
lea edx, [esp + 0x330]
push 0x565c48
push edx
call fcn.0046c7e0
add esp, 0x1c
neg eax
sbb eax, eax
pop edi
pop esi
pop ebx
neg eax
add esp, 0x414
ret
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x414
ret
Function at 0x46d310
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp + 8]
lea ecx, [esp + 4]
push eax
lea edx, [esp + 4]
push ecx
push edx
push 0x565cbc
push 0x565c9c
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 4
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov ecx, dword [esp]
xor eax, eax
cmp ecx, 4
mov ecx, dword [esp + 4]
setne al
dec eax
and eax, ecx
add esp, 0xc
ret

Function at 0x46d3a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10c
push esi
push edi
xor eax, eax
mov ecx, 0x40
lea edi, [esp + 0x11]
mov dword [esp + 8], eax
mov byte [esp + 0x10], al
lea edx, [esp + 0xc]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push edx
push 0x565cc8
mov esi, 1
push 0x565c9c
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], 0x104
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
cmp dword [esp + 0xc], esi
je 0x46d402
push 0x56f01c
jmp 0x46d407
lea eax, [esp + 0x10]
push eax
mov esi, dword [esp + 0x11c]
mov ecx, esi
call sub.MFC42.DLL_CString::CString_2
mov eax, esi
pop edi
pop esi
add esp, 0x10c
ret
Function at 0x46dca0
Capabilities:
Suspend thread

Disassembly:
push 0xffffffffffffffff
push 0x525eab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, ecx
push ebp
push esi
push edi
mov dword [esp + 0x14], ebx
mov dword [ebx], 0x5388a4
mov eax, dword [ebx + 0x44]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x2c], ebp
je 0x46dcdc
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
lea eax, [ebx + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov edi, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x28]
lea esi, [ebx + 0x18]
cmp ecx, ebp
mov eax, dword [edi]
mov dword [esp + 0x10], eax
je 0x46dd33
mov ecx, eax
cmp eax, ecx
jne 0x46dd33
cmp edi, edi
jne 0x46dd33
mov ecx, dword [edi + 4]
push ecx
mov ecx, esi
call fcn.0046fad0
mov edx, dword [esi + 4]
mov eax, dword [esi + 8]
lea ecx, [esp + 0x18]
mov dword [edx + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x10], ebp
push ecx
mov dword [eax], eax
mov eax, dword [esi + 4]
mov ecx, esi
mov dword [eax + 8], eax
call fcn.00442110
jmp 0x46dd5b
cmp eax, edi
je 0x46dd5b
lea edx, [esp + 0x1c]
push ebp
push edx
lea ecx, [esp + 0x18]
call fcn.00411b60
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, esi
call fcn.00472710
cmp dword [esp + 0x10], edi
jne 0x46dd37
mov eax, dword [esi + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov eax, dword [esi + 8]
mov dword [esi + 4], ebp
push eax
mov dword [esi + 0x10], ebp
call sub.MFC42.DLL_operatordelete
mov dword [esi + 8], ebp
mov edi, dword [ebx + 8]
mov ecx, dword [ebx + 0x14]
lea esi, [ebx + 4]
mov eax, dword [edi]
add esp, 8
cmp ecx, ebp
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], eax
je 0x46ddca
mov ecx, eax
cmp eax, ecx
jne 0x46ddca
mov edx, dword [edi + 4]
mov ecx, esi
push edx
call fcn.0046f800
mov eax, dword [esi + 4]
mov ecx, dword [esi + 8]
lea edx, [esp + 0x20]
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
mov dword [esi + 0x10], ebp
push edx
mov dword [eax], eax
mov eax, dword [esi + 4]
mov ecx, esi
mov dword [eax + 8], eax
call fcn.00442110
jmp 0x46ddf2
cmp eax, edi
je 0x46ddf2
lea eax, [esp + 0x1c]
push ebp
push eax
lea ecx, [esp + 0x18]
call fcn.0046f840
mov ecx, dword [eax]
lea edx, [esp + 0x18]
push ecx
push edx
mov ecx, esi
call fcn.0046f420
cmp dword [esp + 0x10], edi
jne 0x46ddce
mov eax, dword [esi + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esi + 8]
mov dword [esi + 4], ebp
push ecx
mov dword [esi + 0x10], ebp
call sub.MFC42.DLL_operatordelete
mov ecx, dword [esp + 0x2c]
add esp, 8
mov dword [esi + 8], ebp
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret
Function at 0x46edc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x526098
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, ecx
lea edi, [esi + 0x2c]
mov dword [esp + 0x3c], 0
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::MakeLower
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 1
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 2
call sub.MFC42.DLL_CString::CString_3
lea eax, [esp + 0x44]
mov bl, 3
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], bl
call fcn.004c73e6
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 4
push ecx
lea ecx, [esp + 0x2c]
call fcn.0046f170
lea edx, [esp + 0x24]
lea eax, [esp + 0xc]
push edx
push eax
lea ecx, [esi + 4]
mov byte [esp + 0x44], 5
call fcn.0046f1e0
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 6
call fcn.0046eb00
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 0
call sub.MFC42.DLL_CString::CString
mov ebx, dword [esp + 0x48]
add esi, 0x10
push ebx
mov ecx, esi
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebx + 4]
push ecx
lea ecx, [esi + 4]
call sub.MFC42.DLL_CString::operator_2
add ebx, 8
lea ecx, [esi + 8]
push ebx
call sub.MFC42.DLL_CString::operator_2
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x44]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
pop edi
mov ecx, dword [esp + 0x30]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 8