joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45e1da
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0xc], 1
push ebx
push esi
push edi
mov edi, ecx
jne 0x45e217
xor ebx, ebx
cmp dword [edi + 0x5c], ebx
jne 0x45e365
cmp dword [edi + 0x28], ebx
jne 0x45e365
push ebx
push ebx
push edi
push 0x45df54
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x28], eax
jmp 0x45e365
cmp dword [ebp + 0xc], 2
jne 0x45e33f
mov esi, dword [edi + 0x74]
xor ebx, ebx
jmp 0x45e2a0
cmp dword [edi + 0x1f4], ebx
jne 0x45e251
cmp dword [edi + 0x34], ebx
jne 0x45e251
push dword [esi + 4]
push ebx
push 2
call dword [esi]
lea eax, [ebp + 0xc]
add esp, 0xc
push esi
push eax
lea ecx, [edi + 0x70]
call fcn.0045c622
mov esi, dword [eax]
jmp 0x45e2a0
push ecx
push ecx
mov eax, esp
mov dword [eax], 0x1e
mov dword [eax + 4], ebx
mov eax, dword [esi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0045d1e6
mov ecx, dword [eax]
sub ecx, dword [ebp - 0xc]
mov eax, dword [eax + 4]
sbb eax, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], eax
call fcn.004609e3
cmp al, bl
je 0x45e29d
push dword [esi + 4]
push ebx
push 2
call dword [esi]
lea eax, [ebp - 4]
jmp 0x45e240
add esi, 0x10
cmp esi, dword [edi + 0x78]
jne 0x45e228
mov esi, dword [edi + 0x94]
jmp 0x45e331
cmp dword [edi + 0x1f4], ebx
jne 0x45e2df
cmp dword [edi + 0x34], ebx
jne 0x45e2df
push dword [esi + 4]
push ebx
push 5
push dword [esi + 0x10]
call dword [esi]
lea eax, [ebp + 0xc]
add esp, 0x10
push esi
push eax
lea ecx, [edi + 0x90]
call fcn.0045dfb5
mov esi, dword [eax]
jmp 0x45e331
push ecx
push ecx
mov eax, esp
mov dword [eax], 0x1e
mov dword [eax + 4], ebx
mov eax, dword [esi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0045d1e6
mov ecx, dword [eax]
sub ecx, dword [ebp - 0xc]
mov eax, dword [eax + 4]
sbb eax, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], eax
call fcn.004609e3
cmp al, bl
je 0x45e32e
push dword [esi + 4]
push ebx
push 5
push dword [esi + 0x10]
call dword [esi]
lea eax, [ebp - 4]
jmp 0x45e2cb
add esi, 0x14
cmp esi, dword [edi + 0x98]
jne 0x45e2b0
jmp 0x45e365
cmp dword [ebp + 0xc], 3
jne 0x45e365
xor ebx, ebx
push ebx
push ebx
push edi
push 0x45df54
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 3
push dword [edi + 4]
mov dword [edi + 0x28], eax
call dword [sym.imp.USER32.dll_KillTimer]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 0x10

