Function at 0x426040
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4f7b4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
mov ebx, ecx
push esi
lea esi, [ebx + 4]
push edi
mov ecx, esi
mov dword [esp + 0xc], ebx
mov dword [esp + 0x38], esi
call fcn.00401300
push str.UpdateHotFix.ini
lea eax, [ebx + 0x3c]
push eax
lea ecx, [esp + 0x3c]
xor edi, edi
push ecx
mov dword [esp + 0x50], edi
call fcn.00401e30
mov eax, dword [eax]
sub eax, 0x10
push eax
mov byte [esp + 0x54], 1
call fcn.004013d0
add esp, 0x10
add eax, 0x10
push 0x80
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x44], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4260d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push str.Hotfix
lea ecx, [esp + 0x18]
call fcn.0047eff0
lea ecx, [ebx + 0x30]
call fcn.00425170
mov eax, dword [esp + 0x4c]
cmp dword [eax + 0x10], edi
mov dword [esp + 0x20], edi
jbe 0x426418
push ebp
mov dword [esp + 0x28], edi
jmp 0x426103
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x24]
cmp ecx, dword [eax + 0x10]
jae 0x426115
mov edi, dword [eax + 0x14]
add edi, dword [esp + 0x28]
jmp 0x426117
xor edi, edi
cmp dword [edi], 0
jbe 0x426121
mov eax, dword [edi + 4]
jmp 0x426123
xor eax, eax
push eax
lea ecx, [esp + 0x24]
call fcn.00401fd0
mov ecx, dword [edi + 8]
test ecx, ecx
lea eax, [edi + 8]
mov byte [esp + 0x48], 4
mov dword [esp + 0x2c], eax
jbe 0x426145
mov eax, dword [eax + 4]
jmp 0x426147
xor eax, eax
push eax
lea ecx, [esp + 0x38]
call fcn.00401fd0
mov eax, dword [edi + 0x10]
test eax, eax
lea esi, [edi + 0x10]
mov byte [esp + 0x48], 5
mov dword [esp + 0x1c], esi
jbe 0x426169
mov eax, dword [esi + 4]
jmp 0x42616b
xor eax, eax
push eax
lea ecx, [esp + 0x34]
call fcn.00401fd0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x20]
push edx
push eax
push str.Hotfix
lea ecx, [esp + 0x24]
mov byte [esp + 0x54], 6
call fcn.0047ef80
lea ecx, [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.00425200
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x14], ebp
jne 0x426308
push 0x1c
call fcn.004e50ce
mov ebx, eax
add esp, 4
mov dword [esp + 0x14], ebx
test ebx, ebx
mov byte [esp + 0x48], 7
je 0x4261d1
mov ecx, ebx
call fcn.00424e60
mov dword [ebx + 0x18], ebp
jmp 0x4261d3
xor ebx, ebx
cmp ebx, edi
mov byte [esp + 0x48], 6
mov dword [esp + 0x14], ebx
je 0x426227
mov ebp, dword [edi]
test ebp, ebp
jbe 0x4261eb
mov edi, dword [edi + 4]
jmp 0x4261ed
xor edi, edi
mov eax, dword [ebx + 4]
test eax, eax
je 0x4261fd
push eax
call fcn.004e50f9
add esp, 4
push ebp
mov dword [ebx], ebp
call fcn.004e50fe
add esp, 4
test edi, edi
mov dword [ebx + 4], eax
je 0x426227
mov ecx, ebp
mov edx, ecx
mov esi, edi
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov eax, dword [esp + 0x2c]
lea edi, [ebx + 8]
cmp edi, eax
je 0x426277
mov ebp, dword [eax]
test ebp, ebp
jbe 0x42623d
mov esi, dword [eax + 4]
jmp 0x42623f
xor esi, esi
mov eax, dword [edi + 4]
test eax, eax
je 0x42624f
push eax
call fcn.004e50f9
add esp, 4
push ebp
mov dword [edi], ebp
call fcn.004e50fe
add esp, 4
test esi, esi
mov dword [edi + 4], eax
je 0x426273
mov ecx, ebp
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 esi, dword [esp + 0x1c]
lea edi, [ebx + 0x10]
cmp edi, esi
je 0x4262bf
mov ebp, dword [esi]
test ebp, ebp
jbe 0x426289
mov esi, dword [esi + 4]
jmp 0x42628b
xor esi, esi
mov eax, dword [edi + 4]
test eax, eax
je 0x42629b
push eax
call fcn.004e50f9
add esp, 4
push ebp
mov dword [edi], ebp
call fcn.004e50fe
add esp, 4
test esi, esi
mov dword [edi + 4], eax
je 0x4262bf
mov ecx, ebp
mov edx, ecx
shr ecx, 2
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x10]
mov dword [ebx + 0x18], 0
mov edi, dword [esi + 0x28]
mov ecx, dword [edi + 4]
add esi, 0x24
lea eax, [esp + 0x14]
push eax
push ecx
push edi
mov ecx, esi
call fcn.004251d0
push 1
mov ecx, esi
mov ebp, eax
call fcn.004256e0
mov ecx, dword [esp + 0x10]
mov dword [edi + 4], ebp
mov eax, dword [ebp + 4]
push ebx
mov dword [eax], ebp
call fcn.00425780
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
jmp 0x42634f
mov eax, dword [ebp + 8]
test eax, eax
lea edi, [ebp + 8]
jbe 0x426317
mov eax, dword [edi + 4]
jmp 0x426319
xor eax, eax
mov edx, dword [esp + 0x34]
push eax
push edx
call fcn.004d51b1
add esp, 8
test eax, eax
je 0x42634f
mov eax, dword [esp + 0x2c]
push eax
mov ecx, edi
call fcn.0040fff0
push esi
lea ecx, [ebp + 0x10]
call fcn.0040fff0
push ebp
mov ecx, ebx
mov dword [ebp + 0x18], 0
call fcn.00425780
mov esi, dword [ebx + 0x34]
mov edx, dword [esi + 4]
add ebx, 0x30
lea ecx, [esp + 0x14]
push ecx
push edx
push esi
mov ecx, ebx
call fcn.004251d0
push 1
mov ecx, ebx
mov edi, eax
call fcn.004256e0
mov ecx, dword [esp + 0x10]
mov dword [esi + 4], edi
mov eax, dword [edi + 4]
push ebp
mov dword [eax], edi
call fcn.004255d0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x48], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4263a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x48], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4263c9
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 + 0x48], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4263ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x50]
mov edx, dword [ecx + 0x10]
mov ebx, dword [esp + 0x10]
inc eax
add esi, 0x18
cmp eax, edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], esi
jb 0x4260ff
mov esi, dword [esp + 0x3c]
pop ebp
mov ecx, ebx
call fcn.00425380
mov ecx, ebx
call fcn.00425250
test eax, eax
je 0x426450
push 1
push str.NeedFix
push 0x502f4c
lea ecx, [esp + 0x20]
call fcn.0047efa0
push 0
push str.Hotfix
push 0
call fcn.00447c50
add esp, 0xc
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x44], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x426473
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x44], 0xffffffff
call dword [eax + 0x14]
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret 4