Function at 0x10022700
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10189d53
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], esi
cmp byte [edi + 0x34], 0
je 0x1002274c
cmp byte [ebp + 8], 0
jne 0x1002274c
mov byte [ebp - 4], 1
push dword [edi + 0x30]
lea ecx, [ebp - 0x18]
call fcn.100277b0
mov esi, dword [ebp - 0x18]
lea ebx, [edi + 0x48]
mov dword [ebp - 4], 0
lea ecx, [ebx + 4]
call fcn.10025dc0
test eax, eax
jne 0x10022771
push eax
mov eax, dword [ebx]
push 2
mov ecx, dword [eax + 4]
add ecx, ebx
call fcn.1000eef0
mov eax, dword [ebx]
push 0
mov eax, dword [eax + 4]
lea ecx, [edi + 0x48]
push 0
add ecx, eax
call fcn.1000eeb0
mov edx, dword [edi + 0x180]
lea ecx, [edi + 0x154]
call fcn.10020480
sub esp, 8
lea ecx, [ebp - 0x114]
call fcn.1001e430
push 1
push ecx
lea ecx, [edi + 0x154]
push ecx
lea eax, [ebp - 0x114]
push eax
mov byte [ebp - 4], 3
call fcn.1000e3e0
add esp, 8
mov edx, 0x101e28e0
mov ecx, eax
call fcn.1001cda0
add esp, 4
mov ecx, eax
call fcn.100245c0
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x114]
call fcn.1000dd30
mov byte [ebp - 4], 4
call fcn.1001d9a0
lea ecx, [ebp - 0x64]
mov dword [ebp + 8], eax
call fcn.1000a250
push eax
call fcn.1016e252
add esp, 4
test eax, eax
je 0x1002280b
call fcn.1016366f
lea ecx, [ebp - 0x64]
call fcn.1000a250
push eax
lea ecx, [edi + 0x154]
call fcn.1000a250
push eax
call fcn.1016e4d4
add esp, 8
test eax, eax
jne 0x1002284b
jmp 0x10022852
call fcn.1016366f
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x64]
push eax
lea edx, [edi + 0x154]
call fcn.10020240
add esp, 8
lea ecx, [edi + 0x154]
call fcn.1000a250
push eax
call fcn.1016e252
add esp, 4
test eax, eax
je 0x10022885
call fcn.1016366f
lea eax, [edi + 0xf0]
push eax
mov edx, str.Renaming_file
lea ecx, [ebp - 0x7c]
call fcn.1001c700
add esp, 4
push str._to
mov edx, eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call fcn.10027740
add esp, 4
lea ecx, [edi + 0x154]
push ecx
mov edx, eax
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 6
call fcn.10027770
add esp, 4
mov ecx, dword [ebp + 8]
push 0
push eax
push str.log4cplus:
push 0x1001c970
push 0x10205c60
mov byte [ebp - 4], 7
call fcn.1001cb90
lea ecx, [ebp - 0x4c]
call fcn.10007890
lea ecx, [ebp - 0x34]
call fcn.10007890
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 4
call fcn.10007890
lea ecx, [edi + 0x154]
call fcn.1000a250
push eax
lea ecx, [edi + 0xf0]
call fcn.1000a250
push eax
call fcn.1016e4d4
add esp, 8
test eax, eax
je 0x1002292f
call fcn.1016366f
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
push eax
lea eax, [edi + 0x154]
push eax
lea edx, [edi + 0xf0]
call fcn.10020240
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push 0x12
call dword [eax + 0x28]
mov ecx, dword [ebp + 8]
lea eax, [edi + 0xf0]
push eax
mov edx, ebx
call fcn.10020400
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.100357d0
mov ecx, dword [edi + 0x174]
mov ebx, dword [ebp - 0x28]
mov edx, dword [edi + 0x170]
cmp ebx, ecx
jg 0x100229b5
mov eax, dword [ebp - 0x2c]
jl 0x10022989
cmp eax, edx
ja 0x100229b5
cmp eax, edx
jne 0x1002299e
cmp ebx, ecx
jne 0x1002299e
mov ecx, dword [ebp - 0x24]
cmp ecx, dword [edi + 0x178]
jg 0x100229b5
jmp 0x100229a1
mov ecx, dword [ebp - 0x24]
cmp eax, edx
jne 0x10022a0d
cmp ebx, dword [edi + 0x174]
jne 0x10022a0d
cmp ecx, dword [edi + 0x178]
jne 0x10022a0d
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x7c]
push eax
mov ecx, edi
call fcn.100231e0
push eax
lea ecx, [edi + 0x154]
call fcn.10002690
lea ecx, [ebp - 0x7c]
call fcn.10007890
push dword [edi + 0x150]
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x44]
call fcn.10022a70
movq xmm0, qword [ebp - 0x44]
movq qword [edi + 0x170], xmm0
mov dword [ebp - 0x3c], 0
movq xmm0, qword [ebp - 0x3c]
add esp, 4
movq qword [edi + 0x178], xmm0
lea ecx, [ebp - 0x64]
call fcn.10007890
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 0
call fcn.1001e550
lea eax, [ebp - 0xc4]
push eax
mov dword [ebp - 0xc4], vtable.std::ios_base.0
call fcn.10185c9c
add esp, 4
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x10022a4f
mov ecx, esi
call fcn.1003d420
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4