Function at 0x1009ed30
Capabilities:
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x7c]
sub esp, 0x7c
push 0xffffffffffffffff
push 0x1023a8c0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x102c6474]
xor eax, ebp
mov dword [ebp + 0x78], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x9c], 0
mov esi, dword [ebp + 0x84]
je 0x1009ed78
xor al, al
jmp 0x1009f057
mov dword [edi + 0xb8], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x1009edb1
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
lea ecx, [edi + 0x10]
call fcn.1009f080
cmp dword [esi + 0x64], 0
je 0x1009ee28
push 0x10272ce0
lea ecx, [ebp - 0x2c]
call fcn.10005e0a
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push dword [esi + 0x64]
mov ecx, edi
push eax
call fcn.100a0690
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10005e05
cmp esi, 1
sete bl
jne 0x1009ee0a
mov dword [edi + 0xb0], 0
jmp 0x1009f055
cmp dword [edi + 0xb0], 0
jne 0x1009f055
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x1009f055
lea ecx, [ebp]
call fcn.10007fd4
mov dword [ebp - 4], 1
lea ecx, [esi + 0x18]
lea edx, [ebp]
call fcn.10075b20
test al, al
je 0x1009ee5a
lea ecx, [ebp]
call fcn.10077710
test al, al
jne 0x1009ee5a
lea ecx, [ebp]
call fcn.10077890
lea ecx, [ebp]
call fcn.10077710
test al, al
jne 0x1009ee79
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
xor bl, bl
jmp 0x1009f046
lea esi, [edi + 0x28]
push str..tmp
mov edx, esi
lea ecx, [ebp + 0x60]
call fcn.1001a950
add esp, 4
mov byte [ebp - 4], 2
lea eax, [ebp + 0x60]
push eax
mov ecx, edi
call fcn.1009fc50
mov bl, al
test bl, bl
je 0x1009f00b
mov ecx, esi
mov dword [edi + 0xb0], 0
call fcn.10077600
test al, al
je 0x1009eecd
push esi
lea eax, [ebp + 0x60]
push eax
call fcn.1009f990
mov bl, al
jmp 0x1009effb
push 0xb
mov ecx, esi
call fcn.10007f54
push eax
lea ecx, [ebp + 0x60]
call fcn.10007f54
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push eax
call ebx
test eax, eax
je 0x1009eef3
mov bl, 1
jmp 0x1009effb
lea ecx, [ebp + 0x18]
mov byte [ebp - 0xd], 0
call fcn.10007fd4
mov byte [ebp - 4], 3
lea edx, [ebp + 0x18]
lea ecx, [ebp + 0x60]
call fcn.1009c150
movzx ecx, byte [ebp - 0xd]
test al, al
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x14], ecx
lea ecx, [ebp + 0x30]
call fcn.10007fd4
mov byte [ebp - 4], 4
lea edx, [ebp + 0x30]
mov ecx, esi
call fcn.1009c150
test al, al
jne 0x1009ef3e
cmp byte [ebp - 0x14], al
je 0x1009ef77
push 0xb
lea ecx, [ebp + 0x30]
call fcn.10007f54
push eax
lea ecx, [ebp + 0x18]
call fcn.10007f54
push eax
call ebx
test eax, eax
je 0x1009ef77
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x30]
call fcn.10005e05
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x18]
call fcn.10005e05
mov bl, 1
jmp 0x1009effb
mov ecx, esi
call fcn.1009a850
cmp eax, 0xffffffff
je 0x1009efe1
push esi
lea ecx, [ebp + 0x48]
call fcn.10007fe7
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x48]
call fcn.1009bbb0
test al, al
je 0x1009efd5
lea edx, [ebp + 0x48]
mov ecx, esi
call fcn.1009a8f0
test al, al
je 0x1009efd5
mov edx, esi
lea ecx, [ebp + 0x60]
call fcn.1009a8f0
lea ecx, [ebp + 0x48]
test al, al
je 0x1009efce
call fcn.1009aa00
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x48]
call fcn.10005e05
jmp 0x1009ef58
mov edx, esi
call fcn.1009a8f0
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x48]
call fcn.10005e05
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x30]
call fcn.10005e05
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x18]
call fcn.10005e05
xor bl, bl
test bl, bl
je 0x1009f025
mov dword [edi + 0xb0], 0
jmp 0x1009f03a
cmp byte [edi + 0x70], 0
jne 0x1009f025
lea ecx, [ebp + 0x60]
call fcn.10077600
test al, al
je 0x1009f025
lea ecx, [ebp + 0x60]
call fcn.1009aa00
cmp dword [edi + 0xb0], 0
jne 0x1009f03a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x60]
call fcn.10005e05
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.10005e05
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x78]
xor ecx, ebp
call fcn.101e48f0
lea esp, [ebp + 0x7c]
pop ebp
ret 4