Function at 0x40ff40
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48990c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x188
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x4a1b34
lea eax, [ebp - 0xc8]
push esi
push eax
call fcn.004123c0
add esp, 0xc
push str.Uninstall_Ext.xml
lea ecx, [ebp - 0xa0]
push esi
xor edi, edi
push ecx
mov dword [ebp - 4], edi
call fcn.004123c0
add esp, 0xc
mov al, 1
mov byte [ebp - 0x11], al
mov byte [ebp - 0x35], al
mov eax, 0x7fec
lea edx, [ebp - 0x188]
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x174]
mov dword [ebp - 0x154], edx
mov ecx, eax
lea edx, [ebp - 0x154]
mov dword [ebp - 0x18c], edi
mov dword [ebp - 0x184], edi
mov dword [ebp - 0x180], edi
mov dword [ebp - 0x178], edi
mov dword [ebp - 0x170], edi
mov dword [ebp - 0x16c], edi
mov dword [ebp - 0x168], edi
mov dword [ebp - 0x164], edi
mov dword [ebp - 0x15c], edi
mov dword [ebp - 0x158], edi
mov dword [ebp - 0x174], 0x1401
mov dword [ebp - 0x14c], edi
mov dword [ebp - 0x148], edi
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x188], edx
mov byte [ebp - 4], 2
cmp dword [ebp - 0xb4], 8
mov eax, dword [ebp - 0xc8]
jae 0x410043
lea eax, [ebp - 0xc8]
push eax
lea ebx, [ebp - 0xac]
lea ecx, [ebp - 0x190]
call fcn.00403a60
xor ebx, ebx
cmp dword [ebp - 0xac], ebx
jne 0x410718
mov ebx, str.Uninstall
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x190]
call fcn.00403760
mov ebx, str.Internal
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x3c]
call fcn.00403760
cmp dword [ebp - 0x3c], 0
je 0x4106fe
cmp dword [ebp - 0x34], 0
je 0x4106fe
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x3c], eax
mov ebx, 0x4a1b9c
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.00403760
cmp dword [ebp - 0x10], 0
je 0x41028b
mov ebx, str.path
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0x10]
call fcn.004037d0
mov eax, dword [eax]
xor edi, edi
cmp eax, edi
je 0x4100d9
mov eax, dword [eax + 8]
cmp eax, edi
jne 0x4100de
mov eax, 0x4a05a8
xor ecx, ecx
mov word [ebp - 0x30], cx
mov ecx, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], edi
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x4100f3
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x30]
call fcn.00405330
push 4
mov eax, str..
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.00411a10
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov ebx, 8
cmp dword [eax + 0x14], ebx
jb 0x41012f
mov eax, dword [eax]
push ecx
push eax
lea edx, [ebp - 0x30]
push edx
call fcn.00411b40
cmp eax, 0xffffffff
je 0x4101d4
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x3c]
push ecx
lea ecx, [eax + edx]
lea esi, [ebp - 0x58]
lea edx, [ebp - 0x30]
call fcn.004118e0
mov esi, eax
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x4101bf
cmp dword [ebp - 0x1c], ebx
jb 0x410172
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0041a981
add esp, 4
xor edx, edx
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], dx
cmp dword [esi + 0x14], ebx
jae 0x41019d
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x30]
push esi
push ecx
call fcn.00419e00
add esp, 0xc
jmp 0x4101a4
mov edx, dword [esi]
mov dword [ebp - 0x30], edx
mov dword [esi], edi
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x1c], ecx
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], dx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x44], ebx
jb 0x4101d4
mov eax, dword [ebp - 0x58]
push eax
call fcn.0041a981
add esp, 4
xor ecx, ecx
push edi
lea edx, [ebp - 0x30]
mov word [ebp - 0x78], cx
push edx
or eax, 0xffffffff
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], edi
call fcn.00405230
mov byte [ebp - 4], 5
xor eax, eax
push edi
lea ecx, [ebp - 0x78]
mov word [ebp - 0x58], ax
push ecx
mov esi, 7
or eax, 0xffffffff
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], edi
call fcn.00405230
cmp dword [ebp - 0x64], ebx
jb 0x41022a
mov edx, dword [ebp - 0x78]
push edx
call fcn.0041a981
add esp, 4
xor eax, eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], edi
mov word [ebp - 0x78], ax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 6
call fcn.00411910
cmp dword [ebp - 0x44], ebx
jb 0x410256
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.0041a981
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], ebx
jb 0x41026b
mov edx, dword [ebp - 0x30]
push edx
call fcn.0041a981
add esp, 4
mov ebx, 0x4a1b9c
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x10]
call fcn.00403840
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4100ba
mov esi, dword [ebp + 0xc]
mov ebx, str.File
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.00403760
cmp dword [ebp - 0x10], 0
je 0x41046f
mov ebx, str.path
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x10]
call fcn.004037d0
mov eax, dword [eax]
test eax, eax
je 0x4102c2
mov eax, dword [eax + 8]
test eax, eax
jne 0x4102c7
mov eax, 0x4a05a8
xor ecx, ecx
mov word [ebp - 0x30], cx
mov ebx, 7
mov ecx, eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x4102e1
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x30]
call fcn.00405330
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], bl
mov ecx, dword [eax + 0x10]
mov edi, 8
cmp dword [eax + 0x14], edi
jb 0x41030e
mov eax, dword [eax]
push ecx
push eax
lea edx, [ebp - 0x30]
push edx
call fcn.00411b40
cmp eax, 0xffffffff
je 0x4103b6
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x3c]
push ecx
lea ecx, [eax + edx]
lea esi, [ebp - 0x58]
lea edx, [ebp - 0x30]
call fcn.004118e0
mov esi, eax
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x4103a2
cmp dword [ebp - 0x1c], edi
jb 0x410351
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0041a981
add esp, 4
xor edx, edx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], dx
cmp dword [esi + 0x14], edi
jae 0x41037c
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x30]
push esi
push ecx
call fcn.00419e00
add esp, 0xc
jmp 0x410387
mov edx, dword [esi]
mov dword [ebp - 0x30], edx
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x1c], ecx
xor edx, edx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], 0
mov word [esi], dx
mov byte [ebp - 4], bl
cmp dword [ebp - 0x44], edi
jb 0x4103b6
mov eax, dword [ebp - 0x58]
push eax
call fcn.0041a981
add esp, 4
xor esi, esi
xor ecx, ecx
push esi
lea edx, [ebp - 0x30]
mov word [ebp - 0x78], cx
push edx
or eax, 0xffffffff
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x68], esi
call fcn.00405230
mov byte [ebp - 4], 9
xor eax, eax
push esi
lea ecx, [ebp - 0x78]
mov word [ebp - 0x58], ax
push ecx
or eax, 0xffffffff
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], esi
call fcn.00405230
cmp dword [ebp - 0x64], edi
jb 0x410405
mov edx, dword [ebp - 0x78]
push edx
call fcn.0041a981
add esp, 4
xor eax, eax
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x68], 0
mov word [ebp - 0x78], ax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xa
call fcn.00411910
mov esi, 8
cmp dword [ebp - 0x44], esi
jb 0x41043a
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.0041a981
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], esi
jb 0x41044f
mov edx, dword [ebp - 0x30]
push edx
call fcn.0041a981
add esp, 4
mov ebx, str.File
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0x10]
call fcn.00403840
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4102a5
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18c]
cmp eax, ebx
je 0x41048f
push eax
call dword [0x4af70c]
add esp, 4
mov dword [ebp - 0x18c], ebx
mov eax, dword [ebp - 0x190]
mov edi, dword [eax + 0x2c]
cmp edi, ebx
je 0x4104bd
lea esp, [esp]
mov eax, dword [edi]
cmp eax, ebx
je 0x4104b0
push eax
call dword [0x4af70c]
add esp, 4
mov edi, dword [edi + 4]
cmp edi, ebx
jne 0x4104a0
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax]
shr ecx, 8
sub eax, ecx
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x4104e3
jmp 0x4104d0
mov edi, dword [eax + 8]
push eax
call dword [0x4af70c]
add esp, 4
mov eax, edi
cmp edi, ebx
jne 0x4104d0
mov eax, 0x7fec
lea edx, [ebp - 0x188]
mov dword [ebp - 0x17c], eax
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x174]
mov dword [ebp - 0x154], edx
mov ecx, eax
lea edx, [ebp - 0x154]
mov dword [ebp - 0x18c], ebx
mov dword [ebp - 0x184], ebx
mov dword [ebp - 0x180], ebx
mov dword [ebp - 0x178], ebx
mov dword [ebp - 0x170], ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x15c], ebx
mov dword [ebp - 0x158], ebx
mov dword [ebp - 0x174], 0x1401
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x190], eax
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x188], edx
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x8c], 8
mov eax, dword [ebp - 0xa0]
jae 0x41058b
lea eax, [ebp - 0xa0]
push eax
lea ebx, [ebp - 0xac]
lea ecx, [ebp - 0x190]
call fcn.00403a60
cmp dword [ebp - 0xac], 0
jne 0x410be5
mov ebx, str.Uninstall
lea eax, [ebp - 0x34]
lea ecx, [ebp - 0x190]
call fcn.00403760
mov ebx, str.External
lea eax, [ebp - 0x3c]
lea ecx, [ebp - 0x34]
call fcn.00403760
mov ebx, str.Process
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0x34]
call fcn.00403760
xor ebx, ebx
cmp dword [ebp - 0x34], ebx
je 0x410b70
cmp dword [ebp - 0x3c], ebx
je 0x410b70
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x34], eax
mov ebx, 0x4a1b9c
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x3c]
call fcn.00403760
cmp dword [ebp - 0x10], 0
je 0x41080e
mov ebx, str.path
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x10]
call fcn.004037d0
mov eax, dword [eax]
xor edi, edi
cmp eax, edi
je 0x410630
mov eax, dword [eax + 8]
cmp eax, edi
jne 0x410635
mov eax, 0x4a05a8
xor ecx, ecx
mov word [ebp - 0x30], cx
mov ecx, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], edi
lea esi, [ecx + 2]
lea ebx, [ebx]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x410650
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x30]
call fcn.00405330
push 4
mov eax, str..
mov ecx, esi
mov byte [ebp - 4], 0xc
call fcn.00411a10
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov ebx, 8
cmp dword [eax + 0x14], ebx
jb 0x41068c
mov eax, dword [eax]
push ecx
push eax
lea edx, [ebp - 0x30]
push edx
call fcn.00411b40
cmp eax, 0xffffffff
je 0x410757
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x34]
push ecx
lea ecx, [eax + edx]
lea esi, [ebp - 0x58]
lea edx, [ebp - 0x30]
call fcn.004118e0
mov esi, eax
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x410742
cmp dword [ebp - 0x1c], ebx
jb 0x4106d3
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0041a981
add esp, 4
xor edx, edx
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], dx
cmp dword [esi + 0x14], ebx
jae 0x410720
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x30]
push esi
push ecx
call fcn.00419e00
add esp, 0xc
jmp 0x410727
lea edi, [ebp - 0x190]
mov byte [ebp - 0x11], 0
mov byte [ebp - 4], 1
call fcn.00403990
xor ebx, ebx
jmp 0x4104e3
mov byte [ebp - 0x11], bl
jmp 0x410471
mov edx, dword [esi]
mov dword [ebp - 0x30], edx
mov dword [esi], edi
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x1c], ecx
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], dx
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x44], ebx
jb 0x410757
mov eax, dword [ebp - 0x58]
push eax
call fcn.0041a981
add esp, 4
xor ecx, ecx
push edi
lea edx, [ebp - 0x30]
mov word [ebp - 0x78], cx
push edx
or eax, 0xffffffff
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], edi
call fcn.00405230
mov byte [ebp - 4], 0xe
xor eax, eax
push edi
lea ecx, [ebp - 0x78]
mov word [ebp - 0x58], ax
push ecx
mov esi, 7
or eax, 0xffffffff
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], edi
call fcn.00405230
cmp dword [ebp - 0x64], ebx
jb 0x4107ad
mov edx, dword [ebp - 0x78]
push edx
call fcn.0041a981
add esp, 4
xor eax, eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], edi
mov word [ebp - 0x78], ax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0xf
call fcn.00411910
cmp dword [ebp - 0x44], ebx
jb 0x4107d9
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.0041a981
add esp, 4
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x1c], ebx
jb 0x4107ee
mov edx, dword [ebp - 0x30]
push edx
call fcn.0041a981
add esp, 4
mov ebx, 0x4a1b9c
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x10]
call fcn.00403840
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x410611
mov ebx, str.File
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x3c]
call fcn.00403760
cmp dword [ebp - 0x10], 0
je 0x4109e7
mov ebx, str.path
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x10]
call fcn.004037d0
mov eax, dword [eax]
xor edi, edi
cmp eax, edi
je 0x41084a
mov eax, dword [eax + 8]
cmp eax, edi
jne 0x41084f
mov eax, 0x4a05a8
xor ecx, ecx
mov word [ebp - 0x30], cx
mov ecx, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], edi
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, di
jne 0x410864
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x30]
call fcn.00405330
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 0x10
mov ecx, dword [eax + 0x10]
mov ebx, 8
cmp dword [eax + 0x14], ebx
jb 0x410892
mov eax, dword [eax]
push ecx
push eax
lea edx, [ebp - 0x30]
push edx
call fcn.00411b40
cmp eax, 0xffffffff
je 0x410937
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x34]
push ecx
lea ecx, [eax + edx]
lea esi, [ebp - 0x58]
lea edx, [ebp - 0x30]
call fcn.004118e0
mov esi, eax
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x410922
cmp dword [ebp - 0x1c], ebx
jb 0x4108d5
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0041a981
add esp, 4
xor edx, edx
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], edi
mov word [ebp - 0x30], dx
cmp dword [esi + 0x14], ebx
jae 0x410900
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x30]
push esi
push ecx
call fcn.00419e00
add esp, 0xc
jmp 0x410907
mov edx, dword [esi]
mov dword [ebp - 0x30], edx
mov dword [esi], edi
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x1c], ecx
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], dx
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0x44], ebx
jb 0x410937
mov eax, dword [ebp - 0x58]
push eax
call fcn.0041a981
add esp, 4
xor ecx, ecx
push edi
lea edx, [ebp - 0x30]
mov word [ebp - 0x78], cx
mov esi, 7
push edx
or eax, 0xffffffff
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], edi
call fcn.00405230
mov byte [ebp - 4], 0x12
xor eax, eax
push edi
lea ecx, [ebp - 0x78]
mov word [ebp - 0x58], ax
push ecx
or eax, 0xffffffff
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x48], edi
call fcn.00405230
cmp dword [ebp - 0x64], ebx
jb 0x410989
mov edx, dword [ebp - 0x78]
push edx
call fcn.0041a981
add esp, 4
xor eax, eax
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x68], edi
mov word [ebp - 0x78], ax
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x13
call fcn.00411910
cmp dword [ebp - 0x44], ebx
jb 0x4109b5
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.0041a981
add esp, 4
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x1c], ebx
jb 0x4109ca
mov edx, dword [ebp - 0x30]
push edx
call fcn.0041a981
add esp, 4
mov ebx, str.File
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x10]
call fcn.00403840
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x410828
mov ebx, str.File
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x80]
call fcn.00403760
cmp dword [ebp - 0x10], 0
je 0x410be9
mov ebx, str.path
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x10]
call fcn.004037d0
mov eax, dword [eax]
test eax, eax
je 0x410a21
mov eax, dword [eax + 8]
test eax, eax
jne 0x410a26
mov eax, 0x4a05a8
xor ecx, ecx
mov word [ebp - 0x30], cx
mov ecx, eax
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
lea esi, [ecx + 2]
nop
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x410a40
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [ebp - 0x30]
call fcn.00405330
mov edi, dword [ebp + 0xc]
mov byte [ebp - 4], 0x14
mov eax, dword [edi + 0x10]
mov ebx, 8
cmp dword [edi + 0x14], ebx
jb 0x410a70
mov ecx, dword [edi]
jmp 0x410a72
mov ecx, edi
push eax
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.00411b40
cmp eax, 0xffffffff
je 0x410b1f
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x34]
push ecx
lea ecx, [eax + edx]
lea esi, [ebp - 0x58]
lea edx, [ebp - 0x30]
call fcn.004118e0
mov esi, eax
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x410b0e
cmp dword [ebp - 0x1c], ebx
jb 0x410ab5
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0041a981
add esp, 4
xor edx, edx
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], dx
cmp dword [esi + 0x14], ebx
jae 0x410ae4
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x30]
push esi
push ecx
call fcn.00419e00
add esp, 0xc
jmp 0x410aef
mov edx, dword [esi]
mov dword [ebp - 0x30], edx
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x1c], ecx
xor edx, edx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], dx
cmp dword [ebp - 0x44], ebx
jb 0x410b1f
mov eax, dword [ebp - 0x58]
push eax
call fcn.0041a981
add esp, 4
mov esi, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], ebx
jae 0x410b2a
lea esi, [ebp - 0x30]
mov eax, edi
call fcn.00405420
push eax
mov eax, esi
call fcn.0040a530
add esp, 4
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x1c], ebx
jb 0x410b51
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0041a981
add esp, 4
mov ebx, str.File
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x10]
call fcn.00403840
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x410a01
jmp 0x410be9
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18c]
cmp eax, ebx
je 0x410b8e
push eax
call dword [0x4af70c]
add esp, 4
mov dword [ebp - 0x18c], ebx
mov eax, dword [ebp - 0x190]
mov esi, dword [eax + 0x2c]
cmp esi, ebx
je 0x410bbd
jmp 0x410ba0
mov eax, dword [esi]
cmp eax, ebx
je 0x410bb0
push eax
call dword [0x4af70c]
add esp, 4
mov esi, dword [esi + 4]
cmp esi, ebx
jne 0x410ba0
mov eax, dword [ebp - 0x190]
mov edx, dword [eax]
shr edx, 8
sub eax, edx
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x410bfb
jmp 0x410bd0
mov esi, dword [eax + 8]
push eax
call dword [0x4af70c]
add esp, 4
mov eax, esi
test esi, esi
jne 0x410bd0
jmp 0x410bfb
mov byte [ebp - 0x35], 0
lea edi, [ebp - 0x190]
mov byte [ebp - 4], 1
call fcn.00403990
mov bl, byte [ebp - 0x35]
cmp dword [ebp - 0xb4], 8
mov eax, dword [ebp - 0xc8]
jae 0x410c10
lea eax, [ebp - 0xc8]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call esi
mov eax, dword [ebp - 0xa0]
mov edi, 8
cmp dword [ebp - 0x8c], edi
jae 0x410c32
lea eax, [ebp - 0xa0]
push eax
call esi
cmp byte [ebp - 0x11], 0
jne 0x410c3f
test bl, bl
je 0x410c41
mov bl, 1
cmp dword [ebp - 0x8c], edi
jb 0x410c58
mov eax, dword [ebp - 0xa0]
push eax
call fcn.0041a981
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], 0
mov word [ebp - 0xa0], cx
cmp dword [ebp - 0xb4], edi
jb 0x410c8c
mov edx, dword [ebp - 0xc8]
push edx
call fcn.0041a981
add esp, 4
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov al, bl
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret