Function at 0x10010ca0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10051194
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x1006e090]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
xor esi, esi
mov dword [ebp - 0x5c], esi
mov eax, dword [ebx + 0x1c]
cmp eax, 0xffffffff
je 0x10010ced
push eax
call fcn.1003cf20
add esp, 4
mov dword [ebx + 0x1c], 0xffffffff
mov eax, dword [ebx + 0x28]
mov ecx, ebx
dec eax
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.1000e1f0
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov dword [ebp - 4], 0
cmovae eax, dword [ebp - 0x58]
push eax
call fcn.1003bce0
mov edi, dword [ebx + 0x28]
add esp, 4
sub edi, 2
js 0x10011031
nop dword [eax]
nop dword [eax + eax]
mov dword [ebp - 0x100], 0x10056de8
or esi, 2
mov byte [ebp - 4], 1
push 0
lea eax, [ebp - 0xfc]
mov dword [ebp - 0x60], esi
push eax
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0xb0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
mov dword [ebp - 0xb4], 0x48
call fcn.10010230
mov eax, dword [ebp - 0x100]
mov dword [ebp - 4], 3
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x104], eax
lea ecx, [ebp - 0xfc]
call fcn.1000a1f0
mov dword [ebp - 0xfc], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 4
cmp dword [ebx + 0x58], 8
lea ecx, [ebx + 0x44]
mov edx, dword [ebx + 0x54]
mov byte [ebp - 4], 4
jb 0x10010ddc
mov ecx, dword [ebx + 0x44]
push edx
push ecx
lea eax, [ebp - 0x100]
push eax
call fcn.10009340
add esp, 0xc
test edi, edi
jle 0x10010e0a
push edi
lea eax, [ebp - 0x100]
push 0x2e
push eax
call fcn.100083c0
add esp, 8
mov ecx, eax
call fcn.1000b1c0
cmp dword [ebx + 0x3c], 0
je 0x10010e3d
lea eax, [ebp - 0x100]
push 0x2e
push eax
lea esi, [ebx + 0x2c]
call fcn.100083c0
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x10010e2f
mov esi, dword [esi]
push ecx
push esi
push eax
call fcn.10009340
mov esi, dword [ebp - 0x60]
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x100]
call fcn.10011990
lea ecx, [ebp - 0x100]
call fcn.1000b880
mov dword [ebp - 0x100], 0x10056de8
push 0
lea eax, [ebp - 0xfc]
mov byte [ebp - 4], 6
or esi, 0x11
mov dword [ebp - 0xb0], vtable.std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__.0
push eax
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0xb4], 0x48
call fcn.10010230
mov eax, dword [ebp - 0x100]
mov dword [ebp - 4], 8
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.virtual_0], vtable.std::basic_ostringstream_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov eax, dword [ebp - 0x100]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0x104], eax
lea ecx, [ebp - 0xfc]
call fcn.1000a1f0
mov dword [ebp - 0xfc], vtable.std::basic_stringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 4
cmp dword [ebx + 0x58], 8
lea ecx, [ebx + 0x44]
mov edx, dword [ebx + 0x54]
mov byte [ebp - 4], 9
jb 0x10010efd
mov ecx, dword [ebx + 0x44]
push edx
push ecx
lea eax, [ebp - 0x100]
push eax
call fcn.10009340
add esp, 0xc
cmp edi, 0xffffffff
jle 0x10010f2f
lea eax, [edi + 1]
push eax
lea eax, [ebp - 0x100]
push 0x2e
push eax
call fcn.100083c0
add esp, 8
mov ecx, eax
call fcn.1000b1c0
cmp dword [ebx + 0x3c], 0
je 0x10010f5f
lea eax, [ebp - 0x100]
push 0x2e
push eax
lea esi, [ebx + 0x2c]
call fcn.100083c0
mov ecx, dword [esi + 0x10]
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x10010f54
mov esi, dword [esi]
push ecx
push esi
push eax
call fcn.10009340
add esp, 0xc
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x100]
call fcn.10011990
mov esi, dword [ebp - 0x64]
lea ecx, [ebp - 0x100]
or esi, 0x19
mov byte [ebp - 4], 5
call fcn.1000b880
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], 8
push ecx
cmovae eax, dword [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x10010fdb
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10010fd1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001108e
push edx
push ecx
call fcn.1001642e
add esp, 8
mov edx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], al
cmp edx, 8
jb 0x10011028
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001101e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001108e
push edx
push ecx
call fcn.1001642e
add esp, 8
sub edi, 1
jns 0x10010d30
mov ecx, ebx
call fcn.10010660
mov edx, dword [ebp - 0x44]
mov byte [ebx + 0x5c], 0
cmp edx, 8
jb 0x10011072
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10011068
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001108e
push edx
push ecx
call fcn.1001642e
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100169ed
mov esp, ebp
pop ebp
ret
call fcn.10031d09
int3