Function at 0x4105f0
Capabilities:
Check if file exists
Delete file
Get file attributes
Get file size
Read .ini file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f0f6
mov eax, dword fs:[0]
push eax
sub esp, 0x114
push ebx
push esi
push edi
mov eax, dword [0x5e6000]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x24], eax
add eax, 0x48
xor ecx, ecx
push str.filelist.dat
push eax
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x14], ecx
call fcn.004072b0
add esp, 0xc
lea ecx, [ebp - 0x118]
mov dword [ebp - 4], 0
call fcn.00519d31
push 0xffffffffffffffff
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x118]
mov ebx, dword [ebp - 0x40]
push 0
mov dword [ebp - 0x4c], ebx
call fcn.0051a04a
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
or ebx, 0xffffffff
cmp esi, ebx
jne 0x4106d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5ef70c], eax
xor esi, esi
lea ecx, [ebp - 0x118]
call fcn.00519d48
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x4106c4
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
push esi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x410698
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00434e9c
mov edi, eax
add esp, 4
test edi, edi
je 0x410698
push dword [ebp - 0x4c]
push dword [ebp - 0x18]
push edi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x410756
cmp word [edi], 0
mov esi, edi
je 0x410756
push esi
push dword [ebp - 0x110]
lea ecx, [ebp - 0x118]
call fcn.00519fff
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2]
add esi, 2
cmp word [esi], 0
jne 0x410731
push edi
call fcn.00434ea5
mov ecx, dword [ebp - 0x110]
xor eax, eax
add esp, 4
test ecx, ecx
setg al
test eax, eax
je 0x410698
mov edx, 1
mov dword [ebp - 0x4c], edx
cmp ecx, edx
jle 0x411e1c
test edx, edx
js 0x412181
cmp edx, ecx
jge 0x412181
mov eax, dword [ebp - 0x114]
mov eax, dword [eax + edx*4]
sub eax, 0x10
push eax
call fcn.00402880
add esp, 4
lea edi, [eax + 0x10]
mov dword [ebp - 0x20], edi
mov esi, dword [ebp - 0x24]
mov byte [ebp - 4], 2
cmp dword [esi + 4], 0
je 0x410814
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x54]
push 0x5c6d68
push eax
call fcn.00407120
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x34]
push str._...
push eax
or ecx, 1
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x14], ecx
call fcn.004072b0
push dword [eax]
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0x34]
or eax, 2
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 4]
mov eax, dword [eax]
call eax
add esp, 0x1c
mov byte [ebp - 0x35], 1
test eax, eax
je 0x410818
mov byte [ebp - 0x35], 0
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x34]
test cl, 2
je 0x41084d
mov edx, dword [ebp - 0x50]
and ecx, 0xfffffffd
mov dword [ebp - 0x34], ecx
add edx, 0xfffffff0
mov dword [ebp - 0x14], ecx
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41084d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 4], 2
test cl, 1
je 0x410879
mov edx, dword [ebp - 0x54]
and ecx, 0xfffffffe
mov dword [ebp - 0x34], ecx
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410879
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x35], 0
jne 0x41215d
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x3c]
push str.Type
push edi
call fcn.0040f2e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x40]
push str.Time
push edi
call fcn.0040f2e0
add esp, 0x10
mov byte [ebp - 4], 6
push dword [ebp - 0x40]
push 0
push str.Size
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
mov dword [ebp - 0x44], eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411e26
call fcn.0041f881
mov ecx, eax
test ecx, ecx
je 0x412186
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov eax, 0x5c1ccc
mov byte [ebp - 4], 7
shr eax, 0x10
mov ecx, 0x5c1ccc
movzx esi, cx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x410913
push esi
call fcn.00407a20
jmp 0x41091f
push 0
push 0x5c1ccc
call fcn.00402c30
mov byte [ebp - 4], 8
call fcn.0041f881
mov ecx, eax
test ecx, ecx
je 0x412186
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x18], 0
jne 0x410952
push esi
call fcn.00407a20
jmp 0x41095e
push 0
push 0x5c1ccc
call fcn.00402c30
mov byte [ebp - 4], 0xa
push str.Remove
push dword [ebp - 0x3c]
call fcn.005676f5
add esp, 8
test eax, eax
jne 0x410b97
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0x58]
push 0x5c6eb4
push edi
call fcn.0040f2e0
add esp, 8
mov byte [ebp - 4], 0xb
mov edx, dword [eax]
mov esi, dword [ebp - 0x28]
lea eax, [edx - 0x10]
lea ecx, [esi - 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x44], ecx
cmp eax, ecx
je 0x4109f4
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x4109e5
mov eax, dword [eax]
cmp eax, dword [ecx]
jne 0x4109e5
push dword [ebp - 0x18]
call fcn.00402880
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x4109dd
mov esi, dword [ebp - 0x44]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
lea esi, [eax + 0x10]
mov dword [ebp - 0x28], esi
jmp 0x4109f4
push dword [edx - 0xc]
lea ecx, [ebp - 0x28]
push edx
call fcn.00402c30
mov esi, dword [ebp - 0x28]
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0x58]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410a12
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.File
push esi
call fcn.005676f5
add esp, 8
test eax, eax
jne 0x410ab8
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x410a43
test al, 1
je 0x410a43
and eax, 0xfffffffe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x60]
push str.Check_file__
push eax
call fcn.00407120
push str.____Remove_n
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0xc
push eax
call fcn.004072b0
add esp, 0x18
mov byte [ebp - 4], 0xd
mov edx, dword [eax]
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x5c], 0
je 0x410a8e
test edx, edx
je 0x410a8e
lea ecx, [eax + 0x58]
mov eax, dword [ecx]
push edx
call dword [eax + 0x58]
mov byte [ebp - 4], 0xc
mov eax, ebx
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410aac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x60]
jmp 0x410b3e
push str.Folder
push esi
call fcn.005676f5
add esp, 8
test eax, eax
jne 0x410b55
mov ecx, edi
call fcn.0040ec40
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x68]
push str.Check_folder__
push eax
call fcn.00407120
push str.____Remove_n
push eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xe
push eax
call fcn.004072b0
add esp, 0x18
mov byte [ebp - 4], 0xf
mov edx, dword [eax]
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x5c], 0
je 0x410b19
test edx, edx
je 0x410b19
lea ecx, [eax + 0x58]
mov eax, dword [ecx]
push edx
call dword [eax + 0x58]
mov byte [ebp - 4], 0xe
mov eax, ebx
mov edx, dword [ebp - 0x64]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410b37
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x68]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410b55
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov eax, ebx
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410b73
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x411db0
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x411db0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x410bc6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5ef70c], eax
xor eax, eax
jmp 0x410bdc
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x44]
jne 0x41114f
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x70]
push str.Check_file__
push eax
call fcn.00407120
push str.____Size_n
push eax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0x10
push eax
call fcn.004072b0
add esp, 0x18
mov byte [ebp - 4], 0x11
mov edx, dword [eax]
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x5c], 0
je 0x410c29
test edx, edx
je 0x410c29
lea ecx, [eax + 0x58]
mov eax, dword [ecx]
push edx
call dword [eax + 0x58]
mov byte [ebp - 4], 0x10
mov eax, ebx
mov edx, dword [ebp - 0x6c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410c47
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0x70]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410c65
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0041f881
mov ecx, eax
test ecx, ecx
je 0x412186
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x18], esi
push 0
push 0x80
push 3
push 0
mov byte [ebp - 4], 0x12
mov eax, dword [ebp - 0x34]
push 1
push SysReAllocStringLen
or eax, 4
push edi
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x410cc0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x5ef70c], eax
mov dword [ebp - 4], 0xa
jmp 0x410d1f
lea eax, [ebp - 0x120]
push eax
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x410cf1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov dword [0x5ef70c], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xa
jmp 0x410d1f
push dword [ebp - 0x120]
lea eax, [ebp - 0x18]
push dword [ebp - 0x11c]
push 0x5c6d1c
push eax
call fcn.004077d0
add esp, 0x10
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xa
mov esi, dword [ebp - 0x18]
xor ecx, ecx
mov eax, esi
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 0x13
lea ecx, [eax - 0x10]
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x14], ecx
lea edx, [edi - 0x10]
mov dword [ebp - 0x1c], edx
cmp ecx, edx
je 0x410d8a
cmp dword [edx + 0xc], 0
lea edi, [edx + 0xc]
jl 0x410d7b
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x410d7b
push dword [ebp - 0x14]
call fcn.00402880
add esp, 4
mov dword [ebp - 0x14], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x410d73
mov edi, dword [ebp - 0x1c]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x14]
lea edi, [eax + 0x10]
mov dword [ebp - 0x28], edi
jmp 0x410d8a
push dword [eax - 0xc]
lea ecx, [ebp - 0x28]
push eax
call fcn.00402c30
mov edi, dword [ebp - 0x28]
mov byte [ebp - 4], 0xa
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x410da5
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x412186
push eax
push edi
call fcn.005676f5
add esp, 8
test eax, eax
jne 0x410ed9
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x78]
push str.Check_file__
push eax
call fcn.00407120
push str.____Time_n
push eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0x14
push eax
call fcn.004072b0
add esp, 0x18
mov byte [ebp - 4], 0x15
mov edx, dword [eax]
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x5c], 0
je 0x410e06
test edx, edx
je 0x410e06
lea ecx, [eax + 0x58]
mov eax, dword [ecx]
push edx
call dword [eax + 0x58]
mov byte [ebp - 4], 0x14
mov eax, ebx
mov edx, dword [ebp - 0x74]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410e24
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0x78]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410e42
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
mov eax, ebx
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410e60
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x410e7b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, ebx
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410e99
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410eb7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411e07
mov ecx, dword [edx]
push edx
jmp 0x411e02
mov esi, dword [ebp - 0x20]
lea ecx, [ebp - 0x7c]
mov edx, dword [ebp - 0x40]
push 0x5c6eb4
push esi
call fcn.0040f2e0
add esp, 8
mov byte [ebp - 4], 0x16
lea ecx, [edi - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], ecx
lea edx, [eax - 0x10]
cmp edx, ecx
je 0x410f54
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x410f45
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x410f42
push edx
call fcn.00402880
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x410f3a
mov edi, dword [ebp - 0x1c]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
lea edi, [eax + 0x10]
mov dword [ebp - 0x28], edi
jmp 0x410f54
mov eax, dword [ebp - 0x18]
push dword [eax - 0xc]
lea ecx, [ebp - 0x28]
push eax
call fcn.00402c30
mov edi, dword [ebp - 0x28]
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0x7c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410f72
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x80]
mov edx, esi
push dword [eax + 4]
call fcn.0040f6f0
add esp, 4
mov byte [ebp - 4], 0x17
mov eax, dword [eax]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x18], eax
lea edx, [eax - 0x10]
lea ecx, [esi - 0x10]
mov dword [ebp - 0x1c], ecx
cmp edx, ecx
je 0x410fec
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x410fdd
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x410fda
push edx
call fcn.00402880
add esp, 4
mov dword [ebp - 0x18], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x410fd2
mov esi, dword [ebp - 0x1c]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x18]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
jmp 0x410fec
mov eax, dword [ebp - 0x18]
push dword [eax - 0xc]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00402c30
mov esi, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0x80]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41100a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
test esi, esi
je 0x412186
push esi
push edi
call fcn.005676f5
add esp, 8
test eax, eax
jne 0x411155
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x20]
call fcn.0040f230
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x88]
push str.Check_file__
push eax
call fcn.00407120
push str.____Sum_n
push eax
lea eax, [ebp - 0x84]
mov byte [ebp - 4], 0x18
push eax
call fcn.004072b0
add esp, 0x18
mov byte [ebp - 4], 0x19
mov edx, dword [eax]
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x5c], 0
je 0x411079
test edx, edx
je 0x411079
lea ecx, [eax + 0x58]
mov eax, dword [ecx]
push edx
call dword [eax + 0x58]
mov byte [ebp - 4], 0x18
mov eax, ebx
mov edx, dword [ebp - 0x84]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41109a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0x88]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4110bb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4110d6
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x4110f1
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov eax, ebx
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41110f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41112d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov eax, ebx
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411e07
mov ecx, dword [edx]
push edx
jmp 0x411e02
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x2c]
push 0x14
call fcn.0041e2c1
add esp, 4
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4111c1
call fcn.0041f881
mov ecx, eax
test ecx, ecx
je 0x412186
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edx, dword [ebp - 0x14]
add eax, 0x10
mov dword [edx + 4], eax
call fcn.0041f881
mov ecx, eax
test ecx, ecx
je 0x412186
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx + 8], eax
call fcn.0041f881
mov ecx, eax
test ecx, ecx
je 0x412186
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x14]
add eax, 0x10
mov dword [ecx + 0xc], eax
mov eax, ecx
jmp 0x4111c6
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [eax], 0
push str.Self
push dword [ebp - 0x3c]
call fcn.005676f5
add esp, 8
test eax, eax
jne 0x4114af
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x48]
lea eax, [ebp - 0x8c]
push eax
call fcn.00413740
add esp, 0xc
mov byte [ebp - 4], 0x1a
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ecx + 4]
lea eax, [edx - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ecx
cmp eax, ecx
je 0x41126d
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x18], eax
jl 0x41125e
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x41125e
push dword [ebp - 0x1c]
call fcn.00402880
mov dword [ebp - 0x1c], eax
add esp, 4
mov eax, dword [ebp - 0x18]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411250
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
add eax, 0x10
mov dword [edx + 4], eax
jmp 0x41126d
mov ecx, dword [ebp - 0x14]
push dword [edx - 0xc]
push edx
lea ecx, [ecx + 4]
call fcn.00402c30
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0x8c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41128e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + 0x50]
push eax
lea eax, [ecx + 0x44]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00413740
mov ecx, dword [ebp - 0x24]
add ecx, 0x4c
mov byte [ebp - 4], 0x1b
push ecx
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00413740
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x1c
push ecx
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.00413740
add esp, 0x24
mov byte [ebp - 4], 0x1d
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ecx + 8]
lea eax, [edx - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x411348
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x1c], eax
jl 0x411339
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x411339
push dword [ebp - 0x10]
call fcn.00402880
mov edx, dword [ebp - 0x1c]
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41132e
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add eax, 0x10
mov dword [edx + 8], eax
jmp 0x411348
mov ecx, dword [ebp - 0x14]
push dword [edx - 0xc]
push edx
lea ecx, [ecx + 8]
call fcn.00402c30
mov byte [ebp - 4], 0x1c
mov eax, ebx
mov edx, dword [ebp - 0x90]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411369
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1b
mov eax, ebx
mov edx, dword [ebp - 0x94]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41138a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0x98]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4113ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov dword [ebp - 0x10], ecx
mov edx, dword [eax + 0xc]
sub edx, 0x10
mov dword [ebp - 0x18], edx
cmp ecx, edx
je 0x41141d
cmp dword [edx + 0xc], 0
lea eax, [edx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
jl 0x41140e
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x41140e
push dword [ebp - 0x10]
call fcn.00402880
mov dword [ebp - 0x10], eax
add esp, 4
mov eax, dword [ebp - 0x1c]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411400
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [edx + 0xc], eax
jmp 0x41141d
mov ecx, dword [ebp - 0x14]
push dword [eax - 0xc]
push eax
lea ecx, [ecx + 0xc]
call fcn.00402c30
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x44]
push eax
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x24]
add ecx, 8
push dword [ecx + 8]
call fcn.0044b33b
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xa0]
push str.Check_file__
push eax
call fcn.00407120
push str.____Self_n
push eax
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 0x1e
push eax
call fcn.004072b0
add esp, 0x18
mov byte [ebp - 4], 0x1f
mov edx, dword [eax]
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x5c], 0
je 0x41147f
test edx, edx
je 0x41147f
lea ecx, [eax + 0x58]
mov eax, dword [ecx]
push edx
call dword [eax + 0x58]
mov byte [ebp - 4], 0x1e
mov eax, ebx
mov edx, dword [ebp - 0x9c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4114a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0xa0]
jmp 0x41178d
push str.Update
push dword [ebp - 0x3c]
call fcn.005676f5
add esp, 8
test eax, eax
jne 0x4117ad
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x48]
lea eax, [ebp - 0xa4]
push eax
call fcn.00413740
add esp, 0xc
mov byte [ebp - 4], 0x20
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ecx + 4]
lea eax, [edx - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x411550
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x1c], eax
jl 0x411541
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x411541
push dword [ebp - 0x10]
call fcn.00402880
mov dword [ebp - 0x10], eax
add esp, 4
mov eax, dword [ebp - 0x1c]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411533
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [edx + 4], eax
jmp 0x411550
mov ecx, dword [ebp - 0x14]
push dword [edx - 0xc]
push edx
lea ecx, [ecx + 4]
call fcn.00402c30
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0xa4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411571
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + 0x50]
push eax
lea eax, [ecx + 0x44]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00413740
mov ecx, dword [ebp - 0x24]
add ecx, 0x4c
mov byte [ebp - 4], 0x21
push ecx
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.00413740
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x22
push ecx
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.00413740
add esp, 0x24
mov byte [ebp - 4], 0x23
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ecx + 8]
lea eax, [edx - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x41162b
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x1c], eax
jl 0x41161c
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x41161c
push dword [ebp - 0x10]
call fcn.00402880
mov edx, dword [ebp - 0x1c]
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411611
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add eax, 0x10
mov dword [edx + 8], eax
jmp 0x41162b
mov ecx, dword [ebp - 0x14]
push dword [edx - 0xc]
push edx
lea ecx, [ecx + 8]
call fcn.00402c30
mov byte [ebp - 4], 0x22
mov eax, ebx
mov edx, dword [ebp - 0xa8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41164c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x21
mov eax, ebx
mov edx, dword [ebp - 0xac]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41166d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0xb0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41168e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov dword [ebp - 0x10], ecx
mov edx, dword [eax + 0xc]
sub edx, 0x10
mov dword [ebp - 0x18], edx
cmp ecx, edx
je 0x411700
cmp dword [edx + 0xc], 0
lea eax, [edx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
jl 0x4116f1
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x4116f1
push dword [ebp - 0x10]
call fcn.00402880
mov dword [ebp - 0x10], eax
add esp, 4
mov eax, dword [ebp - 0x1c]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4116e3
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [edx + 0xc], eax
jmp 0x411700
mov ecx, dword [ebp - 0x14]
push dword [eax - 0xc]
push eax
lea ecx, [ecx + 0xc]
call fcn.00402c30
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x44]
push eax
mov dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x24]
add ecx, 0x1c
push dword [ecx + 8]
call fcn.0044b33b
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xb8]
push str.Check_file__
push eax
call fcn.00407120
push str.____Update_n
push eax
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 0x24
push eax
call fcn.004072b0
add esp, 0x18
mov byte [ebp - 4], 0x25
mov edx, dword [eax]
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x5c], 0
je 0x411762
test edx, edx
je 0x411762
lea ecx, [eax + 0x58]
mov eax, dword [ecx]
push edx
call dword [eax + 0x58]
mov byte [ebp - 4], 0x24
mov eax, ebx
mov edx, dword [ebp - 0xb4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411783
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0xb8]
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411d77
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x411d77
push str.Patch
push dword [ebp - 0x3c]
call fcn.005676f5
add esp, 8
test eax, eax
jne 0x411d77
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x48]
lea eax, [ebp - 0xbc]
push eax
call fcn.00413740
add esp, 0xc
mov byte [ebp - 4], 0x26
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ecx + 4]
lea eax, [edx - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x41184e
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x1c], eax
jl 0x41183f
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x41183f
push dword [ebp - 0x10]
call fcn.00402880
mov dword [ebp - 0x10], eax
add esp, 4
mov eax, dword [ebp - 0x1c]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x411831
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [edx + 4], eax
jmp 0x41184e
mov ecx, dword [ebp - 0x14]
push dword [edx - 0xc]
push edx
lea ecx, [ecx + 4]
call fcn.00402c30
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0xbc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41186f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x30]
add ecx, 0xfffffff0
mov dword [ebp - 0x10], ecx
mov edx, dword [eax + 0xc]
sub edx, 0x10
mov dword [ebp - 0x18], edx
cmp ecx, edx
je 0x4118e1
cmp dword [edx + 0xc], 0
lea eax, [edx + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x30]
jl 0x4118d2
mov ecx, dword [ecx]
cmp ecx, dword [edx]
jne 0x4118d2
push dword [ebp - 0x10]
call fcn.00402880
mov dword [ebp - 0x10], eax
add esp, 4
mov eax, dword [ebp - 0x1c]
mov ecx, ebx
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4118c4
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [edx + 0xc], eax
jmp 0x4118e1
mov ecx, dword [ebp - 0x14]
push dword [eax - 0xc]
push eax
lea ecx, [ecx + 0xc]
call fcn.00402c30
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x44]
mov dword [eax + 0x10], ecx
cmp dword [esi - 0xc], 0
jne 0x411990
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0xc0]
mov edx, dword [ebp - 0x20]
push dword [eax + 4]
call fcn.0040f6f0
add esp, 4
mov byte [ebp - 4], 0x27
lea ecx, [esi - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ecx
lea edx, [eax - 0x10]
cmp edx, ecx
je 0x41196f
cmp dword [ecx + 0xc], 0
lea esi, [ecx + 0xc]
jl 0x411960
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x41195d
push edx
call fcn.00402880
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, ebx
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x411955
mov esi, dword [ebp - 0x10]
push esi
mov ecx, dword [esi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
lea esi, [eax + 0x10]
mov dword [ebp - 0x2c], esi
jmp 0x41196f
mov eax, dword [ebp - 0x1c]
push dword [eax - 0xc]
lea ecx, [ebp - 0x2c]
push eax
call fcn.00402c30
mov esi, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0xc0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411990
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x40]
lea ecx, [ebp - 0xc4]
push esi
push dword [ebp - 0x20]
call fcn.0040f2e0
add esp, 8
mov byte [ebp - 4], 0x28
lea ecx, [edi - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], ecx
lea edx, [eax - 0x10]
cmp edx, ecx
je 0x411a09
cmp dword [ecx + 0xc], 0
lea edi, [ecx + 0xc]
jl 0x4119fa
mov eax, dword [edx]
cmp eax, dword [ecx]
jne 0x4119f7
push edx
call fcn.00402880
add esp, 4
mov dword [ebp - 0x1c], eax
mov ecx, ebx
lock xadd dword [edi], ecx
dec ecx
test ecx, ecx
jg 0x4119ef
mov edi, dword [ebp - 0x10]
push edi
mov ecx, dword [edi]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x1c]
lea edi, [eax + 0x10]
mov dword [ebp - 0x28], edi
jmp 0x411a09
mov eax, dword [ebp - 0x1c]
push dword [eax - 0xc]
lea ecx, [ebp - 0x28]
push eax
call fcn.00402c30
mov edi, dword [ebp - 0x28]
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0xc4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411a2a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x24]
lea eax, [ecx + 0x50]
add ecx, 0x44
cmp dword [edi - 0xc], 0
push eax
push ecx
je 0x411bc8
lea eax, [ebp - 0xd0]
push eax
call fcn.00413740
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x29
push ecx
push eax
lea eax, [ebp - 0xcc]
push eax
call fcn.00413740
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x2a
push ecx
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00413740
add esp, 0x24
mov byte [ebp - 4], 0x2b
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ecx + 8]
lea eax, [edx - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x411aeb
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x1c], eax
jl 0x411adc
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x411adc
push dword [ebp - 0x10]
call fcn.00402880
mov edx, dword [ebp - 0x1c]
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411ad1
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add eax, 0x10
mov dword [edx + 8], eax
jmp 0x411aeb
mov ecx, dword [ebp - 0x14]
push dword [edx - 0xc]
push edx
lea ecx, [ecx + 8]
call fcn.00402c30
mov byte [ebp - 4], 0x2a
mov eax, ebx
mov edx, dword [ebp - 0xc8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411b0c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x29
mov eax, ebx
mov edx, dword [ebp - 0xcc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411b2d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0xd0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411b4e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xd8]
push str.Check_file__
push eax
call fcn.00407120
push str.____Patch_n
push eax
lea eax, [ebp - 0xd4]
mov byte [ebp - 4], 0x2c
push eax
call fcn.004072b0
add esp, 0x18
mov byte [ebp - 4], 0x2d
mov edx, dword [eax]
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x5c], 0
je 0x411b98
test edx, edx
je 0x411b98
lea ecx, [eax + 0x58]
mov eax, dword [ecx]
push edx
call dword [eax + 0x58]
mov byte [ebp - 4], 0x2c
mov eax, ebx
mov edx, dword [ebp - 0xd4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411bb9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0xd8]
jmp 0x411d4f
lea eax, [ebp - 0xe4]
push eax
call fcn.00413740
mov ecx, dword [ebp - 0x24]
add ecx, 0x4c
mov byte [ebp - 4], 0x2e
push ecx
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.00413740
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x2f
push ecx
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.00413740
add esp, 0x24
mov byte [ebp - 4], 0x30
mov ecx, dword [ebp - 0x14]
mov edx, dword [eax]
mov ecx, dword [ecx + 8]
lea eax, [edx - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x411c77
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x1c], eax
jl 0x411c68
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x411c68
push dword [ebp - 0x10]
call fcn.00402880
mov edx, dword [ebp - 0x1c]
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411c5d
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
add eax, 0x10
mov dword [edx + 8], eax
jmp 0x411c77
mov ecx, dword [ebp - 0x14]
push dword [edx - 0xc]
push edx
lea ecx, [ecx + 8]
call fcn.00402c30
mov byte [ebp - 4], 0x2f
mov eax, ebx
mov edx, dword [ebp - 0xdc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411c98
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2e
mov eax, ebx
mov edx, dword [ebp - 0xe0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411cb9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov eax, ebx
mov edx, dword [ebp - 0xe4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411cda
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xec]
push str.Check_file__
push eax
call fcn.00407120
push str.____Miss_n
push eax
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0x31
push eax
call fcn.004072b0
add esp, 0x18
mov byte [ebp - 4], 0x32
mov edx, dword [eax]
mov eax, dword [ebp - 0x24]
cmp dword [eax + 0x5c], 0
je 0x411d24
test edx, edx
je 0x411d24
lea ecx, [eax + 0x58]
mov eax, dword [ecx]
push edx
call dword [eax + 0x58]
mov byte [ebp - 4], 0x31
mov eax, ebx
mov edx, dword [ebp - 0xe8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411d45
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0xec]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411d66
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x24]
push dword [ebp - 0x14]
add ecx, 0x30
push dword [ecx + 8]
call fcn.0044b33b
mov byte [ebp - 4], 8
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x411d92
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x411dad
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x20]
mov byte [ebp - 4], 5
mov eax, ebx
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411dce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, ebx
mov edx, dword [ebp - 0x3c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411dec
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
mov byte [ebp - 4], 1
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x411e07
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x110]
inc edx
mov dword [ebp - 0x4c], edx
cmp edx, ecx
jl 0x410784
mov esi, 1
jmp 0x41069a
push str.Remove
push dword [ebp - 0x3c]
call fcn.005676f5
add esp, 8
test eax, eax
je 0x411db0
push 0x14
call fcn.0041e2c1
mov esi, eax
mov dword [ebp - 0x2c], eax
add esp, 4
test esi, esi
je 0x411ea1
call fcn.0041f881
mov ecx, eax
test ecx, ecx
je 0x412186
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 4], eax
call fcn.0041f881
mov ecx, eax
test ecx, ecx
je 0x412186
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 8], eax
call fcn.0041f881
mov ecx, eax
test ecx, ecx
je 0x412186
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi + 0xc], eax
jmp 0x411ea6
xor esi, esi
mov dword [ebp - 0x2c], esi
lea eax, [ebp - 0x20]
mov dword [esi], 0
push eax
push dword [ebp - 0x48]
lea eax, [ebp - 0xf0]
push eax
call fcn.00413740
add esp, 0xc
add esi, 4
mov byte [ebp - 4], 0x33
mov ecx, dword [eax]
mov dword [ebp - 0x18], esi
mov esi, dword [esi]
lea edx, [ecx - 0x10]
sub esi, 0x10
cmp edx, esi
je 0x411f21
cmp dword [esi + 0xc], 0
jl 0x411f15
mov eax, dword [edx]
cmp eax, dword [esi]
jne 0x411f15
push edx
call fcn.00402880
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, ebx
lea edx, [esi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411f0b
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x18]
add eax, 0x10
mov dword [ecx], eax
jmp 0x411f21
push dword [ecx - 0xc]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.00402c30
mov byte [ebp - 4], 6
mov eax, ebx
mov edx, dword [ebp - 0xf0]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411f42
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x24]
lea eax, [esi + 0x50]
push eax
lea eax, [esi + 0x44]
push eax
lea eax, [ebp - 0xfc]
push eax
call fcn.00413740
lea ecx, [esi + 0x4c]
mov byte [ebp - 4], 0x34
push ecx
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.00413740
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x35
push ecx
push eax
lea eax, [ebp - 0xf4]
push eax
call fcn.00413740
add esp, 0x24
mov byte [ebp - 4], 0x36
mov esi, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [esi + 8]
lea eax, [edx - 0x10]
sub ecx, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], ecx
cmp eax, ecx
je 0x411ff3
cmp dword [ecx + 0xc], 0
lea eax, [ecx + 0xc]
mov dword [ebp - 0x1c], eax
jl 0x411fe7
mov eax, dword [edx - 0x10]
cmp eax, dword [ecx]
jne 0x411fe7
push dword [ebp - 0x10]
call fcn.00402880
mov edx, dword [ebp - 0x1c]
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411fdf
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [esi + 8], eax
jmp 0x411ff3
push dword [edx - 0xc]
lea ecx, [esi + 8]
push edx
call fcn.00402c30
mov byte [ebp - 4], 0x35
mov eax, ebx
mov edx, dword [ebp - 0xf4]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412014
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x34
mov eax, ebx
mov edx, dword [ebp - 0xf8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412035
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov eax, ebx
mov edx, dword [ebp - 0xfc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412056
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x30]
lea ecx, [esi + 0xc]
mov esi, dword [ecx]
sub esi, 0x10
mov dword [ebp - 0x18], ecx
lea edx, [eax - 0x10]
cmp edx, esi
je 0x4120b2
cmp dword [esi + 0xc], 0
jl 0x4120a9
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x4120a6
push edx
call fcn.00402880
mov dword [ebp - 0x10], eax
add esp, 4
mov ecx, ebx
lea eax, [esi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x412099
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
add eax, 0x10
mov dword [ecx], eax
jmp 0x4120b2
mov ecx, dword [ebp - 0x18]
push dword [eax - 0xc]
push eax
call fcn.00402c30
mov eax, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x44]
push eax
mov dword [eax + 0x10], ecx
lea ecx, [esi + 0x1c]
push dword [ecx + 8]
call fcn.0044b33b
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x104]
push str.Check_file__
push eax
call fcn.00407120
push str.____New_n
push eax
lea eax, [ebp - 0x100]
mov byte [ebp - 4], 0x37
push eax
call fcn.004072b0
add esp, 0x18
mov byte [ebp - 4], 0x38
cmp dword [esi + 0x5c], 0
mov edx, dword [eax]
je 0x412112
test edx, edx
je 0x412112
mov eax, dword [esi + 0x58]
lea ecx, [esi + 0x58]
push edx
call dword [eax + 0x58]
mov byte [ebp - 4], 0x37
mov eax, ebx
mov edx, dword [ebp - 0x100]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x412133
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
mov eax, ebx
mov edx, dword [ebp - 0x104]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x411db0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x411db0
mov byte [ebp - 4], 1
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x410698
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x410698
call fcn.0041f3cd
push 0x80004005
call fcn.00402be0
int3