Function at 0x424e30
Capabilities:
Access peb ldr_data
Copy file
Delete file
Move file
Resolve function by parsing pe exports
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x473738
mov eax, dword fs:[0]
push eax
sub esp, 0x458
mov eax, dword [0x4968d4]
xor eax, esp
mov dword [esp + 0x454], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4968d4]
xor eax, esp
push eax
lea eax, [esp + 0x46c]
mov dword fs:[0], eax
push str.ProcSelfUpdate___begins.
push 1
call fcn.0042b8f0
mov eax, dword [0x49ec04]
mov edx, dword [eax + 0xc]
add esp, 8
mov ecx, 0x49ec04
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
xor ebp, ebp
mov dword [esp + 0x474], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
push 0x104
lea eax, [esp + 0x368]
push eax
push ebp
mov byte [esp + 0x480], 2
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x100
lea ecx, [esp + 0x268]
push ecx
push 0x100
lea edx, [esp + 0x170]
push edx
push 0x100
lea eax, [esp + 0x78]
push eax
push 3
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x384]
push edx
call fcn.00456442
lea eax, [esp + 0x60]
add esp, 0x24
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x424f10
sub eax, edx
push eax
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x2c]
call fcn.00420800
lea eax, [esp + 0x64]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x424f31
sub eax, edx
push eax
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00420800
mov ebx, dword [esp + 0x24]
mov edi, dword [ebx - 0xc]
lea eax, [edi - 1]
cmp eax, ebp
jl 0x42509a
cmp eax, edi
jg 0x42509a
mov al, byte [eax + ebx]
cmp al, 0x5c
je 0x424faa
mov eax, dword [ebx - 8]
mov ecx, 1
sub ecx, dword [ebx - 4]
lea esi, [edi + 1]
sub eax, esi
or eax, ecx
jge 0x424f8e
push esi
lea ecx, [esp + 0x28]
call fcn.00407e10
mov ebx, dword [esp + 0x24]
cmp esi, ebp
mov byte [edi + ebx], 0x5c
jl 0x42509a
cmp esi, dword [ebx - 8]
jg 0x42509a
mov dword [ebx - 0xc], esi
mov byte [esi + ebx], 0
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push str..del_npepatch
call fcn.00421160
lea edx, [esp + 0x1c]
push edx
push ebx
call fcn.004242d0
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x10
xor esi, esi
jmp 0x424fe0
mov ecx, dword [esp + 0x18]
cmp ecx, ebp
je 0x4250a4
mov eax, dword [esp + 0x1c]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x4250a4
mov eax, dword [ecx + esi*4]
push eax
push str.Try_to_delete_old_patched_file_:__s
push 1
call fcn.0042b8f0
mov eax, dword [esp + 0x24]
add esp, 0xc
cmp eax, ebp
je 0x425025
mov ecx, dword [esp + 0x1c]
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jb 0x42502e
call fcn.0045520c
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + esi*4]
push 0x80
push ecx
call edi
mov ecx, dword [esp + 0x18]
cmp ecx, ebp
je 0x42504e
mov eax, dword [esp + 0x1c]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x425057
call fcn.0045520c
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + esi*4]
push ecx
call ebx
test eax, eax
jne 0x425092
mov ecx, dword [esp + 0x18]
cmp ecx, ebp
je 0x425076
mov eax, dword [esp + 0x1c]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x42507f
call fcn.0045520c
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + esi*4]
push edx
push str.Failed_to_delete_old_patched_file_:__s
push 1
call fcn.0042b8f0
add esp, 0xc
add esi, 1
jmp 0x424fe0
push 0x80070057
call fcn.00402a10
push ebp
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push str..pre_npepatch
call fcn.00421160
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0x30]
push eax
push ecx
call fcn.004242d0
add esp, 0x10
xor esi, esi
mov dword [esp + 0x58], esi
mov edi, edi
mov ecx, dword [esp + 0x2c]
cmp ecx, ebp
je 0x425b87
mov eax, dword [esp + 0x30]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x425b87
lea edi, [esi*4]
mov edx, dword [edi + ecx]
push edx
push str.Try_to_patch_to_pre_npepatch_file_:__s
push 1
call fcn.0042b8f0
mov eax, dword [esp + 0x38]
add esp, 0xc
cmp eax, ebp
je 0x42511c
mov ecx, dword [esp + 0x30]
sub ecx, eax
sar ecx, 2
cmp esi, ecx
jb 0x425125
call fcn.0045520c
mov eax, dword [esp + 0x2c]
mov eax, dword [edi + eax]
push 0x100
lea ecx, [esp + 0x268]
push ecx
push 0x100
lea edx, [esp + 0x170]
push edx
push 0x100
lea ecx, [esp + 0x78]
push ecx
push 3
lea edx, [esp + 0x58]
push edx
push eax
call fcn.00456442
lea eax, [esp + 0x188]
add esp, 0x24
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x425166
sub eax, edx
mov ecx, dword [esp + 0x2c]
je 0x4257a2
cmp ecx, ebp
je 0x42518c
mov eax, dword [esp + 0x30]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x425195
call fcn.0045520c
mov ecx, dword [esp + 0x2c]
mov esi, dword [edi + ecx]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
sub esi, 0x10
call edx
cmp dword [esi + 0xc], ebp
lea ecx, [esi + 0xc]
jl 0x4251be
cmp eax, dword [esi]
jne 0x4251be
mov edi, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x4251f4
mov ecx, dword [esi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov edi, eax
cmp edi, ebp
je 0x4258ff
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 4]
add eax, 1
push eax
add esi, 0x10
push esi
push eax
lea ecx, [edi + 0x10]
push ecx
call fcn.0045463f
add esp, 0x10
lea ebp, [edi + 0x10]
mov dword [esp + 0x60], ebp
mov edx, dword [0x49ec04]
mov eax, dword [edx + 0xc]
mov ecx, 0x49ec04
mov byte [esp + 0x474], 3
call eax
add eax, 0x10
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x164]
push ecx
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x68]
push str._s_s_s
push ecx
mov byte [esp + 0x488], 4
call fcn.00420ca0
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
add esp, 0x14
push 0x80
push ebp
call esi
mov ebx, dword [esp + 0x5c]
push 0x80
push ebx
call esi
push ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
lea esi, [ebp - 0x10]
mov dword [esp + 0x44], esp
mov edi, esp
mov dword [esp + 0x50], esi
call eax
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x425290
cmp eax, dword [esi]
jne 0x425290
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x4252ce
mov ecx, dword [esp + 0x50]
mov ecx, dword [ecx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x4258ff
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 4]
add eax, 1
push eax
add ecx, 0x10
push ecx
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.0045463f
add esp, 0x10
add esi, 0x10
mov dword [edi], esi
call fcn.0042b260
push edx
push eax
push ebp
push str.MoveFileEx_Ready._Before_:__s___I64d
push 1
call fcn.0042b8f0
mov ecx, dword [ebx - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
lea esi, [ebx - 0x10]
add esp, 0x14
mov dword [esp + 0x44], esp
mov edi, esp
mov dword [esp + 0x4c], esi
call eax
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x425319
cmp eax, dword [esi]
jne 0x425319
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x425357
mov ecx, dword [esp + 0x4c]
mov ecx, dword [ecx + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 1
push ecx
mov ecx, eax
call edx
mov esi, eax
test esi, esi
je 0x4258ff
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 4]
mov dword [esi + 4], eax
mov eax, dword [ecx + 4]
add eax, 1
push eax
add ecx, 0x10
push ecx
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.0045463f
add esp, 0x10
add esi, 0x10
mov dword [edi], esi
call fcn.0042b260
push edx
push eax
push ebx
push str.MoveFileEx_Ready._After__:__s___I64d
push 1
call fcn.0042b8f0
add esp, 0x18
push 1
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
push ebx
push ebp
jne 0x4256c4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.MoveFileEx_failed._errCode___d.__s____s_n
push 1
call fcn.0042b8f0
mov edx, dword [0x49ec04]
mov eax, dword [edx + 0xc]
add esp, 0x14
mov ecx, 0x49ec04
call eax
add eax, 0x10
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
mov byte [esp + 0x474], 5
mov esi, eax
jbe 0x4253d7
call fcn.0045520c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
mov edi, ecx
jbe 0x4253e6
call fcn.0045520c
mov eax, dword [esp + 0x1c]
cmp edi, esi
je 0x42544d
mov ecx, eax
sub ecx, esi
sar ecx, 2
cmp esi, eax
lea edx, [edi + ecx*4]
mov ebp, eax
mov dword [esp + 0x44], edx
je 0x425414
sub edi, esi
push esi
lea ecx, [edi + esi]
call fcn.0040a940
add esi, 4
cmp esi, ebp
jne 0x425400
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x44]
cmp ebp, eax
mov edi, eax
mov esi, ebp
je 0x425445
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42543e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x425420
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x60]
xor edi, edi
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push str..del_npepatch
call fcn.00421160
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x1c]
push ecx
push edx
call fcn.004242d0
mov eax, dword [esp + 0x28]
add esp, 0x10
cmp eax, edi
je 0x425488
mov ecx, dword [esp + 0x1c]
mov edx, ecx
sub edx, eax
sar edx, 2
jne 0x4254a0
push ebx
lea eax, [esp + 0x44]
push str._s.del_npepatch
push eax
call fcn.00420ca0
add esp, 0xc
jmp 0x42563f
mov dword [esp + 0x44], edi
test eax, eax
je 0x425624
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x425624
mov eax, dword [eax + edi*4]
push 0x100
lea ecx, [esp + 0x268]
push ecx
push 0x100
lea edx, [esp + 0x170]
push edx
push 0x100
lea ecx, [esp + 0x78]
push ecx
push 3
lea edx, [esp + 0x58]
push edx
push eax
call fcn.00456442
add esp, 0x24
lea eax, [esp + 0x264]
push eax
lea ecx, [esp + 0x3c]
call fcn.00421160
mov ecx, dword [esp + 0x38]
cmp dword [ecx - 0xc], 0
mov byte [esp + 0x474], 6
jl 0x4255f0
push 0x47aeec
push ecx
call fcn.004569d1
mov ecx, dword [esp + 0x40]
add esp, 8
test eax, eax
je 0x4255f0
sub eax, ecx
js 0x4255f0
cmp dword [ecx - 0xc], 0
jge 0x425544
or esi, 0xffffffff
jmp 0x425563
push 0x48576c
push ecx
call fcn.004569d1
mov ecx, dword [esp + 0x40]
add esp, 8
test eax, eax
jne 0x42555f
or esi, 0xffffffff
jmp 0x425563
sub eax, ecx
mov esi, eax
cmp dword [ecx - 0xc], 0
jge 0x42556e
or eax, 0xffffffff
jmp 0x42558b
push 0x485808
push ecx
call fcn.004569d1
mov ecx, dword [esp + 0x40]
add esp, 8
test eax, eax
jne 0x425589
or eax, 0xffffffff
jmp 0x42558b
sub eax, ecx
test esi, esi
jl 0x4255f0
test eax, eax
jl 0x4255f0
sub eax, esi
sub eax, 1
push eax
add esi, 1
push esi
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x44]
call fcn.00420270
mov esi, dword [esp + 0x54]
push esi
call fcn.00454c4f
add esp, 4
cmp dword [esp + 0x44], eax
jge 0x4255cb
push esi
call fcn.00454c4f
add esp, 4
mov dword [esp + 0x44], eax
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4255e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
jmp 0x4255f3
lea eax, [ecx - 0x10]
mov byte [esp + 0x474], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425614
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add edi, 1
jmp 0x4254a4
mov ecx, dword [esp + 0x44]
add ecx, 1
push ecx
push ebx
lea edx, [esp + 0x48]
push str._s.del_npepatch__d_
push edx
call fcn.00420ca0
add esp, 0x10
mov esi, dword [esp + 0x40]
xor edi, edi
cmp dword [esi - 0xc], edi
jle 0x425904
push esi
push ebx
push str.Try_to_rename_old_file_name_to_removeable_file_name_:__s____s
push 1
call fcn.0042b8f0
add esp, 0x10
push 1
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x425a45
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x80
push ebp
call edi
push 0x80
push ebx
call edi
push 1
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
je 0x425b60
push ebx
push ebp
push str.MoveFileEx_Success._2.__s____s
push 1
call fcn.0042b8f0
lea eax, [esi - 0x10]
add esp, 0x10
mov byte [esp + 0x474], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x42573c
push str.MoveFileEx_Success.__s____s.
push 1
call fcn.0042b8f0
mov edx, dword [0x49ec04]
mov eax, dword [edx + 0xc]
add esp, 0x10
mov ecx, 0x49ec04
call eax
add eax, 0x10
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x164]
push ecx
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x4c]
push str._s_s_s.after_patch
push ecx
mov byte [esp + 0x488], 7
call fcn.00420ca0
mov esi, dword [esp + 0x54]
add esp, 0x14
push 0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea eax, [esi - 0x10]
mov byte [esp + 0x474], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x425748
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x48]
mov byte [esp + 0x474], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42576d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x474], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425792
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add dword [esp + 0x58], 1
mov esi, dword [esp + 0x58]
xor ebp, ebp
jmp 0x4250d0
cmp ecx, ebp
je 0x4257b3
mov eax, dword [esp + 0x30]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4257bc
call fcn.0045520c
mov ecx, dword [esp + 0x2c]
mov ecx, dword [ecx + esi*4]
push ecx
push str.Wrong_pre_patch_file_is_added_in_client_folder_:__s
call fcn.0042bb70
mov ecx, dword [esp + 0x34]
add esp, 8
cmp ecx, ebp
je 0x4257e2
mov eax, dword [esp + 0x30]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4257eb
call fcn.0045520c
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + esi*4]
push edx
push str.Wrong_pre_patch_file_is_added_in_client_folder_:__s
push 8
call fcn.0042b8f0
mov esi, dword [esp + 0x38]
add esp, 0xc
cmp esi, ebp
mov byte [esp + 0x474], 1
je 0x42584a
mov eax, dword [esp + 0x30]
cmp esi, eax
mov edi, eax
je 0x425841
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425836
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x425818
mov esi, dword [esp + 0x2c]
push esi
call fcn.00434567
add esp, 4
mov esi, dword [esp + 0x18]
cmp esi, ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov byte [esp + 0x474], 0
je 0x4258a2
mov eax, dword [esp + 0x1c]
cmp esi, eax
mov edi, eax
je 0x425899
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42588e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x425870
mov esi, dword [esp + 0x18]
push esi
call fcn.00434567
add esp, 4
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x474], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4258d5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x46c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x454]
xor ecx, esp
call fcn.00454567
add esp, 0x464
ret
jmp fcn.00402b30
push ebp
push str.Failed_to_make_removable_file_name_:__s
call fcn.0042bb70
push ebp
push str.Failed_to_make_removable_file_name_:__s
push 8
call fcn.0042b8f0
lea eax, [esi - 0x10]
add esp, 0x14
mov byte [esp + 0x474], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425943
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x474], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425967
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x474], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42598b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x2c]
cmp esi, edi
mov byte [esp + 0x474], 1
je 0x4259d9
mov eax, dword [esp + 0x30]
cmp esi, eax
mov edi, eax
je 0x4259ce
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4259c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x4259a5
mov esi, dword [esp + 0x2c]
push esi
call fcn.00434567
add esp, 4
xor edi, edi
mov esi, dword [esp + 0x18]
cmp esi, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov byte [esp + 0x474], 0
je 0x425a34
mov eax, dword [esp + 0x1c]
cmp esi, eax
mov edi, eax
je 0x425a29
nop
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425a1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x425a00
mov esi, dword [esp + 0x18]
push esi
call fcn.00434567
add esp, 4
xor edi, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], edi
jmp 0x4258ae
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push eax
push esi
push ebx
push str.Failed_to_rename_old_file_name_to_removeable_file_name_:__s____s__LastError___d_
call fcn.0042bb70
add esp, 0x10
call edi
push eax
push esi
push ebx
push str.Failed_to_rename_old_file_name_to_removeable_file_name_:__s____s__LastError___d_
push 8
call fcn.0042b8f0
lea eax, [esi - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x488], 4
add esp, 0x14
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425a95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x474], 3
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425ab9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x474], 2
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425add
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x2c]
xor esi, esi
cmp eax, esi
mov byte [esp + 0x474], 1
je 0x425b11
mov ecx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x2c]
push edx
push ecx
push eax
call fcn.00421050
mov edx, dword [esp + 0x3c]
push edx
call fcn.00434567
add esp, 0x14
mov eax, dword [esp + 0x18]
cmp eax, esi
mov byte [esp + 0x474], 0
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
je 0x425b4f
mov ecx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x18]
push edx
push ecx
push eax
call fcn.00421050
mov edx, dword [esp + 0x28]
push edx
call fcn.00434567
add esp, 0x14
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
jmp 0x4258ae
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push eax
push ebx
push ebp
push str.Failed_to_renaming_patch_:__s____s__LastError___d_
call fcn.0042bb70
add esp, 0x10
call edi
push eax
push ebx
push ebp
push str.Failed_to_renaming_patch_:__s____s__LastError___d_
jmp 0x425a67
push str.ProcSelfUpdate___finished._success.
push 1
call fcn.0042b8f0
mov esi, dword [esp + 0x34]
add esp, 8
cmp esi, ebp
mov byte [esp + 0x474], 1
je 0x425be2
mov eax, dword [esp + 0x30]
cmp esi, eax
mov edi, eax
je 0x425bd9
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425bce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x425bb0
mov esi, dword [esp + 0x2c]
push esi
call fcn.00434567
add esp, 4
mov esi, dword [esp + 0x18]
cmp esi, ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov byte [esp + 0x474], 0
je 0x425c3a
mov eax, dword [esp + 0x1c]
cmp esi, eax
mov edi, eax
je 0x425c31
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425c26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add esi, 4
cmp esi, edi
jne 0x425c08
mov esi, dword [esp + 0x18]
push esi
call fcn.00434567
add esp, 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x474], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x425c71
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x4258d7