Function at 0x47ce7c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x68ee23
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x1098
call fcn.0056e5a0
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x10a8], edi
push eax
lea ecx, [ebp - 0x1034]
call fcn.0041d41a
and dword [ebp - 4], edi
push 4
push edi
lea eax, [ebp - 0x104c]
push eax
lea ecx, [ebp - 0x1030]
call fcn.00407b80
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x47ceef
mov eax, dword [eax]
push 0x6c4920
push eax
call fcn.0064806f
pop ecx
pop ecx
test eax, eax
setne bl
mov byte [ebp - 4], 0
push 0
push 1
lea ecx, [ebp - 0x104c]
call fcn.00401d60
test bl, bl
je 0x47cf36
mov ebx, 0x6c492c
push ebx
call fcn.00647fd1
pop ecx
push eax
push ebx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x1030]
call fcn.0040f900
jmp 0x47cf38
xor ebx, ebx
cmp dword [esi + 0xd8], ebx
je 0x47cfe4
cmp dword [esi + 0xe4], 0xffffffff
je 0x47cfe4
push 0x1004
push ebx
lea eax, [ebp - 0x1018]
push eax
call fcn.00644240
add esp, 0xc
mov byte [ebp - 0x1018], bl
mov dword [ebp - 0x1014], ebx
mov eax, dword [ebp - 0x1020]
add eax, eax
mov dword [ebp - 0x1010], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1030]
cmp dword [ebp - 0x101c], 8
cmovae eax, dword [ebp - 0x1030]
push eax
mov eax, dword [ebp - 0x1020]
inc eax
push eax
lea eax, [ebp - 0x100c]
push eax
call fcn.00651eba
add esp, 0xc
mov dword [ebp - 4], ebx
push 0x1004
lea eax, [ebp - 0x1018]
push eax
push 3
push dword [esi + 0xe4]
call dword [esi + 0xd8]
jmp 0x47d025
cmp dword [esi + 0x1c], ebx
jne 0x47cff1
push 2
pop edi
jmp 0x47d1d8
cmp dword [esi + 0xe4], 0xffffffff
je 0x47cffe
push 5
jmp 0x47cfeb
lea ecx, [ebp - 0x1030]
cmp dword [ebp - 0x101c], 8
cmovae ecx, dword [ebp - 0x1030]
lea eax, [esi + 0xc]
cmp dword [eax + 0x14], 8
jb 0x47d01d
mov eax, dword [eax]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x47d039
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
jne 0x47d1d8
lea ecx, [esi + 0x24]
lea eax, [esi + 0x28]
neg ecx
sbb ecx, ecx
and ecx, eax
lea eax, [ebp - 0x1030]
cmp dword [ebp - 0x101c], 8
cmovae eax, dword [ebp - 0x1030]
push ecx
push eax
call fcn.00456460
pop ecx
pop ecx
lea ecx, [ebp - 0x106c]
call fcn.004173bc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10a4]
call fcn.004173bc
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1088]
call fcn.004173bc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1050]
call fcn.004173bc
mov byte [ebp - 4], 7
lea ebx, [esi + 0x28]
cmp dword [ebx + 0x14], 8
jb 0x47d0ab
mov eax, dword [ebx]
jmp 0x47d0ad
mov eax, ebx
lea ecx, [ebp - 0x1050]
push ecx
lea ecx, [ebp - 0x1088]
push ecx
lea ecx, [ebp - 0x10a4]
push ecx
lea ecx, [ebp - 0x106c]
push ecx
push eax
call fcn.00565361
add esp, 0x14
lea eax, [ebp - 0x1068]
cmp dword [ebp - 0x1054], 8
cmovae eax, dword [ebp - 0x1068]
push eax
lea ecx, [esi + 0x40]
call fcn.004179fb
lea eax, [ebp - 0x104c]
cmp dword [ebp - 0x1038], 8
cmovae eax, dword [ebp - 0x104c]
push eax
lea ecx, [esi + 0x94]
call fcn.004179fb
lea ecx, [ebp - 0x104c]
cmp dword [ebp - 0x1038], 8
cmovae ecx, dword [ebp - 0x104c]
lea eax, [ebp - 0x1084]
cmp dword [ebp - 0x1070], 8
cmovae eax, dword [ebp - 0x1084]
push ecx
push eax
push 0x6c4938
lea eax, [esi + 0x78]
push eax
call fcn.0041ccda
lea ecx, [ebp - 0x10a0]
cmp dword [ebp - 0x108c], 8
cmovae ecx, dword [ebp - 0x10a0]
lea eax, [ebp - 0x1068]
cmp dword [ebp - 0x1054], 8
cmovae eax, dword [ebp - 0x1068]
push ecx
push eax
push 0x6c4944
lea eax, [esi + 0x5c]
push eax
call fcn.0041ccda
add esp, 0x20
cmp dword [ebx + 0x14], 8
jb 0x47d18a
mov ebx, dword [ebx]
push ebx
push 0x6c4950
lea eax, [esi + 8]
push eax
call fcn.0041ccda
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1050]
call fcn.0041786a
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1088]
call fcn.0041786a
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10a4]
call fcn.0041786a
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x106c]
call fcn.0041786a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1034]
call fcn.0041786a
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret 4