Function at 0x4dad34
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x61
push 0
push 0
dec ecx
jne 0x4dad3c
push ecx
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
call fcn.00409ecc
lea eax, [ebp - 0x2a8]
mov edx, dword [0x419560]
call fcn.0040b208
xor eax, eax
push ebp
push 0x4db746
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x2ac], eax
cmp dword [ebp + 8], 0xa
jl 0x4db6e4
lea edx, [ebp - 0x10]
mov eax, dword [ebp + 0xc]
call fcn.00428fa8
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.00421844
test al, al
je 0x4db6e4
xor eax, eax
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004d5efc
test al, al
je 0x4db6e4
lea edx, [ebp - 4]
mov eax, dword [ebp + 8]
call fcn.0042101c
lea eax, [ebp - 0x2cc]
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0xa]
call fcn.0040ac6c
mov eax, dword [ebp - 0x2cc]
lea edx, [ebp - 8]
call fcn.00428f60
lea eax, [ebp - 0x2d0]
mov edx, dword [ebp - 0x34]
mov edx, dword [edx + 0x12]
call fcn.0040ac6c
mov eax, dword [ebp - 0x2d0]
lea edx, [ebp - 0xc]
call fcn.00428f60
lea edx, [ebp - 0x2d4]
mov eax, dword [ebp - 0x10]
call fcn.00421bc0
mov edx, dword [ebp - 0x2d4]
lea eax, [ebp - 0x10]
mov ecx, 0x4db768
call fcn.0040ade0
mov dl, 1
mov eax, dword [ebp - 8]
call fcn.00421844
test al, al
je 0x4db6e4
mov dl, 1
mov eax, dword [ebp - 0xc]
call fcn.00421844
test al, al
je 0x4db6e4
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.00421844
test al, al
je 0x4db6e4
lea eax, [ebp - 0x14]
mov ecx, 0x4db78c
mov edx, dword [ebp - 8]
call fcn.0040ade0
lea eax, [ebp - 0x20]
mov ecx, 0x4db7a8
mov edx, dword [ebp - 0x14]
call fcn.0040ade0
mov dl, 1
mov eax, dword [ebp - 0x14]
call fcn.00421844
test al, al
je 0x4db6e4
mov dl, 1
mov eax, dword [ebp - 0x20]
call fcn.00421844
test al, al
je 0x4db6e4
lea eax, [ebp - 0x2c]
mov ecx, 0x4db7c8
mov edx, dword [ebp - 0xc]
call fcn.0040ade0
mov dl, 1
mov eax, dword [ebp - 0x2c]
call fcn.004217ac
test al, al
je 0x4db6e4
cmp dword [ebp + 8], 0xe
jge 0x4daef9
push dword [ebp - 0x14]
push 0x4db7e8
push dword [ebp - 4]
push 0x4db808
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.0040ae68
mov dl, 1
mov eax, dword [ebp - 0x24]
call fcn.004217ac
test al, al
je 0x4db6e4
lea eax, [ebp - 0x24]
mov ecx, 0x4db820
mov edx, dword [ebp - 0x20]
call fcn.0040ade0
mov dl, 1
mov eax, dword [ebp - 0x24]
call fcn.004217ac
test al, al
je 0x4db6e4
mov word [ebp - 0x2b4], 0
mov byte [ebp - 0x2b1], 0
mov dl, 1
mov eax, dword [0x483a54]
call fcn.00407f88
mov dword [ebp - 0x2b0], eax
xor eax, eax
push ebp
push 0x4dafac
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2b0]
call fcn.004a9470
mov eax, dword [ebp - 0x2b0]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 0x2b0]
call fcn.004a7070
lea edx, [ebp - 0x2b4]
mov ecx, 2
mov eax, dword [ebp - 0x2b0]
call fcn.004a8560
mov edx, 0x4db83c
mov eax, dword [ebp - 0x2b0]
mov eax, dword [eax + 4]
call fcn.00422024
test eax, eax
setne byte [ebp - 0x2b1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4dafb6
mov eax, dword [ebp - 0x2b0]
call fcn.00407fb8
cmp byte [ebp - 0x2b1], 0
je 0x4db6e4
cmp dword [ebp + 8], 0xe
jge 0x4db044
push 0x4db860
push dword [ebp - 4]
push 0x4db808
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.0040ae68
push 0
push 0x4db88c
push 0x4db8c0
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2d8]
push eax
call fcn.004d465c
mov eax, dword [ebp - 0x2d8]
mov edx, dword [ebp - 0x24]
call fcn.0040af18
je 0x4db0a4
mov eax, dword [ebp - 0x24]
push eax
mov ecx, 0x4db88c
mov edx, 0x4db8c0
mov eax, dword [ebp - 0x2c]
call fcn.004d4740
test al, al
je 0x4db6e4
inc dword [ebp - 0x2b8]
jmp 0x4db0a4
lea eax, [ebp - 0x24]
mov ecx, 0x4db8d8
mov edx, dword [ebp - 0xc]
call fcn.0040ade0
push 0
push 0x4db8fc
push 0x4db934
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2dc]
push eax
call fcn.004d465c
mov eax, dword [ebp - 0x2dc]
mov edx, dword [ebp - 0x24]
call fcn.0040af18
je 0x4db0a4
mov eax, dword [ebp - 0x24]
push eax
mov ecx, 0x4db8fc
mov edx, 0x4db934
mov eax, dword [ebp - 0x2c]
call fcn.004d4740
test al, al
je 0x4db6e4
inc dword [ebp - 0x2b8]
lea eax, [ebp - 0x24]
mov edx, 0x4db958
call fcn.0040a210
push 0
push 0x4db9a0
push 0x4db8c0
mov eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x2e0]
push eax
call fcn.004d465c
mov eax, dword [ebp - 0x2e0]
mov edx, dword [ebp - 0x24]
call fcn.0040af18
je 0x4db101
mov eax, dword [ebp - 0x24]
push eax
mov ecx, 0x4db9a0
mov edx, 0x4db8c0
mov eax, dword [ebp - 0x2c]
call fcn.004d4740
test al, al
je 0x4db6e4
inc dword [ebp - 0x2b8]
cmp dword [ebp + 8], 0xe
jge 0x4db119
lea eax, [ebp - 0x30]
mov ecx, 0x4db9d4
mov edx, dword [ebp - 0x10]
call fcn.0040ade0
jmp 0x4db129
lea eax, [ebp - 0x30]
mov ecx, 0x4dba04
mov edx, dword [ebp - 0x10]
call fcn.0040ade0
mov dl, 1
mov eax, dword [ebp - 0x30]
call fcn.004217ac
test al, al
je 0x4db6e4
lea eax, [ebp - 0x38]
mov edx, dword [0x4d3f50]
call fcn.0040cec8
cmp dword [ebp + 8], 0xb
jge 0x4db1bd
lea eax, [ebp - 0x24]
mov ecx, 0x4dba44
mov edx, dword [ebp - 0xc]
call fcn.0040ade0
mov dl, 1
mov eax, dword [ebp - 0x24]
call fcn.004217ac
test al, al
je 0x4db3ea
push 1
lea eax, [ebp - 0x38]
mov ecx, 1
mov edx, dword [0x4d3f50]
call fcn.0040cda4
add esp, 4
mov eax, dword [ebp - 0x38]
add eax, 4
mov edx, dword [ebp - 0x24]
call fcn.0040ac80
lea eax, [ebp - 0x2e4]
mov ecx, 0x4dba80
mov edx, dword [ebp - 0xc]
call fcn.0040ade0
mov edx, dword [ebp - 0x2e4]
mov eax, dword [ebp - 0x38]
call fcn.0040ac80
jmp 0x4db3ea
cmp dword [ebp + 8], 0xd
jge 0x4db2c4
lea eax, [ebp - 0x24]
mov ecx, 0x4dbac0
mov edx, dword [ebp - 0xc]
call fcn.0040ade0
mov dl, 1
mov eax, dword [ebp - 0x24]
call fcn.004217ac
test al, al
je 0x4db22c
push 1
lea eax, [ebp - 0x38]
mov ecx, 1
mov edx, dword [0x4d3f50]
call fcn.0040cda4
add esp, 4
mov eax, dword [ebp - 0x38]
add eax, 4
mov edx, dword [ebp - 0x24]
call fcn.0040ac80
lea eax, [ebp - 0x2e8]
mov ecx, 0x4dbb2c
mov edx, dword [ebp - 0xc]
call fcn.0040ade0
mov edx, dword [ebp - 0x2e8]
mov eax, dword [ebp - 0x38]
call fcn.0040ac80
lea eax, [ebp - 0x24]
mov ecx, 0x4dbb9c
mov edx, dword [ebp - 0xc]
call fcn.0040ade0
mov dl, 1
mov eax, dword [ebp - 0x24]
call fcn.004217ac
test al, al
je 0x4db3ea
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4db25a
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
push ebx
lea eax, [ebp - 0x38]
mov ecx, 1
mov edx, dword [0x4d3f50]
call fcn.0040cda4
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4db27e
sub ebx, 4
mov ebx, dword [ebx]
dec ebx
mov eax, dword [ebp - 0x38]
lea eax, [eax + ebx*8 + 4]
mov edx, dword [ebp - 0x24]
call fcn.0040ac80
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4db29a
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x2ec]
mov ecx, 0x4dbc04
mov edx, dword [ebp - 0xc]
call fcn.0040ade0
mov edx, dword [ebp - 0x2ec]
dec ebx
mov eax, dword [ebp - 0x38]
lea eax, [eax + ebx*8]
call fcn.0040ac80
jmp 0x4db3ea
cmp dword [ebp + 8], 0xd
jge 0x4db2d9
lea eax, [ebp - 0x28]
mov edx, 0x4db9d4
call fcn.0040a210
jmp 0x4db2e6
lea eax, [ebp - 0x28]
mov edx, 0x4dba04
call fcn.0040a210
lea eax, [ebp - 0x24]
mov ecx, 0x4dbc70
mov edx, dword [ebp - 0xc]
call fcn.0040ade0
mov dl, 1
mov eax, dword [ebp - 0x24]
call fcn.004217ac
test al, al
je 0x4db353
push 1
lea eax, [ebp - 0x38]
mov ecx, 1
mov edx, dword [0x4d3f50]
call fcn.0040cda4
add esp, 4
mov eax, dword [ebp - 0x38]
add eax, 4
mov edx, dword [ebp - 0x24]
call fcn.0040ac80
push dword [ebp - 0xc]
push 0x4dbcf4
push dword [ebp - 0x28]
lea eax, [ebp - 0x2f0]
mov edx, 3
call fcn.0040ae68
mov edx, dword [ebp - 0x2f0]
mov eax, dword [ebp - 0x38]
call fcn.0040ac80
lea eax, [ebp - 0x24]
mov ecx, 0x4dbd5c
mov edx, dword [ebp - 0xc]
call fcn.0040ade0
mov dl, 1
mov eax, dword [ebp - 0x24]
call fcn.004217ac
test al, al
je 0x4db3ea
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4db37d
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
push ebx
lea eax, [ebp - 0x38]
mov ecx, 1
mov edx, dword [0x4d3f50]
call fcn.0040cda4
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4db3a1
sub ebx, 4
mov ebx, dword [ebx]
dec ebx
mov eax, dword [ebp - 0x38]
lea eax, [eax + ebx*8 + 4]
mov edx, dword [ebp - 0x24]
call fcn.0040ac80
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4db3bd
sub ebx, 4
mov ebx, dword [ebx]
push dword [ebp - 0xc]
push 0x4dbddc
push dword [ebp - 0x28]
lea eax, [ebp - 0x2f4]
mov edx, 3
call fcn.0040ae68
mov edx, dword [ebp - 0x2f4]
dec ebx
mov eax, dword [ebp - 0x38]
lea eax, [eax + ebx*8]
call fcn.0040ac80
cmp dword [ebp + 8], 0xe
jl 0x4db4a4
lea eax, [ebp - 0x1c]
mov ecx, 0x4dbe40
mov edx, dword [ebp - 0xc]
call fcn.0040ade0
mov eax, dword [ebp - 0x1c]
call fcn.004218ec
lea eax, [ebp - 0x18]
mov ecx, 0x4dbe64
mov edx, dword [ebp - 0x10]
call fcn.0040ade0
lea ecx, [ebp - 0x2a8]
mov edx, 0x1e7
mov eax, dword [ebp - 0x18]
call fcn.00421a88
cmp dword [ebp - 0x294], 0
je 0x4db499
push 0
lea eax, [ebp - 0x2f8]
mov ecx, dword [ebp - 0x294]
mov edx, dword [ebp - 0x1c]
call fcn.0040ade0
mov eax, dword [ebp - 0x2f8]
call fcn.0040ab94
push eax
lea edx, [ebp - 0x2fc]
mov eax, dword [ebp - 0x18]
call fcn.00421bc0
lea eax, [ebp - 0x2fc]
mov edx, dword [ebp - 0x294]
call fcn.0040ad88
mov eax, dword [ebp - 0x2fc]
call fcn.0040ab94
push eax
call sub.kernel32.dll_CopyFileW
lea eax, [ebp - 0x2a8]
call fcn.00421ad8
test eax, eax
je 0x4db438
lea eax, [ebp - 0x2a8]
call fcn.00421afc
mov dl, 1
mov eax, dword [0x483a54]
call fcn.00407f88
mov dword [ebp - 0x2b0], eax
xor eax, eax
mov dword [ebp - 0x2bc], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x2c8], eax
cmp dword [ebp - 0x2c8], 0
je 0x4db4e1
mov eax, dword [ebp - 0x2c8]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebp - 0x2c8]
dec eax
test eax, eax
jl 0x4db6b1
inc eax
mov dword [ebp - 0x2c4], eax
mov dword [ebp - 0x2c0], 0
mov eax, dword [ebp - 0x2b0]
call fcn.004a9408
lea eax, [ebp - 0x300]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c0]
mov edx, dword [edx + ecx*8]
call fcn.0040ac6c
mov eax, dword [ebp - 0x300]
mov dl, 1
call fcn.004217ac
test al, al
jne 0x4db5a8
push 0
lea eax, [ebp - 0x304]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c0]
mov edx, dword [edx + ecx*8]
call fcn.0040ac6c
mov eax, dword [ebp - 0x304]
push eax
call sym.ISHsTools.dll_UpdateDeinstallInfo
push 0
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x2c0]
mov eax, dword [eax + edx*8]
call fcn.0040a9bc
push eax
mov eax, dword [ebp - 0x30]
call fcn.0040ab94
push eax
call sub.kernel32.dll_CopyFileW
test eax, eax
je 0x4db587
inc dword [ebp - 0x2b8]
jmp 0x4db5a8
cmp dword [ebp + 8], 0xb
jge 0x4db59d
mov eax, dword [ebp - 0x2b0]
call fcn.00407fb8
jmp 0x4db6e4
inc dword [ebp - 0x2bc]
jmp 0x4db69f
xor eax, eax
push ebp
push 0x4db632
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x308]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c0]
mov edx, dword [edx + ecx*8 + 4]
call fcn.0040ac6c
mov edx, dword [ebp - 0x308]
mov eax, dword [ebp - 0x2b0]
call fcn.004a9470
mov eax, dword [ebp - 0x2b0]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 0x2b0]
call fcn.004a7070
lea edx, [ebp - 0x2b4]
mov ecx, 2
mov eax, dword [ebp - 0x2b0]
call fcn.004a8560
mov edx, 0x4dbe88
mov eax, dword [ebp - 0x2b0]
mov eax, dword [eax + 4]
call fcn.00422024
test eax, eax
setne byte [ebp - 0x2b1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4db649
cmp byte [ebp - 0x2b1], 0
jne 0x4db69f
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x30c]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x2c0]
mov edx, dword [edx + ecx*8 + 4]
call fcn.0040ac6c
mov eax, dword [ebp - 0x30c]
push eax
call sym.ISHsTools.dll_UpdateFmToolbarXml
test al, al
je 0x4db686
inc dword [ebp - 0x2b8]
jmp 0x4db69f
cmp dword [ebp + 8], 0xb
jge 0x4db699
mov eax, dword [ebp - 0x2b0]
call fcn.00407fb8
jmp 0x4db6e4
inc dword [ebp - 0x2bc]
inc dword [ebp - 0x2c0]
dec dword [ebp - 0x2c4]
jne 0x4db501
mov eax, dword [ebp - 0x2b0]
call fcn.00407fb8
cmp dword [ebp - 0x2bc], 1
jg 0x4db6e4
cmp dword [ebp - 0x2b8], 0
jle 0x4db6da
mov dword [ebp - 0x2ac], 2
jmp 0x4db6e4
mov dword [ebp - 0x2ac], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4db74d
lea eax, [ebp - 0x30c]
mov edx, 0x11
call fcn.00409e38
lea eax, [ebp - 0x2a8]
mov edx, dword [0x419560]
call fcn.0040b5d4
lea eax, [ebp - 0x38]
mov edx, dword [0x4d3f50]
call fcn.0040cec8
lea eax, [ebp - 0x34]
mov edx, dword [0x4d3eb4]
call fcn.0040cec8
lea eax, [ebp - 0x30]
mov edx, 0xc
call fcn.00409e38
lea eax, [ebp + 0xc]
call fcn.00409dd8
pop eax
jmp eax