Function at 0x1009c220
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10163278
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x101b900c]
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 esi, edx
mov edi, ecx
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x1009c259
mov ecx, dword [esi]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x1009c263
mov eax, dword [edi]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 0xb
push ecx
push eax
call ebx
test eax, eax
je 0x1009c27a
mov al, 1
jmp 0x1009c4c3
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov byte [ebp - 0x59], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov dword [ebp - 4], eax
lea edx, [ebp - 0x58]
mov ecx, edi
call fcn.1009cfe0
movzx ecx, byte [ebp - 0x59]
test al, al
mov edx, 1
mov dword [ebp - 0x30], 0
cmovne ecx, edx
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov byte [ebp - 4], dl
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.1009cfe0
test al, al
jne 0x1009c2f6
cmp byte [ebp - 0x60], al
je 0x1009c31d
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push 0xb
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x58]
cmp dword [ebp - 0x44], 8
push ecx
cmovae eax, dword [ebp - 0x58]
push eax
call ebx
test eax, eax
je 0x1009c31d
mov bl, 1
jmp 0x1009c41e
mov ecx, esi
call fcn.1009bea0
cmp eax, 0xffffffff
je 0x1009c41c
push esi
lea ecx, [ebp - 0x28]
call fcn.10026480
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.1009cc80
test al, al
je 0x1009c3ca
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.1009bfb0
test al, al
je 0x1009c3ca
mov edx, esi
mov ecx, edi
call fcn.1009bfb0
lea ecx, [ebp - 0x28]
test al, al
je 0x1009c3c3
call fcn.1009c6d0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1009c3ab
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009c3a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009c4df
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov bl, 1
mov word [ebp - 0x28], ax
jmp 0x1009c41e
mov edx, esi
call fcn.1009bfb0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1009c408
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009c3fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009c4e4
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
xor bl, bl
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x1009c45c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009c452
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009c4e9
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x1009c4ad
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1009c4a3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1009c4ee
push edx
push ecx
call fcn.1010a295
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov al, bl
mov dword [ebp - 0x44], 7
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.10109ef1
mov esp, ebp
pop ebp
ret
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
call fcn.10129e39
int3