Function at 0x418e60
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f0b00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], ebx
call fcn.004df219
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.004ddd65
mov edi, dword [ebp + 8]
push str.FileCRC.ini
lea eax, [ebp - 0x24]
push edi
push eax
mov byte [ebp - 4], 2
call fcn.00401e30
add esp, 0xc
mov eax, dword [eax]
sub eax, 0x10
push eax
mov byte [ebp - 4], 3
call fcn.00401660
add esp, 4
add eax, 0x10
push 0x80
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [ebp - 0x24]
add eax, 0xfffffff0
mov byte [ebp - 4], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418f08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [ebp + 0xc]
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push eax
push str.FileList
lea ecx, [ebp - 0x1c]
call fcn.0047d230
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx - 4]
mov eax, 1
sub eax, ecx
mov ecx, dword [edx - 8]
or ecx, eax
jge 0x418f3f
push ebx
lea ecx, [ebp - 0x14]
call fcn.00401610
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x54]
push eax
push 0x2c
push edx
call fcn.0047c390
mov eax, dword [ebp - 0x4c]
add esp, 0xc
cmp eax, 2
je 0x418fe9
call fcn.00407350
push 0x23
push str..ClientPatchMgr.cpp
mov ecx, eax
call fcn.0040a680
mov ecx, dword [esi]
mov edx, dword [edi]
mov eax, dword [ebp - 0x14]
push ecx
push edx
push eax
push str.CClientPatchMgr_CheckFileCRC_FileCRC_Value__s__Error__File_s_s.
push 0x20
call fcn.0047dea0
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
add esp, 0x14
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418fa7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.004dddb7
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x418fd4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
push eax
call fcn.004cef45
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x4c]
add esp, 4
cmp eax, 1
jg 0x419007
call fcn.004dced3
mov ecx, dword [ebp - 0x50]
mov eax, dword [ecx + 4]
push eax
call fcn.004cef45
add esp, 4
lea ecx, [ebp - 0x40]
mov edi, eax
call fcn.004e4494
mov edx, dword [ebp + 8]
push esi
push edx
lea eax, [ebp - 0x28]
mov bl, 6
push eax
mov byte [ebp - 4], bl
call fcn.00409450
add esp, 0xc
mov eax, dword [eax]
push 0
push 0x20
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.004e472c
mov esi, eax
mov eax, dword [ebp - 0x28]
add eax, 0xfffffff0
mov byte [ebp - 4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41906b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
je 0x4190b7
lea ecx, [ebp - 0x40]
call fcn.004e438c
mov ebx, eax
push ebx
mov dword [ebp - 0x2c], edx
call fcn.004df1be
add esp, 4
mov esi, eax
push ebx
push esi
lea ecx, [ebp - 0x40]
call fcn.004e41a7
cmp eax, ebx
jne 0x4190a4
push 0xffffffffffffffff
push eax
push esi
call fcn.0047c260
add esp, 0xc
mov dword [ebp - 0x18], eax
push esi
call fcn.004df1b9
add esp, 4
lea ecx, [ebp - 0x40]
call fcn.004e4432
jmp 0x4190ba
mov ebx, dword [ebp - 0x2c]
cmp dword [ebp - 0x20], ebx
jne 0x4190cb
cmp edi, dword [ebp - 0x18]
jne 0x4190cb
mov esi, 1
jmp 0x419105
xor esi, esi
call fcn.00407350
push 0x3e
push str..ClientPatchMgr.cpp
mov ecx, eax
call fcn.0040a680
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov edx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0x18]
push eax
push ecx
push ebx
push edi
push edx
push str.CClientPatchMgr_CheckFileCRC_Failed__CheckCRC__u__u___FileCRC__u__u___File_s_s.
push 0x20
call fcn.0047dea0
add esp, 0x20
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 5
call fcn.004e44d3
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x419132
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 1
call fcn.004dddb7
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41915f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [ebp - 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8