Function at 0x45e725
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 8], eax
mov esi, ecx
lea eax, [ebp - 8]
push eax
lea ecx, [esi + 0xa0]
call fcn.0045e3ee
xor eax, eax
cmp dword [esi + 0x28], eax
jne 0x45e762
push eax
push eax
push esi
push 0x45df54
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x28], eax
pop esi
leave
ret 8
Function at 0x45ec4c
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x4b0c0f
call fcn.0049f0d0
push ecx
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
push esi
mov esi, ecx
push edi
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [ebp - 0x10], esi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], eax
lea ecx, [esi + 0x38]
mov dword [ebp - 4], edi
mov dword [esi], 0x4c3e14
call fcn.0043db85
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
lea eax, [esi + 0x80]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea eax, [esi + 0x90]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea eax, [esi + 0xa0]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea eax, [esi + 0xb0]
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
lea ecx, [esi + 0xc0]
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0xdc]
mov byte [ebp - 4], 0xa
call fcn.0045e9ce
lea ecx, [esi + 0x184]
mov byte [ebp - 4], 0xb
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0x1a0]
mov byte [ebp - 4], 0xc
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0x1bc]
mov byte [ebp - 4], 0xd
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
lea ecx, [esi + 0x1d8]
mov byte [ebp - 4], 0xe
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void_]
xor eax, eax
inc eax
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x34], eax
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x1f4], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x58], eax
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x462a2b
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x4b1297
call fcn.0049f0d0
sub esp, 0x30
mov eax, dword [0x4f0dd0]
push esi
xor eax, ebp
mov esi, ecx
cmp byte [esi + 0x1c0], 0
mov dword [ebp - 0x10], eax
je 0x462bc2
push ebx
lea eax, [esi + 0x34]
push eax
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
xor ebx, ebx
push 0x4c4208
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], ebx
call dword [0x4b7454]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x462a7f
lea eax, [ebp - 0x28]
push 0x4c4204
push eax
call dword [sym.imp.MSVCR71.dll__wfopen]
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x38], eax
jne 0x462aa6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
jmp 0x462bc1
push edi
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], ebx
call dword [esi + 0x1d0]
cmp dword [ebp - 0x34], ebx
mov edi, dword [sym.imp.MSVCR71.dll_fwrite]
mov dword [ebp - 0x30], ebx
je 0x462b24
push dword [ebp - 0x38]
mov ebx, str.Lua_Call_Log:__r_n
push ebx
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push 1
push ebx
call edi
add esp, 0x10
push dword [esi + 0x1f4]
push dword [ebp - 0x34]
call dword [esi + 0x1ec]
jmp 0x462b02
push dword [ebp - 0x38]
push dword [ebp - 0x30]
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push 1
push dword [ebp - 0x30]
call edi
add esp, 0x10
push dword [esi + 0x1f4]
lea eax, [ebp - 0x30]
push eax
call dword [esi + 0x1e8]
cmp dword [ebp - 0x30], 0
jne 0x462aeb
lea eax, [ebp - 0x34]
push eax
call dword [esi + 0x1d4]
jmp 0x462b4c
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 0x3c], ebx
call dword [esi + 0x1c8]
cmp dword [ebp - 0x3c], ebx
je 0x462b4e
lea ebx, [esi + 0x1f0]
push dword [ebx]
push dword [ebp - 0x3c]
call dword [esi + 0x1cc]
mov eax, dword [ebx]
mov dword [ebp - 0x34], eax
xor ebx, ebx
cmp dword [ebp - 0x34], ebx
je 0x462ba9
push dword [ebp - 0x38]
mov ebx, str.Lua_Stack:_r_n
push ebx
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push 1
push ebx
call edi
add esp, 0x10
push dword [esi + 0x1f4]
push dword [ebp - 0x34]
call dword [esi + 0x1ec]
jmp 0x462b93
push dword [ebp - 0x38]
push dword [ebp - 0x30]
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push 1
push dword [ebp - 0x30]
call edi
add esp, 0x10
push dword [esi + 0x1f4]
lea eax, [ebp - 0x30]
push eax
call dword [esi + 0x1e8]
cmp dword [ebp - 0x30], 0
jne 0x462b7c
push dword [ebp - 0x38]
call dword [sym.imp.MSVCR71.dll_fclose]
or dword [ebp - 4], 0xffffffff
pop ecx
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
pop esi
call fcn.0049f127
leave
ret
Function at 0x462bd9
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x4b12ad
call fcn.0049f0d0
sub esp, 0x430
mov eax, dword [0x4f0dd0]
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor eax, ebp
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 0x43c], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push 0xa4
push 0
mov ebx, 0x53a030
push ebx
mov dword [ebp - 0x438], eax
call sub.MSVCR71.dll_memset
mov eax, dword [esi + 0xb8]
and dword [ebp - 0x430], 0
add esp, 0xc
push 3
mov dword [0x53a030], eax
pop eax
mov dword [0x53a038], eax
mov ecx, dword [esi + 0xb4]
mov dword [0x53a048], ecx
add edi, 0x34
push edi
lea ecx, [ebp - 0x42c]
mov dword [0x53a050], eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
xor edi, edi
push str.callstack.txt
lea ecx, [ebp - 0x42c]
mov dword [ebp - 4], edi
call dword [0x4b7454]
mov dword [ebp - 0x434], edi
push edi
push edi
push edi
push edi
push esi
push ebx
push dword [ebp - 0x438]
push dword [ebp - 0x43c]
push 0x14c
call fcn.00464bef
test eax, eax
je 0x462d55
cmp dword [0x53a030], edi
je 0x462d42
cmp dword [ebp - 0x430], edi
jne 0x462ce9
cmp dword [ebp - 0x414], 8
mov eax, dword [ebp - 0x428]
jae 0x462ccd
lea eax, [ebp - 0x428]
push 0x4c4204
push eax
call dword [sym.imp.MSVCR71.dll__wfopen]
cmp eax, edi
pop ecx
pop ecx
mov dword [ebp - 0x430], eax
je 0x462d6a
push dword [0x53a070]
lea eax, [ebp - 0x410]
push dword [0x53a06c]
push dword [0x53a068]
push dword [0x53a064]
push dword [0x53a030]
push str._u__u__u__u__u__r_n
push eax
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x1c
push dword [ebp - 0x430]
lea eax, [ebp - 0x410]
push eax
call sub.MSVCR71.dll_strlen
pop ecx
push eax
lea eax, [ebp - 0x410]
push 1
push eax
call dword [sym.imp.MSVCR71.dll_fwrite]
add esp, 0x10
inc dword [ebp - 0x434]
cmp dword [ebp - 0x434], 0x32
jl 0x462c80
cmp dword [ebp - 0x430], edi
je 0x462d6a
push dword [ebp - 0x430]
call dword [sym.imp.MSVCR71.dll_fclose]
pop ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x42c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f127
leave
ret 8
Function at 0x463033
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x4f0dd0]
xor eax, ebp
cmp dword [0x4fa0a8], 0
push esi
mov dword [ebp - 4], eax
mov esi, ecx
je 0x46309a
push str.XLBugReport.exe
lea eax, [esi + 0x50]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00406b0a
add esp, 0xc
cmp dword [esi + 0x4c], 8
jb 0x46306f
mov esi, dword [esi + 0x38]
jmp 0x463072
add esi, 0x38
cmp dword [ebp - 8], 8
mov eax, dword [ebp - 0x1c]
jae 0x46307e
lea eax, [ebp - 0x1c]
push 1
push 0
push esi
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0049f127
leave
ret

