Function at 0x1029f19
Capabilities:
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x1075fb8]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
mov word [ebp - 0x238], ax
push esi
push edi
lea edi, [ebp - 0x236]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x248], ax
lea edi, [ebp - 0x246]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor ebx, ebx
xor eax, eax
lea edi, [ebp - 0x21c]
mov dword [ebp - 0x220], ebx
stosd dword es:[edi], eax
lea edi, [ebp - 0x224]
mov dword [ebp - 0x228], ebx
stosd dword es:[edi], eax
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x218], ebx
mov eax, dword [0x1075004]
mov esi, 0x1075004
mov edi, 0x1002028
cmp eax, esi
je 0x1029fb0
test byte [eax + 0x1c], 4
je 0x1029fb0
cmp byte [eax + 0x19], 5
jb 0x1029fb0
push edi
push 0x6a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
mov dword [ebp - 0x210], 0x1077eec
cmp dword [ebp + 8], ebx
je 0x1029fc9
mov dword [ebp - 0x210], 0x1077ee8
lea eax, [ebp - 0x228]
push eax
push ebx
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x210]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x102a025
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x210], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x102a33c
test byte [eax + 0x1c], 4
je 0x102a33c
cmp byte [eax + 0x19], 2
jb 0x102a33c
push dword [ebp - 0x210]
push edi
push 0x6b
jmp 0x102a2dc
mov ebx, dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x220]
push eax
call ebx
test eax, eax
jne 0x102a07a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x210], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x102a33c
test byte [eax + 0x1c], 4
je 0x102a33c
cmp byte [eax + 0x19], 2
jb 0x102a33c
push dword [ebp - 0x210]
push edi
push 0x6c
jmp 0x102a2dc
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x228]
push eax
call ebx
test eax, eax
jne 0x102a0c9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x210], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x102a33c
test byte [eax + 0x1c], 4
je 0x102a33c
cmp byte [eax + 0x19], 2
jb 0x102a33c
push dword [ebp - 0x210]
push edi
push 0x6d
jmp 0x102a2dc
cmp dword [ebp + 8], 0
mov eax, 0x1001d44
je 0x102a0d9
mov eax, 0x1001d28
push eax
push dword [0x1078064]
call fcn.01028b29
mov dword [ebp - 0x214], eax
test eax, eax
jne 0x102a122
mov dword [ebp - 0x210], 8
mov eax, dword [0x1075004]
cmp eax, esi
je 0x102a33c
test byte [eax + 0x1c], 4
je 0x102a33c
cmp byte [eax + 0x19], 2
jb 0x102a33c
push edi
push 0x6e
jmp 0x102a331
cmp dword [ebp + 8], 0
mov eax, 0x10021d8
je 0x102a132
mov eax, 0x1002178
movzx ecx, word [ebp - 0x242]
push ecx
movzx ecx, word [ebp - 0x246]
push ecx
movzx ecx, word [ebp - 0x248]
push ecx
movzx ecx, word [ebp - 0x232]
push ecx
movzx ecx, word [ebp - 0x236]
push ecx
movzx ecx, word [ebp - 0x238]
push ecx
push eax
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.01009acc
mov ebx, eax
add esp, 0x24
test ebx, ebx
jge 0x102a1c8
mov eax, dword [0x1075004]
cmp eax, esi
je 0x102a1a1
test byte [eax + 0x1c], 4
je 0x102a1a1
cmp byte [eax + 0x19], 2
jb 0x102a1a1
push ebx
push edi
push 0x6f
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
mov eax, ebx
and eax, 0x1fff0000
cmp eax, 0x70000
jne 0x102a1bd
movzx eax, bx
mov dword [ebp - 0x210], eax
jmp 0x102a33c
mov dword [ebp - 0x210], ebx
jmp 0x102a33c
lea eax, [ebp - 0x20c]
push eax
push dword [0x1078064]
call fcn.01028b29
mov dword [ebp - 0x218], eax
test eax, eax
jne 0x102a217
mov dword [ebp - 0x210], 8
mov eax, dword [0x1075004]
cmp eax, esi
je 0x102a33c
test byte [eax + 0x1c], 4
je 0x102a33c
cmp byte [eax + 0x19], 2
jb 0x102a33c
push edi
push 0x70
jmp 0x102a331
mov ebx, dword [ebp - 0x210]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x102a261
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x210], eax
mov eax, dword [0x1075004]
cmp eax, esi
je 0x102a33c
test byte [eax + 0x1c], 4
je 0x102a33c
cmp byte [eax + 0x19], 2
jb 0x102a33c
push dword [ebp - 0x210]
push edi
push 0x71
jmp 0x102a2dc
push dword [ebp - 0x218]
or dword [ebx], 0xffffffff
push dword [ebp - 0x214]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x102a2a5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x1075004]
cmp ecx, esi
je 0x102a2a5
test byte [ecx + 0x1c], 4
je 0x102a2a5
cmp byte [ecx + 0x19], 2
jb 0x102a2a5
push eax
push edi
push 0x72
push dword [ecx + 0x14]
push dword [ecx + 0x10]
call fcn.0102ca9d
mov ecx, dword [0x1078064]
push ebx
push dword [ebp + 8]
call fcn.0102990b
mov dword [ebp - 0x210], eax
test eax, eax
je 0x102a2e9
mov eax, dword [0x1075004]
cmp eax, esi
je 0x102a33c
test byte [eax + 0x1c], 4
je 0x102a33c
cmp byte [eax + 0x19], 2
jb 0x102a33c
push dword [ebp - 0x210]
push edi
push 0x73
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
jmp 0x102a33c
push dword [ebx]
call fcn.0102843a
test eax, eax
jne 0x102a319
mov eax, dword [0x1075004]
cmp eax, esi
je 0x102a33c
test byte [eax + 0x1c], 4
je 0x102a31e
cmp byte [eax + 0x19], 2
jb 0x102a31e
push 0
push edi
push 0x74
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.0102ca9d
mov eax, dword [0x1075004]
cmp eax, esi
je 0x102a33c
test byte [eax + 0x1c], 4
je 0x102a33c
cmp byte [eax + 0x19], 5
jb 0x102a33c
push edi
push 0x75
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010090c5
push dword [ebp - 0x214]
call fcn.0105c5dc
push dword [ebp - 0x218]
call fcn.0105c5dc
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0105bb63
leave
ret 4