Function at 0x5e3c5c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x5e3c64
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 0x5e40ea
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call fcn.005e38ec
movzx edx, byte [ebp - 0xd]
sub dl, 1
jb 0x5e3ca4
je 0x5e3eee
jmp 0x5e40bf
cmp eax, 6
jge 0x5e3dc9
mov bl, 1
mov dl, 1
mov eax, dword [0x512b34]
call fcn.005139a4
mov esi, eax
lea ecx, [ebp - 8]
mov edx, 0xc
mov eax, dword [esi]
call fcn.00513380
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 8]
call fcn.0047a47c
push dword [ebp - 0x14]
push 0x5e4108
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0047221c
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040705c
mov eax, dword [ebp - 8]
call fcn.00471a2c
test al, al
je 0x5e3d13
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x694354]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 8]
call fcn.00471a2c
test al, al
jne 0x5e3d5f
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0047225c
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.00470484
mov eax, dword [ebp - 0x1c]
mov edx, 0x5e4168
call fcn.00407204
je 0x5e3d5f
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 0x5e3dbd
lea ecx, [ebp - 0x28]
mov edx, 0x5e4180
mov eax, dword [ebp - 4]
call fcn.00471e74
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.0047221c
mov eax, dword [ebp - 0x24]
push eax
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 8]
call fcn.00471f48
mov edx, dword [ebp - 0x2c]
lea eax, [ebp - 8]
pop ecx
call fcn.00406f8c
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x5e4198
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.005169cc
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.005e3368
mov eax, esi
call fcn.00404490
jmp 0x5e40bf
cmp eax, 6
jne 0x5e40bf
mov bl, 1
mov dl, 1
mov eax, dword [0x512b34]
call fcn.005139a4
mov esi, eax
lea ecx, [ebp - 8]
mov edx, 0xc
mov eax, dword [esi]
call fcn.00513380
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 8]
call fcn.0047a47c
push dword [ebp - 0x34]
push 0x5e4108
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0047221c
push dword [ebp - 0x38]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040705c
mov eax, dword [ebp - 8]
call fcn.00471a2c
test al, al
je 0x5e3e38
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x694354]
mov eax, dword [eax]
call eax
mov eax, dword [ebp - 8]
call fcn.00471a2c
test al, al
jne 0x5e3e84
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.0047225c
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x3c]
call fcn.00470484
mov eax, dword [ebp - 0x3c]
mov edx, 0x5e4168
call fcn.00407204
je 0x5e3e84
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 0x5e3ee2
lea ecx, [ebp - 0x48]
mov edx, 0x5e4180
mov eax, dword [ebp - 4]
call fcn.00471e74
mov eax, dword [ebp - 0x48]
lea edx, [ebp - 0x44]
call fcn.0047221c
mov eax, dword [ebp - 0x44]
push eax
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 8]
call fcn.00471f48
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 8]
pop ecx
call fcn.00406f8c
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x5e4198
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.005169cc
lea eax, [ebp - 0x50]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.005e3368
mov eax, esi
call fcn.00404490
jmp 0x5e40bf
cmp eax, 6
jge 0x5e3fd3
mov bl, 1
mov dl, 1
mov eax, dword [0x512b34]
call fcn.005139a4
mov esi, eax
lea ecx, [ebp - 8]
mov edx, 0xc
mov eax, dword [esi]
call fcn.00513380
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 8]
call fcn.0047a47c
push dword [ebp - 0x54]
push 0x5e4108
lea edx, [ebp - 0x58]
mov eax, dword [ebp - 4]
call fcn.0047221c
push dword [ebp - 0x58]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040705c
mov eax, dword [ebp - 8]
call fcn.00471a2c
test al, al
je 0x5e3f84
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 4]
call fcn.0047225c
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.00470484
mov eax, dword [ebp - 0x5c]
mov edx, 0x5e4168
call fcn.00407204
je 0x5e3f84
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x694354]
mov eax, dword [eax]
call eax
jmp 0x5e3fc7
lea ecx, [ebp - 0x68]
mov edx, 0x5e4180
mov eax, dword [ebp - 4]
call fcn.00471e74
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x64]
call fcn.0047221c
mov eax, dword [ebp - 0x64]
push eax
lea edx, [ebp - 0x6c]
mov eax, dword [ebp - 8]
call fcn.00471f48
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 8]
pop ecx
call fcn.00406f8c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x694354]
mov eax, dword [eax]
call eax
mov eax, esi
call fcn.00404490
jmp 0x5e40bf
cmp eax, 6
jne 0x5e40bf
mov bl, 1
mov dl, 1
mov eax, dword [0x512b34]
call fcn.005139a4
mov esi, eax
lea ecx, [ebp - 8]
mov edx, 0xc
mov eax, dword [esi]
call fcn.00513380
lea edx, [ebp - 0x70]
mov eax, dword [ebp - 8]
call fcn.0047a47c
push dword [ebp - 0x70]
push 0x5e4108
lea edx, [ebp - 0x74]
mov eax, dword [ebp - 4]
call fcn.0047221c
push dword [ebp - 0x74]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0040705c
mov eax, dword [ebp - 8]
call fcn.00471a2c
test al, al
je 0x5e4069
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 4]
call fcn.0047225c
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call fcn.00470484
mov eax, dword [ebp - 0x78]
mov edx, 0x5e4168
call fcn.00407204
je 0x5e4069
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x694354]
mov eax, dword [eax]
call eax
jmp 0x5e40b8
lea ecx, [ebp - 0x84]
mov edx, 0x5e4180
mov eax, dword [ebp - 4]
call fcn.00471e74
mov eax, dword [ebp - 0x84]
lea edx, [ebp - 0x80]
call fcn.0047221c
mov eax, dword [ebp - 0x80]
push eax
lea edx, [ebp - 0x88]
mov eax, dword [ebp - 8]
call fcn.00471f48
mov edx, dword [ebp - 0x88]
lea eax, [ebp - 8]
pop ecx
call fcn.00406f8c
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x694354]
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 0x5e40f1
lea eax, [ebp - 0x88]
mov edx, 0x1e
call fcn.00406ba0
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406ba0
ret