Function at 0x53236c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x532280
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 4]
call fcn.00405640
xor eax, eax
push ebp
push 0x53258c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00438560
test al, al
je 0x532564
mov dl, 1
mov eax, dword [0x419d20]
call fcn.00404238
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x53255d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x24]
mov eax, dword [ebp - 4]
call fcn.0040af00
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 8]
call fcn.00409a64
mov eax, dword [ebp - 8]
mov edx, 0x5325a4
call fcn.004055e8
jne 0x532361
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4eda5c]
call fcn.004edd30
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x53235a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 1
mov eax, dword [ebp - 0x1c]
call fcn.004ede50
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
call fcn.004ee310
push 1
mov edx, dword [0x5432a8]
mov edx, dword [edx]
xor ecx, ecx
mov eax, dword [ebp - 0x1c]
call fcn.004ee444
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53236c
mov eax, dword [ebp - 0x1c]
call fcn.00404268
ret
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x53253f
inc ebx
xor esi, esi
lea ecx, [ebp - 0x28]
mov edx, esi
mov eax, dword [ebp - 0x20]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x14]
call fcn.0040a024
cmp dword [ebp - 0x14], 0
je 0x532537
mov edx, dword [ebp - 0x14]
mov eax, 0x5325b4
call fcn.0040579c
test eax, eax
jne 0x5323c8
mov edx, dword [0x5432a8]
mov edx, dword [edx]
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
call fcn.004054d8
mov eax, dword [ebp - 0x14]
call fcn.00438560
test al, al
je 0x532537
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
call fcn.0040aec8
mov ecx, dword [ebp - 0x2c]
mov edx, dword [0x542dc0]
mov edx, dword [edx]
lea eax, [ebp - 0x10]
call fcn.004054d8
lea ecx, [ebp - 0xc]
mov edx, 0x5325c0
mov eax, dword [ebp - 0x10]
call fcn.0040ad48
mov eax, dword [ebp - 0x10]
call fcn.00438560
test al, al
je 0x532442
mov eax, dword [ebp - 0xc]
call fcn.00438490
mov eax, dword [ebp - 0xc]
call fcn.00405650
push eax
mov eax, dword [ebp - 0x10]
call fcn.00405650
push eax
call sub.kernel32.dll_MoveFileA
push 0xc8
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x10]
call fcn.00438560
test al, al
je 0x5324da
lea ecx, [ebp - 0x30]
mov edx, 0x5325d0
mov eax, dword [ebp - 0x10]
call fcn.0040ad48
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x10]
call fcn.0040523c
mov eax, dword [ebp - 0x10]
call fcn.00438560
test al, al
je 0x532481
mov eax, dword [ebp - 0x10]
call fcn.00438490
push 1
mov cl, 1
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.00438424
mov eax, dword [ebp - 0x10]
call fcn.00438560
test al, al
jne 0x5324ab
push 1
mov cl, 1
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.00438424
mov eax, dword [ebp - 0x10]
call fcn.00438560
test al, al
je 0x5324c1
mov eax, dword [ebp - 0x14]
call fcn.00438490
jmp 0x5324d0
push 0
mov cl, 1
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00438424
mov eax, dword [0x543394]
mov byte [eax], 1
jmp 0x532529
push 1
mov cl, 1
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.00438424
mov eax, dword [ebp - 0x10]
call fcn.00438560
test al, al
jne 0x532504
push 1
mov cl, 1
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.00438424
mov eax, dword [ebp - 0x10]
call fcn.00438560
test al, al
je 0x53251a
mov eax, dword [ebp - 0x14]
call fcn.00438490
jmp 0x532529
push 0
mov cl, 1
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00438424
cmp dword [ebp - 0xc], 0
je 0x532537
mov eax, dword [ebp - 0xc]
call fcn.00438490
inc esi
dec ebx
jne 0x532382
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x532564
mov eax, dword [ebp - 0x20]
call fcn.00404268
mov eax, dword [ebp - 4]
call fcn.00438490
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x532593
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.004051c8
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.004051c8
ret