Function at 0x46fd28
Capabilities:
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0xe
push 0
push 0
dec ecx
jne 0x46fd31
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x470ef7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0046f8b0
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x470ecf
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x8c], 2
je 0x470ecf
mov eax, dword [ebp - 0x20]
mov edx, dword [0x477dd4]
mov dword [eax + 0x20a0], edx
mov edx, dword [0x477dd8]
mov dword [eax + 0x20a4], edx
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
call fcn.0040ffe0
cmp eax, 8
jge 0x46fda8
mov ebx, 0x14
jmp 0x46fdcc
mov eax, dword [ebp - 0x20]
mov edi, dword [eax + 4]
mov ebx, dword [edi + 4]
mov eax, edi
call fcn.0040ffe0
mov edx, dword [ebx + 4]
sub edx, eax
mov ebx, edx
cmp ebx, 0x1000
jle 0x46fdcc
mov ebx, 0x1000
mov eax, dword [ebp - 0x20]
lea edx, [eax + 0x96]
mov ecx, ebx
mov eax, esi
call fcn.0044f614
mov edi, eax
test edi, edi
jg 0x46fdec
test ebx, ebx
jne 0x470ecf
mov eax, dword [ebp - 0x20]
lea ebx, [eax + 0x96]
cmp dword [ebx], 0x13572469
jne 0x46fe09
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
call fcn.0040ffe0
test eax, eax
jg 0x46fe20
cmp dword [ebx], 0x13572469
jne 0x46fe36
mov eax, dword [ebp - 0x20]
lea edx, [eax + 0x96]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
mov ecx, edi
mov ebx, dword [eax]
call dword [ebx + 8]
mov eax, dword [ebp - 0x20]
mov edi, dword [eax + 4]
mov ebx, dword [edi + 4]
mov eax, edi
call fcn.0040ffe0
test eax, eax
jle 0x470ecf
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
call fcn.0040ffe0
cmp eax, dword [ebx + 4]
jne 0x470ecf
mov eax, dword [ebp - 0x20]
inc dword [eax + 0x68]
xor edx, edx
push ebp
push 0x470ec8
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebx + 4]
mov eax, ebx
call fcn.00454b54
test al, al
jne 0x470ea9
cmp byte [ebx + 0xd], 0xd
jne 0x46feab
mov ecx, dword [ebx + 0x10]
mov eax, dword [ebp - 0x20]
add eax, 0x30
mov edx, 0xa
call fcn.00455398
call fcn.004035cc
jmp 0x470ecf
mov dl, 1
mov eax, dword [0x4547f4]
call fcn.00402da4
mov dword [ebp - 0x24], eax
xor edx, edx
push ebp
push 0x470ea2
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 4]
xor ecx, ecx
mov eax, dword [ebp - 0x24]
call fcn.00410088
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
call fcn.00410358
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax + 4]
cmp byte [ebx + 0xe], 0
je 0x46fefa
mov edx, dword [ebx + 8]
mov eax, dword [ebp - 0x20]
call fcn.0046f1a0
mov edx, dword [ebx + 8]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
call fcn.0040e62c
test eax, eax
jge case.0x46ff74.103
mov edx, dword [ebx + 8]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
call fcn.0040e474
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
cmp dword [eax + 8], 0x64
jle 0x46ff31
xor edx, edx
call fcn.0040e4c0
cmp byte [0x476590], 0
jne case.0x46ff74.103
cmp byte [ebx + 0xd], 0xa
jne 0x470b75
mov al, byte [ebx + 0xc]
cmp al, 0x65
je 0x46ff63
mov edx, dword [ebp - 0x20]
cmp byte [edx + 0x8c], 1
je 0x46ff63
cmp al, 0x80
jne case.0x46ff74.103
and eax, 0xff
add eax, 0xffffff9b
cmp eax, 0x1e
ja case.0x46ff74.103
jmp dword [eax*4 + 0x46ff7b]
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x95], 0xff
jmp 0x470016
push 1
call sub.kernel32.dll_Sleep
mov eax, dword [0x476888]
mov eax, dword [eax]
call fcn.004489cc
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x8d], 0
jne 0x470003
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x8e], 0
je case.0x46ff74.103
xor edx, edx
mov eax, dword [ebp - 0x20]
call fcn.00470f30
jmp case.0x46ff74.103
mov dword [ebp - 0x34], 0xa
cmp dword [ebx + 0x10], 0x20015
je 0x470071
push 0
mov ecx, 0x20015
mov edx, 0x9e
mov eax, dword [ebp - 0x20]
call fcn.0046f16c
mov dword [ebp - 0x34], 1
jmp 0x47015c
mov eax, dword [0x477db4]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x47015c
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 8], 0
lea edi, [ebx + 0x20]
lea eax, [ebp - 0x3c]
lea edx, [edi + 0x80]
call fcn.00403d20
mov eax, dword [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
mov edx, edi
call fcn.00403d20
mov eax, dword [ebp - 0x40]
pop edx
call fcn.0046e9b8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x470150
mov eax, dword [ebp - 0xc]
cmp word [eax + 0x20], 0
je 0x4700d8
mov dword [ebp - 0x34], 2
jmp 0x47015c
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x8c], 1
lea eax, [ebp - 0x44]
mov edx, edi
call fcn.00403d20
mov ecx, dword [ebp - 0x44]
mov edx, dword [0x4768fc]
mov edx, dword [edx]
mov eax, dword [ebp - 0x20]
add eax, 0x60
call fcn.00403dc8
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x88], edx
push 0
movzx ecx, word [0x477dca]
mov edx, 0x97
mov eax, dword [ebp - 0x20]
call fcn.0046f16c
cmp dword [0x47659c], 0x11538999
jne 0x47015c
cmp dword [0x4765a0], 0
je 0x47015c
mov eax, dword [0x4765a0]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jle 0x47015c
mov eax, dword [ebp - 0x20]
call fcn.0046fc5c
jmp 0x47015c
inc dword [ebp - 8]
dec dword [ebp - 0x38]
jne 0x47008d
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x8c], 0
jne case.0x46ff74.103
push 0
mov ecx, dword [ebp - 0x34]
mov edx, 0x98
mov eax, dword [ebp - 0x20]
call fcn.0046f16c
cmp dword [ebp - 0x34], 1
jne case.0x46ff74.103
mov eax, esi
call fcn.0044ec38
jmp case.0x46ff74.103
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x8c], 1
jne case.0x46ff74.103
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x8c], 0
push 0
xor ecx, ecx
mov edx, 0x99
mov eax, dword [ebp - 0x20]
call fcn.0046f16c
jmp case.0x46ff74.103
cmp byte [0x476598], 0
je 0x470240
lea edi, [ebx + 0x20]
lea eax, [ebp - 0x48]
mov edx, edi
call fcn.00403d20
mov eax, dword [ebp - 0x48]
call fcn.0046e900
test eax, eax
je 0x4701fc
push 0
xor ecx, ecx
mov edx, 0xa7
mov eax, dword [ebp - 0x20]
call fcn.0046f16c
jmp case.0x46ff74.103
lea eax, [ebp - 0x4c]
lea edx, [edi + 0x80]
call fcn.00403d20
mov eax, dword [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
mov edx, edi
call fcn.00403d20
mov eax, dword [ebp - 0x50]
pop edx
call fcn.0046ea84
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x88], eax
push 0
xor ecx, ecx
mov edx, 0xa8
mov eax, dword [ebp - 0x20]
call fcn.0046f16c
jmp case.0x46ff74.103
push 0
xor ecx, ecx
mov edx, 0xab
mov eax, dword [ebp - 0x20]
call fcn.0046f16c
jmp case.0x46ff74.103
mov edx, 0x20
mov eax, dword [ebp - 0x24]
call fcn.0040ffd4
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x24]
call fcn.00454ab4
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
call fcn.0046fb18
jmp case.0x46ff74.103
mov edx, 0x20
mov eax, dword [ebp - 0x24]
call fcn.0040ffd4
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x24]
call fcn.00454ab4
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x10]
call fcn.0046d8bc
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x60]
lea eax, [ebp - 0x10]
call fcn.00403dc8
lea eax, [ebp - 0x58]
mov ecx, 0x470f10
mov edx, dword [ebp - 0x10]
call fcn.00403dc8
mov eax, dword [ebp - 0x58]
mov dx, 0xffff
call fcn.00454b80
test eax, eax
je case.0x46ff74.103
call fcn.00402dd4
jmp case.0x46ff74.103
mov edx, 0x20
mov eax, dword [ebp - 0x24]
call fcn.0040ffd4
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x24]
call fcn.00454ab4
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x60]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x5c]
add eax, 0x30
mov ecx, dword [ebp - 0x10]
call fcn.00403dc8
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x5c]
mov edx, 0x470f24
call fcn.00454060
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x5c]
mov byte [eax + 0x61], 1
mov byte [eax + 0x58], 0
mov eax, dword [ebp - 0x20]
mov word [eax + 0x6c], 0x83
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x5c]
call fcn.00454094
push 0
xor ecx, ecx
mov edx, 0xaa
mov eax, dword [ebp - 0x20]
call fcn.0046f16c
jmp case.0x46ff74.103
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x8c], 1
jne case.0x46ff74.103
mov eax, dword [ebp - 0x20]
mov word [eax + 0x6c], 0x69
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x95], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [eax + 0x64], edx
mov edx, 0x20
mov eax, dword [ebp - 0x24]
call fcn.0040ffd4
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x24]
call fcn.00454ab4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
xor edx, edx
call fcn.0040ffd4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x84]
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x60]
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
call fcn.00403dc8
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x10]
call fcn.0046d938
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x5c]
add eax, 0x30
call fcn.00403b50
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x5c]
mov byte [eax + 0x61], 1
mov byte [eax + 0x58], 0
call fcn.00454094
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax + 8]
mov eax, ebx
call fcn.0040ffc4
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx]
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x84]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
call fcn.00454a34
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x84]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x470484
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
mov ecx, 4
mov ebx, dword [eax]
call dword [ebx + 8]
inc dword [ebp - 8]
dec dword [ebp - 0x38]
jne 0x470455
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
call fcn.0040ffe0
dec eax
jne 0x47049e
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx]
mov eax, dword [ebp - 0x20]
lea ebx, [eax + 0x1096]
mov byte [ebx + 0xd], 0xc
mov byte [ebx + 0xe], 0xff
mov dword [ebx + 4], 0x20
mov byte [ebx + 0xc], 0xcb
lea edx, [ebp - 0x64]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x5c]
mov eax, dword [eax + 0x30]
call fcn.0046d8bc
mov eax, dword [ebp - 0x64]
call fcn.00453314
test al, al
je 0x4704e2
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x64]
mov dword [ebx + 0x10], eax
jmp 0x4704e9
mov dword [ebx + 0x10], 0xffffffff
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
call fcn.0040ffe0
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x2098]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x2098]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp - 0x20]
inc dword [eax + 0x2098]
mov edx, ebx
mov eax, dword [ebp - 0x20]
call fcn.0046ef10
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
xor edx, edx
call fcn.0040ffd4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
call fcn.0040ffe0
test eax, eax
jle case.0x46ff74.103
push 1
push 2
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 8]
mov cl, 0xcd
mov eax, dword [ebp - 0x20]
call fcn.0046f0b0
jmp case.0x46ff74.103
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x8c], 1
jne 0x47059d
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x95], 0
lea edx, [ebp - 0x10]
lea eax, [ebx + 0x20]
call fcn.004549c4
mov eax, dword [ebp - 0x20]
add eax, 0x28
mov edx, dword [ebp - 0x10]
call fcn.00403b50
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
call fcn.0046f2e4
jmp case.0x46ff74.103
push 0
mov ecx, 0x470f28
mov edx, 0x470f28
mov eax, dword [0x476888]
mov eax, dword [eax]
call fcn.00448cd0
jmp case.0x46ff74.103
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x8c], 1
jne 0x470714
jmp 0x4705df
push 1
call sub.kernel32.dll_Sleep
mov eax, dword [0x476888]
mov eax, dword [eax]
call fcn.004489cc
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x8d], 0
jne 0x4705cc
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x95], 0
cmp dword [ebx + 0x1c], 0
je 0x470645
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.004602a0
push 0
mov ecx, dword [ebx + 4]
sub ecx, 0x20
lea edx, [ebx + 0x20]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
call fcn.004602d8
mov edx, 0x20
mov eax, dword [ebp - 0x24]
call fcn.0040ffd4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x30c]
mov edx, dword [eax + 0x24]
xor ecx, ecx
mov eax, dword [ebp - 0x24]
call fcn.00410088
mov edx, 0x20
mov eax, dword [ebp - 0x24]
call fcn.0040ffd4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20a8]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 0x24]
call fcn.00454ab4
mov edx, dword [ebp - 0x68]
mov eax, dword [ebp - 0x20]
add eax, 0x28
call fcn.00403b50
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x28], 0
je 0x4706c5
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20a8]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x24]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax + 0x20a8]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
mov ecx, dword [ebp - 8]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x24]
jmp 0x470660
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20a8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
jne 0x470707
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20a8]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x20]
add eax, 0x28
mov edx, dword [ebp - 0x10]
call fcn.00403b50
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
call fcn.0046f2e4
jmp case.0x46ff74.103
mov eax, dword [ebp - 0x20]
call fcn.0046f43c
jmp case.0x46ff74.103
push 0
mov ecx, 0x470f28
mov edx, 0x470f28
mov eax, dword [0x476888]
mov eax, dword [eax]
call fcn.00448cd0
jmp case.0x46ff74.103
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x8c], 1
jne 0x4707a9
lea edx, [ebp - 0x10]
lea eax, [ebx + 0x20]
call fcn.004549c4
lea ecx, [ebp - 0x6c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
call fcn.0046f1c4
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x10]
call fcn.00403b94
push 0x20
mov eax, dword [ebp - 0x10]
call fcn.00403f40
mov ebx, eax
push ebx
call sub.kernel32.dll_SetFileAttributesA
push ebx
call sub.kernel32.dll_DeleteFileA
test eax, eax
jne 0x470793
push 0
xor ecx, ecx
mov edx, 0xa3
mov eax, dword [ebp - 0x20]
call fcn.0046f16c
jmp case.0x46ff74.103
push 0
xor ecx, ecx
mov edx, 0xa4
mov eax, dword [ebp - 0x20]
call fcn.0046f16c
jmp case.0x46ff74.103
push 0
xor ecx, ecx
mov edx, 0x9c
mov eax, dword [ebp - 0x20]
call fcn.0046f16c
jmp case.0x46ff74.103
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x8c], 1
jne case.0x46ff74.103
lea edx, [ebp - 0x10]
lea eax, [ebx + 0x20]
call fcn.004549c4
lea ecx, [ebp - 0x70]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
call fcn.0046f1c4
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x10]
call fcn.00403b94
mov eax, dword [ebp - 0x10]
call fcn.00403f40
push eax
call sub.kernel32.dll_RemoveDirectoryA
test eax, eax
jmp case.0x46ff74.103
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x8c], 1
jne case.0x46ff74.103
lea edx, [ebp - 0x10]
lea eax, [ebx + 0x20]
call fcn.004549c4
lea ecx, [ebp - 0x74]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
call fcn.0046f1c4
mov edx, dword [ebp - 0x74]
lea eax, [ebp - 0x10]
call fcn.00403b94
mov eax, dword [ebp - 0x10]
call fcn.00453338
test al, al
jmp case.0x46ff74.103
xor eax, eax
mov dword [ebp - 8], eax
test byte [ebx + 0x15], 1
je 0x47085d
mov dword [ebp - 8], 1
test byte [ebx + 0x17], 0x80
je 0x470867
or dword [ebp - 8], 2
push 0
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebx + 0x14]
shr eax, 8
push eax
mov al, byte [ebx + 0x10]
push eax
call sub.user32.dll_keybd_event
jmp case.0x46ff74.103
mov esi, 0x8000
lea edi, [ebx + 0x20]
mov eax, dword [ebx + 0x10]
cmp eax, 0x200
jg 0x4708e6
je 0x470941
cmp eax, 0xa4
jg 0x4708ce
je 0x47095f
sub eax, 0x84
je 0x470946
sub eax, 0x1c
je 0x470969
dec eax
je 0x47094b
dec eax
je 0x470950
jmp case.0x4708f4.515
sub eax, 0xa5
je 0x470964
sub eax, 2
je 0x470955
dec eax
je 0x47095a
jmp case.0x4708f4.515
add eax, 0xfffffdff
cmp eax, 9
ja case.0x4708f4.515
jmp dword [eax*4 + 0x4708fb]
or esi, 2
jmp case.0x4708f4.515
or esi, 4
jmp case.0x4708f4.515
or esi, 0x20
jmp case.0x4708f4.515
or esi, 0x40
jmp case.0x4708f4.515
or esi, 8
jmp case.0x4708f4.515
or esi, 0x10
jmp case.0x4708f4.515
or esi, 1
jmp case.0x4708f4.515
or esi, 1
jmp case.0x4708f4.515
or esi, 2
jmp case.0x4708f4.515
or esi, 4
jmp case.0x4708f4.515
or esi, 0x20
jmp case.0x4708f4.515
or esi, 0x40
jmp case.0x4708f4.515
or esi, 8
jmp case.0x4708f4.515
or esi, 0x10
jmp case.0x4708f4.515
or esi, 1
jmp case.0x4708f4.515
or esi, 0x800
mov eax, dword [0x4769c8]
mov eax, dword [eax]
call fcn.0044694c
push eax
mov eax, dword [edi]
shl eax, 0x10
pop edx
mov ecx, edx
cdq
idiv ecx
mov dword [ebp - 0x28], eax
mov eax, dword [0x4769c8]
mov eax, dword [eax]
call fcn.00446940
push eax
mov eax, dword [edi + 4]
shl eax, 0x10
pop edx
mov ecx, edx
cdq
idiv ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x28], 0x10000
jge case.0x46ff74.103
cmp dword [ebp - 0x2c], 0x10000
jge case.0x46ff74.103
mov eax, dword [ebx + 0x10]
cmp eax, 0x20a
jne 0x4709d4
mov edi, dword [edi + 0x10]
jmp 0x4709d6
xor edi, edi
cmp eax, 0x200
je 0x4709f3
push 0
push 0
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x28]
push eax
push 0x8001
call sub.user32.dll_mouse_event
push 0
push edi
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x28]
push eax
push esi
call sub.user32.dll_mouse_event
jmp case.0x46ff74.103
mov eax, dword [ebx + 0x10]
mov edx, dword [ebp - 0x20]
cmp eax, dword [edx + 0x10]
jne case.0x46ff74.103
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x18]
mov edx, dword [0x46cbb4]
call fcn.00402f64
mov byte [eax + 0x49], 1
mov eax, dword [ebp - 0x20]
not dword [eax + 0x10]
mov eax, dword [ebp - 0x20]
mov ebx, dword [eax + 0x14]
cmp ebx, 0xd0
jne 0x470a5a
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x28], 0
je 0x470a5a
mov eax, dword [ebp - 0x20]
add eax, 0x28
call fcn.00403afc
jmp case.0x46ff74.103
cmp ebx, 0xd4
jne case.0x46ff74.103
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20a8]
mov edx, dword [eax]
call dword [edx + 0x40]
jmp case.0x46ff74.103
mov eax, dword [ebx + 0x10]
mov edx, dword [ebp - 0x20]
cmp eax, dword [edx + 0x10]
jne case.0x46ff74.103
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x18]
mov edx, dword [0x46cbb4]
call fcn.00402f64
add eax, 0x38
push eax
mov eax, dword [ebx + 0x14]
cdq
pop ecx
mov dword [ecx], eax
mov dword [ecx + 4], edx
jmp case.0x46ff74.103
mov eax, dword [ebx + 0x10]
mov edx, dword [ebp - 0x20]
cmp eax, dword [edx + 0x10]
jne case.0x46ff74.103
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x8e], 0
je case.0x46ff74.103
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x20b0], 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x72]
add eax, 0x400
dec eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
jns 0x470af0
add eax, 0x3ff
sar eax, 0xa
mov dword [ebp - 8], eax
jmp 0x470b18
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x90]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20ac]
call fcn.0040e474
mov eax, dword [ebp - 0x20]
inc dword [eax + 0x90]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x90]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 8]
cdq
cmp edx, dword [esp + 4]
jne 0x470b38
cmp eax, dword [esp]
pop edx
pop eax
ja 0x470af8
jmp 0x470b3c
pop edx
pop eax
jg 0x470af8
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20ac]
cmp dword [eax + 8], 0
jle 0x470b5b
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0046f9d0
jmp case.0x46ff74.103
push 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x10]
mov edx, 0x9f
mov eax, dword [ebp - 0x20]
call fcn.0046f16c
jmp case.0x46ff74.103
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x8c], 1
jne case.0x46ff74.103
cmp byte [ebx + 0xd], 0xc
jne 0x470e63
mov al, byte [ebx + 0xc]
sub al, 0xce
je 0x470ba3
sub al, 2
je 0x470d46
jmp case.0x46ff74.103
mov dword [0x476594], 0x1f4
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x8c], 1
jne 0x470d2f
lea edx, [ebp - 0x10]
lea eax, [ebx + 0x20]
call fcn.004549c4
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x10]
call fcn.0046f8f4
lea ecx, [ebp - 0x78]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
call fcn.0046f1c4
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 0x10]
call fcn.00403b94
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.004087dc
mov eax, dword [ebp - 0x14]
call fcn.00453314
test al, al
jne 0x470c0e
mov eax, dword [ebp - 0x14]
call fcn.00453338
mov eax, dword [ebp - 0x10]
call fcn.004084c4
inc eax
je 0x470c29
push 0x20
mov eax, dword [ebp - 0x10]
call fcn.00403f40
push eax
call sub.kernel32.dll_SetFileAttributesA
mov dx, 0xffff
mov eax, dword [ebp - 0x10]
call fcn.00454b80
mov edx, dword [ebp - 0x20]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x20]
add eax, 0x28
mov edx, dword [ebp - 0x10]
call fcn.00403b50
mov eax, dword [ebx + 0x14]
and eax, 0xffff0000
xor edx, edx
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x72], eax
mov dword [ecx + 0x76], edx
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x76]
mov eax, dword [eax + 0x72]
shld edx, eax, 0x10
shl eax, 0x10
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x72], eax
mov dword [ecx + 0x76], edx
mov eax, dword [ebx + 0x10]
cdq
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x72]
adc edx, dword [ecx + 0x76]
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x72], eax
mov dword [ecx + 0x76], edx
mov eax, dword [ebx + 0x14]
and eax, 0xffff
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x7a], eax
mov eax, dword [ebx + 0x18]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x7e], eax
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0xc], 0
jne 0x470cca
push 0
xor ecx, ecx
mov edx, 0xa0
mov eax, dword [ebp - 0x20]
call fcn.0046f16c
jmp case.0x46ff74.103
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x76], 0
jne 0x470cfd
cmp dword [eax + 0x72], 0
jne 0x470cfd
mov dl, 1
mov eax, dword [ebp - 0x20]
call fcn.00470f30
push 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x10]
mov edx, 0x9f
mov eax, dword [ebp - 0x20]
call fcn.0046f16c
jmp case.0x46ff74.103
mov eax, dword [ebp - 0x20]
xor edx, edx
mov dword [eax + 0x90], edx
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x20b0], 1
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20ac]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x8e], 0xff
jmp case.0x46ff74.103
push 0
mov ecx, dword [ebx + 0x1c]
mov edx, 0x9c
mov eax, dword [ebp - 0x20]
call fcn.0046f16c
jmp case.0x46ff74.103
mov dword [0x476594], 0x1f4
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x8e], 0
je case.0x46ff74.103
mov eax, dword [ebx + 0x10]
mov edx, dword [ebp - 0x20]
cmp eax, dword [edx + 0x10]
jne case.0x46ff74.103
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x20b0], 0
je 0x470e2b
mov eax, dword [ebx + 0x14]
cdq
push edx
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x90]
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x470da3
cmp eax, dword [esp]
pop edx
pop eax
ja case.0x46ff74.103
jmp 0x470dab
pop edx
pop eax
jg case.0x46ff74.103
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x90]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x14]
cdq
cmp edx, dword [esp + 4]
jne 0x470dcb
cmp eax, dword [esp]
pop edx
pop eax
jbe 0x470e15
jmp 0x470df1
pop edx
pop eax
jle 0x470e15
jmp 0x470df1
mov eax, dword [ebp - 0x20]
mov edx, dword [eax + 0x90]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20ac]
call fcn.0040e474
mov eax, dword [ebp - 0x20]
inc dword [eax + 0x90]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x90]
xor edx, edx
push edx
push eax
mov eax, dword [ebx + 0x14]
cdq
cmp edx, dword [esp + 4]
jne 0x470e11
cmp eax, dword [esp]
pop edx
pop eax
ja 0x470dd1
jmp 0x470e15
pop edx
pop eax
jg 0x470dd1
mov eax, dword [ebp - 0x20]
inc dword [eax + 0x90]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0046f758
jmp case.0x46ff74.103
mov edx, dword [ebx + 0x14]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20ac]
call fcn.0040e62c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x470e56
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20ac]
mov edx, dword [ebp - 8]
call fcn.0040e4c0
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0046f758
jmp case.0x46ff74.103
cmp byte [ebx + 0xd], 0xb
jne case.0x46ff74.103
mov al, byte [ebx + 0xc]
sub al, 0xa0
je 0x470e76
sub al, 5
je 0x470e82
jmp case.0x46ff74.103
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x95], 0xff
jmp case.0x46ff74.103
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x95], 0xff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470ea9
mov eax, dword [ebp - 0x24]
call fcn.00402dd4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470ecf
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 4]
call fcn.00410358
mov eax, dword [ebp - 0x20]
dec dword [eax + 0x68]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470efe
lea eax, [ebp - 0x78]
mov edx, 0x10
call fcn.00403b20
lea eax, [ebp - 0x1c]
mov edx, 4
call fcn.00403b20
ret