Function at 0x47ddd8
Capabilities:
Clear file content
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x47dde0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a54
mov eax, dword [ebp - 8]
call fcn.00404a54
xor eax, eax
push ebp
push 0x47e1bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 1
xor eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x47e17a
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 8], 0
jne 0x47de5c
lea edx, [ebp - 0x34]
mov eax, dword [0x489a88]
mov eax, dword [eax]
call fcn.00442ae4
mov eax, dword [ebp - 0x34]
lea edx, [ebp - 0x30]
call fcn.004095c8
mov edx, dword [ebp - 0x30]
lea eax, [ebp - 0x10]
mov ecx, 0x47e1d8
call fcn.004048b0
jmp 0x47dec4
mov edx, dword [ebp - 8]
mov eax, 0x47e1f0
call fcn.00404ba8
test eax, eax
jle 0x47de9c
mov edx, dword [ebp - 8]
mov eax, 0x47e1fc
call fcn.00404ba8
test eax, eax
jg 0x47de8f
mov edx, dword [ebp - 8]
mov eax, 0x47e208
call fcn.00404ba8
test eax, eax
jle 0x47de9c
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 8]
call fcn.0040463c
jmp 0x47dec4
lea edx, [ebp - 0x3c]
mov eax, dword [0x489a88]
mov eax, dword [eax]
call fcn.00442ae4
mov eax, dword [ebp - 0x3c]
lea edx, [ebp - 0x38]
call fcn.004095c8
mov edx, dword [ebp - 0x38]
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 8]
call fcn.004048b0
lea edx, [ebp - 0x40]
mov eax, dword [ebp - 4]
call fcn.00408b54
mov edx, dword [ebp - 0x40]
lea eax, [ebp - 4]
call fcn.0040463c
cmp dword [ebp - 4], 0
jne 0x47def1
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47e188
mov dword [ebp - 0x20], 1
xor eax, eax
push ebp
push 0x47df5c
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.0040ac54
fstp qword [ebp - 0x28]
wait
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea edx, [ebp - 0x44]
mov eax, 0x47e214
call fcn.0040b96c
push dword [ebp - 0x44]
push 0x47e234
mov eax, dword [ebp - 4]
call fcn.00404864
lea edx, [ebp - 0x48]
call fcn.00408eb0
push dword [ebp - 0x48]
push 0x47e240
push dword [ebp - 4]
lea eax, [ebp - 0x2c]
mov edx, 5
call fcn.00404924
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47df98
lea eax, [ebp - 4]
mov edx, dword [ebp - 0x2c]
call fcn.0040463c
mov eax, dword [ebp - 0x10]
call fcn.004094c4
test al, al
jne 0x47dfc1
mov edx, 0x41
mov eax, dword [ebp - 0x10]
call fcn.00409348
mov dword [ebp - 0x18], eax
jmp 0x47dfd1
mov edx, 0x41
mov eax, dword [ebp - 0x10]
call fcn.004092a4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 2
lea ecx, [ebp - 0x50]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0047d824
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 4]
mov ecx, 0x47e290
call fcn.004048b0
mov dword [ebp - 0x20], 3
mov eax, dword [0x48b010]
call fcn.0042f480
mov dword [ebp - 0x20], 4
xor eax, eax
push ebp
push 0x47e169
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 2
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.004093d8
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], 5
cmp dword [ebp - 0x1c], 0xf00000
jle 0x47e119
mov edx, dword [ebp - 0x10]
mov eax, 0x47e1d8
call fcn.00404ba8
test eax, eax
jle 0x47e0b9
xor eax, eax
push ebp
push 0x47e0ad
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x58]
mov eax, dword [0x489a88]
mov eax, dword [eax]
call fcn.00442ae4
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.004095c8
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x14]
mov ecx, 0x47e29c
call fcn.004048b0
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404a64
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404a64
push eax
call sub.kernel32.dll_CopyFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47e104
xor eax, eax
push ebp
push 0x47e0fa
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
mov ecx, 0x47e2b4
mov edx, dword [ebp - 0x10]
call fcn.004048b0
push 0
mov eax, dword [ebp - 0x14]
call fcn.00404a64
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404a64
push eax
call sub.kernel32.dll_CopyFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47e104
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 0x18]
call fcn.004093d8
mov eax, dword [ebp - 0x18]
push eax
call sub.kernel32.dll_SetEndOfFile
mov dword [ebp - 0x20], 6
cmp dword [ebp - 0x1c], 0xffffffff
jle 0x47e142
mov eax, dword [ebp - 4]
call fcn.00404864
push eax
lea eax, [ebp - 4]
call fcn.00404abc
mov edx, eax
mov eax, dword [ebp - 0x18]
pop ecx
call fcn.004093a0
mov dword [ebp - 0x20], 7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e170
mov eax, dword [ebp - 0x18]
call fcn.00409440
mov eax, dword [0x48b010]
call fcn.0042f494
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e1c4
lea eax, [ebp - 0x58]
mov edx, 0xc
call fcn.004045c8
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004045c8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004045c8
ret