Function at 0x424a60
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4f1a33
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
push esi
lea esi, [ecx + 4]
mov dword [esp + 0x28], ecx
push edi
mov ecx, esi
mov dword [esp + 0x34], esi
call fcn.00401300
xor ebx, ebx
push str.C:UpdateHotFix.ini
lea ecx, [esp + 0x24]
mov dword [esp + 0x6c], ebx
call fcn.00401fd0
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov byte [esp + 0x70], 1
call fcn.004195d0
mov eax, dword [eax]
sub eax, 0x10
push eax
mov byte [esp + 0x74], 2
call fcn.00401660
add esp, 0xc
add eax, 0x10
push 0x80
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x68], 5
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424aff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov byte [esp + 0x68], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424b22
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x4c]
call fcn.004ddd65
lea eax, [esp + 0x4c]
push eax
push str.Hotfix
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], 6
call fcn.0047d070
mov eax, dword [esp + 0x54]
cmp eax, ebx
mov dword [esp + 0x18], ebx
jle 0x424e63
test ebx, ebx
jl 0x424ebb
cmp ebx, eax
jge 0x424ebb
mov ecx, dword [esp + 0x50]
mov esi, dword [ecx + ebx*4]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
sub esi, 0x10
call dword [edx + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x424b90
cmp eax, dword [esi]
jne 0x424b90
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x424bc2
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x424eb6
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov byte [esp + 0x68], 7
call fcn.004df219
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 8
call fcn.004ddd65
lea eax, [esp + 0x14]
push eax
push esi
push str.Hotfix
lea ecx, [esp + 0x28]
mov byte [esp + 0x74], 9
call fcn.0047d230
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x38]
push ecx
push 0x2c
push edx
call fcn.0047c390
mov eax, dword [esp + 0x4c]
add esp, 0xc
cmp eax, 2
jne 0x424dfa
push 0x1c
call fcn.004df18e
mov ebp, eax
add esp, 4
mov dword [esp + 0x30], ebp
test ebp, ebp
mov byte [esp + 0x68], 0xa
je 0x424c52
mov ecx, ebp
call fcn.00423d00
mov dword [ebp + 0x18], 0
jmp 0x424c54
xor ebp, ebp
mov eax, dword [esp + 0x40]
test eax, eax
mov byte [esp + 0x68], 9
mov dword [esp + 0x30], ebp
jle 0x424ebb
mov eax, dword [esp + 0x3c]
mov esi, dword [eax]
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
sub esi, 0x10
call dword [edx + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x424c95
cmp eax, dword [esi]
jne 0x424c95
mov eax, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x424cc7
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
je 0x424eb6
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ebx, [eax + 0x10]
mov dword [esp + 0x24], ebx
mov esi, dword [esp + 0x10]
mov ecx, dword [esi - 4]
mov edi, dword [esi - 0xc]
mov eax, 1
sub eax, ecx
mov ecx, dword [esi - 8]
or ecx, eax
mov byte [esp + 0x68], 0xb
jge 0x424cfa
push 0
lea ecx, [esp + 0x14]
call fcn.00401610
mov esi, dword [esp + 0x10]
mov eax, dword [ebp + 4]
inc edi
test eax, eax
je 0x424d0b
push eax
call fcn.004df1b9
add esp, 4
push edi
mov dword [ebp], edi
call fcn.004df1be
add esp, 4
test esi, esi
mov dword [ebp + 4], eax
je 0x424d30
mov ecx, edi
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebx - 4]
mov ecx, dword [ebx - 8]
mov esi, dword [ebx - 0xc]
mov eax, 1
sub eax, edi
or ecx, eax
jge 0x424d53
push 0
lea ecx, [esp + 0x28]
call fcn.00401610
mov ebx, dword [esp + 0x24]
mov eax, dword [ebp + 0xc]
inc esi
test eax, eax
je 0x424d64
push eax
call fcn.004df1b9
add esp, 4
push esi
mov dword [ebp + 8], esi
call fcn.004df1be
add esp, 4
test ebx, ebx
mov dword [ebp + 0xc], eax
je 0x424d8b
mov ecx, esi
mov edx, ecx
shr ecx, 2
mov esi, ebx
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
cmp dword [esp + 0x40], 1
jle 0x424ebb
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 4]
push eax
call fcn.004cef45
mov esi, dword [esp + 0x30]
add esp, 4
mov dword [ebp + 0x18], eax
mov edi, dword [esi + 0x28]
mov edx, dword [edi + 4]
add esi, 0x24
lea ecx, [esp + 0x30]
push ecx
push edx
push edi
mov ecx, esi
call fcn.00424050
push 1
mov ecx, esi
mov ebp, eax
call fcn.00424560
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
add ebx, 0xfffffff0
mov dword [eax], ebp
mov byte [esp + 0x68], 9
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x424df6
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 8
call fcn.004dddb7
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x68], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424e2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x68], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424e4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x54]
inc ebx
cmp ebx, eax
mov dword [esp + 0x18], ebx
jl 0x424b53
mov esi, dword [esp + 0x34]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x68], 4
call fcn.004dddb7
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x68], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x424e94
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x68], 0xffffffff
call dword [eax + 0x14]
mov ecx, dword [esp + 0x60]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret
jmp fcn.0041aab0
jmp fcn.004dced3