Function at 0x10037ec0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7938
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x100f101c]
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, dword [ebp + 0xc]
mov ecx, esi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x7c], ebx
call fcn.10010fe0
mov edi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
test al, al
jne 0x10038040
push esi
lea ecx, [ebp - 0x70]
call fcn.10006740
mov dword [ebp - 4], 0
push str..old.tmp
call fcn.10003bb0
add esp, 4
lea ecx, [ebp - 0x70]
push eax
push str..old.tmp
call fcn.100040e0
push 0xb
lea ecx, [ebp - 0x70]
call fcn.10003830
push eax
mov ecx, esi
call fcn.10003830
push eax
call edi
test eax, eax
jne 0x10038031
lea ecx, [ebp - 0x58]
mov byte [ebp - 0x71], al
call fcn.10003990
mov byte [ebp - 4], 1
lea edx, [ebp - 0x58]
mov ecx, esi
call fcn.100114a0
movzx ecx, byte [ebp - 0x71]
test al, al
mov eax, 1
cmovne ecx, eax
mov dword [ebp - 0x78], ecx
lea ecx, [ebp - 0x40]
call fcn.10003990
mov byte [ebp - 4], 2
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x70]
call fcn.100114a0
test al, al
jne 0x10037f9b
cmp byte [ebp - 0x78], al
je 0x10037fb5
push 0xb
lea ecx, [ebp - 0x40]
call fcn.10003830
push eax
lea ecx, [ebp - 0x58]
call fcn.10003830
push eax
call edi
test eax, eax
jne 0x10038019
lea ecx, [ebp - 0x70]
call fcn.10010d30
cmp eax, 0xffffffff
je 0x10038019
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.10006740
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.100111f0
test al, al
je 0x1003800d
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x70]
call fcn.10010dd0
test al, al
je 0x1003800d
lea edx, [ebp - 0x70]
mov ecx, esi
call fcn.10010dd0
lea ecx, [ebp - 0x28]
test al, al
je 0x10038005
call fcn.10010fe0
jmp 0x1003800d
lea edx, [ebp - 0x70]
call fcn.10010dd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.100038a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.100038a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.100038a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.100038a0
push 0xb
mov ecx, esi
call fcn.10003830
push eax
mov ecx, ebx
call fcn.10003830
push eax
call edi
test eax, eax
jne 0x1003812e
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x71], al
call fcn.10003990
mov dword [ebp - 4], 4
lea edx, [ebp - 0x40]
mov ecx, ebx
call fcn.100114a0
movzx ebx, byte [ebp - 0x71]
lea ecx, [ebp - 0x58]
test al, al
mov eax, 1
cmovne ebx, eax
call fcn.10003990
mov byte [ebp - 4], 5
lea edx, [ebp - 0x58]
mov ecx, esi
call fcn.100114a0
test al, al
jne 0x100380a4
test bl, bl
je 0x100380be
push 0xb
lea ecx, [ebp - 0x58]
call fcn.10003830
push eax
lea ecx, [ebp - 0x40]
call fcn.10003830
push eax
call edi
test eax, eax
jne 0x10038113
mov ecx, esi
call fcn.10010d30
cmp eax, 0xffffffff
je 0x10038145
push esi
lea ecx, [ebp - 0x28]
call fcn.10006740
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x28]
call fcn.100111f0
test al, al
je 0x10038139
lea edx, [ebp - 0x28]
mov ecx, esi
call fcn.10010dd0
test al, al
je 0x10038139
mov ecx, dword [ebp - 0x7c]
mov edx, esi
call fcn.10010dd0
lea ecx, [ebp - 0x28]
test al, al
je 0x10038132
call fcn.10010fe0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.100038a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.100038a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.100038a0
mov al, 1
jmp 0x10038162
mov edx, esi
call fcn.10010dd0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.100038a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x58]
call fcn.100038a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.100038a0
xor al, al
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.1007f947
mov esp, ebp
pop ebp
ret 8