Function at 0x40d703
Capabilities:
Move file

Disassembly:
push ebp
lea ebp, [esp - 0x50]
sub esp, 0x50
push 0xffffffffffffffff
push 0x430b91
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x444158]
xor eax, ebp
mov dword [ebp + 0x4c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x58]
mov esi, dword [ebp + 0x5c]
mov ebx, dword [ebp + 0x60]
push edi
call fcn.0040d2ce
cmp dword [esi + 0x10], 0
pop ecx
mov byte [ebp + 0x27], al
jne 0x40d753
xor ecx, ecx
jmp 0x40d75d
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x40d75d
mov ecx, dword [esi]
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x40d767
mov eax, dword [edi]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x40d949
shr ebx, 2
mov ecx, 0x43497c
and bl, 1
mov eax, 0x434974
cmp byte [ebp + 0x27], 0
push 1
cmove eax, ecx
lea ecx, [ebp - 0xa4]
mov dword [ebp + 0x20], eax
call fcn.00401bbf
cmp dword [esi + 0x10], 0
mov dword [ebp - 4], 6
je 0x40d85f
mov ecx, 0x434984
test bl, bl
mov eax, 0x43498c
cmovne eax, ecx
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004011c7
sub esp, 0x10
xor eax, eax
mov ecx, esp
mov dword [ebp + 0x1c], esp
push esi
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.00402bfe
sub esp, 0x18
mov byte [ebp - 4], 7
mov ecx, esp
mov dword [ebp + 0x18], esp
xor eax, eax
push edi
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.00402bfe
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 8
push 0x434994
push eax
call fcn.004011c7
pop ecx
pop ecx
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 7
call fcn.00401396
mov esi, eax
push 0x434998
push esi
call fcn.004011c7
mov eax, dword [ebp + 0x20]
push eax
push esi
call fcn.004011c7
push 0x43499c
push esi
call fcn.004011c7
add esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esi
call fcn.00401396
mov esi, eax
mov eax, 0x4349a4
jmp 0x40d8cb
mov ecx, 0x4334b8
test bl, bl
mov eax, 0x4349a8
cmovne eax, ecx
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.004011c7
sub esp, 0x10
xor eax, eax
mov ecx, esp
mov dword [ebp + 0x18], esp
push edi
mov dword [ecx], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
call fcn.00402bfe
lea eax, [ebp - 0xa4]
mov byte [ebp - 4], 9
push 0x434994
push eax
call fcn.004011c7
pop ecx
pop ecx
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 6
call fcn.00401396
mov esi, eax
push 0x434998
push esi
call fcn.004011c7
mov eax, dword [ebp + 0x20]
pop ecx
pop ecx
push eax
push esi
call fcn.004011c7
pop ecx
pop ecx
test bl, bl
je 0x40d8eb
lea eax, [ebp - 0xa4]
push 0x4349b0
push eax
call fcn.004011c7
pop ecx
pop ecx
push 0
call fcn.0040ef1f
mov ecx, eax
call fcn.0040f188
test al, al
je 0x40d921
lea eax, [ebp - 0xa4]
push eax
push 0x434938
push 0x239
push 0x434798
push 0
call fcn.0040ef1f
mov ecx, eax
call fcn.00403d0c
lea ecx, [ebp - 0xa4]
call fcn.00402821
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4c]
xor ecx, ebp
call fcn.00410737
add ebp, 0x50
leave
ret
push 0x21f
push 0x434938
push 0x434798
lea ecx, [ebp + 0xc]
call fcn.00401d7d
push eax
push 0x4325e4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [sym.imp.KERNEL32.dll_MoveFileExA]
push 0x432608
push ebx
mov ebx, 0x43480c
push ebx
sub esp, 0x18
mov ecx, esp
mov dword [ebp + 0x20], esp
push esi
call fcn.00401c86
and dword [ebp - 4], 0
push ebx
sub esp, 0x18
mov ecx, esp
mov dword [ebp + 0x1c], esp
push edi
call fcn.00401c86
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 1
call fcn.00401f3d
mov byte [ebp - 4], 2
push 0x434968
mov ecx, eax
call fcn.004011b2
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00401396
mov ecx, eax
call fcn.004011b2
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00401396
mov ecx, eax
call fcn.004011b2
mov ecx, eax
call fcn.00409bc3
mov ecx, eax
call fcn.004011b2
push eax
lea ecx, [ebp]
call fcn.00407da2
push eax
lea eax, [ebp + 0x28]
mov byte [ebp - 4], 5
push eax
call fcn.00401962
add esp, 0xc
lea eax, [ebp + 0x28]
push 0x441054
push eax
call fcn.00413602
int3