Function at 0x46ece4
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x46
push 0
push 0
dec ecx
jne 0x46ecec
push ecx
push ebx
push esi
push edi
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x46fbfa
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x46fb8e
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
push ebp
push 0x46fb7a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x82], 0
jne 0x46ed3b
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [eax + 0x82], edx
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [eax + 0x9e], edx
xor eax, eax
mov dword [ebp - 0x4c], eax
mov ecx, 0xf003f
mov dl, 1
mov eax, dword [0x4282d4]
call fcn.00428418
mov ebx, eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 0xa6], ebx
mov eax, ebx
mov edx, 0x80000002
call fcn.004284b0
lea edx, [ebp - 0x1cc]
mov eax, 0x46fc10
call fcn.0044c378
mov edx, dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xa6]
xor ecx, ecx
call fcn.00428518
test al, al
jne 0x46edaf
call fcn.00404c38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46fb98
mov dl, 1
mov eax, dword [0x41d250]
call fcn.00404258
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x9e], eax
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x8d], 1
mov eax, dword [ebp - 0x20]
add eax, 0x9a
call fcn.00405280
mov edx, 0x46fc38
mov eax, dword [ebp - 0x20]
call fcn.004700f4
mov ebx, eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 0xba], ebx
test ebx, ebx
jne 0x46ee04
mov eax, dword [ebp - 0x20]
mov dword [eax + 0xba], 0x14
mov edx, 0x46fc4c
mov eax, dword [ebp - 0x20]
call fcn.004700f4
mov ebx, eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 0xbe], ebx
cmp ebx, 0x1e
jge 0x46ee2e
mov eax, dword [ebp - 0x20]
mov dword [eax + 0xbe], 0x708
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
test eax, eax
je 0x46ee7f
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x20]
mov byte [eax + 0xc2], 1
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x31], edx
mov dword [eax + 0x2d], fcn.0046dc50
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x39], edx
mov dword [eax + 0x35], fcn.0046da94
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x82], 0
jne 0x46eee4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc8]
mov dl, 1
call fcn.00438260
mov ebx, eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x82], ebx
lea eax, [ebx + 0x29]
mov edx, 0x46fc60
call fcn.004052d4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
mov edx, dword [eax]
call dword [edx + 0x3c]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x31], edx
mov dword [eax + 0x2d], fcn.0046dc50
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x39], edx
mov dword [eax + 0x35], fcn.0046da94
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc8]
call dword [eax + 0x50]
mov edx, dword [ebp - 0x20]
mov byte [edx + 0x48], al
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [eax + 0x49], edx
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [eax + 0x4d], edx
mov eax, dword [ebp - 0x20]
call fcn.0046e104
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x9e]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jne 0x46ef32
call fcn.00404c38
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46fb98
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x7a], eax
lea ecx, [ebp - 0x1d4]
mov edx, 0x46fc74
mov eax, dword [ebp - 0x20]
call fcn.004701d0
mov eax, dword [ebp - 0x1d4]
lea edx, [ebp - 0x1d0]
call fcn.004097bc
mov edx, dword [ebp - 0x1d0]
mov eax, dword [ebp - 0x20]
add eax, 0x8e
call fcn.004052d4
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x8e], 0
jne 0x46efb1
lea edx, [ebp - 0x1d8]
mov eax, 0x46fc88
call fcn.00456d10
mov ecx, dword [ebp - 0x1d8]
mov eax, dword [ebp - 0x20]
add eax, 0x8e
mov edx, 0x46fcb0
call fcn.00405598
lea ecx, [ebp - 0x1e0]
mov edx, 0x46fcc4
mov eax, dword [ebp - 0x20]
call fcn.004701d0
mov eax, dword [ebp - 0x1e0]
lea edx, [ebp - 0x1dc]
call fcn.004097bc
mov edx, dword [ebp - 0x1dc]
mov eax, dword [ebp - 0x20]
add eax, 0x96
call fcn.004052d4
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x96], 0
jne 0x46f01c
lea edx, [ebp - 0x1e4]
mov eax, 0x46fcdc
call fcn.00456d10
mov ecx, dword [ebp - 0x1e4]
mov eax, dword [ebp - 0x20]
add eax, 0x96
mov edx, 0x46fcb0
call fcn.00405598
lea edx, [ebp - 0x1e8]
mov eax, 0x46fc10
call fcn.0044c378
mov edx, dword [ebp - 0x1e8]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xa6]
xor ecx, ecx
call fcn.00428518
lea eax, [ebp - 0x24]
call fcn.00405280
lea eax, [ebp - 0x28]
call fcn.00405280
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xa6]
mov edx, 0x46fd04
call fcn.00428f30
test al, al
je 0x46f08c
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xa6]
mov edx, 0x46fd04
call fcn.00428cf8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jle 0x46f08c
push ebp
call fcn.0046e498
pop ecx
cmp dword [ebp - 0x24], 0
je 0x46f0be
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xa2]
mov ecx, dword [ebp - 0x24]
mov edx, 0x46fd18
call fcn.0041fed8
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xa6]
mov ecx, dword [ebp - 0x24]
mov edx, 0x46fd18
call fcn.00428c3c
cmp dword [ebp - 0x28], 0
je 0x46f0f0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xa2]
mov ecx, dword [ebp - 0x28]
mov edx, 0x46fd2c
call fcn.0041fed8
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xa6]
mov ecx, dword [ebp - 0x28]
mov edx, 0x46fd2c
call fcn.00428c3c
xor edx, edx
push ebp
push 0x46f12f
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
call sub.user32.dll_GetSystemMenu
test eax, eax
je 0x46f125
push 2
push 0xf060
push eax
call sub.user32.dll_EnableMenuItem
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46f139
mov byte [ebp - 0x71], 0
jmp 0x46fa60
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x9e]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
call fcn.00469114
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
cmp byte [eax + 0x4c], 0
jne 0x46f194
cmp byte [ebp - 0x71], 0
jne 0x46f194
push 9
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
call sub.user32.dll_ShowWindow
mov byte [ebp - 0x71], 1
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax + 0x4e]
mov edx, dword [ebp - 0x20]
mov byte [edx + 0xc2], al
mov byte [ebp - 0x39], 0
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x4c]
mov edx, dword [edx + 0x14]
call fcn.00405318
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 8], 0
setne byte [ebp - 0x46]
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x87], 0
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x88], 0
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x2c]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x89], eax
mov eax, dword [ebp - 0x20]
add eax, 0x9a
mov edx, dword [ebp - 0x4c]
mov edx, dword [edx + 4]
call fcn.004052d4
call fcn.0040bb04
fstp qword [ebp - 0x70]
wait
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x50]
inc eax
dec eax
je 0x46f212
dec eax
je 0x46f22a
dec eax
je 0x46f242
jmp 0x46f251
push 0
xor ecx, ecx
mov dx, 0xf
xor eax, eax
call fcn.0040b6cc
fadd qword [ebp - 0x70]
fstp qword [ebp - 0x70]
wait
jmp 0x46f255
push 0
xor ecx, ecx
xor edx, edx
mov ax, 1
call fcn.0040b6cc
fadd qword [ebp - 0x70]
fstp qword [ebp - 0x70]
wait
jmp 0x46f255
fld qword [ebp - 0x70]
fadd dword [0x46fd38]
fstp qword [ebp - 0x70]
wait
jmp 0x46f255
mov byte [ebp - 0x39], 1
mov eax, dword [ebp - 0x4c]
mov edx, dword [eax + 0x34]
mov dword [ebp - 0x58], edx
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x54], edx
push 0
mov cx, 0xf
xor edx, edx
xor eax, eax
call fcn.0040b6cc
fstp qword [ebp - 0x1f0]
wait
call fcn.0040bb04
fadd qword [ebp - 0x1f0]
mov eax, dword [ebp - 0x4c]
fstp qword [eax + 0x34]
wait
call fcn.0040bb04
mov eax, dword [ebp - 0x4c]
fstp qword [eax + 0x3c]
wait
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x1f8]
mov edx, 0x46fc10
call fcn.00405598
mov eax, dword [ebp - 0x1f8]
lea edx, [ebp - 0x1f4]
call fcn.0044c378
mov edx, dword [ebp - 0x1f4]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xa6]
mov cl, 1
call fcn.00428518
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0xa6]
mov eax, dword [ebp - 0x4c]
call fcn.00468df4
cmp byte [ebp - 0x39], 0
jne 0x46f2f9
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x10], 0
jne 0x46f2f9
mov byte [ebp - 0x39], 1
cmp byte [ebp - 0x39], 0
jne 0x46f46e
xor eax, eax
push ebp
push 0x46f464
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1fc]
mov eax, dword [ebp - 0x34]
call fcn.00449a4c
mov edx, dword [ebp - 0x1fc]
lea eax, [ebp - 0x34]
call fcn.00405318
push 0
lea eax, [ebp - 0x40]
push eax
mov ecx, 0x46fd44
mov edx, 0x46fd5c
mov eax, 0x80000002
call fcn.0044c504
cmp dword [ebp - 0x40], 0
jne 0x46f3ab
lea eax, [ebp - 0x204]
call fcn.0044b8f0
mov eax, dword [ebp - 0x204]
lea edx, [ebp - 0x200]
call fcn.004396dc
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x78], eax
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x78]
call fcn.0040e69c
lea eax, [ebp - 0x40]
mov ecx, 0x46fd78
mov edx, dword [ebp - 0x60]
call fcn.00405598
mov eax, dword [ebp - 0x40]
push eax
push 1
push 0
push 1
mov edx, 0x46fd5c
mov ecx, 0x46fd44
mov eax, 0x80000002
call fcn.0044c6fc
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x40]
call fcn.0040e69c
lea eax, [ebp - 0x40]
mov edx, dword [ebp - 0x64]
call fcn.00405318
cmp dword [ebp - 0x34], 0
je 0x46f456
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
je 0x46f3e2
mov eax, dword [ebp - 0x7c]
sub eax, 4
mov eax, dword [eax]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x7c]
cmp byte [eax + edx - 1], 0x5c
jne 0x46f45a
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x10]
call fcn.00456b5c
cmp dword [ebp - 0x5c], 0
je 0x46f41e
lea eax, [ebp - 0x44]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x40]
call fcn.00405598
lea eax, [ebp - 0x34]
mov edx, dword [ebp - 0x5c]
call fcn.0040554c
jmp 0x46f45a
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x4c]
push dword [eax + 0xc]
push 0x46fd8c
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00405614
push dword [ebp - 0x40]
mov eax, dword [ebp - 0x4c]
push dword [eax + 0xc]
push 0x46fd8c
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.00405614
jmp 0x46f45a
mov byte [ebp - 0x39], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46f46e
cmp byte [ebp - 0x39], 0
jne 0x46f63d
cmp byte [ebp - 0x46], 0
je 0x46f61b
xor eax, eax
push ebp
push 0x46f60f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x4c]
movzx edx, byte [eax + 0x4d]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x4c]
movzx edx, byte [eax + 0x4e]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
mov edx, dword [eax]
call dword [edx + 0x2c]
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x44], eax
lea ecx, [ebp - 0x208]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x96]
mov eax, dword [ebp - 0x20]
call fcn.0046cd08
mov edx, dword [ebp - 0x208]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea ecx, [ebp - 0x20c]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x8e]
mov eax, dword [ebp - 0x20]
call fcn.0046cd08
mov edx, dword [ebp - 0x20c]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea ecx, [ebp - 0x210]
xor edx, edx
mov eax, 0x46fd9c
call fcn.00435a50
mov edx, dword [ebp - 0x210]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
add eax, 0x19
call fcn.004052d4
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 8], 0
je 0x46f574
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
add eax, 0x1d
mov edx, dword [ebp - 0x4c]
mov edx, dword [edx + 8]
call fcn.004052d4
jmp 0x46f59d
lea ecx, [ebp - 0x214]
xor edx, edx
mov eax, 0x46fdb0
call fcn.00435a50
mov edx, dword [ebp - 0x214]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
add eax, 0x1d
call fcn.004052d4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
add eax, 0x21
mov edx, dword [ebp - 0x4c]
mov edx, dword [edx + 0x20]
call fcn.004052d4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
mov edx, dword [eax]
call dword [edx + 0x34]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
mov edx, dword [eax]
call dword [edx + 0x24]
test al, al
je 0x46f5e4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
mov edx, dword [eax]
call dword [edx + 0x38]
jmp 0x46f5f4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ebx, 0x65
call fcn.00446010
test al, al
je 0x46f605
dec ebx
jne 0x46f5f9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46f63d
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
mov edx, dword [eax]
call dword [edx + 0x24]
test al, al
je 0x46f63d
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov byte [ebp - 0x4d], 0
mov byte [ebp - 0x45], 0
mov byte [ebp - 0x4e], 0
cmp byte [ebp - 0x39], 0
jne 0x46f656
push ebp
call fcn.0046e81c
pop ecx
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x44], eax
cmp byte [ebp - 0x4d], 0
je 0x46f846
call fcn.0040bb04
mov eax, dword [ebp - 0x4c]
fstp qword [eax + 0x44]
wait
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x21c]
mov edx, 0x46fc10
call fcn.00405598
mov eax, dword [ebp - 0x21c]
lea edx, [ebp - 0x218]
call fcn.0044c378
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xa6]
xor ecx, ecx
call fcn.00428518
test al, al
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0xa6]
mov eax, dword [ebp - 0x4c]
call fcn.00468df4
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x48], 0
je 0x46f6dc
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x54]
mov edx, dword [ebp - 0x20]
add dword [edx + 0x4d], eax
xor eax, eax
push ebp
push 0x46f749
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x34]
call fcn.00439664
test al, al
je 0x46f70c
mov eax, dword [ebp - 0x34]
call fcn.00405710
push eax
call sub.kernel32.dll_DeleteFileA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
push 0
mov eax, dword [ebp - 0x34]
call fcn.00405710
push eax
mov eax, dword [ebp - 0x44]
call fcn.00405710
push eax
call sub.kernel32.dll_CopyFileA
mov eax, dword [ebp - 0x34]
call fcn.00439664
test al, al
je 0x46f73f
mov eax, dword [ebp - 0x44]
call fcn.00405710
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46f753
mov eax, dword [ebp - 0x4c]
mov esi, dword [eax + 0x30]
test esi, esi
jbe 0x46f804
cmp byte [ebp - 0x46], 0
je 0x46f7cc
lea ecx, [ebp - 0x220]
xor edx, edx
mov eax, 0x46fdc4
call fcn.00435a50
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
add eax, 0x19
call fcn.004052d4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
mov edx, dword [eax]
call dword [edx + 0x34]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
mov edx, dword [eax]
call dword [edx + 0x38]
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 0x68], eax
mov ebx, 0x65
call fcn.00446010
test al, al
je 0x46f7e5
dec ebx
jne 0x46f7d9
push 0xa
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_WaitForSingleObject
call sub.kernel32.dll_GetTickCount
imul edx, esi, 0x3e8
add edx, dword [ebp - 0x68]
cmp eax, edx
jbe 0x46f7d4
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x1c], 0
je 0x46fa18
xor eax, eax
push ebp
push 0x46f837
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x4c]
mov eax, dword [eax + 0x1c]
call fcn.00456994
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46fa18
mov eax, dword [ebp - 0x4c]
inc dword [eax + 0x50]
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x70]
mov dword [eax + 0x34], edx
mov edx, dword [ebp - 0x6c]
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xa6]
call fcn.00428480
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x228]
mov edx, 0x46fc10
call fcn.00405598
mov eax, dword [ebp - 0x228]
lea edx, [ebp - 0x224]
call fcn.0044c378
mov edx, dword [ebp - 0x224]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xa6]
xor ecx, ecx
call fcn.00428518
test al, al
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0xa6]
mov eax, dword [ebp - 0x4c]
call fcn.00468df4
mov eax, dword [ebp - 0x4c]
cmp dword [eax + 0x50], 3
jge 0x46f93a
cmp byte [ebp - 0x39], 0
jne 0x46f93a
cmp byte [ebp - 0x4e], 0
jne 0x46f93a
mov eax, dword [ebp - 0x4c]
xor edx, edx
mov dword [eax + 0x3c], edx
mov dword [eax + 0x40], edx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xa6]
call fcn.00428480
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x230]
mov edx, 0x46fc10
call fcn.00405598
mov eax, dword [ebp - 0x230]
lea edx, [ebp - 0x22c]
call fcn.0044c378
mov edx, dword [ebp - 0x22c]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xa6]
xor ecx, ecx
call fcn.00428518
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0xa6]
mov eax, dword [ebp - 0x4c]
call fcn.00468df4
jmp 0x46fa18
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xa6]
call fcn.00428480
mov eax, dword [ebp - 0x4c]
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x234]
mov edx, 0x46fc10
call fcn.00405598
mov edx, dword [ebp - 0x234]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xa6]
call fcn.0042880c
mov eax, dword [ebp - 0x44]
call fcn.00439664
test al, al
je 0x46f9bb
xor eax, eax
push ebp
push 0x46f9b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x80
mov eax, dword [ebp - 0x44]
call fcn.0040a148
mov eax, dword [ebp - 0x44]
call fcn.00405710
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46f9bb
cmp byte [ebp - 0x4e], 0
jne 0x46f9cd
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x87], 0
je 0x46fa18
xor eax, eax
push ebp
push 0x46fa0e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x1c8]
call fcn.004036dc
mov edx, 0x80
lea eax, [ebp - 0x1c8]
call fcn.00403bf8
lea eax, [ebp - 0x1c8]
call fcn.00403878
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46fa18
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0xaa], 0
je 0x46fa44
push 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xaa]
push eax
call sub.kernel32.dll_WaitForSingleObject
test eax, eax
je 0x46fa76
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0xd], 0
jne 0x46fa76
mov eax, dword [ebp - 0x20]
call fcn.0046e104
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x9e]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jg 0x46f142
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fb84
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xa6]
test eax, eax
je 0x46fad0
xor edx, edx
push ebp
push 0x46faad
push dword fs:[edx]
mov dword fs:[edx], esp
call fcn.00428480
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46fab7
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xa6]
call fcn.00404288
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [eax + 0xa6], edx
cmp dword [ebp - 0x4c], 0
je 0x46fade
mov eax, dword [ebp - 0x4c]
call fcn.00404288
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x82], 0
je 0x46fb4e
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0xc8]
call dword [eax + 0x4c]
test al, al
jne 0x46fb36
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x28]
mov ebx, 0x65
call fcn.00446010
test al, al
je 0x46fb1b
dec ebx
jne 0x46fb0f
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
call fcn.00404288
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [eax + 0x82], edx
jmp 0x46fb4e
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x82]
mov edx, dword [eax]
call dword [edx + 0x30]
mov eax, dword [ebp - 0x20]
mov byte [eax + 0xc2], 1
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x9e]
test eax, eax
je 0x46fb79
call fcn.00469244
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x9e]
call fcn.00404288
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [eax + 0x9e], edx
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46fc01
lea eax, [ebp - 0x234]
mov edx, 0x11
call fcn.004052a4
lea eax, [ebp - 0x1e8]
mov edx, 8
call fcn.004052a4
lea eax, [ebp - 0x64]
mov edx, 3
call fcn.004052a4
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004052a4
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.004052a4
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.004052a4
ret