Function at 0x4630a7
Capabilities:
Create directory

Disassembly:
mov eax, 0x4b1297
call fcn.0049f0d0
sub esp, 0x30
mov eax, dword [0x4f0dd0]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
xor eax, ebp
mov dword [ebp - 0x30], esi
push str.minidump.dmp
mov dword [ebp - 0x10], eax
add esi, 0x34
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.00406b0a
add esp, 0xc
xor ebx, ebx
cmp dword [esi + 0x18], 8
mov dword [ebp - 4], ebx
jb 0x4630ee
mov esi, dword [esi + 4]
jmp 0x4630f1
add esi, 4
push ebx
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x463106
lea eax, [ebp - 0x28]
push ebx
push 0x80
push 2
push ebx
push 2
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, ebx
je 0x463191
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x4fa0a8], ebx
mov dword [ebp - 0x3c], eax
je 0x463162
cmp byte [0x4fa0a1], bl
push ebx
lea eax, [ebp - 0x3c]
push ebx
push eax
jne 0x46314b
push ebx
jmp 0x46314d
push 2
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x4fa0a8]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi]
cmp dword [eax], 0xe0008001
jne 0x463191
lea ecx, [eax + 0x14]
cmp ecx, ebx
je 0x463191
cmp dword [eax + 0x10], 1
jne 0x463191
push dword [ecx]
mov ecx, dword [ebp - 0x30]
add ecx, 0x130
call dword [sym.imp.MSVCP71.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__::operator_char_const__]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f127
leave
ret 4
Function at 0x463264
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x4b1297
call fcn.0049f0d0
sub esp, 0x20
and dword [ebp - 0x10], 0
push esi
mov esi, ecx
lea ecx, [esi + 0x190]
call fcn.004a2bcc
test eax, eax
jbe 0x463318
push edi
xor edi, edi
push str._dir
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov ecx, dword [esi + 0x194]
and dword [ebp - 4], 0
lea edx, [esi + 0x34]
push edx
add ecx, edi
push eax
add ecx, 0x1c
push ecx
call fcn.00462e5c
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov eax, dword [esi + 0x194]
add eax, edi
cmp dword [eax + 0x34], 8
jb 0x4632d9
mov ecx, dword [eax + 0x20]
jmp 0x4632dc
lea ecx, [eax + 0x20]
cmp dword [eax + 0x18], 8
jb 0x4632e7
mov eax, dword [eax + 4]
jmp 0x4632ea
add eax, 4
push 1
push 0
push ecx
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
inc dword [ebp - 0x10]
lea ecx, [esi + 0x190]
add edi, 0x38
call fcn.004a2bcc
cmp dword [ebp - 0x10], eax
jb 0x46328e
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x463968
Capabilities:
Copy file
Create directory

