Function at 0x4c73d0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov dword [ebp - 0x18], 0x1b
mov dword [ebp - 4], 0xffffff9c
cmp dword [ebp + 0xc], 0
jne 0x4c750c
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x98]
push ecx
call fcn.006b6b40
add esp, 8
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x118]
push eax
call fcn.006b6b40
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x198]
push edx
call fcn.006b6b40
add esp, 8
mov dword [ebp - 0x10], 0
jmp 0x4c7443
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x98]
push ecx
call fcn.006b6c40
add esp, 4
cmp dword [ebp - 0x10], eax
jae 0x4c746b
mov edx, dword [ebp - 0x10]
movsx eax, byte [ebp + edx - 0x98]
cmp eax, 0x2e
jne 0x4c7469
jmp 0x4c746b
jmp 0x4c743a
mov ecx, dword [ebp - 0x10]
add ecx, 3
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
mov byte [ebp + edx - 0x198], 0x32
mov eax, dword [ebp - 0x10]
mov byte [ebp + eax - 0x118], 0x31
mov ecx, dword [ebp - 0x10]
mov byte [ebp + ecx - 0x98], 0x30
push 0
lea edx, [ebp - 0x198]
push edx
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
lea ecx, [ebp - 0x118]
push ecx
lea edx, [ebp - 0x98]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 0
lea eax, [ebp - 0x98]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
movzx edx, word [0xe9411a]
and edx, 4
mov dword [ebp - 0x14], edx
movzx eax, word [0xe9411a]
and eax, 0xfffffffb
mov word [0xe9411a], ax
push 1
call fcn.0058c320
add esp, 4
movzx ecx, word [0xe9411a]
or ecx, dword [ebp - 0x14]
mov word [0xe9411a], cx
mov dword [ebp - 0xc], 0
jmp 0x4c751e
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, 0x1c
shl eax, 4
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [eax + 0x771e5c]
jge 0x4c7552
imul edx, dword [ebp - 0xc], 0x22
mov eax, dword [0x2596fc0]
movzx ecx, word [eax + edx + 0x1e]
and ecx, 0xfffffffd
imul edx, dword [ebp - 0xc], 0x22
mov eax, dword [0x2596fc0]
mov word [eax + edx + 0x1e], cx
jmp 0x4c7515
push 1
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401390
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffff9c
je 0x4c79d8
push 4
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004016d0
add esp, 0xc
push 0x30000
push 0x22ef268
mov ecx, dword [ebp - 4]
push ecx
call fcn.004016d0
add esp, 0xc
push 0x8000
push 0x2323268
mov edx, dword [ebp - 4]
push edx
call fcn.004016d0
add esp, 0xc
push 0x4000
push 0x231f268
mov eax, dword [ebp - 4]
push eax
call fcn.004016d0
add esp, 0xc
push 2
push 0x23f8840
mov ecx, dword [ebp - 4]
push ecx
call fcn.004016d0
add esp, 0xc
push 2
push 0x23f8844
mov edx, dword [ebp - 4]
push edx
call fcn.004016d0
add esp, 0xc
push 2
push 0x770cc4
mov eax, dword [ebp - 4]
push eax
call fcn.004016d0
add esp, 0xc
push 2
push 0x770cc8
mov ecx, dword [ebp - 4]
push ecx
call fcn.004016d0
add esp, 0xc
mov edx, 0x1c
imul eax, edx, 0xf
movzx ecx, word [0x23f8840]
mov edx, dword [eax + 0x771e5c]
sub edx, ecx
mov word [ebp - 8], dx
push 2
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004016d0
add esp, 0xc
mov edx, 0x1c
shl edx, 4
movzx eax, word [0x23f8844]
mov ecx, dword [edx + 0x771e5c]
sub ecx, eax
mov word [ebp - 8], cx
push 2
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004016d0
add esp, 0xc
movzx ecx, word [0x770cc4]
mov edx, 0x7d00
sub edx, ecx
mov word [ebp - 8], dx
push 2
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004016d0
add esp, 0xc
movzx edx, word [0x770cc8]
mov eax, 0x7d0
sub eax, edx
mov word [ebp - 8], ax
push 2
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004016d0
add esp, 0xc
mov eax, 0x1c
imul ecx, eax, 0xf
movzx edx, word [0x23f8840]
mov eax, dword [ecx + 0x771e5c]
sub eax, edx
imul ecx, eax, 6
push ecx
movzx edx, word [0x23f8840]
imul eax, edx, 6
add eax, dword [0x2596fbc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004016d0
add esp, 0xc
mov edx, 0x1c
shl edx, 4
movzx eax, word [0x23f8844]
mov ecx, dword [edx + 0x771e5c]
sub ecx, eax
imul edx, ecx, 0x22
push edx
movzx eax, word [0x23f8844]
imul ecx, eax, 0x22
add ecx, dword [0x2596fc0]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004016d0
add esp, 0xc
movzx eax, word [0x770cc4]
mov ecx, 0x7d00
sub ecx, eax
imul edx, ecx, 0x1c
push edx
movzx eax, word [0x770cc4]
imul ecx, eax, 0x1c
add ecx, dword [0x2596fc4]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004016d0
add esp, 0xc
movzx eax, word [0x770cc8]
mov ecx, 0x7d0
sub ecx, eax
shl ecx, 4
push ecx
movzx edx, word [0x770cc8]
shl edx, 4
add edx, dword [0x2596fc8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004016d0
add esp, 0xc
push 2
push 0x22edaf4
mov ecx, dword [ebp - 4]
push ecx
call fcn.004016d0
add esp, 0xc
push 0x14
push 0xe940c0
mov edx, dword [ebp - 4]
push edx
call fcn.004016d0
add esp, 0xc
push 2
push 0x7681c0
mov eax, dword [ebp - 4]
push eax
call fcn.004016d0
add esp, 0xc
movzx ecx, word [0x7681c0]
imul edx, ecx, 0x2c
push edx
push 0xe69878
mov eax, dword [ebp - 4]
push eax
call fcn.004016d0
add esp, 0xc
mov ecx, 0x32
mov word [ebp - 8], cx
push 2
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004016d0
add esp, 0xc
mov ecx, 0x3a98
mov word [ebp - 8], cx
push 2
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004016d0
add esp, 0xc
mov ecx, 0x9c4
mov word [ebp - 8], cx
push 2
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004016d0
add esp, 0xc
mov ecx, 0x1f4
mov word [ebp - 8], cx
push 2
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004016d0
add esp, 0xc
push 0x4b0
push 0x2342fa8
mov ecx, dword [ebp - 4]
push ecx
call fcn.004016d0
add esp, 0xc
mov dword [ebp - 0xc], 0
jmp 0x4c7866
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0x3a98
jge 0x4c790e
push 0x24
imul eax, dword [ebp - 0xc], 0x24
add eax, 0x2343458
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004016d0
add esp, 0xc
imul edx, dword [ebp - 0xc], 0x24
movzx eax, word [edx + 0x2343470]
test eax, eax
je 0x4c78ca
imul ecx, dword [ebp - 0xc], 0x24
cmp dword [ecx + 0x234346c], 0
je 0x4c78ca
imul edx, dword [ebp - 0xc], 0x24
movzx eax, word [edx + 0x2343470]
push eax
imul ecx, dword [ebp - 0xc], 0x24
mov edx, dword [ecx + 0x234346c]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004016d0
add esp, 0xc
imul ecx, dword [ebp - 0xc], 0x24
movzx edx, word [ecx + 0x2343462]
test edx, edx
je 0x4c7909
imul eax, dword [ebp - 0xc], 0x24
cmp dword [eax + 0x2343474], 0
je 0x4c7909
imul ecx, dword [ebp - 0xc], 0x24
movzx edx, word [ecx + 0x2343462]
push edx
imul eax, dword [ebp - 0xc], 0x24
mov ecx, dword [eax + 0x2343474]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004016d0
add esp, 0xc
jmp 0x4c785d
push 0x11170
mov eax, 0x1c
imul ecx, eax, 0
add ecx, 0x23c71b8
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004016d0
add esp, 0xc
push 0x6590
push 0x23d8328
mov eax, dword [ebp - 4]
push eax
call fcn.004016d0
add esp, 0xc
mov cx, word [0x770ce0]
mov word [ebp - 8], cx
push 2
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004016d0
add esp, 0xc
movzx ecx, word [ebp - 8]
imul edx, ecx, 0x63
push edx
mov eax, 0x63
imul ecx, eax, 0
add ecx, 0x23dfc40
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.004016d0
add esp, 0xc
push 0x1400
push 0x119ddc8
mov eax, dword [ebp - 4]
push eax
call fcn.004016d0
add esp, 0xc
push 4
push 0x76a340
mov ecx, dword [ebp - 4]
push ecx
call fcn.004016d0
add esp, 0xc
push 0x29040
mov edx, 0x54
imul eax, edx, 0
add eax, 0x15b1468
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004016d0
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call fcn.00401380
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.004c7a00
add esp, 4
cmp dword [ebp + 0xc], 0
jne 0x4c79f6
mov ecx, dword [ebp + 8]
push ecx
call fcn.004c6b50
add esp, 4
mov esp, ebp
pop ebp
ret