Function at 0x473e40
Capabilities:
Delete file
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4fd94c
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
push ebp
push esi
push edi
mov eax, dword [0x54a020]
xor eax, esp
push eax
lea eax, [esp + 0x20c]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x10]
push eax
call fcn.0046dbe0
add esp, 4
push 1
push 2
lea ecx, [esp + 0x194]
mov dword [esp + 0x21c], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
push esi
push 0x504efc
lea ecx, [esp + 0x194]
push ebx
push ecx
mov byte [esp + 0x224], 1
call fcn.0047b380
add esp, 8
push eax
call fcn.00413340
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_int_]
lea edx, [esp + 0x70]
push edx
lea ecx, [esp + 0x190]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::str_void_]
mov edi, 0x10
cmp dword [eax + 0x18], edi
mov byte [esp + 0x214], 2
jb 0x473ef0
mov eax, dword [eax + 4]
jmp 0x473ef3
add eax, 4
push eax
lea ecx, [esp + 0x4c]
call fcn.0047b960
lea ecx, [esp + 0x70]
mov byte [esp + 0x214], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x473f1c
mov eax, 0x533e66
push eax
call dword [sym.imp.MSVCR80.dll_remove]
add esp, 4
push 1
push 2
lea ecx, [esp + 0x114]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
push 1
push 2
lea ecx, [esp + 0x94]
mov byte [esp + 0x21c], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_int_]
lea ebp, [esi - 1]
cmp ebp, 1
mov byte [esp + 0x214], 6
jl 0x474164
jmp 0x473f75
mov edi, 0x10
push 0x533e66
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x110]
mov byte [esp + 0x218], 7
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::str_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x214], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push 0x533e66
lea ecx, [esp + 0x30]
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0x218], 8
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::str_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x214], 6
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
push ebp
push 0x504efc
lea edx, [esp + 0x114]
push ebx
push edx
call fcn.0047b380
add esp, 8
push eax
call fcn.00413340
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
lea eax, [ebp + 1]
push eax
push 0x504efc
lea ecx, [esp + 0x94]
push ebx
push ecx
call fcn.0047b380
add esp, 8
push eax
call fcn.00413340
add esp, 8
mov ecx, eax
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___int_]
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x110]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::str_void_]
cmp dword [eax + 0x18], edi
mov byte [esp + 0x214], 9
jb 0x474062
mov eax, dword [eax + 4]
jmp 0x474065
add eax, 4
push eax
lea ecx, [esp + 0x24]
call fcn.0047b960
lea ecx, [esp + 0x2c]
mov byte [esp + 0x214], 0xb
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x90]
call dword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::str_void_]
cmp dword [eax + 0x18], edi
mov byte [esp + 0x214], 0xc
jb 0x4740a5
mov eax, dword [eax + 4]
jmp 0x4740a8
add eax, 4
push eax
lea ecx, [esp + 0x18]
call fcn.0047b960
lea ecx, [esp + 0x54]
mov byte [esp + 0x214], 0xe
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4740d1
mov eax, 0x533e66
push eax
call dword [sym.imp.MSVCR80.dll_remove]
mov ecx, dword [esp + 0x18]
add esp, 4
test ecx, ecx
jne 0x4740e8
mov ecx, 0x533e66
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x4740f5
mov eax, 0x533e66
push ecx
push eax
call dword [sym.imp.MSVCR80.dll_rename]
add esp, 8
mov esi, eax
neg esi
sbb esi, esi
cmp dword [esp + 0x10], 0
jne 0x474122
push 0x72
push str.E:ANKEStationdcmtk360oflogincludedcmtk_oflog_helpers_pointer.h
push str.pointee
call dword [sym.imp.MSVCR80.dll__wassert]
add esp, 0xc
mov edi, dword [esp + 0x10]
push esi
lea ecx, [esp + 0x24]
push ecx
lea esi, [esp + 0x1c]
call fcn.00473350
add esp, 8
mov ecx, esi
mov byte [esp + 0x214], 0xb
call fcn.0047b260
lea ecx, [esp + 0x20]
mov byte [esp + 0x214], 6
call fcn.0047b260
sub ebp, 1
cmp ebp, 1
jge 0x473f70
lea ecx, [esp + 0x8c]
mov byte [esp + 0x214], 5
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::vbase_dtor_void_]
lea ecx, [esp + 0x10c]
mov byte [esp + 0x214], 4
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::vbase_dtor_void_]
lea ecx, [esp + 0x48]
mov byte [esp + 0x214], 1
call fcn.0047b260
lea ecx, [esp + 0x18c]
mov byte [esp + 0x214], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__::vbase_dtor_void_]
mov eax, dword [esp + 0x10]
test eax, eax
mov dword [esp + 0x214], 0xffffffff
je 0x4741d3
mov edx, dword [eax]
mov ecx, dword [edx + 4]
add ecx, eax
call fcn.0046bc70
mov ecx, dword [esp + 0x20c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x208
ret