Disassembly:
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x4c], 8
jb 0x463977
mov eax, dword [esi + 0x38]
jmp 0x46397a
lea eax, [esi + 0x38]
xor ebx, ebx
push ebx
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea ecx, [esi + 0x1a0]
call fcn.00465347
test eax, eax
jbe 0x4639ec
push ebp
push edi
mov edi, 0x4fa0b0
mov eax, dword [esi + 0x1a4]
mov ebp, ebx
shl ebp, 2
add eax, ebp
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
cmp dword [esi + 0x4c], 8
jb 0x4639bb
mov ecx, dword [esi + 0x38]
jmp 0x4639be
lea ecx, [esi + 0x38]
push eax
push ecx
push edi
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov eax, dword [esi + 0x1a4]
push 0
add eax, ebp
push edi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esi + 0x1a0]
inc ebx
call fcn.00465347
cmp ebx, eax
jb 0x46399b
pop edi
pop ebp
pop esi
pop ebx
ret
Function at 0x4647bb
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x4b1585
call fcn.0049f0d0
sub esp, 0x1ac
mov eax, dword [0x4f0dd0]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov dword [ebp - 0xb8], eax
and dword [ebp - 4], 0
xor eax, eax
mov byte [ebp - 0x64], 0
lea edi, [ebp - 0x63]
stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x10], esp
push 8
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x5c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xac]
push eax
push 0x40
lea eax, [ebp - 0xa4]
push eax
push esi
push ebx
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb4], edx
call edx
test eax, eax
je 0x464845
cmp dword [ebp - 0xac], 0x40
mov byte [ebp - 0xa8], 1
je 0x46484c
mov byte [ebp - 0xa8], 0
push dword [ebp - 0xa8]
lea ecx, [ebp - 0xac]
call fcn.00464797
cmp word [ebp - 0xa4], 0x5a4d
lea ecx, [ebp - 0xac]
sete al
mov byte [ebp - 0xb0], al
push dword [ebp - 0xb0]
call fcn.00464797
lea eax, [ebp - 0xac]
push eax
mov edi, 0xf8
push edi
lea eax, [ebp - 0x1b8]
push eax
mov eax, dword [ebp - 0x68]
add eax, esi
push eax
push ebx
call dword [ebp - 0xb4]
test eax, eax
je 0x4648b4
cmp dword [ebp - 0xac], edi
mov byte [ebp - 0xa8], 1
je 0x4648bb
mov byte [ebp - 0xa8], 0
push dword [ebp - 0xa8]
lea ecx, [ebp - 0xac]
call fcn.00464797
cmp dword [ebp - 0x1b8], 0x4550
jne 0x4648f5
cmp word [ebp - 0x1b4], 0x14c
jne 0x4648f5
cmp word [ebp - 0x1a0], 0x10b
mov byte [ebp - 0xa8], 1
je 0x4648fc
mov byte [ebp - 0xa8], 0
push dword [ebp - 0xa8]
lea ecx, [ebp - 0xac]
call fcn.00464797
mov eax, dword [ebp - 0x68]
movzx ebx, word [ebp - 0x1b2]
and dword [ebp - 0xa8], 0
lea edi, [esi + eax + 0xf8]
cmp dword [ebp - 0xa8], ebx
jae 0x4649ce
lea eax, [ebp - 0xac]
push eax
push 0x28
lea eax, [ebp - 0x3c]
push eax
push edi
push dword [ebp - 0xbc]
call dword [ebp - 0xb4]
test eax, eax
je 0x46495f
cmp dword [ebp - 0xac], 0x28
mov byte [ebp - 0xb0], 1
je 0x464966
mov byte [ebp - 0xb0], 0
push dword [ebp - 0xb0]
lea ecx, [ebp - 0xac]
call fcn.00464797
push 0x28
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x3c]
push eax
add edi, 0x28
call sub.MSVCR71.dll_memcmp
add esp, 0xc
test eax, eax
je 0x4649ce
mov ecx, dword [ebp - 0x18]
mov eax, 0x20000020
and ecx, eax
cmp ecx, eax
jne 0x4649bd
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xb8]
add eax, esi
mov dword [ecx], eax
mov ecx, dword [ebp - 0x2c]
add eax, ecx
mov ecx, dword [ebp - 0xc0]
mov dword [ecx], eax
xor eax, eax
inc eax
jmp 0x4649d0
inc dword [ebp - 0xa8]
jmp 0x464925
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049f127
leave
ret 0x14
Function at 0x464f27
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4b15cd
call fcn.0049f0d0
push ecx
mov eax, ecx
xor ecx, ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x1c], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
leave
ret
Function at 0x465b0a
Capabilities:
Copy file

