Function at 0x10017250
Capabilities:
Move file

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d093f
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x108
push esi
push edi
mov eax, dword [0x101120a8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esi + 0x34]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], edi
test edi, edi
je 0x100172ab
mov ecx, edi
call sym.XNewLookSch.dll_public:_int___thiscall_LMutex::Lock_void_
mov dword [ebp - 0x20], eax
push ecx
lea ecx, [ebp - 0xd8]
mov dword [ebp - 4], 0
call fcn.10018940
cmp byte [ebx + 0xc], 0
lea eax, [esi + 0xb8]
mov byte [ebp - 4], 1
jne 0x100172d1
lea eax, [esi + 0x70]
cmp dword [eax + 0x14], 0x10
jb 0x100172d9
mov eax, dword [eax]
push ecx
push 0x2a
push eax
lea ecx, [ebp - 0xd4]
call fcn.1001a070
test eax, eax
lea ecx, [ebp - 0xd8]
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 4]
jne 0x10017311
add ecx, eax
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
jmp 0x10017320
add ecx, eax
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
push 0
push eax
call fcn.10004f60
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 4]
test byte [ebp + ecx - 0xcc], 6
je 0x10017366
lea ecx, [ebp - 0xd8]
call fcn.100177b0
test edi, edi
je 0x1001735c
cmp dword [ebp - 0x20], 0xffffff9c
je 0x1001735c
dec dword [edi]
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0xfffffffd
jmp 0x1001778d
mov ecx, dword [ebp + ecx - 0xa0]
lea edx, [ebp - 0xd8]
mov dword [ebp - 0xe0], edx
test ecx, ecx
je 0x10017388
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xd8]
mov byte [ebp - 4], 2
mov ecx, dword [eax + 4]
cmp dword [ebp + ecx - 0xcc], 0
jne 0x100173b9
mov ecx, dword [ebp + ecx - 0x9c]
test ecx, ecx
je 0x100173b9
lea edx, [ebp - 0xd8]
cmp ecx, edx
je 0x100173b9
call fcn.1001a290
mov eax, dword [ebp - 0xd8]
mov ecx, dword [eax + 4]
mov eax, dword [ebp + ecx - 0xcc]
test eax, eax
sete byte [ebp - 0xdc]
mov byte [ebp - 4], 3
test al, 6
jne 0x10017434
mov ecx, dword [ebp + ecx - 0xa0]
lea eax, [ebp - 0x118]
push 2
push 2
sub esp, 8
push eax
call fcn.1001a230
mov ecx, dword [eax + 8]
add ecx, dword [eax]
mov edx, dword [eax + 0xc]
adc edx, dword [eax + 4]
cmp ecx, dword [0x100e9268]
jne 0x10017434
cmp edx, dword [0x100e926c]
jne 0x10017434
mov eax, dword [ebp - 0xd8]
lea ecx, [ebp - 0xd8]
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.10004f60
mov byte [ebp - 4], 4
call fcn.100b9a6f
test al, al
jne 0x1001744c
lea ecx, [ebp - 0xd8]
call fcn.100135a0
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 4]
mov ecx, dword [ebp + eax - 0xa0]
test ecx, ecx
je 0x1001746f
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, dword [ebp - 0xd8]
mov byte [ebp - 4], 1
lea eax, [ebp - 0xd8]
mov dword [ebp - 0xe8], eax
mov eax, dword [edx + 4]
mov ecx, dword [ebp + eax - 0xa0]
test ecx, ecx
je 0x10017498
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xd8]
mov byte [ebp - 4], 6
mov ecx, dword [edx + 4]
cmp dword [ebp + ecx - 0xcc], 0
jne 0x100174c9
mov ecx, dword [ebp + ecx - 0x9c]
test ecx, ecx
je 0x100174c9
lea eax, [ebp - 0xd8]
cmp ecx, eax
je 0x100174c9
call fcn.1001a290
mov edx, dword [ebp - 0xd8]
mov ecx, dword [edx + 4]
mov eax, dword [ebp + ecx - 0xcc]
test eax, eax
sete byte [ebp - 0xe4]
mov byte [ebp - 4], 7
test al, 6
jne 0x1001751c
mov ecx, dword [ebp + ecx - 0xa0]
lea eax, [ebp - 0x100]
push 2
push 1
sub esp, 8
push eax
call fcn.1001a230
mov byte [ebp - 4], 8
call fcn.100b9a6f
test al, al
jne 0x10017516
lea ecx, [ebp - 0xd8]
call fcn.100135a0
mov byte [ebp - 4], 9
jmp 0x10017558
mov eax, dword [0x100e9268]
xorps xmm0, xmm0
mov dword [ebp - 0x100], eax
mov eax, dword [0x100e926c]
mov dword [ebp - 0xfc], eax
movups xmmword [ebp - 0xf8], xmm0
mov byte [ebp - 4], 0xa
call fcn.100b9a6f
test al, al
jne 0x10017554
lea ecx, [ebp - 0xd8]
call fcn.100135a0
mov byte [ebp - 4], 0xb
mov eax, dword [ebp - 0xd8]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + eax - 0xa0]
test ecx, ecx
je 0x10017571
mov eax, dword [ecx]
call dword [eax + 8]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x100]
mov ecx, dword [ebp - 0xf8]
add eax, ecx
mov dword [ebp - 0x18], eax
jne 0x100175a2
push 0
push 2
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0xfeff
push eax
lea ecx, [ebp - 0xd8]
call fcn.10019330
mov eax, dword [esi + 8]
xor cl, cl
cmp dword [ebp - 0x18], eax
mov edx, 1
movzx ecx, cl
cmovge ecx, edx
mov dword [ebp - 0x18], 0x100eeb1c
mov dword [ebp - 0x28], ecx
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x1c], 4
mov eax, dword [ecx + 0x14]
add eax, eax
cmp eax, dword [esi + 0xc]
jle 0x100175e4
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x18], str...._cut_by_log_sys__r_n
mov dword [ebp - 0x1c], 0x2a
add ecx, 4
cmp dword [ecx + 0x14], 8
jb 0x100175ef
mov ecx, dword [ecx]
cdq
push edx
push eax
push ecx
lea ecx, [ebp - 0xd8]
call fcn.10019330
push 0
push dword [ebp - 0x1c]
lea ecx, [ebp - 0xd8]
push dword [ebp - 0x18]
call fcn.10019330
lea ecx, [ebp - 0xd4]
call fcn.10019fb0
test eax, eax
jne 0x1001764b
mov eax, dword [ebp - 0xd8]
lea ecx, [ebp - 0xd8]
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.10004f60
cmp byte [ebp - 0x28], 0
je 0x1001776a
cmp byte [ebx + 0xc], 0
mov al, byte [esi]
je 0x100176e2
test al, al
je 0x10017681
add esi, 0xb8
cmp dword [esi + 0x14], 0x10
jb 0x10017673
mov esi, dword [esi]
push esi
call fcn.100a0034
add esp, 4
jmp 0x1001776a
cmp dword [esi + 0xfc], 0x10
lea ecx, [esi + 0xe8]
jb 0x10017696
mov ecx, dword [esi + 0xe8]
push ecx
call fcn.100a0034
lea eax, [esi + 0xe8]
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x100176ad
mov eax, dword [eax]
cmp dword [esi + 0xe4], 0x10
lea edx, [esi + 0xd0]
jb 0x100176c2
mov edx, dword [esi + 0xd0]
push eax
push edx
call fcn.100a01ca
lea eax, [esi + 0xd0]
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x100176da
mov eax, dword [eax]
add esi, 0xb8
jmp 0x10017758
test al, al
je 0x100176fc
add esi, 0x70
cmp dword [esi + 0x14], 0x10
jb 0x100176f1
mov esi, dword [esi]
push esi
call fcn.100a0034
add esp, 4
jmp 0x1001776a
cmp dword [esi + 0xb4], 0x10
lea ecx, [esi + 0xa0]
jb 0x10017711
mov ecx, dword [esi + 0xa0]
push ecx
call fcn.100a0034
lea eax, [esi + 0xa0]
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x10017728
mov eax, dword [eax]
cmp dword [esi + 0x9c], 0x10
lea edx, [esi + 0x88]
jb 0x1001773d
mov edx, dword [esi + 0x88]
push eax
push edx
call fcn.100a01ca
lea eax, [esi + 0x88]
add esp, 8
cmp dword [eax + 0x14], 0x10
jb 0x10017755
mov eax, dword [eax]
add esi, 0x70
cmp dword [esi + 0x14], 0x10
jb 0x10017760
mov esi, dword [esi]
push eax
push esi
call fcn.100a01ca
add esp, 8
lea ecx, [ebp - 0xd8]
call fcn.100177b0
test edi, edi
je 0x1001778b
cmp dword [ebp - 0x20], 0xffffff9c
je 0x1001778b
dec dword [edi]
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8