Function at 0x5ea8c8
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x5ea8d0
push ebx
push esi
mov dword [ebp - 4], edx
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 4]
call fcn.00406b90
xor eax, eax
push ebp
push 0x5ead56
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call fcn.005ea558
movzx edx, byte [ebp - 0xd]
sub dl, 1
jb 0x5ea910
je 0x5eab5a
jmp 0x5ead2b
cmp eax, 6
jge 0x5eaa35
mov bl, 1
mov dl, 1
mov eax, dword [0x512f40]
call fcn.00513db0
mov esi, eax
lea ecx, [ebp - 8]
mov edx, 0xc
mov eax, dword [esi]
call fcn.0051378c
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0047a824
push dword [ebp - 0x14]
push 0x5ead74
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00472234
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040705c
mov eax, dword [ebp - 8]
call fcn.00471a44
test al, al
je 0x5ea97f
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x69a388]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 8]
call fcn.00471a44
test al, al
jne 0x5ea9cb
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00472274
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0047049c
mov eax, dword [ebp - 0x1c]
mov edx, 0x5eadd4
call fcn.00407204
je 0x5ea9cb
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
call fcn.00406c34
push eax
mov eax, dword [ebp - 4]
call fcn.00406c34
push eax
call sub.kernel32.dll_CopyFileW
jmp 0x5eaa29
lea ecx, [ebp - 0x28]
mov edx, 0x5eadec
mov eax, dword [ebp - 4]
call fcn.00471e8c
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00472234
mov eax, dword [ebp - 0x24]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 8]
call fcn.00471f60
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
pop ecx
call fcn.00406f8c
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x5eae04
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00516dd0
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.005e9fd4
mov eax, esi
call fcn.00404490
jmp 0x5ead2b
cmp eax, 6
jne 0x5ead2b
mov bl, 1
mov dl, 1
mov eax, dword [0x512f40]
call fcn.00513db0
mov esi, eax
lea ecx, [ebp - 8]
mov edx, 0xc
mov eax, dword [esi]
call fcn.0051378c
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.0047a824
push dword [ebp - 0x34]
push 0x5ead74
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.00472234
push dword [ebp - 0x38]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040705c
mov eax, dword [ebp - 8]
call fcn.00471a44
test al, al
je 0x5eaaa4
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x69a388]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 8]
call fcn.00471a44
test al, al
jne 0x5eaaf0
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.00472274
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.0047049c
mov eax, dword [ebp - 0x3c]
mov edx, 0x5eadd4
call fcn.00407204
je 0x5eaaf0
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
call fcn.00406c34
push eax
mov eax, dword [ebp - 4]
call fcn.00406c34
push eax
call sub.kernel32.dll_CopyFileW
jmp 0x5eab4e
lea ecx, [ebp - 0x48]
mov edx, 0x5eadec
mov eax, dword [ebp - 4]
call fcn.00471e8c
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.00472234
mov eax, dword [ebp - 0x44]
push eax
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 8]
call fcn.00471f60
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 8]
pop ecx
call fcn.00406f8c
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x5eae04
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00516dd0
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.005e9fd4
mov eax, esi
call fcn.00404490
jmp 0x5ead2b
cmp eax, 6
jge 0x5eac3f
mov bl, 1
mov dl, 1
mov eax, dword [0x512f40]
call fcn.00513db0
mov esi, eax
lea ecx, [ebp - 8]
mov edx, 0xc
mov eax, dword [esi]
call fcn.0051378c
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 8]
call fcn.0047a824
push dword [ebp - 0x54]
push 0x5ead74
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 4]
call fcn.00472234
push dword [ebp - 0x58]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040705c
mov eax, dword [ebp - 8]
call fcn.00471a44
test al, al
je 0x5eabf0
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 4]
call fcn.00472274
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.0047049c
mov eax, dword [ebp - 0x5c]
mov edx, 0x5eadd4
call fcn.00407204
je 0x5eabf0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x69a388]
mov eax, dword [eax]
call eax
jmp 0x5eac33
lea ecx, [ebp - 0x68]
mov edx, 0x5eadec
mov eax, dword [ebp - 4]
call fcn.00471e8c
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.00472234
mov eax, dword [ebp - 0x64]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 8]
call fcn.00471f60
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 8]
pop ecx
call fcn.00406f8c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x69a388]
mov eax, dword [eax]
call eax
mov eax, esi
call fcn.00404490
jmp 0x5ead2b
cmp eax, 6
jne 0x5ead2b
mov bl, 1
mov dl, 1
mov eax, dword [0x512f40]
call fcn.00513db0
mov esi, eax
lea ecx, [ebp - 8]
mov edx, 0xc
mov eax, dword [esi]
call fcn.0051378c
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 8]
call fcn.0047a824
push dword [ebp - 0x70]
push 0x5ead74
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 4]
call fcn.00472234
push dword [ebp - 0x74]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040705c
mov eax, dword [ebp - 8]
call fcn.00471a44
test al, al
je 0x5eacd5
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 4]
call fcn.00472274
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call fcn.0047049c
mov eax, dword [ebp - 0x78]
mov edx, 0x5eadd4
call fcn.00407204
je 0x5eacd5
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x69a388]
mov eax, dword [eax]
call eax
jmp 0x5ead24
lea ecx, [ebp - 0x84]
mov edx, 0x5eadec
mov eax, dword [ebp - 4]
call fcn.00471e8c
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x80]
call fcn.00472234
mov eax, dword [ebp - 0x80]
push eax
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 8]
call fcn.00471f60
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 8]
pop ecx
call fcn.00406f8c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x69a388]
mov eax, dword [eax]
call eax
mov eax, esi
call fcn.00404490
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ead5d
lea eax, [ebp - 0x88]
mov edx, 0x1e
call fcn.00406ba0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406ba0
ret