Function at 0x5e3c14
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x5e4075
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0xc]
cmp byte [eax + 4], 0
jne 0x5e403c
cmp byte [0x7b88a8], 0
jne 0x5e403c
mov eax, dword [ebp - 0xc]
call fcn.005e4274
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffff
je 0x5e403c
xor eax, eax
push ebp
push 0x5e3ca1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x20
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
mov dl, 1
mov eax, dword [PeekMessageA]
call fcn.004b3d90
mov dword [ebp - 0x14], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5e3cb5
lea edx, [ebp - 0x4c]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
call fcn.004258b0
lea eax, [ebp - 0x4c]
mov edx, 0x5e4094
call fcn.0040b824
mov edx, dword [ebp - 0x4c]
lea eax, [ebp - 8]
call fcn.0040b71c
xor edx, edx
push ebp
push 0x5e3d15
push dword fs:[edx]
mov dword fs:[edx], esp
push 0xff10
lea eax, [ebp - 0x50]
mov edx, dword [ebp - 8]
call fcn.0040b708
mov ecx, dword [ebp - 0x50]
mov dl, 1
mov eax, dword [PeekMessageA]
call fcn.004b3d90
mov dword [ebp - 0x18], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5e3d36
lea eax, [ebp - 4]
mov edx, dword [0x5e3bd4]
call fcn.0040cd40
xor eax, eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 0xd], 1
xor edx, edx
push ebp
push 0x5e3ed1
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x46565341
mov eax, dword [ebp - 0x18]
call fcn.005e1220
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x5e3d7d
sub eax, 4
mov eax, dword [eax]
mov edx, eax
dec edx
mov eax, dword [ebp - 0x18]
call fcn.005e1250
push 0
push 0x10
mov eax, dword [ebp - 0x18]
call fcn.005e1280
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x5e3da9
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
test edi, edi
jl 0x5e3ec7
inc edi
xor esi, esi
cmp esi, dword [ebp - 0x1c]
je 0x5e3ebf
mov eax, dword [ebp - 4]
test eax, eax
je 0x5e3dcc
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
lea eax, [ebx + 1]
push eax
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x5e3bd4]
call fcn.0040cc1c
add esp, 4
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 4]
lea eax, [edx + eax*8]
mov edx, esi
add edx, edx
add edx, edx
add edx, edx
sub edx, esi
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x14]
lea edx, [ecx + edx*8]
mov ecx, dword [0x5e1a34]
call fcn.0040c298
mov eax, dword [ebp - 0x18]
call fcn.004b17a0
push edx
push eax
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 4]
pop dword [edx + eax*8 + 8]
pop dword [edx + eax*8 + 0xc]
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 4]
mov eax, dword [edx + eax*8 + 0x18]
add eax, 0x15
mov dword [ebp - 0x24], eax
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp - 4]
cmp byte [edx + eax*8 + 0x2c], 0
je 0x5e3e64
add dword [ebp - 0x24], 8
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0x24]
call fcn.00406b00
mov eax, esi
add eax, eax
add eax, eax
add eax, eax
sub eax, esi
mov edx, dword [ebp - 0xc]
mov edx, dword [edx + 0x14]
mov ecx, dword [edx + eax*8 + 8]
mov dword [ebp - 0x40], ecx
mov ecx, dword [edx + eax*8 + 0xc]
mov dword [ebp - 0x3c], ecx
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
mov eax, dword [ebp - 0x14]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
call fcn.004b2534
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
call fcn.004b32c0
inc esi
dec edi
jne 0x5e3db7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5e3edf
cmp dword [ebp - 0x20], 0
je 0x5e3ef2
mov eax, dword [ebp - 0x20]
call fcn.00406ae8
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0x14], edx
call fcn.00408674
cmp byte [ebp - 0xd], 0
jne 0x5e3f17
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x18], edx
call fcn.00408674
jmp 0x5e403c
mov eax, dword [ebp - 0x18]
call fcn.004b17a0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
xor edx, edx
push ebp
push 0x5e3fa1
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
test eax, eax
je 0x5e3f3f
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
test edi, edi
jl 0x5e3f7a
inc edi
xor esi, esi
mov ebx, esi
add ebx, ebx
add ebx, ebx
add ebx, ebx
sub ebx, esi
mov eax, dword [ebp - 4]
mov edx, dword [eax + ebx*8]
xor ecx, ecx
mov eax, dword [ebp - 0x18]
call fcn.005e12e4
mov eax, dword [ebp - 4]
push dword [eax + ebx*8 + 0xc]
push dword [eax + ebx*8 + 8]
mov eax, dword [ebp - 0x18]
call fcn.005e1280
inc esi
dec edi
jne 0x5e3f49
xor ecx, ecx
mov edx, 8
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
mov eax, dword [ebp - 0x18]
call fcn.005e1280
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5e3faf
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [ebp - 0x18], edx
call fcn.00408674
cmp byte [ebp - 0xd], 0
je 0x5e403c
xor edx, edx
push ebp
push 0x5e4016
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
call fcn.004256cc
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax + 8]
mov dword [ebp - 0x54], ebx
mov eax, dword [ebp - 0x54]
call fcn.0040b610
push eax
lea eax, [ebp - 0x58]
mov edx, dword [ebp - 8]
call fcn.0040b708
mov eax, dword [ebp - 0x58]
call fcn.0040b610
push eax
call sub.KERNEL32.DLL_MoveFileW
cmp eax, 1
sbb eax, eax
inc eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5e4024
cmp byte [ebp - 0xd], 0
je 0x5e4035
mov eax, dword [ebp - 0xc]
call fcn.005e31cc
mov byte [ebp - 0xd], al
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x28], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5e407c
lea eax, [ebp - 0x58]
call fcn.0040a470
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.0040a4d0
lea eax, [ebp - 8]
call fcn.0040a4b8
lea eax, [ebp - 4]
mov edx, dword [0x5e3bd4]
call fcn.0040cd40
ret