Function at 0x3003149b
Capabilities:
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x3e4]
sub esp, 0x464
mov eax, dword [section..cdata]
push ebx
mov ebx, dword [ebp + 0x3ec]
push esi
push edi
xor esi, esi
mov dword [ebp + 0x3e0], eax
xor eax, eax
mov word [ebp - 0x6c], si
mov ecx, 0x81
lea edi, [ebp - 0x6a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
cmp ebx, esi
mov ecx, 0x91
lea edi, [ebp + 0x19c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x70], esi
je 0x3003152a
cmp dword [ebx + 0x21c], esi
je 0x3003152a
mov edi, dword [ebp + 0x3f0]
cmp edi, esi
je 0x3003152a
cmp dword [edi + 0x21c], esi
je 0x3003152a
push 1
lea eax, [ebp - 0x70]
push eax
push edi
call fcn.30030c32
test eax, eax
je 0x3003152a
push dword [ebp - 0x70]
push edi
call fcn.30030cf7
test eax, eax
push dword [ebp - 0x70]
jne 0x30031544
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
mov ecx, dword [ebp + 0x3e0]
pop edi
pop esi
pop ebx
call fcn.30062f67
add ebp, 0x3e4
leave
ret 8
call dword [sym.imp.KERNEL32.dll_LocalFree]
push ebx
call fcn.3002f0ca
test eax, eax
je 0x3003152a
push edi
call fcn.3002f0ca
test eax, eax
je 0x300316d2
mov eax, dword [ebx + 0x21c]
cmp word [eax], si
mov dword [ebp - 0x74], esi
jbe 0x300316d2
mov ebx, dword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov dword [ebp - 0x78], esi
mov ecx, dword [edi + 0x21c]
movzx ecx, word [ecx]
cmp ecx, dword [edi + 4]
jae 0x300316a4
mov esi, dword [eax + 0xc]
add esi, dword [ebp - 0x78]
push esi
call fcn.30022de2
cmp word [eax], 0x5c
jne 0x300315a3
inc eax
inc eax
push eax
add edi, 0xc
push edi
push 0x30003d94
lea eax, [ebp - 0x6c]
push 0x104
push eax
call ebx
lea eax, [esi + 0x208]
add esp, 0x14
push eax
mov dword [ebp - 0x80], eax
call fcn.30022de2
cmp word [eax], 0x5c
jne 0x300315d2
inc eax
inc eax
push eax
push edi
push 0x30003d94
lea eax, [ebp + 0x19c]
push 0x104
push eax
call ebx
mov eax, dword [ebp + 0x3f0]
mov eax, dword [eax + 0x21c]
add esp, 0x14
lea ecx, [ebp - 0x6c]
push ecx
push eax
call fcn.300559ab
cmp eax, 0xffffffff
je 0x300316b9
lea eax, [ebp - 0x6c]
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
call esi
test eax, eax
jne 0x3003163a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.30022c4c
test eax, eax
je 0x3003167a
push esi
push 0x300050a4
call fcn.30022d69
pop ecx
pop ecx
jmp 0x3003167a
lea eax, [ebp + 0x19c]
push eax
push dword [ebp - 0x80]
call esi
test eax, eax
jne 0x30031673
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.30022c4c
test eax, eax
je 0x30031668
push esi
push 0x30005068
call fcn.30022d69
pop ecx
pop ecx
lea eax, [ebp - 0x6c]
push eax
call fcn.300221e7
jmp 0x3003167a
mov dword [ebp - 0x7c], 1
mov eax, dword [ebp + 0x3ec]
mov eax, dword [eax + 0x21c]
movzx ecx, word [eax]
inc dword [ebp - 0x74]
add dword [ebp - 0x78], 0x44c
cmp dword [ebp - 0x74], ecx
mov edi, dword [ebp + 0x3f0]
jb 0x3003157d
jmp 0x300316d2
call fcn.30022c4c
test eax, eax
je 0x300316d2
push 0x30005038
call fcn.30022ce6
jmp 0x300316d2
call fcn.30022c4c
test eax, eax
je 0x300316cc
push 0x30004ffc
call fcn.30022ce6
mov edi, dword [ebp + 0x3f0]
push dword [edi + 0x214]
mov esi, dword [sym.imp.KERNEL32.dll_ReleaseMutex]
call esi
mov edi, dword [ebp + 0x3ec]
push dword [edi + 0x214]
call esi
push edi
call fcn.30030f20
mov eax, dword [ebp - 0x7c]
jmp 0x3003152c