Function at 0x49ec30
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x49ec38
push ecx
push ebx
push esi
push edi
mov esi, 0x4c92dc
xor eax, eax
push ebp
push 0x49f0b4
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4550b8]
call fcn.00402e6c
mov ebx, eax
mov dword [ebp - 4], 0x5a226334
lea edx, [ebp - 4]
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x49f0cc
mov eax, ebx
call fcn.0045599c
mov edx, dword [0x4bc9e4]
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, dword [0x4bc720]
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
lea edx, [ebp - 0x14]
mov eax, dword [0x4c92f0]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x14]
mov eax, ebx
call fcn.0045599c
lea edx, [ebp - 0x18]
mov eax, dword [0x4c92f4]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.0045599c
lea edx, [ebp - 0x1c]
mov eax, dword [0x4c92f8]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x1c]
mov eax, ebx
call fcn.0045599c
mov edx, dword [0x4bc454]
mov eax, ebx
call fcn.0045599c
mov edx, dword [0x4bc458]
mov eax, ebx
call fcn.0045599c
mov edx, 0x4bc560
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x4bc550
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x4bc540
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x4bc3c4
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x4bc3c8
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x4bc434
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x4bc424
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, dword [0x4bc460]
mov eax, ebx
call fcn.0045599c
lea edx, [ebp - 0x20]
mov eax, dword [0x4c947c]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x20]
mov eax, ebx
call fcn.0045599c
mov edx, 0x4bc544
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x4bc484
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x49f0d8
mov eax, ebx
call fcn.0045599c
mov edx, dword [0x4c9424]
mov eax, ebx
call fcn.0045599c
mov edx, 0x4bc48c
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x4bc490
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x4c9484
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov ecx, dword [0x4bc460]
mov edx, 0x49f0e4
mov eax, 0x49f0f8
call fcn.00455c80
cmp byte [0x4bc444], 2
jne 0x49ee36
mov byte [ebp - 5], 1
jmp 0x49ee3a
mov byte [ebp - 5], 0
lea edx, [ebp - 5]
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x4bc4a0
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x4bc4a4
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x4c931c
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x4bc448
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x4bc450
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x4bc5fc
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, dword [0x4c9300]
mov eax, ebx
call fcn.0045599c
mov edx, 0x4bc54c
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
lea edx, [ebp - 4]
mov ecx, 2
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
lea edx, [ebp - 4]
mov ecx, 2
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x4bc5cc
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x4bc5d0
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x4bc5c4
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x4bc5c8
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x4bc5c0
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x4bc558
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x4bc4f8
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x4bc4fc
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x4bc500
mov ecx, 4
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov edx, 0x4bc45c
mov ecx, 1
mov eax, ebx
mov edi, dword [eax]
call dword [edi + 8]
mov eax, dword [esi]
call fcn.00408f78
test al, al
je 0x49efb0
mov edx, 0x20
mov eax, dword [esi]
call fcn.00408fe0
test eax, eax
jne 0x49efdc
lea eax, [ebp - 0x24]
mov edx, dword [esi]
call fcn.00404350
mov eax, dword [ebp - 0x24]
push eax
push ebx
call fcn.004581e4
lea eax, [ebp - 0x28]
mov edx, dword [esi]
call fcn.00404350
mov eax, dword [ebp - 0x28]
mov edx, dword [0x4bc46c]
call fcn.00455778
mov eax, ebx
call fcn.00402e9c
mov eax, dword [esi]
cmp byte [eax + 1], 0x3a
jne 0x49f01d
mov eax, dword [esi]
mov al, byte [eax]
call fcn.00457408
test al, al
je 0x49f01d
mov eax, dword [esi]
mov al, byte [eax]
call fcn.004029f4
call fcn.004883f4
test eax, eax
jne 0x49f01d
mov eax, dword [esi]
mov al, byte [eax]
call fcn.004029f4
lea edx, [ebp - 0x10]
call fcn.004885f0
jmp 0x49f025
lea eax, [ebp - 0x10]
call fcn.00403bc4
cmp dword [ebp - 0x10], 0
je 0x49f084
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x400
mov edx, 3
mov eax, dword [esi]
call fcn.0040404c
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00403e90
mov edx, 0x20
mov eax, dword [ebp - 0xc]
call fcn.00408fe0
push 0
lea eax, [ebp - 0xc]
call fcn.00404014
push eax
mov eax, esi
call fcn.00404014
push eax
call sub.kernel32.dll_CopyFileA
lea eax, [ebp - 0x10]
call fcn.00403bc4
mov eax, dword [esi]
mov al, byte [eax]
call fcn.00488778
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f0bb
lea eax, [ebp - 0x2c]
call fcn.00403bc4
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.0040420c
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.00403be8
ret