joyce8/EMBER2024-capa huggingface dataset:
Function at 0x497dfe
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4e6568
call fcn.004d1ec0
push ecx
mov eax, ecx
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], ecx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x54], ecx
mov dword [eax + 0x58], ecx
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x60], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], ecx
mov dword [eax + 0x70], ecx
mov dword [eax + 0x74], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
leave
ret
Function at 0x497ecf
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4e6681
call fcn.004d1ec0
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.SkinManager.3.0
mov dword [esi + 4], vtable.SkinManager.2.0
mov dword [esi + 8], vtable.SkinManager.1.0
mov dword [esi + 0xc], vtable.SkinManager.0
lea ecx, [esi + 0x3a0]
mov dword [ebp - 4], 0x12
call sub.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_
lea ecx, [esi + 0x390]
mov byte [ebp - 4], 0x11
call fcn.0043530b
lea ecx, [esi + 0x384]
mov byte [ebp - 4], 0x10
call fcn.00497b78
lea ecx, [esi + 0x374]
mov byte [ebp - 4], 0xf
call fcn.004ab303
lea ecx, [esi + 0x29c]
mov byte [ebp - 4], 0xe
call fcn.0049f2ce
lea ecx, [esi + 0x218]
mov byte [ebp - 4], 0xd
call fcn.00497e62
lea ecx, [esi + 0x1e4]
mov byte [ebp - 4], 0xc
call fcn.004a166c
lea ecx, [esi + 0x174]
mov byte [ebp - 4], 0xb
call fcn.004a066e
lea ecx, [esi + 0x154]
mov byte [ebp - 4], 0xa
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esi + 0x138]
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esi + 0x11c]
mov byte [ebp - 4], 8
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esi + 0x100]
mov byte [ebp - 4], 7
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esi + 0xd4]
mov byte [ebp - 4], 6
call fcn.0049cdff
lea ecx, [esi + 0xc8]
mov byte [ebp - 4], 5
call fcn.00497b4d
lea ecx, [esi + 0xac]
mov byte [ebp - 4], 4
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_]
lea ecx, [esi + 0xa0]
mov byte [ebp - 4], 3
call fcn.004aa3db
lea ecx, [esi + 0x94]
mov byte [ebp - 4], 2
call fcn.004aa33f
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 1
call fcn.004a2a21
mov byte [ebp - 4], 0
lea ecx, [esi + 0x30]
call sub.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_
lea ecx, [esi + 0x20]
call fcn.004014f1
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret
Function at 0x4994fb
Capabilities:
Delete file

Disassembly:
mov eax, 0x4e68ab
call fcn.004d1ec0
sub esp, 0x4c
mov eax, dword [0x52f220]
xor eax, ebp
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push eax
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x30]
xor ebx, ebx
lea ecx, [esi + 0xc8]
push eax
mov dword [ebp - 4], ebx
call fcn.004a0ed5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esi + 0xcc]
mov ecx, dword [ebp - 0x30]
cmp ecx, eax
jne 0x49955c
xor al, al
jmp 0x49963c
push edi
mov edi, dword [ecx + 0x28]
mov ecx, edi
call fcn.0040605f
cmp eax, 2
jne 0x499573
xor al, al
jmp 0x49963b
mov ecx, esi
call fcn.004983c1
inc dword [esi + 0x294]
mov ecx, edi
mov dword [ebp - 0x3c], eax
call fcn.004a6074
test eax, eax
mov dword [ebp - 0x38], eax
jbe 0x4995d3
push ebx
mov ecx, edi
call fcn.004a60d6
cmp eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
jne 0x4995b0
push 0x4ff1ac
mov ecx, esi
call fcn.00498d74
mov eax, dword [ebp - 0x34]
mov ecx, eax
call fcn.004a6832
push eax
lea ecx, [esi + 0x1e4]
call fcn.004a1cec
push dword [ebp - 0x34]
mov ecx, esi
call fcn.00497401
inc ebx
cmp ebx, dword [ebp - 0x38]
jb 0x499591
mov ecx, edi
call fcn.004a5f93
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_wchar_t_const__]
push dword [ebp - 0x30]
lea eax, [ebp - 0x38]
push eax
lea ecx, [esi + 0xc8]
mov dword [ebp - 4], 1
call fcn.004970d4
test edi, edi
je 0x49960f
mov ecx, edi
call fcn.004a63ce
push edi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
pop ecx
cmp byte [ebp + 0xc], 0
je 0x499625
lea ecx, [ebp - 0x2c]
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 dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.004973af
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 al, 1
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.004d1f17
leave
ret 8
Function at 0x499516
Capabilities:
Delete file

