Function at 0x411e30
Capabilities:
Delete file

Disassembly:
mov eax, 0x5e5c8c
call fcn.005c3f5c
sub esp, 0xcd0
push ebx
push esi
lea eax, [ebp - 0x248]
push edi
push eax
call fcn.00406ba8
and dword [ebp - 4], 0
mov dword [esp], 0x62cba0
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0040f2b6
add esp, 0xc
mov byte [ebp - 4], 2
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00403955
mov eax, dword [0x68cc7c]
push 0x62d4cc
push ecx
mov dword [ebp - 0x18], eax
call fcn.00403080
add esp, 4
call fcn.00405670
mov edi, dword [ebp + 8]
push eax
mov esi, edi
call fcn.0041422a
mov ebx, edi
call fcn.004141be
mov esi, dword [ebp - 0x18]
lea eax, [esi + 0xdc]
cmp dword [eax + 0x18], 8
jb 0x411ebe
mov eax, dword [eax + 4]
jmp 0x411ec1
add eax, 4
push eax
lea ecx, [ebp - 0x6c]
call fcn.00406054
mov byte [ebp - 4], 3
lea eax, [esi + 0xc0]
cmp dword [eax + 0x18], 8
jb 0x411edf
mov eax, dword [eax + 4]
jmp 0x411ee2
add eax, 4
push eax
lea ecx, [ebp - 0x34]
call fcn.00406054
mov byte [ebp - 4], 4
lea eax, [ebp - 0x4dc]
push eax
call fcn.004154f8
mov byte [ebp - 4], 5
lea eax, [ebp - 0x22c]
push eax
call fcn.004154f8
mov byte [ebp - 4], 6
lea eax, [ebp - 0x394]
push eax
call fcn.004154f8
mov byte [ebp - 4], 7
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x88]
mov dword [ebp - 0x70], 0xf
call fcn.004035c1
mov byte [ebp - 4], 8
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x411f44
lea eax, [ebp - 0x30]
mov esi, dword [ebp + 0xc]
push esi
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00408ee8
add esp, 0xc
test al, al
je 0x411fa2
push ebx
push ebx
lea eax, [ebp - 0x394]
push eax
mov ecx, esi
lea edx, [ebp - 0x88]
call fcn.00413999
test al, al
jne 0x411fa7
push str.XML_PARSING_ERROR
push ecx
call fcn.00403080
add esp, 4
call fcn.00405670
push 2
mov ecx, eax
mov eax, dword [ebp + 0xc]
pop esi
call fcn.004203d0
mov byte [ebp - 4], 7
xor esi, esi
inc esi
jmp 0x412673
call fcn.004202b0
push ebx
push str.CONFIG_LOADING
call fcn.00403080
call fcn.00405670
push eax
mov esi, edi
call fcn.00414246
fld dword [0x635ca8]
mov ebx, edi
fstp dword [edi + 0x200]
call fcn.004141be
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
test al, al
jne 0x412049
mov byte [ebp - 4], 7
xor esi, esi
xor edi, edi
inc esi
push edi
push esi
lea ecx, [ebp - 0x88]
call fcn.004034fc
mov byte [ebp - 4], 6
lea eax, [ebp - 0x394]
push eax
call fcn.00411aa9
mov byte [ebp - 4], 5
lea eax, [ebp - 0x22c]
push eax
call fcn.00411aa9
mov byte [ebp - 4], 4
lea eax, [ebp - 0x4dc]
push eax
call fcn.00411aa9
mov byte [ebp - 4], 3
push edi
push esi
lea ecx, [ebp - 0x34]
call fcn.00403955
mov byte [ebp - 4], 2
push edi
push esi
lea ecx, [ebp - 0x6c]
call fcn.00403955
or dword [ebp - 4], 0xffffffff
push edi
jmp 0x4126d1
xor ebx, ebx
push ebx
lea ecx, [ebp - 0xc8]
mov dword [ebp - 0xb0], 0xf
call fcn.004035c1
mov byte [ebp - 4], 9
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
jae 0x412071
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x50]
call fcn.00406054
mov byte [ebp - 4], 0xa
push dword [ebp + 0xc]
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00409007
add esp, 0xc
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 9
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.00403955
cmp byte [ebp - 0x11], bl
je 0x41263b
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0x4c]
push eax
lea eax, [edi + 0x34]
push eax
lea eax, [ebp - 0x22c]
push eax
lea edx, [ebp - 0xc8]
call fcn.00413999
test al, al
jne 0x412105
cmp dword [ebp - 0x54], 8
mov eax, dword [ebp - 0x68]
jae 0x4120dc
lea eax, [ebp - 0x68]
push eax
push str.XML_PARSING_ERROR
call fcn.00403080
call fcn.00405670
mov edi, dword [ebp + 0xc]
push eax
push 0x62d514
push 2
pop esi
call fcn.00420400
add esp, 0xc
jmp 0x41265b
push ebx
push str.CONFIG_APPYING
call fcn.00403080
call fcn.00405670
push eax
mov esi, edi
call fcn.00414246
fld1
mov ebx, edi
fstp dword [edi + 0x200]
call fcn.004141be
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
test al, al
jne 0x412156
mov byte [ebp - 4], 8
xor edi, edi
xor esi, esi
push edi
inc esi
push esi
lea ecx, [ebp - 0xc8]
call fcn.004034fc
mov byte [ebp - 4], 7
jmp 0x411fe6
mov eax, dword [ebp - 0x17c]
cmp eax, dword [ebp - 0x2e4]
jbe 0x4121d6
mov eax, dword [ebp - 0x178]
lea ecx, [ebp - 0xac]
push ecx
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x174]
lea ecx, [ebp - 0x170]
mov dword [ebp - 0xa8], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x34]
test al, al
je 0x412137
cmp dword [ebp - 0x1c], 8
mov eax, dword [ebp - 0x30]
jae 0x4121a1
lea eax, [ebp - 0x30]
push 0x62b28c
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.00574520
add esp, 0xc
test eax, eax
jne 0x4121d6
push dword [ebp - 0x17c]
push str._torrent_config_notice_ver_d__
push dword [ebp + 0xc]
call fcn.00574573
add esp, 0xc
push dword [ebp + 0xc]
call fcn.00574721
pop ecx
mov eax, dword [ebp - 0x294]
cmp eax, dword [ebp - 0x3dc]
jne 0x4121ea
mov eax, dword [ebp - 0x12c]
mov dword [edi + 0x164], eax
mov eax, dword [ebp - 0x290]
cmp eax, dword [ebp - 0x3d8]
jne 0x412204
mov eax, dword [ebp - 0x128]
mov dword [edi + 0x168], eax
mov eax, dword [ebp - 0x2bc]
cmp eax, dword [ebp - 0x404]
jne 0x41221e
mov eax, dword [ebp - 0x154]
mov dword [edi + 0x13c], eax
mov eax, dword [ebp - 0x2b8]
cmp eax, dword [ebp - 0x400]
jne 0x412238
mov eax, dword [ebp - 0x150]
mov dword [edi + 0x140], eax
mov eax, dword [ebp - 0x14c]
mov dword [edi + 0x144], eax
mov eax, dword [ebp - 0x148]
mov dword [edi + 0x148], eax
mov eax, dword [ebp - 0x144]
mov dword [edi + 0x14c], eax
mov eax, dword [ebp - 0x140]
mov dword [edi + 0x150], eax
mov eax, dword [ebp - 0x13c]
mov dword [edi + 0x154], eax
mov al, byte [ebp - 0x134]
mov byte [edi + 0x15c], al
mov al, byte [ebp - 0x1f4]
mov byte [edi + 0x9c], al
mov al, byte [ebp - 0x1f3]
mov byte [edi + 0x9d], al
lea eax, [edi + 0x174]
lea ebx, [ebp - 0x11c]
call fcn.0040a682
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.0040f30e
add esp, 0xc
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00406bf7
pop ecx
pop ecx
mov byte [ebp - 4], 0xc
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea esi, [edi + 0x80]
push eax
mov ecx, esi
call fcn.00403a5a
mov byte [ebp - 4], 0xb
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.00403955
mov byte [ebp - 4], 9
push ebx
push 1
lea ecx, [ebp - 0xe4]
call fcn.00403955
lea eax, [ebp - 0x198]
push eax
lea eax, [ebp - 0x50]
push esi
push eax
call fcn.0040f30e
add esp, 0xc
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.00406bf7
pop ecx
pop ecx
mov byte [ebp - 4], 0xe
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0xf8]
call fcn.00403a5a
mov byte [ebp - 4], 0xd
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0xe4]
call fcn.00403955
mov byte [ebp - 4], 9
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.00403955
mov eax, dword [ebp - 0x138]
mov dword [edi + 0x158], eax
mov eax, dword [ebp - 0x19c]
push 0xffffffffffffffff
mov dword [edi + 0xf4], eax
push ebx
lea eax, [ebp - 0x1f0]
push eax
lea ecx, [edi + 0xa0]
call fcn.00403a5a
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x104]
push eax
lea ecx, [edi + 0x18c]
call fcn.004035dd
lea eax, [ebp - 0x1d4]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0040f30e
add esp, 0xc
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.00406bf7
pop ecx
pop ecx
mov byte [ebp - 4], 0x10
cmp dword [eax + 0x18], 8
jb 0x4123ee
mov eax, dword [eax + 4]
jmp 0x4123f1
add eax, 4
lea edx, [ebp - 0x8dc]
mov edi, 0x200
movzx ecx, word [eax]
dec edi
mov word [edx], cx
inc edx
inc edx
movzx ecx, cx
inc eax
inc eax
cmp cx, bx
je 0x41241c
cmp edi, ebx
jne 0x4123fc
xor eax, eax
mov word [ebp - 0x4de], ax
mov byte [ebp - 4], 0xf
push ebx
push esi
lea ecx, [ebp - 0xe4]
call fcn.00403955
mov byte [ebp - 4], 9
push ebx
push esi
lea ecx, [ebp - 0x50]
call fcn.00403955
lea edi, [ebp - 0x8dc]
call fcn.0041ea80
mov esi, dword [ebp + 8]
mov eax, edi
lea ecx, [esi + 0xbc]
push eax
call fcn.00402481
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0040f30e
add esp, 0xc
mov byte [ebp - 4], 0x11
push eax
lea eax, [ebp - 0xe4]
push eax
call fcn.00406bf7
pop ecx
pop ecx
mov byte [ebp - 4], 0x12
cmp dword [eax + 0x18], 8
jb 0x412493
mov eax, dword [eax + 4]
jmp 0x412496
add eax, 4
lea edx, [ebp - 0xcdc]
mov edi, 0x200
movzx ecx, word [eax]
dec edi
mov word [edx], cx
inc edx
inc edx
movzx ecx, cx
inc eax
inc eax
cmp cx, bx
je 0x4124c1
cmp edi, ebx
jne 0x4124a1
xor eax, eax
mov word [ebp - 0x8de], ax
mov byte [ebp - 4], 0x11
push ebx
push 1
lea ecx, [ebp - 0xe4]
call fcn.00403955
mov byte [ebp - 4], 9
push ebx
push 1
lea ecx, [ebp - 0x50]
call fcn.00403955
lea edi, [ebp - 0xcdc]
call fcn.0041ea80
mov eax, edi
push eax
lea ecx, [esi + 0xd8]
call fcn.00402481
mov eax, dword [esi]
lea ecx, [esi + 0x64]
push ecx
mov ecx, esi
call dword [eax + 0x20]
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x114], ebx
je 0x41252c
lea eax, [esi + 0xbc]
cmp dword [eax + 0x18], 8
jb 0x412522
mov eax, dword [eax + 4]
jmp 0x412525
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call fcn.00412eac
push esi
mov byte [ebp + 0xf], al
call fcn.00412eac
movzx eax, al
push eax
mov ecx, esi
call fcn.00413414
cmp al, 1
jne 0x412558
mov edi, esi
call fcn.00413216
cmp al, 1
jne 0x412558
mov byte [ebp + 0xf], al
cmp byte [ebp + 0xf], bl
je 0x4125b2
push esi
call fcn.00412eac
test al, al
je 0x4125ab
mov ebx, esi
call fcn.00412ef6
test al, al
je 0x41257b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
jmp 0x4125a7
push str.NEW_PATCH_UNKNOWN_ERROR
lea ecx, [ebp - 0x50]
call fcn.00406054
mov byte [ebp - 4], 0x13
mov eax, dword [esi]
lea ecx, [ebp - 0x50]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov byte [ebp - 4], 9
push 0
push 1
lea ecx, [ebp - 0x50]
call fcn.00403955
xor ebx, ebx
jmp 0x4125b2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
mov byte [ebp - 4], 8
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0xc8]
call fcn.004034fc
mov byte [ebp - 4], 7
push ebx
push esi
lea ecx, [ebp - 0x88]
call fcn.004034fc
mov byte [ebp - 4], 6
lea eax, [ebp - 0x394]
push eax
call fcn.00411aa9
mov byte [ebp - 4], 5
lea eax, [ebp - 0x22c]
push eax
call fcn.00411aa9
mov byte [ebp - 4], 4
lea eax, [ebp - 0x4dc]
push eax
call fcn.00411aa9
mov byte [ebp - 4], 3
push ebx
push esi
lea ecx, [ebp - 0x34]
call fcn.00403955
mov byte [ebp - 4], 2
push ebx
push esi
lea ecx, [ebp - 0x6c]
call fcn.00403955
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp - 0xa4]
call fcn.00403955
mov eax, esi
jmp 0x4126df
push str.REMOTE_CONFIG_OPEN_ERROR
push ecx
call fcn.00403080
add esp, 4
call fcn.00405670
push 2
mov ecx, eax
mov eax, dword [ebp + 0xc]
pop esi
call fcn.004203d0
mov byte [ebp - 4], 8
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0xc8]
call fcn.004034fc
mov byte [ebp - 4], 7
push ebx
push esi
lea ecx, [ebp - 0x88]
call fcn.004034fc
mov byte [ebp - 4], 6
lea eax, [ebp - 0x394]
push eax
call fcn.00411aa9
mov byte [ebp - 4], 5
lea eax, [ebp - 0x22c]
push eax
call fcn.00411aa9
mov byte [ebp - 4], 4
lea eax, [ebp - 0x4dc]
push eax
call fcn.00411aa9
mov byte [ebp - 4], 3
push ebx
push esi
lea ecx, [ebp - 0x34]
call fcn.00403955
mov byte [ebp - 4], 2
push ebx
push esi
lea ecx, [ebp - 0x6c]
call fcn.00403955
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp - 0xa4]
call fcn.00403955
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8