Function at 0x48d190
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571480
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x5c1334]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 1
cmp dword [ebp + 0x18], 0
je 0x48d754
cmp dword [ebp + 0x30], 0
je 0x48d754
call fcn.0048f0c0
mov edi, eax
test edi, edi
je 0x48d754
push 0x598a2c
lea edx, [ebp + 0x20]
lea ecx, [ebp - 0x28]
call fcn.0048e9b0
add esp, 4
add esi, 0x64
mov ecx, esi
mov dword [ebp - 0x30], esi
push eax
call fcn.00446f00
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x48d24a
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48d240
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48d240
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.005283f2
add esp, 8
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x48d254
mov eax, dword [esi]
sub esp, 8
lea ecx, [ebp - 0x1a4]
push 0x20
push eax
call fcn.0046c3e0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1a4]
mov eax, dword [eax + 4]
cmp dword [ebp + eax - 0x198], 0
jne 0x48d51e
push 2
push 0
push 0
lea ecx, [ebp - 0x1a4]
call fcn.0048e450
lea eax, [ebp - 0x1a4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1a4]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + eax - 0x16c]
test ecx, ecx
je 0x48d2b3
mov eax, dword [ecx]
call dword [eax + 4]
push 1
lea ecx, [ebp - 0x1a4]
mov byte [ebp - 4], 3
call fcn.00457350
mov byte [ebp - 0x38], al
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x1a4]
mov ecx, dword [eax + 4]
test byte [ebp + ecx - 0x198], 6
jne 0x48d302
mov ecx, dword [ebp + ecx - 0x16c]
lea edx, [ebp - 0x28]
push 1
push 1
push 0
mov eax, dword [ecx]
push 0
push edx
call dword [eax + 0x28]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x1a4]
jmp 0x48d31b
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x24], 0xffffffff
movups xmmword [ebp - 0x20], xmm0
mov byte [ebp - 4], 6
mov eax, dword [eax + 4]
mov ecx, dword [ebp + eax - 0x16c]
test ecx, ecx
je 0x48d32e
mov eax, dword [ecx]
call dword [eax + 8]
push 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1a4]
mov esi, dword [ebp - 0x28]
add esi, dword [ebp - 0x20]
push 0
push 0
call fcn.0048e450
test esi, esi
jle 0x48d51e
mov dword [ebp - 0xec], 0x598a54
mov dword [ebp - 0xdc], 0x598a4c
mov dword [ebp - 0x84], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
sub esp, 8
mov byte [ebp - 4], 8
lea eax, [ebp - 0xd4]
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0xec]
push eax
call fcn.004566d0
lea eax, [ebp - 0xdc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xdc], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xe0], eax
mov eax, dword [ebp - 0xec]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xec], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xec]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0xf0], eax
mov dword [ebp - 4], 0xc
mov eax, dword [ebp - 0xec]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xec], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xec]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0xf0], eax
lea ecx, [ebp - 0xd4]
call fcn.00438a80
mov dword [ebp - 0xd4], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x98], 0
push esi
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xd
call fcn.0047a1f0
mov edx, 0x597af0
lea ecx, [ebp - 0xdc]
call fcn.0046e180
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call fcn.0048cc90
test edx, edx
jl 0x48d485
jg 0x48d478
test eax, eax
je 0x48d485
push edx
push eax
lea ecx, [ebp - 0xdc]
call fcn.0048e1d0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
lea edx, [ebp - 0x28]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xec]
call fcn.0048eb50
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0x2717
push edi
call fcn.0048f240
mov byte [ebp - 4], 0xd
add esp, 0xc
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x48d4fd
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48d4f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48d4f3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.005283f2
add esp, 8
lea ecx, [ebp - 0xec]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 2
call fcn.0048d800
lea ecx, [ebp - 0x194]
call fcn.00438050
test eax, eax
jne 0x48d558
mov eax, dword [ebp - 0x1a4]
lea ecx, [ebp - 0x1a4]
push 0
mov eax, dword [eax + 4]
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.0043c9b0
push 1
push 0x29
push edi
call fcn.0048f240
push 1
push 0x4a
push edi
call fcn.0048f240
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push 0x2712
push edi
call fcn.0048f240
push 0
push 0x4e2c
push edi
call fcn.0048f240
push 0x48ca20
push 0x4e2b
push edi
call fcn.0048f240
mov esi, dword [ebp - 0x34]
push esi
push 0x2711
push edi
call fcn.0048f240
add esp, 0x48
push 0
push 0x2b
push edi
call fcn.0048f240
push 0x48cc40
push 0x4efb
push edi
call fcn.0048f240
push 1
push 0x34
push edi
call fcn.0048f240
push esi
push 0x2749
push edi
call fcn.0048f240
push 1
push 0x63
push edi
call fcn.0048f240
mov esi, dword [ebp + 0x3c]
push esi
push 0x4e
push edi
call fcn.0048f240
add esp, 0x48
push esi
push 0xd
push edi
call fcn.0048f240
push 0
push 0x40
push edi
call fcn.0048f240
push 0
push 0x51
push edi
call fcn.0048f240
mov esi, dword [ebp - 0x34]
add esp, 0x24
mov ecx, esi
push edi
call fcn.0048c530
mov byte [esi + 0x60], 0
cmp dword [edi + 0x40], 0
je 0x48d648
push str.easy_handle_already_used_in_multi_handle
push edi
call fcn.00494100
mov esi, 2
add esp, 8
mov dword [ebp - 0x2c], esi
jmp 0x48d6c2
mov esi, dword [edi + 0x44]
test esi, esi
jne 0x48d66d
lea edx, [esi + 3]
lea ecx, [esi + 1]
call fcn.00490c30
mov esi, eax
test esi, esi
jne 0x48d66a
mov esi, 0x1b
mov dword [ebp - 0x2c], esi
jmp 0x48d6c2
mov dword [edi + 0x44], esi
push dword [edi + 0x4b0]
push 6
push esi
call fcn.00493660
add esp, 0xc
mov edx, edi
mov ecx, esi
call fcn.00490e40
mov dword [ebp - 0x2c], eax
mov ecx, esi
test eax, eax
je 0x48d6ab
call fcn.00492cd0
cmp dword [ebp - 0x2c], 3
mov esi, 2
mov eax, 0x1b
cmove esi, eax
mov dword [ebp - 0x2c], esi
jmp 0x48d6c2
mov dword [edi + 0x40], esi
call fcn.0048f270
mov edx, edi
mov dword [ebp - 0x2c], eax
mov ecx, esi
call fcn.004910b0
mov esi, dword [ebp - 0x2c]
mov ecx, edi
call fcn.00497a50
test esi, esi
je 0x48d70e
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
test ecx, ecx
je 0x48d6de
mov eax, dword [ecx]
push esi
push dword [ebp + 0x38]
call dword [eax]
mov esi, dword [ebp - 0x30]
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x48d6f0
mov esi, dword [esi]
xor ecx, ecx
mov byte [esi], 0
cmp dword [ebp - 0x2c], ecx
sete cl
mov dword [ebp - 0x30], ecx
lea ecx, [ebp - 0x1a4]
call fcn.004631d0
mov esi, dword [ebp - 0x30]
jmp 0x48d756
cmp dword [ebp + 0x34], 0x10
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, dword [ebp - 0x30]
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, esi
cmovae eax, dword [ebp + 0x20]
cmp dword [esi + 0x14], 0x10
jb 0x48d738
mov ecx, dword [esi]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
test ecx, ecx
je 0x48d6e1
mov eax, dword [ecx]
push 0
push dword [ebp + 0x38]
call dword [eax]
jmp 0x48d6e1
xor esi, esi
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x48d78c
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48d782
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48d782
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.005283f2
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x48d7d4
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48d7ca
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x48d7ca
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.005283f2
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00528802
mov esp, ebp
pop ebp
ret 0x38