Disassembly:
mov eax, 0x4e68ab
call fcn.004d1ec0
sub esp, 0x4c
mov eax, dword [0x52f220]
xor eax, ebp
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
push eax
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x30]
xor ebx, ebx
lea ecx, [esi + 0xc8]
push eax
mov dword [ebp - 4], ebx
call fcn.004a0ed5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esi + 0xcc]
mov ecx, dword [ebp - 0x30]
cmp ecx, eax
jne 0x49955c
xor al, al
jmp 0x49963c
push edi
mov edi, dword [ecx + 0x28]
mov ecx, edi
call fcn.0040605f
cmp eax, 2
jne 0x499573
xor al, al
jmp 0x49963b
mov ecx, esi
call fcn.004983c1
inc dword [esi + 0x294]
mov ecx, edi
mov dword [ebp - 0x3c], eax
call fcn.004a6074
test eax, eax
mov dword [ebp - 0x38], eax
jbe 0x4995d3
push ebx
mov ecx, edi
call fcn.004a60d6
cmp eax, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
jne 0x4995b0
push 0x4ff1ac
mov ecx, esi
call fcn.00498d74
mov eax, dword [ebp - 0x34]
mov ecx, eax
call fcn.004a6832
push eax
lea ecx, [esi + 0x1e4]
call fcn.004a1cec
push dword [ebp - 0x34]
mov ecx, esi
call fcn.00497401
inc ebx
cmp ebx, dword [ebp - 0x38]
jb 0x499591
mov ecx, edi
call fcn.004a5f93
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_wchar_t_const__]
push dword [ebp - 0x30]
lea eax, [ebp - 0x38]
push eax
lea ecx, [esi + 0xc8]
mov dword [ebp - 4], 1
call fcn.004970d4
test edi, edi
je 0x49960f
mov ecx, edi
call fcn.004a63ce
push edi
call sub.MSVCR71.dll_void___cdecl_operator_delete_void__
pop ecx
cmp byte [ebp + 0xc], 0
je 0x499625
lea ecx, [ebp - 0x2c]
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 dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, esi
call fcn.004973af
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 al, 1
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.004d1f17
leave
ret 8
Function at 0x49a2f0
Capabilities:
Check if file exists
Copy file

