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

Disassembly:
mov eax, 0x463879
call fcn.00461c40
sub esp, 0x10
mov al, byte [ebp + 0xb]
push esi
push edi
xor edi, edi
push edi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 0x1c], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
push 0x47fef4
mov dword [ebp - 4], edi
push dword [ebp + 8]
call fcn.00411ded
mov esi, eax
pop ecx
cmp esi, edi
pop ecx
je 0x412048
push ebx
push 2
push edi
mov edi, dword [sym.imp.MSVCRT.dll_fseek]
push esi
call edi
push esi
call dword [sym.imp.MSVCRT.dll_ftell]
push 0
push 0
push esi
mov ebx, eax
call edi
lea eax, [ebx + 1]
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov edi, eax
add esp, 0x20
and byte [edi + ebx], 0
xor ebx, ebx
test byte [esi + 0xc], 0x10
push esi
jne 0x412023
push 0x400
lea eax, [edi + ebx]
push 1
push eax
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
add ebx, eax
jmp 0x412004
call dword [sym.imp.MSVCRT.dll_fclose]
push edi
call sub.MSVCRT.dll_strlen
pop ecx
pop ecx
mov ecx, dword [ebp + 0xc]
push eax
push edi
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_char_const___unsigned_int_]
push edi
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push 1
pop edi
pop ebx
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x1c]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x41c46a
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x464883
call fcn.00461c40
mov eax, ecx
mov dword [eax + 4], 0x46bb14
mov dword [eax + 8], 1
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov ecx, dword [esp]
mov dword [eax], 0x46c4fc
mov dword [eax + 4], 0x46c4f0
mov dword fs:[0], ecx
leave
ret 4
Function at 0x424f30
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
cmp dword [ebp + 0xc], 0
jne 0x424f43
xor eax, eax
leave
ret
mov ax, word [0x4845cc]
push edi
mov word [ebp - 0x208], ax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x206]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [ebp + 8]
pop edi
test eax, eax
jne 0x424f6f
mov eax, str.userAX
push 0x4859e8
lea ecx, [ebp - 0x208]
push 0x104
push ecx
push 0x4845cc
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.MSVCRT.dll__wtoi]
pop ecx
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor ecx, ecx
test eax, eax
setg cl
mov eax, ecx
leave
ret
Function at 0x429972
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push 0
mov esi, ecx
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x4299e9
call fcn.00461340
push eax
mov dword [esi + 0xed0], eax
call fcn.004613b0
test eax, eax
mov dword [esi + 0xe88], eax
je 0x4299e9
push edi
call fcn.00461390
mov edi, eax
call fcn.00461370
test edi, edi
je 0x4299cc
test eax, eax
je 0x4299cc
push 1
push eax
push edi
push dword [esi + 0xed0]
call fcn.00461860
mov dword [esi + 0xe98], eax
mov esi, dword [esi + 0xe98]
pop edi
test esi, esi
je 0x4299e4
push 1
push 0x42a52d
push esi
call fcn.004618b0
push 1
pop eax
jmp 0x4299eb
xor eax, eax
pop esi
pop ecx
ret

