Function at 0x410140
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x489b2c
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 0x4a2b34
lea eax, [ebp - 0xc8]
push esi
push eax
call fcn.004125c0
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.004125c0
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 0x410243
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 0x410918
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 0x4108fe
cmp dword [ebp - 0x34], 0
je 0x4108fe
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x3c], eax
mov ebx, 0x4a2b9c
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x34]
call fcn.00403760
cmp dword [ebp - 0x10], 0
je 0x41048b
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 0x4102d9
mov eax, dword [eax + 8]
cmp eax, edi
jne 0x4102de
mov eax, 0x4a15a8
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 0x4102f3
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.00411c10
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov ebx, 8
cmp dword [eax + 0x14], ebx
jb 0x41032f
mov eax, dword [eax]
push ecx
push eax
lea edx, [ebp - 0x30]
push edx
call fcn.00411d40
cmp eax, 0xffffffff
je 0x4103d4
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.00411ae0
mov esi, eax
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x4103bf
cmp dword [ebp - 0x1c], ebx
jb 0x410372
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0041ab81
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 0x41039d
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x30]
push esi
push ecx
call fcn.0041a000
add esp, 0xc
jmp 0x4103a4
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 0x4103d4
mov eax, dword [ebp - 0x58]
push eax
call fcn.0041ab81
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 0x41042a
mov edx, dword [ebp - 0x78]
push edx
call fcn.0041ab81
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.00411b10
cmp dword [ebp - 0x44], ebx
jb 0x410456
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.0041ab81
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], ebx
jb 0x41046b
mov edx, dword [ebp - 0x30]
push edx
call fcn.0041ab81
add esp, 4
mov ebx, 0x4a2b9c
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x10]
call fcn.00403840
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x4102ba
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 0x41066f
mov ebx, str.path
lea eax, [ebp - 0x7c]
lea ecx, [ebp - 0x10]
call fcn.004037d0
mov eax, dword [eax]
test eax, eax
je 0x4104c2
mov eax, dword [eax + 8]
test eax, eax
jne 0x4104c7
mov eax, 0x4a15a8
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 0x4104e1
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 0x41050e
mov eax, dword [eax]
push ecx
push eax
lea edx, [ebp - 0x30]
push edx
call fcn.00411d40
cmp eax, 0xffffffff
je 0x4105b6
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.00411ae0
mov esi, eax
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x4105a2
cmp dword [ebp - 0x1c], edi
jb 0x410551
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0041ab81
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 0x41057c
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x30]
push esi
push ecx
call fcn.0041a000
add esp, 0xc
jmp 0x410587
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 0x4105b6
mov eax, dword [ebp - 0x58]
push eax
call fcn.0041ab81
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 0x410605
mov edx, dword [ebp - 0x78]
push edx
call fcn.0041ab81
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.00411b10
mov esi, 8
cmp dword [ebp - 0x44], esi
jb 0x41063a
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.0041ab81
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x1c], esi
jb 0x41064f
mov edx, dword [ebp - 0x30]
push edx
call fcn.0041ab81
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 0x4104a5
mov esi, dword [ebp + 0xc]
xor ebx, ebx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18c]
cmp eax, ebx
je 0x41068f
push eax
call dword [0x4b070c]
add esp, 4
mov dword [ebp - 0x18c], ebx
mov eax, dword [ebp - 0x190]
mov edi, dword [eax + 0x2c]
cmp edi, ebx
je 0x4106bd
lea esp, [esp]
mov eax, dword [edi]
cmp eax, ebx
je 0x4106b0
push eax
call dword [0x4b070c]
add esp, 4
mov edi, dword [edi + 4]
cmp edi, ebx
jne 0x4106a0
mov eax, dword [ebp - 0x190]
mov ecx, dword [eax]
shr ecx, 8
sub eax, ecx
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x4106e3
jmp 0x4106d0
mov edi, dword [eax + 8]
push eax
call dword [0x4b070c]
add esp, 4
mov eax, edi
cmp edi, ebx
jne 0x4106d0
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 0x41078b
lea eax, [ebp - 0xa0]
push eax
lea ebx, [ebp - 0xac]
lea ecx, [ebp - 0x190]
call fcn.00403a60
cmp dword [ebp - 0xac], 0
jne 0x410de5
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 0x410d70
cmp dword [ebp - 0x3c], ebx
je 0x410d70
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x34], eax
mov ebx, 0x4a2b9c
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x3c]
call fcn.00403760
cmp dword [ebp - 0x10], 0
je 0x410a0e
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 0x410830
mov eax, dword [eax + 8]
cmp eax, edi
jne 0x410835
mov eax, 0x4a15a8
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 0x410850
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.00411c10
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x10]
mov ebx, 8
cmp dword [eax + 0x14], ebx
jb 0x41088c
mov eax, dword [eax]
push ecx
push eax
lea edx, [ebp - 0x30]
push edx
call fcn.00411d40
cmp eax, 0xffffffff
je 0x410957
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.00411ae0
mov esi, eax
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x410942
cmp dword [ebp - 0x1c], ebx
jb 0x4108d3
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0041ab81
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 0x410920
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x30]
push esi
push ecx
call fcn.0041a000
add esp, 0xc
jmp 0x410927
lea edi, [ebp - 0x190]
mov byte [ebp - 0x11], 0
mov byte [ebp - 4], 1
call fcn.00403990
xor ebx, ebx
jmp 0x4106e3
mov byte [ebp - 0x11], bl
jmp 0x410671
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 0x410957
mov eax, dword [ebp - 0x58]
push eax
call fcn.0041ab81
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 0x4109ad
mov edx, dword [ebp - 0x78]
push edx
call fcn.0041ab81
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.00411b10
cmp dword [ebp - 0x44], ebx
jb 0x4109d9
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.0041ab81
add esp, 4
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x1c], ebx
jb 0x4109ee
mov edx, dword [ebp - 0x30]
push edx
call fcn.0041ab81
add esp, 4
mov ebx, 0x4a2b9c
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x10]
call fcn.00403840
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x410811
mov ebx, str.File
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x3c]
call fcn.00403760
cmp dword [ebp - 0x10], 0
je 0x410be7
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 0x410a4a
mov eax, dword [eax + 8]
cmp eax, edi
jne 0x410a4f
mov eax, 0x4a15a8
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 0x410a64
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 0x410a92
mov eax, dword [eax]
push ecx
push eax
lea edx, [ebp - 0x30]
push edx
call fcn.00411d40
cmp eax, 0xffffffff
je 0x410b37
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.00411ae0
mov esi, eax
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x410b22
cmp dword [ebp - 0x1c], ebx
jb 0x410ad5
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0041ab81
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 0x410b00
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x30]
push esi
push ecx
call fcn.0041a000
add esp, 0xc
jmp 0x410b07
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 0x410b37
mov eax, dword [ebp - 0x58]
push eax
call fcn.0041ab81
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 0x410b89
mov edx, dword [ebp - 0x78]
push edx
call fcn.0041ab81
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.00411b10
cmp dword [ebp - 0x44], ebx
jb 0x410bb5
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.0041ab81
add esp, 4
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x1c], ebx
jb 0x410bca
mov edx, dword [ebp - 0x30]
push edx
call fcn.0041ab81
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 0x410a28
mov ebx, str.File
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x80]
call fcn.00403760
cmp dword [ebp - 0x10], 0
je 0x410de9
mov ebx, str.path
lea eax, [ebp - 0x84]
lea ecx, [ebp - 0x10]
call fcn.004037d0
mov eax, dword [eax]
test eax, eax
je 0x410c21
mov eax, dword [eax + 8]
test eax, eax
jne 0x410c26
mov eax, 0x4a15a8
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 0x410c40
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 0x410c70
mov ecx, dword [edi]
jmp 0x410c72
mov ecx, edi
push eax
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.00411d40
cmp eax, 0xffffffff
je 0x410d1f
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.00411ae0
mov esi, eax
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x410d0e
cmp dword [ebp - 0x1c], ebx
jb 0x410cb5
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0041ab81
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 0x410ce4
mov eax, dword [esi + 0x10]
inc eax
add eax, eax
push eax
lea ecx, [ebp - 0x30]
push esi
push ecx
call fcn.0041a000
add esp, 0xc
jmp 0x410cef
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 0x410d1f
mov eax, dword [ebp - 0x58]
push eax
call fcn.0041ab81
add esp, 4
mov esi, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], ebx
jae 0x410d2a
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 0x410d51
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0041ab81
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 0x410c01
jmp 0x410de9
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18c]
cmp eax, ebx
je 0x410d8e
push eax
call dword [0x4b070c]
add esp, 4
mov dword [ebp - 0x18c], ebx
mov eax, dword [ebp - 0x190]
mov esi, dword [eax + 0x2c]
cmp esi, ebx
je 0x410dbd
jmp 0x410da0
mov eax, dword [esi]
cmp eax, ebx
je 0x410db0
push eax
call dword [0x4b070c]
add esp, 4
mov esi, dword [esi + 4]
cmp esi, ebx
jne 0x410da0
mov eax, dword [ebp - 0x190]
mov edx, dword [eax]
shr edx, 8
sub eax, edx
mov eax, dword [eax + 8]
cmp eax, ebx
je 0x410dfb
jmp 0x410dd0
mov esi, dword [eax + 8]
push eax
call dword [0x4b070c]
add esp, 4
mov eax, esi
test esi, esi
jne 0x410dd0
jmp 0x410dfb
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 0x410e10
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 0x410e32
lea eax, [ebp - 0xa0]
push eax
call esi
cmp byte [ebp - 0x11], 0
jne 0x410e3f
test bl, bl
je 0x410e41
mov bl, 1
cmp dword [ebp - 0x8c], edi
jb 0x410e58
mov eax, dword [ebp - 0xa0]
push eax
call fcn.0041ab81
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 0x410e8c
mov edx, dword [ebp - 0xc8]
push edx
call fcn.0041ab81
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