Disassembly:
mov eax, 0x4e69e5
call fcn.004d1ec0
sub esp, 0x228
mov eax, dword [0x52f220]
push ebx
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
test esi, esi
mov dword [ebp - 0x10], eax
mov ebx, ecx
je 0x49a344
push esi
call fcn.004a2063
test al, al
pop ecx
jne 0x49a34b
push 0
push 0
push esi
mov ecx, ebx
call fcn.00498565
test eax, eax
je 0x49a344
mov ecx, eax
call fcn.004a6832
push eax
mov ecx, ebx
call fcn.00498d74
jmp 0x49a43b
xor al, al
jmp 0x49a43b
push edi
push esi
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov edi, eax
test edi, edi
jne 0x49a360
xor al, al
jmp 0x49a43a
lea ecx, [ebp - 0x234]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
and dword [ebp - 4], 0
lea eax, [ebp - 0x234]
push eax
push edi
call dword [sym.imp.MSVCR71.dll_wcslen]
pop ecx
push eax
push edi
call fcn.004519f2
add esp, 0xc
push edi
mov ecx, ebx
call fcn.00495e2b
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x49a3e4
lea ecx, [ebp - 0x234]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, ebx
call fcn.00496bae
test eax, eax
je 0x49a3cc
mov bl, 1
jmp 0x49a428
lea ecx, [ebp - 0x234]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, ebx
call fcn.00497778
mov bl, al
jmp 0x49a428
push 0
lea eax, [ebp - 0x218]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x49a426
lea ecx, [ebp - 0x234]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, ebx
call fcn.00497778
test al, al
je 0x49a426
lea ecx, [ebp - 0x234]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
mov ecx, ebx
call fcn.004990fc
jmp 0x49a3e0
xor bl, bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x234]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov al, bl
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
pop ebx
call fcn.004d1f17
leave
ret 4
Function at 0x49cf13
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4e6aa0
call fcn.004d1ec0
sub esp, 0x2c
mov ecx, dword [ebp + 0xc]
push 0x4ed79d
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__]
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49cf42
xor al, al
jmp 0x49d017
push ebx
lea ecx, [ebp - 0x38]
call fcn.0040f63e
xor ebx, ebx
push ebx
push ebx
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], ebx
call fcn.00410250
push dword [ebp + 8]
lea ecx, [ebp - 0x38]
call fcn.004102a6
test al, al
lea ecx, [ebp - 0x34]
jne 0x49cf79
call fcn.0040e109
mov byte [ebp + 0xb], bl
jmp 0x49d007
push edi
call fcn.0040e109
lea ecx, [ebp - 0x38]
call fcn.0040df1b
mov edi, eax
mov dword [ebp + 8], edi
cmp edi, ebx
mov byte [ebp - 4], 1
jne 0x49cf99
mov byte [ebp + 0xb], bl
jmp 0x49d006
lea ecx, [edi + 0x30]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
cmp eax, ebx
je 0x49cff9
push str.info
push eax
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x49cff9
push esi
push ebx
mov ecx, edi
call fcn.0040eb25
mov esi, eax
mov dword [ebp - 0x10], esi
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov ecx, esi
call fcn.0040ee53
mov ecx, dword [ebp + 0xc]
push eax
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__]
cmp esi, ebx
mov byte [ebp - 4], 1
je 0x49cff2
mov ecx, esi
call fcn.0040db94
mov byte [ebp + 0xb], 1
pop esi
jmp 0x49cffc
mov byte [ebp + 0xb], bl
mov ecx, edi
mov byte [ebp - 4], bl
call fcn.0040db94
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.0040eebd
mov al, byte [ebp + 0xb]
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 8