Disassembly:
mov eax, 0x4b16b9
call fcn.0049f0d0
sub esp, 0x88
mov eax, dword [0x4f0dd0]
push esi
xor eax, ebp
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x10], eax
call fcn.004651f0
and dword [ebp - 4], 0
lea eax, [ebp - 0x88]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call fcn.004674d6
cmp dword [ebp - 0x14], 1
pop ecx
pop ecx
jne 0x465c0b
add esi, 0x18
push esi
lea ecx, [ebp - 0x8c]
call fcn.0041cb13
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [ebp - 0x90]
call fcn.00401472
push dword [eax]
lea ecx, [ebp - 0x8c]
call fcn.004652d1
push dword [ebp - 0x90]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [ebp - 0x90]
call fcn.00401472
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [ebp - 0x94]
call fcn.00401472
push dword [eax]
lea ecx, [ebp - 0x90]
call fcn.004652d1
push dword [ebp - 0x94]
call esi
push 0
push dword [ebp - 0x90]
push dword [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push dword [ebp - 0x90]
mov edi, eax
call esi
push dword [ebp - 0x8c]
call esi
mov esi, edi
jmp 0x465c78
cmp dword [ebp - 0x14], 0
jne 0x465c76
add esi, 0x18
push esi
lea ecx, [ebp - 0x8c]
call fcn.0041cb13
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [ebp - 0x94]
call fcn.00401472
push dword [eax]
lea ecx, [ebp - 0x8c]
call fcn.004652d1
push dword [ebp - 0x94]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
call esi
lea ecx, [ebp - 0x4c]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push dword [ebp - 0x8c]
call fcn.00465a3d
pop ecx
pop ecx
xor ecx, ecx
test eax, eax
sete cl
mov edi, ecx
jmp 0x465bff
xor esi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.0046512a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0049f127
leave
ret 4