Function at 0x429b04
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
mov ebx, dword [sym.imp.Miracle.dll_Ordinal_53]
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0x10]
call ebx
mov edi, dword [sym.imp.Miracle.dll_Ordinal_228]
test eax, eax
je 0x429b2e
mov ecx, dword [esi + 0x10]
push 0
call edi
mov ecx, dword [esi + 0x14]
call ebx
test eax, eax
je 0x429b3e
mov ecx, dword [esi + 0x14]
push 0
call edi
mov ecx, dword [esi + 0x24]
call ebx
test eax, eax
je 0x429b4e
mov ecx, dword [esi + 0x24]
push 0
call edi
mov ecx, dword [esi + 0x18]
call ebx
test eax, eax
je 0x429b5e
mov ecx, dword [esi + 0x18]
push 0
call edi
mov ecx, dword [esi + 0x1c]
call ebx
test eax, eax
je 0x429b6e
mov ecx, dword [esi + 0x1c]
push 0
call edi
mov ecx, dword [esi + 0x20]
call ebx
test eax, eax
je 0x429b81
mov ecx, dword [esi + 0x20]
xor ebx, ebx
push ebx
call edi
jmp 0x429b83
xor ebx, ebx
cmp dword [esi + 0xe90], 1
je 0x429c58
mov ecx, dword [esi + 0x3c]
call dword [sym.imp.Miracle.dll_Ordinal_193]
mov edi, dword [sym.imp.Miracle.dll_Ordinal_330]
test eax, eax
jne 0x429baa
mov ecx, dword [esi + 0x3c]
push 1
call edi
mov ecx, dword [esi + 0x28]
call dword [sym.imp.Miracle.dll_Ordinal_193]
test eax, eax
je 0x429bbd
mov ecx, dword [esi + 0x28]
push ebx
call edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x216]
mov word [ebp - 0x218], bx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
lea eax, [ebp - 0x218]
push str.IPMHtml_
push eax
call edi
lea eax, [ebp - 0x218]
push str.IPM_Quick_start_quickbook.html
push eax
call edi
mov ecx, dword [esi + 0x3c]
push ebx
call dword [sym.imp.Miracle.dll_Ordinal_174]
mov ecx, dword [esi + 0x3c]
push ebx
push ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call dword [sym.imp.Miracle.dll_Ordinal_197]
cmp dword [esi + 0xe94], ebx
je 0x429c58
push 0x10
lea eax, [ebp - 0x10]
push ebx
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
push eax
mov dword [ebp - 0xc], ebx
push dword [esi + 0xe94]
mov dword [ebp - 4], ebx
call fcn.00461810
push 1
pop eax
cmp dword [esi + 0xe90], eax
je 0x429c69
mov dword [esi + 0xe90], eax
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x42a660
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
push ebx
push esi
push edi
mov esi, 0x4816f8
lea edi, [ebp - 0x208]
mov ebx, ecx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ecx, 0x80
xor eax, eax
lea edi, [ebp - 0x202]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x208]
push eax
lea eax, [ebx + 0xe88]
push eax
push 1
pop esi
push esi
call fcn.00461750
mov dword [ebx + 0xe94], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x42a6f8
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [ebx + 0xed8], esi
pop edi
mov dword [ebx + 0xeac], eax
pop esi
mov eax, 0x80004005
pop ebx
leave
ret
Function at 0x42ab25
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
push ebx
push esi
mov dword [ebp - 4], ecx
mov edx, 0x81
push edi
xor esi, esi
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x412]
mov word [ebp - 0x414], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x20a]
mov word [ebp - 0x20c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x822]
mov word [ebp - 0x824], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x61a]
mov word [ebp - 0x61c], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x414]
push eax
push esi
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x414]
push str.ArcSoft
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
pop ecx
mov edi, dword [sym.imp.MSVCRT.dll_swprintf]
pop ecx
lea eax, [ebp - 0x824]
push str.IPMHtml_
push eax
mov ebx, str._s_s
lea eax, [ebp - 0x61c]
push ebx
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x414]
push str.IPMHtml_
push eax
lea eax, [ebp - 0x20c]
push ebx
push eax
call edi
add esp, 0x10
lea eax, [ebp - 0x20c]
push esi
push 0x80
push 3
push esi
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
pop edi
pop esi
cmp eax, 0xffffffff
pop ebx
jne 0x42ac2f
mov ecx, dword [ebp - 4]
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.0042ac38
leave
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
leave
ret
Function at 0x42ac38
Capabilities:
Check if file exists
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x874
and word [ebp - 0x874], 0
push ebx
push esi
mov dword [ebp - 0xc], ecx
push edi
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x872]
push dword [ebp + 8]
mov esi, dword [sym.imp.MSVCRT.dll_wcscpy]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x874]
mov dword [ebp - 4], 1
push eax
call esi
mov ebx, dword [sym.imp.MSVCRT.dll_wcscat]
lea eax, [ebp - 0x874]
push 0x4817f0
push eax
call ebx
add esp, 0x10
push dword [ebp + 0xc]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42acb2
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
mov dword [ebp - 4], eax
je 0x42ae30
and dword [ebp - 0x464], 0
mov ecx, 0x93
xor eax, eax
lea edi, [ebp - 0x460]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x874]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 8], eax
je 0x42ae24
and word [ebp - 0x214], 0
mov edx, 0x81
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x212]
and word [ebp - 0x66c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x66a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov edi, dword [sym.imp.MSVCRT.dll_wcscmp]
lea eax, [ebp - 0x438]
push eax
push 0x4812d4
call edi
pop ecx
test eax, eax
pop ecx
je 0x42ae0c
lea eax, [ebp - 0x438]
push eax
push 0x4817e8
call edi
pop ecx
test eax, eax
pop ecx
je 0x42ae0c
push dword [ebp + 8]
lea eax, [ebp - 0x214]
push eax
call esi
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x214]
push eax
call ebx
push dword [ebp + 0xc]
lea eax, [ebp - 0x66c]
push eax
call esi
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x66c]
push eax
call ebx
add esp, 0x20
test byte [ebp - 0x464], 0x10
je 0x42adcb
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42ae0c
lea eax, [ebp - 0x66c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x66c]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.0042ac38
jmp 0x42ae05
push 0
push 0x80
push 3
push 0
push 1
lea eax, [ebp - 0x214]
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
je 0x42ae0c
lea eax, [ebp - 0x66c]
push 0
push eax
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
mov dword [ebp - 4], eax
je 0x42ae24
lea eax, [ebp - 0x464]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42ace8
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x4312d6
Capabilities:
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 4]
push esi
xor esi, esi
push eax
push 0x4312ae
mov dword [ebp - 4], esi
call dword [sym.imp.USER32.dll_EnumWindows]
cmp dword [ebp - 4], esi
je 0x43136d
push 1
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetForegroundWindow]
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], esi
push eax
push 0x3a98
push 1
push esi
push esi
push 0xa12
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x5b4
jne 0x43136d
lea eax, [ebp - 8]
push ebx
push eax
mov dword [ebp - 8], esi
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
push dword [ebp - 8]
push 1
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop ebx
jmp 0x43136f
xor eax, eax
pop esi
leave
ret
Function at 0x432afb
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4667a1
call fcn.00461c40
sub esp, 0x47c
mov al, byte [ebp - 0xd]
push esi
mov dword [ebp - 0x14], ecx
xor esi, esi
push edi
push esi
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x24], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x27e]
mov word [ebp - 0x280], si
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x24]
mov dword [ebp - 4], esi
push eax
call dword [sym.imp.Ht4Dll.dll_public:_static_unsigned_short_int_const____cdecl_CHtPath::GetAppPath_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int____]
mov edi, str.LaunchHQZ.exe
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
pop ecx
push eax
push edi
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::append_unsigned_short_int_const___unsigned_int_]
mov eax, dword [ebp - 0x20]
cmp eax, esi
jne 0x432b6c
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
lea eax, [ebp - 0x280]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
push 0x44
lea eax, [ebp - 0x78]
pop edi
push edi
push esi
push eax
call sub.MSVCRT.dll_memset
push 0x10
lea eax, [ebp - 0x34]
push esi
push eax
mov dword [ebp - 0x78], edi
call sub.MSVCRT.dll_memset
add esp, 0x20
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x78]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x280]
push esi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, esi
je 0x432bca
push dword [ebp - 0x34]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x30]
call edi
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 8]
cmp edx, esi
je 0x432c1a
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x486]
mov word [ebp - 0x488], si
rep stosd dword es:[edi], eax
lea ecx, [edx + 0x18]
push esi
lea edx, [ebp - 0x488]
push 0x104
stosw word es:[edi], ax
mov eax, dword [ecx]
push edx
push str.IDD_SPLASH_LOADTEXT
call dword [eax + 0x98]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x488]
push 1
push eax
call fcn.00432c4b
or dword [ebp - 4], 0xffffffff
push 1
lea ecx, [ebp - 0x24]
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x446ddb
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push esi
push edi
cmp eax, 0x709
mov edi, ecx
jne 0x446ed0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push 0
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
and dword [ebp + 8], 0
mov dword [ebp + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp + 0xc], eax
mov dword [ebp - 4], eax
je 0x446e27
push 1
pop esi
push esi
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov dword [ebp + 8], esi
mov eax, dword [edi + 0x18]
lea esi, [edi + 0x18]
push ebx
mov ecx, esi
call dword [eax + 0x74]
mov ebx, eax
push ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push ebx
call dword [sym.imp.USER32.dll_SetActiveWindow]
push ebx
call dword [sym.imp.USER32.dll_SetFocus]
push ebx
mov ebx, dword [sym.imp.USER32.dll_BringWindowToTop]
call ebx
cmp dword [ebp + 8], 0
je 0x446e6a
push 0
push dword [ebp - 4]
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_AttachThreadInput]
push dword [ebp - 8]
call ebx
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
mov esi, eax
test esi, esi
je 0x446eac
mov ebx, dword [edi + 0x124]
test ebx, ebx
jl 0x446eac
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
mov dword [ebp + 0xc], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
cmp dword [ebp + 0xc], ebx
je 0x446eac
test ebx, ebx
jl 0x446eac
cmp ebx, eax
jge 0x446eac
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x24]
or dword [edi + 0x124], 0xffffffff
mov ecx, dword [edi + 0x120]
add edi, 0x120
pop ebx
test ecx, ecx
je 0x446f3c
mov eax, dword [ecx]
push 1
call dword [eax + 0x10]
and dword [edi], 0
jmp 0x446f3c
cmp eax, 0x8065
jne 0x446f09
mov eax, dword [edi + 0x18]
lea ecx, [edi + 0x18]
call dword [eax + 0x74]
mov esi, eax
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
push 0
push 0xffffffffffffffec
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 1
pop edi
push edi
push esi
call fcn.004543a3
mov eax, dword [ebp + 0x14]
pop ecx
pop ecx
mov dword [eax], edi
jmp 0x446f45
cmp eax, 0x8064
jne 0x446f1b
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x124], eax
jmp 0x446f3c
cmp eax, 6
jne 0x446f45
cmp word [ebp + 0xc], 0
je 0x446f45
mov edi, dword [edi + 0x120]
test edi, edi
je 0x446f45
mov ecx, edi
call fcn.00454649
test eax, eax
je 0x446f45
mov eax, dword [ebp + 0x14]
mov dword [eax], 1
pop edi
xor eax, eax
pop esi
leave
ret 0x10
Function at 0x4544ef
Capabilities:
Delete file

