Function at 0x6045c7
Capabilities:
Delete file

Disassembly:
mov eax, 0x61f770
call fcn.0060ebd0
mov eax, 0x1670
call fcn.005acc70
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 0x800
lea eax, [ebp - 0x167c]
push eax
xor ebx, ebx
push ebx
mov byte [ebp - 0x12], 1
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
test eax, eax
jne 0x604611
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
lea eax, [ebp - 0x167c]
push eax
lea ecx, [ebp - 0x3b0]
call fcn.004018f5
mov esi, eax
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x167c]
push eax
lea ecx, [ebp - 0x3cc]
call fcn.004018f5
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
push 0x67b818
call fcn.005a659d
pop ecx
push eax
mov eax, esi
call fcn.00401c08
mov ecx, dword [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0x3e8]
push eax
call fcn.00401926
mov byte [ebp - 4], 2
push 0x687bf8
push eax
lea eax, [ebp - 0x120]
push eax
call fcn.00409115
add esp, 0xc
mov byte [ebp - 4], 4
push ebx
push 1
lea ecx, [ebp - 0x3e8]
call fcn.00401c85
mov byte [ebp - 4], 5
push ebx
push 1
lea ecx, [ebp - 0x3cc]
call fcn.00401c85
mov byte [ebp - 4], 6
push ebx
push 1
lea ecx, [ebp - 0x3b0]
call fcn.00401c85
mov eax, dword [0x6f9ea4]
push str.TORRENT_PATCH_INIT
push ecx
mov dword [ebp - 0x1c], eax
call fcn.0040171c
pop ecx
mov esi, eax
call fcn.0060d9f6
push eax
mov esi, edi
call fcn.00602f63
push edi
call fcn.00602f7f
mov eax, dword [ebp - 0x1c]
add eax, 0xdc
cmp dword [eax + 0x18], 8
jb 0x6046f0
mov eax, dword [eax + 4]
jmp 0x6046f3
add eax, 4
push eax
lea ecx, [ebp - 0x94]
call fcn.004018f5
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x1c]
lea eax, [esi + 0xf8]
cmp dword [eax + 0x18], 8
jb 0x604717
mov eax, dword [eax + 4]
jmp 0x60471a
add eax, 4
push eax
lea ecx, [ebp - 0xe8]
call fcn.004018f5
mov byte [ebp - 4], 8
lea eax, [esi + 0x114]
cmp dword [eax + 0x18], 8
jb 0x60473b
mov eax, dword [eax + 4]
jmp 0x60473e
add eax, 4
push eax
lea ecx, [ebp - 0xb0]
call fcn.004018f5
mov byte [ebp - 4], 9
lea eax, [esi + 0x130]
cmp dword [eax + 0x18], 8
jb 0x60475f
mov eax, dword [eax + 4]
jmp 0x604762
add eax, 4
push eax
lea ecx, [ebp - 0x104]
call fcn.004018f5
mov byte [ebp - 4], 0xa
lea eax, [esi + 0x14c]
cmp dword [eax + 0x18], 8
jb 0x604783
mov eax, dword [eax + 4]
jmp 0x604786
add eax, 4
push eax
lea ecx, [ebp - 0x78]
call fcn.004018f5
mov byte [ebp - 4], 0xb
add esi, 0xc0
cmp dword [esi + 0x18], 8
jb 0x6047a4
mov esi, dword [esi + 4]
jmp 0x6047a7
add esi, 4
push esi
lea ecx, [ebp - 0xcc]
call fcn.004018f5
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x67c]
push eax
call fcn.0040b165
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x2f4]
push eax
call fcn.0040b165
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x534]
push eax
call fcn.0040b165
mov byte [ebp - 4], 0xf
push ebx
lea ecx, [ebp - 0x13c]
mov dword [ebp - 0x124], 0xf
call fcn.00401e8e
mov byte [ebp - 4], 0x10
cmp dword [ebp - 0xb4], 8
mov eax, dword [ebp - 0xc8]
jae 0x604816
lea eax, [ebp - 0xc8]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.0060e8db
add esp, 0xc
test al, al
je 0x60492e
mov ecx, dword [ebp + 0xc]
push ebx
push ebx
lea eax, [ebp - 0x534]
push eax
push edi
lea edx, [ebp - 0x13c]
call fcn.00603b47
test al, al
jne 0x604936
push str.XML_PARSING_ERROR
push ecx
call fcn.0040171c
pop ecx
mov esi, eax
call fcn.0060d9f6
mov edi, dword [ebp + 0xc]
push 2
mov ecx, eax
pop esi
call fcn.00415070
mov byte [ebp - 4], 0xf
xor esi, esi
inc esi
push ebx
push esi
lea ecx, [ebp - 0x13c]
call fcn.00401ac6
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x534]
push eax
call fcn.0040b9a7
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x2f4]
push eax
call fcn.0040b9a7
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x67c]
push eax
call fcn.0040b9a7
mov byte [ebp - 4], 0xb
push ebx
push esi
lea ecx, [ebp - 0xcc]
call fcn.00401c85
mov byte [ebp - 4], 0xa
push ebx
push esi
lea ecx, [ebp - 0x78]
call fcn.00401c85
mov byte [ebp - 4], 9
push ebx
push esi
lea ecx, [ebp - 0x104]
call fcn.00401c85
mov byte [ebp - 4], 8
push ebx
push esi
lea ecx, [ebp - 0xb0]
call fcn.00401c85
mov byte [ebp - 4], 7
push ebx
push esi
lea ecx, [ebp - 0xe8]
call fcn.00401c85
mov byte [ebp - 4], 6
push ebx
push esi
lea ecx, [ebp - 0x94]
call fcn.00401c85
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp - 0x120]
call fcn.00401c85
jmp 0x6045fe
mov esi, dword [ebp + 0xc]
call fcn.00414f40
push ebx
push str.CONFIG_LOADING
call fcn.0040171c
mov esi, eax
call fcn.0060d9f6
push eax
mov esi, edi
call fcn.00602f47
fld dword [0x692654]
push edi
fstp dword [edi + 0x21c]
call fcn.00602f7f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
test al, al
je 0x604871
push ebx
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x44], 0xf
call fcn.00401e8e
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x7c], 8
mov eax, dword [ebp - 0x90]
jae 0x604997
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x38]
call fcn.004018f5
mov byte [ebp - 4], 0x12
mov esi, dword [ebp + 0xc]
push esi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0060e1ee
add esp, 0xc
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 0x11
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.00401c85
cmp byte [ebp - 0x11], bl
je 0x604a43
lea eax, [edi + 0x4c]
push eax
lea eax, [edi + 0x34]
push eax
lea eax, [ebp - 0x2f4]
push eax
push edi
mov ecx, esi
lea edx, [ebp - 0x5c]
call fcn.00603b47
test al, al
jne 0x604c7b
cmp dword [ebp - 0x7c], 8
mov eax, dword [ebp - 0x90]
jae 0x604a03
lea eax, [ebp - 0x90]
push eax
push str.XML_PARSING_ERROR
call fcn.0040171c
mov esi, eax
call fcn.0060d9f6
mov ecx, dword [ebp + 0xc]
push eax
push 0x688644
push 2
pop esi
call fcn.004150a0
add esp, 0xc
mov byte [ebp - 4], 0x10
xor esi, esi
push ebx
inc esi
push esi
lea ecx, [ebp - 0x5c]
call fcn.00401ac6
mov byte [ebp - 4], 0xf
jmp 0x604878
cmp dword [ebp - 0xd0], 8
mov eax, dword [ebp - 0xe4]
jae 0x604a58
lea eax, [ebp - 0xe4]
push eax
lea ecx, [ebp - 0x38]
call fcn.004018f5
mov byte [ebp - 4], 0x13
push esi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0060e1ee
add esp, 0xc
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 0x11
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.00401c85
cmp byte [ebp - 0x11], bl
je 0x604acd
lea eax, [edi + 0x4c]
push eax
lea eax, [edi + 0x34]
push eax
lea eax, [ebp - 0x2f4]
push eax
push edi
mov ecx, esi
lea edx, [ebp - 0x5c]
call fcn.00603b47
test al, al
jne 0x604c7b
cmp dword [ebp - 0xd0], 8
mov eax, dword [ebp - 0xe4]
jae 0x604a03
lea eax, [ebp - 0xe4]
jmp 0x604a03
cmp dword [ebp - 0x98], 8
mov eax, dword [ebp - 0xac]
jae 0x604ae2
lea eax, [ebp - 0xac]
push eax
lea ecx, [ebp - 0x38]
call fcn.004018f5
mov byte [ebp - 4], 0x14
push esi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0060e1ee
add esp, 0xc
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 0x11
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.00401c85
cmp byte [ebp - 0x11], bl
je 0x604b57
lea eax, [edi + 0x4c]
push eax
lea eax, [edi + 0x34]
push eax
lea eax, [ebp - 0x2f4]
push eax
push edi
mov ecx, esi
lea edx, [ebp - 0x5c]
call fcn.00603b47
test al, al
jne 0x604c7b
cmp dword [ebp - 0x98], 8
mov eax, dword [ebp - 0xac]
jae 0x604a03
lea eax, [ebp - 0xac]
jmp 0x604a03
cmp dword [ebp - 0xec], 8
mov eax, dword [ebp - 0x100]
jae 0x604b6c
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp - 0x38]
call fcn.004018f5
mov byte [ebp - 4], 0x15
push esi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0060e1ee
add esp, 0xc
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 0x11
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.00401c85
cmp byte [ebp - 0x11], bl
je 0x604be1
lea eax, [edi + 0x4c]
push eax
lea eax, [edi + 0x34]
push eax
lea eax, [ebp - 0x2f4]
push eax
push edi
mov ecx, esi
lea edx, [ebp - 0x5c]
call fcn.00603b47
test al, al
jne 0x604c7b
cmp dword [ebp - 0xec], 8
mov eax, dword [ebp - 0x100]
jae 0x604a03
lea eax, [ebp - 0x100]
jmp 0x604a03
cmp dword [ebp - 0x60], 8
mov eax, dword [ebp - 0x74]
jae 0x604bed
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x38]
call fcn.004018f5
mov byte [ebp - 4], 0x16
push esi
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.0060e1ee
add esp, 0xc
mov byte [ebp - 0x11], al
mov byte [ebp - 4], 0x11
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.00401c85
cmp byte [ebp - 0x11], bl
je 0x604c55
lea eax, [edi + 0x4c]
push eax
lea eax, [edi + 0x34]
push eax
lea eax, [ebp - 0x2f4]
push eax
push edi
mov ecx, esi
lea edx, [ebp - 0x5c]
call fcn.00603b47
test al, al
jne 0x604c7b
cmp dword [ebp - 0x60], 8
mov eax, dword [ebp - 0x74]
jae 0x604a03
lea eax, [ebp - 0x74]
jmp 0x604a03
push str.REMOTE_CONFIG_OPEN_ERROR
push ecx
call fcn.0040171c
pop ecx
mov esi, eax
call fcn.0060d9f6
mov edi, dword [ebp + 0xc]
push 2
mov ecx, eax
pop esi
call fcn.00415070
mov edi, dword [ebp + 8]
mov byte [ebp - 0x12], bl
push ebx
push str.CONFIG_APPYING
call fcn.0040171c
mov esi, eax
call fcn.0060d9f6
push eax
mov esi, edi
call fcn.00602f47
fld1
push edi
fstp dword [edi + 0x21c]
call fcn.00602f7f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x10]
test al, al
je 0x604a29
mov eax, dword [ebp - 0x244]
cmp eax, dword [ebp - 0x484]
jbe 0x604e09
mov eax, dword [ebp - 0x240]
lea ecx, [ebp - 0x40]
push ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x23c]
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x3c], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x34]
test al, al
jne 0x604dbf
xor edi, edi
xor esi, esi
inc esi
mov byte [ebp - 4], 0x10
push ebx
push esi
lea ecx, [ebp - 0x5c]
call fcn.00401ac6
mov byte [ebp - 4], 0xf
push ebx
push esi
lea ecx, [ebp - 0x13c]
call fcn.00401ac6
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x534]
push eax
call fcn.0040b9a7
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x2f4]
push eax
call fcn.0040b9a7
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x67c]
push eax
call fcn.0040b9a7
mov byte [ebp - 4], 0xb
push ebx
push esi
lea ecx, [ebp - 0xcc]
call fcn.00401c85
mov byte [ebp - 4], 0xa
push ebx
push esi
lea ecx, [ebp - 0x78]
call fcn.00401c85
mov byte [ebp - 4], 9
push ebx
push esi
lea ecx, [ebp - 0x104]
call fcn.00401c85
mov byte [ebp - 4], 8
push ebx
push esi
lea ecx, [ebp - 0xb0]
call fcn.00401c85
mov byte [ebp - 4], 7
push ebx
push esi
lea ecx, [ebp - 0xe8]
call fcn.00401c85
mov byte [ebp - 4], 6
push ebx
push esi
lea ecx, [ebp - 0x94]
call fcn.00401c85
or dword [ebp - 4], 0xffffffff
push ebx
push esi
lea ecx, [ebp - 0x120]
call fcn.00401c85
mov eax, edi
jmp 0x604600
cmp dword [ebp - 0xb4], 8
mov eax, dword [ebp - 0xc8]
jae 0x604dd4
lea eax, [ebp - 0xc8]
push 0x686334
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.005a61ec
add esp, 0xc
test eax, eax
jne 0x604e09
push dword [ebp - 0x244]
push str._torrent_config_notice_ver_d__
push dword [ebp - 0x18]
call fcn.005a6724
add esp, 0xc
push dword [ebp - 0x18]
call fcn.005a6aa0
pop ecx
mov eax, dword [ebp - 0x434]
cmp eax, dword [ebp - 0x57c]
jne 0x604e1d
mov eax, dword [ebp - 0x1f4]
mov dword [edi + 0x180], eax
mov eax, dword [ebp - 0x430]
cmp eax, dword [ebp - 0x578]
jne 0x604e37
mov eax, dword [ebp - 0x1f0]
mov dword [edi + 0x184], eax
mov eax, dword [ebp - 0x45c]
cmp eax, dword [ebp - 0x5a4]
jne 0x604e51
mov eax, dword [ebp - 0x21c]
mov dword [edi + 0x158], eax
mov eax, dword [ebp - 0x458]
cmp eax, dword [ebp - 0x5a0]
jne 0x604e6b
mov eax, dword [ebp - 0x218]
mov dword [edi + 0x15c], eax
mov eax, dword [ebp - 0x214]
mov dword [edi + 0x160], eax
mov eax, dword [ebp - 0x210]
mov dword [edi + 0x164], eax
mov eax, dword [ebp - 0x20c]
mov dword [edi + 0x168], eax
mov eax, dword [ebp - 0x208]
mov dword [edi + 0x16c], eax
mov eax, dword [ebp - 0x204]
mov dword [edi + 0x170], eax
mov al, byte [ebp - 0x1fc]
mov byte [edi + 0x178], al
mov al, byte [ebp - 0x2bc]
mov byte [edi + 0xb8], al
mov al, byte [ebp - 0x2bb]
mov byte [edi + 0xb9], al
lea ecx, [edi + 0x190]
lea eax, [ebp - 0x1e4]
call fcn.00406ae2
lea eax, [ebp - 0x2d8]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.0040916d
add esp, 0xc
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0060bd46
pop ecx
pop ecx
mov byte [ebp - 4], 0x18
push 0xffffffffffffffff
push ebx
lea esi, [edi + 0x9c]
push eax
mov ecx, esi
call fcn.00401b58
mov byte [ebp - 4], 0x17
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.00401c85
mov byte [ebp - 4], 0x11
push ebx
push 1
lea ecx, [ebp - 0x158]
call fcn.00401c85
cmp byte [ebp - 0x12], 1
jne 0x60501a
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x158]
push esi
push eax
call fcn.0040916d
add esp, 0xc
mov byte [ebp - 4], 0x19
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0060bd46
pop ecx
pop ecx
mov byte [ebp - 4], 0x1a
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [edi + 0x114]
call fcn.00401b58
mov byte [ebp - 4], 0x19
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.00401c85
mov byte [ebp - 4], 0x11
push ebx
push 1
lea ecx, [ebp - 0x158]
call fcn.00401c85
lea eax, [ebp - 0x394]
push eax
call fcn.0040cdbf
mov byte [ebp - 4], 0x1b
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.0040f09a
pop ecx
pop ecx
lea ecx, [ebp - 0x390]
call fcn.0040e121
test eax, eax
jne 0x604ffb
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 4]
lea ecx, [ebp + ecx - 0x394]
mov eax, dword [ecx + 8]
push ebx
or eax, 2
push eax
call fcn.0040d90a
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x340]
call fcn.0040ce57
lea ecx, [ebp - 0x340]
call fcn.0040bcdb
jmp 0x6051f7
lea eax, [ebp - 0x394]
push eax
call fcn.0040c58a
mov byte [ebp - 4], 0x1c
push ebx
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x20], 0xf
call fcn.00401e8e
mov byte [ebp - 4], 0x1d
push 1
push str.patch_run.bin
lea ecx, [ebp - 0x38c]
call fcn.0040de3a
test eax, eax
jne 0x605079
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 4]
lea ecx, [ebp + ecx - 0x394]
mov eax, dword [ecx + 8]
or eax, 2
cmp dword [ecx + 0x28], ebx
jne 0x605072
or eax, 4
push ebx
push eax
call fcn.0040aee6
mov eax, dword [ebp - 0x394]
mov ecx, dword [eax + 4]
push 0xa
lea ecx, [ebp + ecx - 0x394]
call fcn.0040eca0
movzx eax, al
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.0040f614
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x158]
call fcn.004018b0
mov byte [ebp - 4], 0x1e
mov edi, dword [ebp - 0x144]
push 0x20
lea esi, [ebp - 0x174]
call fcn.0040c14a
mov byte [ebp - 4], 0x1f
cmp dword [ebp - 0x15c], 8
mov eax, dword [ebp - 0x170]
jae 0x6050e6
lea eax, [ebp - 0x170]
lea ecx, [ebp - 0x174]
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.00405039
lea eax, [ebp - 0x304]
push eax
lea ecx, [ebp - 0x158]
call fcn.004063f1
mov esi, eax
lea eax, [ebp - 0x2fc]
push eax
lea ecx, [ebp - 0x158]
call fcn.004063d1
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [esi + 4]
push dword [esi]
lea esi, [ebp - 0x40]
push dword [eax + 4]
push dword [eax]
call fcn.0040f228
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x174]
push eax
lea eax, [esi + 0x9c]
push eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.0040916d
add esp, 0x24
mov byte [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.0060bd46
pop ecx
pop ecx
mov byte [ebp - 4], 0x21
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esi + 0x114]
call fcn.00401b58
mov byte [ebp - 4], 0x20
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x190]
call fcn.00401c85
mov byte [ebp - 4], 0x1f
push ebx
push edi
lea ecx, [ebp - 0x1ac]
call fcn.00401c85
lea esi, [ebp - 0x394]
call fcn.0040c6d0
mov byte [ebp - 4], 0x1e
push ebx
push edi
lea ecx, [ebp - 0x174]
call fcn.00401c85
mov byte [ebp - 4], 0x1d
push ebx
push edi
lea ecx, [ebp - 0x158]
call fcn.00401ac6
mov byte [ebp - 4], 0x1c
push ebx
push edi
lea ecx, [ebp - 0x38]
call fcn.00401ac6
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x33c]
call fcn.0040c685
lea ecx, [ebp - 0x33c]
call fcn.0040bc41
mov edi, dword [ebp + 8]
mov eax, dword [ebp - 0x200]
mov dword [edi + 0x174], eax
mov eax, dword [ebp - 0x264]
push 0xffffffffffffffff
mov dword [edi + 0x110], eax
push ebx
lea eax, [ebp - 0x2b8]
push eax
lea ecx, [edi + 0xbc]
call fcn.00401b58
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x1cc]
push eax
lea ecx, [edi + 0x1a8]
call fcn.00401a17
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.0040916d
add esp, 0xc
mov byte [ebp - 4], 0x22
push eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.0060bd46
pop ecx
pop ecx
mov byte [ebp - 4], 0x23
cmp dword [eax + 0x18], 8
jb 0x605278
mov edx, dword [eax + 4]
jmp 0x60527b
lea edx, [eax + 4]
lea ecx, [ebp - 0xa7c]
mov esi, 0x200
movzx eax, word [edx]
dec esi
mov word [ecx], ax
inc ecx
inc ecx
movzx eax, ax
inc edx
inc edx
cmp ax, bx
je 0x6052a6
cmp esi, ebx
jne 0x605286
xor eax, eax
mov word [ebp - 0x67e], ax
mov byte [ebp - 4], 0x22
push ebx
push 1
lea ecx, [ebp - 0x1ac]
call fcn.00401c85
mov byte [ebp - 4], 0x11
push ebx
push 1
lea ecx, [ebp - 0x190]
call fcn.00401c85
lea edi, [ebp - 0xa7c]
call fcn.00413330
mov esi, dword [ebp + 8]
mov eax, edi
lea ecx, [esi + 0xd8]
push eax
call fcn.00401beb
lea eax, [ebp - 0x280]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x190]
push eax
call fcn.0040916d
add esp, 0xc
mov byte [ebp - 4], 0x24
push eax
lea eax, [ebp - 0x1ac]
push eax
call fcn.0060bd46
pop ecx
pop ecx
mov byte [ebp - 4], 0x25
cmp dword [eax + 0x18], 8
jb 0x605325
mov eax, dword [eax + 4]
jmp 0x605328
add eax, 4
lea edx, [ebp - 0xe7c]
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 0x605353
cmp edi, ebx
jne 0x605333
xor eax, eax
mov word [ebp - 0xa7e], ax
mov byte [ebp - 4], 0x24
push ebx
push 1
lea ecx, [ebp - 0x1ac]
call fcn.00401c85
mov byte [ebp - 4], 0x11
push ebx
push 1
lea ecx, [ebp - 0x190]
call fcn.00401c85
lea edi, [ebp - 0xe7c]
call fcn.00413330
mov eax, edi
push eax
lea ecx, [esi + 0xf4]
call fcn.00401beb
mov eax, dword [esi]
lea ecx, [esi + 0x80]
push ecx
mov ecx, esi
call dword [eax + 0x20]
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x184], ebx
je 0x6053c4
lea eax, [esi + 0xd8]
cmp dword [eax + 0x18], 8
jb 0x6053ba
mov eax, dword [eax + 4]
jmp 0x6053bd
add eax, 4
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
push esi
call fcn.00602cc1
test byte [0x7227b0], 1
mov byte [ebp + 0xf], al
jne 0x605445
push esi
call fcn.00602cc1
movzx eax, al
push eax
push esi
call fcn.00604390
cmp al, 1
jne 0x6053f8
mov edi, esi
call fcn.00603561
cmp al, 1
jne 0x6053f8
mov byte [ebp + 0xf], al
cmp byte [ebp + 0xf], bl
je 0x605445
push esi
call fcn.00602cc1
test al, al
je 0x60543e
push esi
call fcn.00603753
test al, al
jne 0x60543e
push str.NEW_PATCH_UNKNOWN_ERROR
lea ecx, [ebp - 0x38]
call fcn.004018f5
mov byte [ebp - 4], 0x26
mov eax, dword [esi]
lea ecx, [ebp - 0x38]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov byte [ebp - 4], 0x11
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.00401c85
jmp 0x605445
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
xor edi, edi
inc edi
jmp 0x604cf2