Function at 0x436860
Capabilities:
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x7c]
sub esp, 0x7c
push 0xffffffffffffffff
push 0x4f05d0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x53a00c]
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 0x4368a8
xor al, al
jmp 0x436b87
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 0x4368e1
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push esi
lea ecx, [edi + 0x10]
call fcn.00404d80
cmp dword [esi + 0x64], 0
je 0x436958
push 0x50e6c0
lea ecx, [ebp - 0x2c]
call fcn.00403020
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
push dword [esi + 0x64]
mov ecx, edi
push eax
call fcn.00437730
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402de0
cmp esi, 1
sete bl
jne 0x43693a
mov dword [edi + 0xb0], 0
jmp 0x436b85
cmp dword [edi + 0xb0], 0
jne 0x436b85
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
jmp 0x436b85
lea ecx, [ebp]
call fcn.00403070
mov dword [ebp - 4], 1
lea ecx, [esi + 0x18]
lea edx, [ebp]
call fcn.00422370
test al, al
je 0x43698a
lea ecx, [ebp]
call fcn.004217b0
test al, al
jne 0x43698a
lea ecx, [ebp]
call fcn.00421cb0
lea ecx, [ebp]
call fcn.004217b0
test al, al
jne 0x4369a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
xor bl, bl
jmp 0x436b76
lea esi, [edi + 0x28]
push str..tmp
mov edx, esi
lea ecx, [ebp + 0x60]
call fcn.0040eb77
add esp, 4
mov byte [ebp - 4], 2
lea eax, [ebp + 0x60]
push eax
mov ecx, edi
call fcn.00436e70
mov bl, al
test bl, bl
je 0x436b3b
mov ecx, esi
mov dword [edi + 0xb0], 0
call fcn.004216a0
test al, al
je 0x4369fd
push esi
lea eax, [ebp + 0x60]
push eax
call fcn.00436bb0
mov bl, al
jmp 0x436b2b
push 0xb
mov ecx, esi
call fcn.00402f50
push eax
lea ecx, [ebp + 0x60]
call fcn.00402f50
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push eax
call ebx
test eax, eax
je 0x436a23
mov bl, 1
jmp 0x436b2b
lea ecx, [ebp + 0x18]
mov byte [ebp - 0xd], 0
call fcn.00403070
mov byte [ebp - 4], 3
lea edx, [ebp + 0x18]
lea ecx, [ebp + 0x60]
call fcn.00439d30
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.00403070
mov byte [ebp - 4], 4
lea edx, [ebp + 0x30]
mov ecx, esi
call fcn.00439d30
test al, al
jne 0x436a6e
cmp byte [ebp - 0x14], al
je 0x436aa7
push 0xb
lea ecx, [ebp + 0x30]
call fcn.00402f50
push eax
lea ecx, [ebp + 0x18]
call fcn.00402f50
push eax
call ebx
test eax, eax
je 0x436aa7
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x30]
call fcn.00402de0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x18]
call fcn.00402de0
mov bl, 1
jmp 0x436b2b
mov ecx, esi
call fcn.00439710
cmp eax, 0xffffffff
je 0x436b11
push esi
lea ecx, [ebp + 0x48]
call fcn.00403090
mov byte [ebp - 4], 5
lea ecx, [ebp + 0x48]
call fcn.00439af0
test al, al
je 0x436b05
lea edx, [ebp + 0x48]
mov ecx, esi
call fcn.004397b0
test al, al
je 0x436b05
mov edx, esi
lea ecx, [ebp + 0x60]
call fcn.004397b0
lea ecx, [ebp + 0x48]
test al, al
je 0x436afe
call fcn.004398c0
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x48]
call fcn.00402de0
jmp 0x436a88
mov edx, esi
call fcn.004397b0
mov byte [ebp - 4], 4
lea ecx, [ebp + 0x48]
call fcn.00402de0
mov byte [ebp - 4], 3
lea ecx, [ebp + 0x30]
call fcn.00402de0
mov byte [ebp - 4], 2
lea ecx, [ebp + 0x18]
call fcn.00402de0
xor bl, bl
test bl, bl
je 0x436b55
mov dword [edi + 0xb0], 0
jmp 0x436b6a
cmp byte [edi + 0x70], 0
jne 0x436b55
lea ecx, [ebp + 0x60]
call fcn.004216a0
test al, al
je 0x436b55
lea ecx, [ebp + 0x60]
call fcn.004398c0
cmp dword [edi + 0xb0], 0
jne 0x436b6a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 0xb0], eax
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x60]
call fcn.00402de0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00402de0
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.004c4269
lea esp, [ebp + 0x7c]
pop ebp
ret 4