Function at 0x540d88
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x47
push 0
push 0
dec ecx
jne 0x540d90
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x541502
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
xor edx, edx
call fcn.0044c1fc
lea eax, [ebp - 0x1d8]
call fcn.004c6424
lea eax, [ebp - 0x1d8]
mov edx, 0x541518
call fcn.00405654
mov eax, dword [ebp - 0x1d8]
call fcn.0040ad84
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x314]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x64]
lea eax, [ebp - 0x1dc]
push eax
xor ecx, ecx
mov edx, 0x3e
mov eax, 0x3e8
call fcn.004c5ec4
mov eax, dword [ebp - 0x1dc]
push eax
push 0
push 0x541534
lea edx, [ebp - 0x1e4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
call fcn.0044c2dc
push dword [ebp - 0x1e4]
push 0x5415ac
lea edx, [ebp - 0x1e8]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x314]
call fcn.0044c2dc
push dword [ebp - 0x1e8]
lea eax, [ebp - 0x1e0]
mov edx, 4
call fcn.0040570c
mov eax, dword [ebp - 0x1e0]
push eax
lea eax, [ebp - 0x1ec]
call fcn.004c6424
lea eax, [ebp - 0x1ec]
mov edx, 0x541518
call fcn.00405654
mov edx, dword [ebp - 0x1ec]
mov ecx, dword [ebp - 4]
pop eax
call fcn.004c6154
test al, al
jne 0x540f6a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
mov dl, 1
call fcn.0044c1fc
lea eax, [ebp - 0x1f0]
push eax
xor ecx, ecx
mov edx, 0x40
mov eax, 0x3e8
call fcn.004c5ec4
mov edx, dword [ebp - 0x1f0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
call fcn.0044c30c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x314]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
call fcn.00442a18
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov edx, dword [eax]
call dword [edx + 0xc4]
jmp 0x5414bc
lea eax, [ebp - 0x1f4]
call fcn.004c6424
lea eax, [ebp - 0x1f4]
mov edx, 0x541518
call fcn.00405654
mov edx, dword [ebp - 0x1f4]
lea eax, [ebp - 0x1d4]
call fcn.00403464
xor edx, edx
push ebp
push 0x540fef
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 0x1d4]
call fcn.004031e8
call fcn.00402d3c
lea edx, [ebp - 8]
lea eax, [ebp - 0x1d4]
call fcn.00403a98
lea eax, [ebp - 0x1d4]
call fcn.00403b04
call fcn.00402d3c
lea eax, [ebp - 0x1d4]
call fcn.004035e0
call fcn.00402d3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x5410aa
lea eax, [ebp - 0x1fc]
call fcn.004c6424
lea eax, [ebp - 0x1fc]
mov edx, 0x541518
call fcn.00405654
mov eax, dword [ebp - 0x1fc]
call fcn.0040ad84
mov eax, dword [ebp - 8]
mov edx, 0x5415b8
call fcn.00405798
jne 0x541153
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
mov dl, 1
call fcn.0044c1fc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x314]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
call fcn.00442a18
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov edx, dword [eax]
call dword [edx + 0xc4]
jmp 0x5414bc
mov al, byte [0x5415c0]
push eax
lea eax, [ebp - 0x200]
push eax
mov ecx, 0x5415cc
mov edx, 0x5415e0
mov eax, dword [ebp - 8]
call fcn.0040fdd0
mov ecx, dword [ebp - 0x200]
lea eax, [ebp - 8]
mov edx, 0x5415f4
call fcn.00405698
lea eax, [ebp - 0x204]
push eax
xor ecx, ecx
mov edx, 0x3e
mov eax, 0x3e8
call fcn.004c5ec4
mov eax, dword [ebp - 0x204]
push eax
push 0
lea eax, [ebp - 0x208]
call fcn.004c6424
lea eax, [ebp - 0x208]
mov edx, 0x5415cc
call fcn.00405654
mov edx, dword [ebp - 0x208]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004c6154
test al, al
jne 0x54127a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
mov dl, 1
call fcn.0044c1fc
lea eax, [ebp - 0x20c]
push eax
xor ecx, ecx
mov edx, 0x41
mov eax, 0x3e8
call fcn.004c5ec4
mov edx, dword [ebp - 0x20c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
call fcn.0044c30c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x314]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
call fcn.00442a18
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov edx, dword [eax]
call dword [edx + 0xc4]
jmp 0x5414bc
lea eax, [ebp - 0x210]
call fcn.004c6424
lea eax, [ebp - 0x210]
mov edx, 0x54161c
call fcn.00405654
mov edx, dword [ebp - 0x210]
mov eax, 0x541630
call fcn.004c712c
push 0
push 0x541644
lea eax, [ebp - 0x218]
call fcn.004c6424
push dword [ebp - 0x218]
push 0x541650
lea eax, [ebp - 0x21c]
call fcn.004c6424
push dword [ebp - 0x21c]
push 0x54166c
lea eax, [ebp - 0x214]
mov edx, 5
call fcn.0040570c
mov eax, dword [ebp - 0x214]
push eax
lea eax, [ebp - 0x220]
call fcn.004c6424
lea eax, [ebp - 0x220]
mov edx, 0x541678
call fcn.00405654
mov edx, dword [ebp - 0x220]
mov eax, dword [0x564b24]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
pop ecx
call fcn.004c6494
lea eax, [ebp - 0x224]
call fcn.004c6424
lea eax, [ebp - 0x224]
mov edx, 0x54161c
call fcn.00405654
mov eax, dword [ebp - 0x224]
call fcn.0040ad84
lea eax, [ebp - 0x228]
call fcn.004c6424
lea eax, [ebp - 0x228]
mov edx, 0x54168c
call fcn.00405654
mov eax, dword [ebp - 0x228]
call fcn.0040ad84
lea eax, [ebp - 0x22c]
call fcn.004c6424
lea eax, [ebp - 0x22c]
mov edx, 0x5416a4
call fcn.00405654
mov eax, dword [ebp - 0x22c]
call fcn.0040ab14
test al, al
je 0x541421
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x32c]
lea eax, [ebp - 0x230]
mov ecx, 0x5416b8
call fcn.00405698
mov eax, dword [ebp - 0x230]
call fcn.0040ad84
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x32c]
lea eax, [ebp - 0x234]
mov ecx, 0x5416b8
call fcn.00405698
mov eax, dword [ebp - 0x234]
call fcn.0040584c
push eax
lea eax, [ebp - 0x238]
call fcn.004c6424
lea eax, [ebp - 0x238]
mov edx, 0x5416a4
call fcn.00405654
mov eax, dword [ebp - 0x238]
call fcn.0040584c
push eax
call sub.kernel32.dll_MoveFileA
mov eax, dword [ebp - 4]
mov dword [eax + 0x24c], 1
jmp 0x5414bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
mov dl, 1
call fcn.0044c1fc
lea eax, [ebp - 0x23c]
push eax
xor ecx, ecx
mov edx, 0x42
mov eax, 0x3e8
call fcn.004c5ec4
mov edx, dword [ebp - 0x23c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
call fcn.0044c30c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x314]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x304]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x64]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
call fcn.00442a18
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x310]
mov edx, dword [eax]
call dword [edx + 0xc4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x541509
lea eax, [ebp - 0x23c]
mov edx, 0x15
call fcn.004053b0
lea eax, [ebp - 0x1e8]
mov edx, 2
call fcn.004053b0
lea eax, [ebp - 0x1e0]
mov edx, 3
call fcn.004053b0
lea eax, [ebp - 8]
call fcn.0040538c
ret