Function at 0x54b0f8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdc8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x230], ebx
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x228], ebx
mov dword [ebp - 0x224], ebx
mov dword [ebp - 0x220], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.0040514c
mov eax, dword [ebp - 0xc]
call fcn.0040514c
xor eax, eax
push ebp
push 0x54b3ec
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x54b37e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x220]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404fa8
mov eax, dword [ebp - 0x220]
call fcn.0040c200
test al, al
jne 0x54b1cb
push 0
push 0x54b404
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x224]
mov edx, 3
call fcn.0040501c
mov edx, dword [ebp - 0x224]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov ecx, 2
call fcn.004de164
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54b3c1
lea eax, [ebp - 0x219]
push eax
push 0x200
push 0x201
mov ecx, 0x54b440
mov edx, 0x54b444
mov eax, 0x54b458
call fcn.004b5ee0
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x219]
call fcn.0040cc0c
cmp dword [ebp - 0x14], 0
je 0x54b35d
lea eax, [ebp - 0x14]
mov edx, 0x54b468
call fcn.00404f64
lea edx, [ebp - 0x18]
mov eax, 0x54b47c
call fcn.00547d4c
test al, al
je 0x54b374
push 0xffffffffffffffff
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_WaitForSingleObject
lea eax, [ebp - 0x228]
push eax
mov ecx, 0x54b494
mov edx, 0x54b4a0
mov eax, 0x54b4bc
call fcn.004dc6f8
mov eax, dword [ebp - 0x228]
mov edx, 0x54b494
call fcn.004050a8
jne 0x54b2cb
push 0
lea eax, [ebp - 0x22c]
mov ecx, dword [ebp - 0x14]
mov edx, 0x54b4f4
call fcn.00404fa8
mov edx, dword [ebp - 0x22c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov ecx, 2
call fcn.004de164
push 0x54b524
mov ecx, 0x54b550
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00547a78
mov ecx, 0x54b56c
mov edx, 0x54b4a0
mov eax, dword [ebp - 4]
call fcn.00547c04
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov ecx, 2
mov edx, 0x54b578
call fcn.004de164
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x54b5a8
call fcn.004052a0
add eax, 3
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404f5c
mov ecx, eax
mov eax, dword [ebp - 0xc]
pop edx
call fcn.004051bc
push 0
lea eax, [ebp - 0x230]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
call fcn.00404fa8
mov eax, dword [ebp - 0x230]
call fcn.0040515c
push eax
lea eax, [ebp - 0x234]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404fa8
mov eax, dword [ebp - 0x234]
call fcn.0040515c
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_ReleaseMutex
mov eax, 0x54b5b4
call fcn.00547ea0
mov eax, 0x54b5c8
call fcn.00547ea0
mov eax, 0x54b5d8
call fcn.00547ea0
jmp 0x54b374
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x14]
mov ecx, 2
mov edx, 0x54b5ec
call fcn.004de164
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x54b3c1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54b3f3
lea eax, [ebp - 0x238]
mov edx, 7
call fcn.00404ca4
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404ca4
ret