Function at 0x10008356
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x209c
call fcn.1003366c
mov eax, dword [0x100440b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, edx
push edi
mov edi, ecx
mov dword [ebp - 0x2098], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x209c], eax
test edi, edi
je 0x100085cb
xor eax, eax
cmp ax, word [edi]
je 0x100085cb
test ebx, ebx
je 0x100085cb
cmp ax, word [ebx]
je 0x100085cb
push ebx
push edi
call fcn.10010a66
pop ecx
pop ecx
test eax, eax
je 0x100085c6
cmp dword [ebp - 0x2098], 0
je 0x100084d6
call fcn.10010a66
test eax, eax
je 0x100084d6
mov eax, dword [ebp - 0x209c]
test eax, eax
je 0x100085cb
test esi, esi
je 0x100085cb
xor ecx, ecx
mov word [eax], cx
xor eax, eax
mov ecx, edi
mov word [esi], ax
call fcn.10010a66
test eax, eax
je 0x100084af
mov ebx, dword [ebp - 0x209c]
xor eax, eax
mov word [ebx], ax
mov word [esi], ax
cmp ax, word [edi]
je 0x100085bf
push 0xffffffffffffffff
push edi
mov edi, 0x824
lea eax, [ebp - 0x104c]
push edi
push eax
call fcn.10010a66
xor ecx, ecx
add esp, 0x10
cmp eax, 0x50
setne cl
test ecx, ecx
je 0x10008531
lea eax, [ebp - 0x104c]
push 0x5c
push eax
call fcn.10010a66
mov dword [ebp - 0x2098], eax
pop ecx
pop ecx
push 0xffffffffffffffff
test eax, eax
jne 0x1000846f
lea eax, [ebp - 0x104c]
push eax
push edi
jmp 0x1000855c
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x104c]
push eax
push edi
push ebx
call fcn.10010a66
xor ecx, ecx
add esp, 0x10
cmp eax, 0x50
setne cl
xor ebx, ebx
test ecx, ecx
je 0x100085c2
mov eax, dword [ebp - 0x2098]
add eax, 2
je 0x1000859e
push 0xffffffffffffffff
push eax
push edi
jmp 0x100085aa
push ecx
push ecx
push esi
push ecx
push dword [ebp - 0x209c]
mov edx, ebx
mov ecx, edi
push dword [ebp - 0x2098]
call fcn.10010a66
xor ecx, ecx
test eax, eax
setns cl
mov eax, ecx
jmp 0x100085cd
push ebx
push edi
call dword [sym.imp.kernel32.dll_MoveFileW]
test eax, eax
je 0x100085cb
mov edi, dword [ebp - 0x209c]
test edi, edi
je 0x100085c6
test esi, esi
je 0x100085c6
xor eax, eax
mov word [edi], ax
mov word [esi], ax
cmp ax, word [ebx]
je 0x100085bf
push 0xffffffffffffffff
push ebx
mov ebx, 0x824
lea eax, [ebp - 0x2094]
push ebx
push eax
call fcn.10010a66
xor ecx, ecx
add esp, 0x10
cmp eax, 0x50
setne cl
test ecx, ecx
jne 0x10008538
xor ebx, ebx
jmp 0x100085c2
lea eax, [ebp - 0x2094]
push 0x5c
push eax
call fcn.10010a66
mov dword [ebp - 0x2098], eax
pop ecx
pop ecx
push 0xffffffffffffffff
test eax, eax
jne 0x1000856f
lea eax, [ebp - 0x2094]
push eax
push ebx
push esi
call fcn.10010a66
xor ebx, ebx
add esp, 0x10
cmp eax, 0x50
setne bl
jmp 0x100085c2
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x2094]
push eax
push ebx
push edi
call fcn.10010a66
xor ecx, ecx
add esp, 0x10
cmp eax, 0x50
setne cl
xor ebx, ebx
test ecx, ecx
je 0x100085c2
mov eax, dword [ebp - 0x2098]
add eax, 2
jne 0x100085a2
mov ecx, ebx
jmp 0x100085bb
push 0xffffffffffffffff
push eax
push 0x824
push esi
call fcn.10010a66
xor ecx, ecx
add esp, 0x10
cmp eax, 0x50
setne cl
test ecx, ecx
je 0x100085c2
xor ebx, ebx
inc ebx
mov eax, ebx
jmp 0x100085cd
xor eax, eax
inc eax
jmp 0x100085cd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001eea4
leave
ret 0x14