Function at 0x4b6cc0
Capabilities:
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x7c]
sub esp, 0x7c
push 0xffffffffffffffff
push 0x53db90
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x58a088]
xor eax, ebp
mov dword [ebp + 0x78], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x9c], 0
mov esi, dword [ebp + 0x84]
je 0x4b6d08
xor al, al
jmp 0x4b70fc
mov dword [edi + 0xb8], 0
mov dword [edi + 0xbc], 0
mov dword [edi + 0xb0], 0
mov dword [edi + 0xb4], 0
mov eax, dword [edi + 0xc0]
test eax, eax
je 0x4b6d41
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
lea ebx, [edi + 0x10]
call fcn.00402d80
add esp, 4
cmp ebx, eax
je 0x4b6d6d
mov ecx, esi
call fcn.00402ab0
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4b6d62
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, ebx
call fcn.00402b20
lea ecx, [esi + 0x18]
push ecx
mov dword [ebp - 0x14], ecx
call fcn.00402d80
lea ecx, [ebx + 0x18]
add esp, 4
cmp ecx, eax
je 0x4b6da1
lea ecx, [esi + 0x18]
call fcn.00402ab0
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x4b6d95
mov edx, dword [eax]
push dword [eax + 0x10]
lea ecx, [ebx + 0x18]
push edx
call fcn.00402b20
lea eax, [esi + 0x30]
push eax
call fcn.00402d80
lea ecx, [ebx + 0x30]
add esp, 4
cmp ecx, eax
je 0x4b6dd2
lea ecx, [esi + 0x30]
call fcn.00402ab0
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x4b6dc6
mov edx, dword [eax]
push dword [eax + 0x10]
lea ecx, [ebx + 0x30]
push edx
call fcn.00402b20
lea eax, [esi + 0x48]
push eax
call fcn.00402d80
lea ecx, [ebx + 0x48]
add esp, 4
cmp ecx, eax
je 0x4b6e03
lea ecx, [esi + 0x48]
call fcn.00402ab0
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x4b6df7
mov edx, dword [eax]
push dword [eax + 0x10]
lea ecx, [ebx + 0x48]
push edx
call fcn.00402b20
mov al, byte [esi + 0x60]
mov byte [ebx + 0x60], al
mov al, byte [esi + 0x61]
mov byte [ebx + 0x61], al
mov eax, dword [esi + 0x64]
mov dword [ebx + 0x64], eax
mov eax, dword [esi + 0x68]
mov dword [ebx + 0x68], eax
mov eax, dword [esi + 0x6c]
mov dword [ebx + 0x6c], eax
lea eax, [esi + 0x70]
push eax
add ebx, 0x70
call fcn.00402d80
add esp, 4
cmp ebx, eax
je 0x4b6e51
lea ecx, [esi + 0x70]
call fcn.00402ab0
mov edx, eax
cmp dword [eax + 0x14], 8
jb 0x4b6e46
mov edx, dword [eax]
push dword [eax + 0x10]
mov ecx, ebx
push edx
call fcn.00402b20
cmp dword [esi + 0x64], 0
je 0x4b6ebf
push 0x5582bc
lea ecx, [ebp - 0x2c]
call fcn.00402a40
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push dword [esi + 0x64]
mov ecx, edi
push eax
call fcn.004b7c70
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402a30
cmp esi, 1
sete bl
jne 0x4b6ea1
mov dword [edi + 0xb0], 0
jmp 0x4b70fa
cmp dword [edi + 0xb0], 0
jne 0x4b70fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x4b70fa
lea ecx, [ebp]
call fcn.00402a90
mov dword [ebp - 4], 1
lea edx, [ebp]
mov ecx, dword [ebp - 0x14]
call fcn.00491d50
test al, al
je 0x4b6ef5
lea eax, [ebp]
push eax
call fcn.0048df40
add esp, 4
test al, al
jne 0x4b6ef5
lea ecx, [ebp]
call fcn.0048e4d0
lea eax, [ebp]
push eax
call fcn.0048df40
add esp, 4
test al, al
jne 0x4b6f18
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
xor bl, bl
jmp 0x4b70eb
lea esi, [edi + 0x28]
push str..tmp
mov edx, esi
lea ecx, [ebp + 0x60]
call fcn.00413050
add esp, 4
mov byte [ebp - 4], 2
lea eax, [ebp + 0x60]
push eax
mov ecx, edi
call fcn.004b73e0
mov bl, al
test bl, bl
je 0x4b70ac
push esi
mov dword [edi + 0xb0], 0
call fcn.0048de30
add esp, 4
test al, al
je 0x4b6f6e
push esi
lea eax, [ebp + 0x60]
push eax
call fcn.004b7120
mov bl, al
jmp 0x4b709c
push 0xb
mov ecx, esi
call fcn.00403390
push eax
lea ecx, [ebp + 0x60]
call fcn.00403390
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push eax
call ebx
test eax, eax
je 0x4b6f94
mov bl, 1
jmp 0x4b709c
lea ecx, [ebp + 0x18]
mov byte [ebp - 0xd], 0
call fcn.00402a90
mov byte [ebp - 4], 3
lea edx, [ebp + 0x18]
lea ecx, [ebp + 0x60]
call fcn.004b0950
movzx ecx, byte [ebp - 0xd]
test al, al
mov edx, 1
cmovne ecx, edx
mov dword [ebp - 0x14], ecx
lea ecx, [ebp + 0x30]
call fcn.00402a90
mov byte [ebp - 4], 4
lea edx, [ebp + 0x30]
mov ecx, esi
call fcn.004b0950
test al, al
jne 0x4b6fdf
cmp byte [ebp - 0x14], al
je 0x4b7018
push 0xb
lea ecx, [ebp + 0x30]
call fcn.00403390
push eax
lea ecx, [ebp + 0x18]
call fcn.00403390
push eax
call ebx
test eax, eax
je 0x4b7018
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x30]
call fcn.00402a30
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x18]
call fcn.00402a30
mov bl, 1
jmp 0x4b709c
mov ecx, esi
call fcn.004b0350
cmp eax, 0xffffffff
je 0x4b7082
push esi
lea ecx, [ebp + 0x48]
call fcn.00404520
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x48]
call fcn.004b0710
test al, al
je 0x4b7076
lea edx, [ebp + 0x48]
mov ecx, esi
call fcn.004b03f0
test al, al
je 0x4b7076
mov edx, esi
lea ecx, [ebp + 0x60]
call fcn.004b03f0
lea ecx, [ebp + 0x48]
test al, al
je 0x4b706f
call fcn.004b0500
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x48]
call fcn.00402a30
jmp 0x4b6ff9
mov edx, esi
call fcn.004b03f0
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x48]
call fcn.00402a30
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x30]
call fcn.00402a30
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x18]
call fcn.00402a30
xor bl, bl
test bl, bl
je 0x4b70ca
mov dword [edi + 0xb0], 0
jmp 0x4b70df
cmp byte [edi + 0x70], 0
jne 0x4b70ca
lea eax, [ebp + 0x60]
push eax
call fcn.0048de30
add esp, 4
test al, al
je 0x4b70ca
lea ecx, [ebp + 0x60]
call fcn.004b0500
cmp dword [edi + 0xb0], 0
jne 0x4b70df
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x60]
call fcn.00402a30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00402a30
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x78]
xor ecx, ebp
call fcn.004e1ff4
lea esp, [ebp + 0x7c]
pop ebp
ret 4