Disassembly:
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
call dword [eax + 4]
mov eax, dword [esi + 0x40]
xor ebx, ebx
cmp eax, ebx
je 0x454516
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [esi + 0x40]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x40], ebx
mov ecx, dword [esi + 0x10]
cmp ecx, ebx
je 0x454525
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [esi + 0x10], ebx
push edi
mov dword [esi + 0x14], ebx
mov edi, dword [esi + 0x2c]
cmp edi, dword [esi + 0x30]
je 0x454549
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x45453d
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add edi, 0x10
jmp 0x45452c
cmp dword [esi + 0x38], ebx
je 0x454562
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x45455a
mov eax, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
push eax
call dword [sym.imp.Ht4Dll.dll_public:_static_void___cdecl_CHtPath::DelDirTree_unsigned_short_int_const__]
pop ecx
mov edi, 0x4845cc
push edi
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
push edi
lea ecx, [esi + 0x18]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x38], ebx
cmp eax, ebx
pop edi
je 0x45458f
push eax
call fcn.00461bd3
pop ecx
mov dword [esi + 0x3c], ebx
pop esi
pop ebx
ret
Function at 0x456a90
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x469dd3
call fcn.00461c40
push ecx
push ebx
push esi
push edi
push 1
mov esi, ecx
pop eax
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0x46bb14
mov dword [esi + 8], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], eax
mov al, byte [ebp + 0xb]
lea edi, [esi + 0x38]
push ebx
mov ecx, edi
mov byte [ebp - 4], 3
mov byte [edi], al
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Tidy_bool_]
mov al, byte [ebp + 0xb]
mov dword [esi + 0x48], 8
mov byte [esi + 0x50], al
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
cmp dword [ebp + 8], ebx
mov byte [ebp - 4], 5
mov dword [esi], 0x46dd0c
mov dword [esi + 4], 0x46dd00
je 0x456b1b
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_wcslen]
pop ecx
push eax
mov ecx, edi
push dword [ebp + 8]
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int______thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::assign_unsigned_short_int_const___unsigned_int_]
call fcn.0043116b
mov dword [esi + 0xc], eax
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x84]
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x10], eax
mov eax, dword [ecx]
call dword [eax + 0x88]
mov dword [esi + 0x1c], eax
mov edi, dword [edi + 4]
cmp edi, ebx
jne 0x456b4b
mov edi, dword [sym.imp.MSVCP60.dll_unsigned_short_int_const__private:_static_unsigned_short_int_const____cdecl_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::_Nullstr_void_::_2::_C]
mov ecx, dword [esi + 0xc]
push edi
mov eax, dword [ecx]
call dword [eax + 0x7c]
mov ecx, eax
mov dword [esi + 0x20], eax
call dword [sym.imp.Miracle.dll_Ordinal_167]
call sub.MSVCRT.dll__ftol
mov ecx, dword [esi + 0x20]
mov dword [esi + 0x30], eax
call dword [sym.imp.Miracle.dll_Ordinal_71]
call sub.MSVCRT.dll__ftol
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x34], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4