Function at 0x49ed76
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, ecx
mov ecx, dword [esi + 4]
call fcn.0049d3ef
test al, al
je 0x49edc5
mov ecx, dword [esi + 4]
call fcn.0049ed3a
push esi
mov ecx, edi
call fcn.0049d99c
test al, al
je 0x49edb4
mov ecx, dword [esi + 4]
add ecx, 0xbc
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 dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 4]
mov dword [eax + 0x98], 4
xor al, al
jmp 0x49edc7
mov al, 1
pop edi
pop esi
ret 4
Function at 0x49f15d
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4e6ca8
call fcn.004d1ec0
sub esp, 0x44
mov eax, dword [0x52f220]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [eax + 4]
push edi
lea edi, [esi + 0xbc]
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 dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x49f19c
xor al, al
jmp 0x49f2b4
push ebx
xor ebx, ebx
cmp dword [esi + 0xd8], ebx
je 0x49f1ae
mov al, 1
jmp 0x49f2b3
lea ecx, [ebp - 0x48]
call fcn.004a38fb
mov ecx, edi
mov dword [ebp - 4], ebx
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 - 0x48]
call fcn.004a519a
cmp eax, ebx
mov dword [ebp - 0x50], eax
jne 0x49f1d8
xor bl, bl
jmp 0x49f2a5
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [ebp - 0x2c]
push eax
push 1
mov ecx, esi
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call fcn.004a8ad0
push 0xd0
call fcn.004d1a92
add esp, 0x10
mov dword [ebp - 0x4c], eax
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x49f227
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov ecx, dword [ebp - 0x4c]
push eax
call fcn.004a6143
mov edi, eax
jmp 0x49f229
xor edi, edi
mov dword [ebp - 0x4c], edi
push 1
mov ecx, edi
mov byte [ebp - 4], 3
call fcn.004a5f8a
push dword [ebp - 0x50]
mov ecx, edi
call fcn.004a64e0
test al, al
jne 0x49f24b
xor bl, bl
jmp 0x49f28c
mov ecx, edi
mov dword [ebp - 0x4c], ebx
mov dword [esi + 0xd8], edi
call fcn.004a6074
mov ebx, eax
xor edi, edi
test ebx, ebx
jbe 0x49f28a
mov ecx, dword [esi + 0xd8]
push edi
call fcn.004a60d6
test eax, eax
mov dword [ebp - 0x50], eax
je 0x49f285
lea eax, [ebp - 0x50]
push eax
lea ecx, [esi + 0xdc]
call fcn.0049cdba
inc edi
cmp edi, ebx
jb 0x49f263
mov bl, 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.004961a9
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call sub.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_
mov al, bl
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop esi
call fcn.004d1f17
leave
ret 4
Function at 0x4a016c
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4e6e17
call fcn.004d1ec0
sub esp, 0x38
push dword [ebp + 8]
mov dword [ebp - 0x10], ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4a0190
xor al, al
jmp 0x4a02c2
push ebx
push esi
lea ecx, [ebp - 0x44]
call fcn.0040f63e
xor esi, esi
push esi
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], esi
call fcn.00410250
push dword [ebp + 8]
lea ecx, [ebp - 0x44]
call fcn.004102a6
test al, al
lea ecx, [ebp - 0x40]
jne 0x4a01c7
call fcn.0040e109
xor bl, bl
jmp 0x4a02b2
push edi
call fcn.0040e109
lea ecx, [ebp - 0x44]
call fcn.0040df1b
mov edi, eax
mov dword [ebp - 0x18], edi
cmp edi, esi
mov byte [ebp - 4], 1
jne 0x4a01e9
xor bl, bl
jmp 0x4a02b1
lea ecx, [edi + 0x30]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
cmp eax, esi
je 0x4a02a4
push str.auto_thunder_skin
push eax
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x4a02a4
lea ecx, [edi + 0x80]
call fcn.004a39d5
cmp eax, esi
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], esi
jbe 0x4a0292
push dword [ebp + 8]
mov ecx, edi
call fcn.0040eb25
mov esi, eax
mov dword [ebp - 0x1c], esi
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov ebx, eax
push str.info
push ebx
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x4a025e
mov ecx, dword [ebp - 0x10]
push esi
call fcn.0049ef5b
jmp 0x4a0278
push str.skin_package_list
push ebx
call sub.MSVCR71.dll_strcmp
test eax, eax
pop ecx
pop ecx
jne 0x4a0278
mov ecx, dword [ebp - 0x10]
push esi
call fcn.004a00e7
test esi, esi
mov byte [ebp - 4], 1
je 0x4a0287
mov ecx, esi
call fcn.0040db94
inc dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x14]
jb 0x4a0224
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xb0]
mov eax, dword [ecx]
call dword [eax + 4]
mov bl, 1
jmp 0x4a02a6
xor bl, bl
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.0040db94
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.0040eebd
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 4

Function at 0x4a02fc
Capabilities:
Check if file exists

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
cmp edi, 1
mov esi, ecx
jl 0x4a0349
cmp byte [esi + 0xa5], 0
jne 0x4a032d
lea ecx, [esi + 0x40]
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 dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a032d
mov ecx, esi
call fcn.004a02d0
lea ecx, [esi + 0x78]
call fcn.004a39d5
test eax, eax
je 0x4a0349
lea ecx, [esi + 0xc8]
dec edi
call fcn.004a39d5
cmp edi, eax
jl 0x4a034d
xor eax, eax
jmp 0x4a035e
mov eax, dword [esi + 0xcc]
lea eax, [eax + edi*4]
mov eax, dword [eax]
inc dword [eax + 0xec]
pop edi
pop esi
ret 4
Function at 0x4a364b
Capabilities:
Check if file exists
Delete file

Disassembly:
mov eax, 0x4e71e6
call fcn.004d1ec0
sub esp, 0x3c
mov eax, dword [0x52f220]
push esi
mov esi, dword [ebp + 8]
xor eax, ebp
test esi, esi
push edi
mov dword [ebp - 0x10], eax
mov edi, ecx
jne 0x4a3674
xor al, al
jmp 0x4a3704
push ebx
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_void_]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
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 eax, [ebp - 0x48]
push eax
push esi
mov byte [ebp - 4], 1
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push esi
call fcn.00451a68
add esp, 0xc
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x48]
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
mov ecx, edi
call fcn.004a3492
lea ecx, [ebp - 0x2c]
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 dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4a36e5
lea ecx, [ebp - 0x2c]
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 dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4a36e5
xor bl, bl
jmp 0x4a36e7
mov bl, 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
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_]
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 al, bl
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop esi
call fcn.004d1f17
leave
ret 4