Function at 0x42ca30
Capabilities:
Delete file
Get file attributes
Resolve function by parsing pe exports
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a544d
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
push ebx
push esi
push edi
mov eax, dword [0x5564a4]
xor eax, esp
push eax
lea eax, [esp + 0xc0]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x54], ebx
mov eax, dword [ebx + 8]
push str.CheckDataIntegrity
push eax
call fcn.00427200
push eax
call fcn.00426f60
mov edx, dword [str.NetlogUpdateError.log]
add esp, 0xc
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push ecx
mov ecx, esp
mov dword [esp + 0x7c], esp
push edx
call fcn.00401d30
lea eax, [esp + 0xbc]
push eax
call fcn.004051d0
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xa0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cae4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
test eax, eax
mov dword [esp + 0x14], 1
jne 0x42cafa
xor esi, esi
jmp 0x42cb12
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
push 0x4f7df8
lea ecx, [esp + 0x3c]
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], 0
call fcn.00401d30
mov ecx, dword [0x55865c]
xor eax, eax
push eax
mov dword [esp + 0xcc], eax
mov dword [esp + 0x24], eax
call fcn.0043f4a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x40]
call eax
test eax, eax
je 0x42d362
cmp dword [ebx + 0x74], 0
mov dword [esp + 0x18], 0
jbe 0x42d346
jmp 0x42cb70
mov ecx, dword [esp + 0x24]
cmp ecx, dword [ebx + 0x70]
jae 0x42d332
lea eax, [ecx*8]
sub eax, ecx
add eax, eax
add eax, eax
mov dword [esp + 0x30], eax
mov edi, edi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 4]
test eax, eax
je 0x42cbb8
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x24], eax
jb 0x42cbbd
call fcn.00475f95
mov esi, dword [esi + 4]
add esi, dword [esp + 0x30]
mov edi, dword [esp + 0x38]
mov ecx, dword [esi]
lea eax, [ecx - 0x10]
add edi, 0xfffffff0
cmp eax, edi
je 0x42cc21
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
jl 0x42cc13
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x42cc13
push eax
call fcn.00402280
mov dword [esp + 0x20], eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x42cc06
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x1c]
add ecx, 0x10
mov dword [esp + 0x38], ecx
jmp 0x42cc21
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.004017c0
mov edx, dword [esi + 4]
add dword [esp + 0x24], 1
add dword [esp + 0x30], 0x1c
mov dword [esp + 0x3c], edx
mov eax, dword [esi + 8]
mov dword [esp + 0x40], eax
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x44], ecx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x48], edx
mov eax, dword [esi + 0x14]
mov dword [esp + 0x4c], eax
mov esi, dword [esi + 0x18]
test esi, esi
mov dword [esp + 0x50], esi
je 0x42d31f
mov esi, dword [esp + 0x38]
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x20], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x42cc8f
cmp eax, dword [esi]
jne 0x42cc8f
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x42ccc5
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
test edi, edi
je 0x42d353
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.0047492a
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
mov byte [esp + 0xcc], 1
call fcn.00404580
mov ecx, eax
mov byte [esp + 0xcc], 0
call fcn.00403290
test eax, eax
je 0x42cd81
mov esi, dword [esp + 0x38]
push 0
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x24], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea ecx, [esi + 0xc]
jl 0x42cd22
cmp eax, dword [esi]
jne 0x42cd22
mov edi, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x42cd58
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
test edi, edi
je 0x42d353
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.0047492a
add esp, 0x10
add edi, 0x10
mov dword [ebx], edi
mov byte [esp + 0xd0], 2
call fcn.00404580
mov ecx, eax
mov byte [esp + 0xd0], 0
call fcn.00403c50
mov dword [esp + 0x20], 1
mov esi, dword [esp + 0x38]
push 0
push 0x80
push 3
push 0
push 1
push bind
push ecx
mov ecx, dword [esi - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
add esi, 0xfffffff0
mov dword [esp + 0x38], esp
mov ebx, esp
call eax
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
jl 0x42cdc5
cmp eax, dword [esi]
jne 0x42cdc5
mov edi, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x42cdfb
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
test edi, edi
je 0x42d353
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.0047492a
add esp, 0x10
lea edx, [esp + 0x94]
add edi, 0x10
push edx
mov dword [ebx], edi
call fcn.004051d0
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42ce3b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0xffffffff
jne 0x42cf1d
call fcn.0045f338
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42d358
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x7c]
push 0x69
push ecx
mov byte [esp + 0xd0], 3
call fcn.00427880
mov ecx, eax
call fcn.004276a0
mov edx, dword [eax]
mov eax, dword [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x1c]
push str._s_s_r_n
push ecx
mov byte [esp + 0xd8], 4
call fcn.00401990
mov eax, dword [esp + 0x8c]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0xc8], 3
lea edx, [eax + 0xc]
or ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42cecf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
mov eax, dword [esi - 0xc]
mov edx, dword [esp + 0x34]
push 0
lea ecx, [esp + 0x9c]
push ecx
push eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x54]
mov edx, dword [ecx + 8]
push eax
push str.INVALID_HANDLE_VALUE__s
push edx
call fcn.00427200
push eax
call fcn.00426f60
add esp, 0x10
mov dword [esp + 0x14], 0
lea eax, [esi - 0x10]
jmp 0x42d2b8
mov ecx, dword [0x55865c]
xor ebx, ebx
push ebx
call fcn.0043f4a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x4c]
call eax
test eax, eax
je 0x42d0bb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0041e080
mov ecx, eax
call fcn.00428e30
mov esi, eax
cmp dword [esp + 0x3c], esi
je 0x42d086
mov dword [esp + 0x14], ebx
call fcn.0045f338
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x42d358
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x74]
push 0x6a
push ecx
mov byte [esp + 0xd0], 5
call fcn.00427880
mov ecx, eax
call fcn.004276a0
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [eax]
push esi
push ecx
push edx
lea eax, [esp + 0x38]
push str._s_s_Local___lu___Info____lu___r_n
push eax
mov byte [esp + 0xe0], 6
call fcn.00401990
mov eax, dword [esp + 0x8c]
add eax, 0xfffffff0
add esp, 0x18
mov byte [esp + 0xc8], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42cff6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x28]
mov eax, dword [edi - 0xc]
mov edx, dword [esp + 0x34]
push ebx
lea ecx, [esp + 0xa0]
push ecx
push eax
push edi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x54]
mov ecx, dword [eax + 8]
push edi
push ecx
call fcn.00427200
push eax
call fcn.00426f60
mov eax, dword [esp + 0x44]
add esp, 8
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
call fcn.00402280
lea edx, [esp + 0x68]
add esp, 4
add eax, 0x10
push edx
mov dword [esi], eax
call fcn.004051d0
mov esi, dword [eax]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x60]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x42d2a9
cmp dword [esp + 0x20], ebx
je 0x42d31f
mov eax, dword [esp + 0x38]
push 1
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00402280
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0xd0], 7
jmp 0x42d307
lea ecx, [esp + 0xa4]
push ecx
lea edx, [esp + 0xb8]
push edx
lea eax, [esp + 0xb4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x90]
push ecx
lea edx, [esp + 0xa8]
push edx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x94]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
mov esi, dword [esp + 0x54]
push ebx
mov dword [esp + 0x88], eax
push ebx
mov dword [esp + 0x90], ecx
lea eax, [esp + 0x88]
push eax
lea ecx, [esp + 0x70]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x58]
push ecx
mov ecx, esi
mov dword [esp + 0x9c], edx
call fcn.004295c0
test eax, eax
je 0x42d171
movzx edx, word [esp + 0x8a]
movzx eax, word [esp + 0x6e]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jle 0x42d2db
mov dword [esp + 0x14], ebx
call fcn.0045f338
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
je 0x42d358
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x5c]
push 0x6a
push ecx
mov byte [esp + 0xd0], 8
call fcn.00427880
mov ecx, eax
call fcn.004276a0
movzx edx, word [esp + 0x70]
movzx ecx, word [esp + 0x6e]
mov eax, dword [eax]
push edx
movzx edx, word [esp + 0x70]
push ecx
movzx ecx, word [esp + 0x6c]
push edx
movzx edx, word [esp + 0x72]
push ecx
movzx ecx, word [esp + 0x7a]
push edx
mov edx, dword [esp + 0x4c]
push ecx
push edx
push eax
lea ecx, [esp + 0x48]
push str._s_s_Local___02d__02d__d___02d:_02d:_02d___r_n
push ecx
mov byte [esp + 0xf0], 9
call fcn.00401990
mov eax, dword [esp + 0x84]
add eax, 0xfffffff0
add esp, 0x28
mov byte [esp + 0xc8], 8
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d225
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x28]
mov eax, dword [edi - 0xc]
mov edx, dword [esp + 0x34]
push ebx
lea ecx, [esp + 0x30]
push ecx
push eax
push edi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esi + 8]
push edi
push eax
call fcn.00427200
push eax
call fcn.00426f60
mov eax, dword [esp + 0x44]
add esp, 8
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
push eax
call fcn.00402280
lea ecx, [esp + 0x60]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.004051d0
mov esi, dword [eax]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d2b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0xc8], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d31f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x42d31f
cmp dword [esp + 0x20], ebx
je 0x42d31f
mov eax, dword [esp + 0x38]
push 1
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x24], esp
mov esi, esp
push eax
call fcn.00402280
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0xd0], 0xa
call fcn.00404580
mov ecx, eax
mov byte [esp + 0xd0], 0
call fcn.00403c50
mov dword [esp + 0x20], ebx
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x54]
cmp ecx, dword [edx + 0x70]
jb 0x42cb90
mov ebx, edx
mov eax, dword [esp + 0x18]
add eax, 1
cmp eax, dword [ebx + 0x74]
mov dword [esp + 0x18], eax
jb 0x42cb70
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42d9df
call fcn.00401350
push 0x80004005
call fcn.00401090
test esi, esi
mov dword [esp + 0x28], 0
jbe 0x42d9df
mov dword [esp + 0x30], 0
lea ebx, [ebx]
mov eax, dword [edi + 4]
test eax, eax
je 0x42d3a5
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x24], eax
jb 0x42d3aa
call fcn.00475f95
mov esi, dword [edi + 4]
add esi, dword [esp + 0x30]
lea ecx, [esp + 0x38]
push esi
call fcn.00402cc0
mov eax, dword [esi + 4]
add dword [esp + 0x24], 1
add dword [esp + 0x30], 0x1c
mov dword [esp + 0x3c], eax
mov ecx, dword [esi + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x44], edx
mov eax, dword [esi + 0x10]
mov dword [esp + 0x48], eax
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x4c], ecx
mov esi, dword [esi + 0x18]
test esi, esi
mov dword [esp + 0x50], esi
je 0x42d9ca
mov eax, dword [esp + 0x38]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.00402280
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [esp + 0xcc], 0xb
call fcn.00404580
mov ecx, eax
mov byte [esp + 0xcc], 0
call fcn.00403290
xor edi, edi
cmp eax, edi
je 0x42d476
mov eax, dword [esp + 0x38]
push edi
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.00402280
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [esp + 0xd0], 0xc
call fcn.00404580
mov ecx, eax
mov byte [esp + 0xd0], 0
call fcn.00403c50
mov dword [esp + 0x20], 1
mov eax, dword [esp + 0x38]
push edi
push 0x80
push 3
push edi
push 1
push bind
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x48], esp
mov esi, esp
push eax
call fcn.00402280
lea edx, [esp + 0x78]
add esp, 4
add eax, 0x10
push edx
mov dword [esi], eax
call fcn.004051d0
mov eax, dword [eax]
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d4da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, 0xffffffff
jne 0x42d5d5
call fcn.0045f338
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
je 0x42d358
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x5c]
push 0x69
push ecx
mov byte [esp + 0xd0], 0xd
call fcn.00427880
mov ecx, eax
call fcn.004276a0
mov edx, dword [eax]
mov eax, dword [esp + 0x38]
push edx
push eax
lea ecx, [esp + 0x20]
push str._s_s_r_n
push ecx
mov byte [esp + 0xd8], 0xe
call fcn.00401990
mov eax, dword [esp + 0x6c]
add eax, 0xfffffff0
add esp, 0x10
mov byte [esp + 0xc8], 0xd
lea edx, [eax + 0xc]
or ecx, esi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d56b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x18]
mov eax, dword [esi - 0xc]
mov edx, dword [esp + 0x34]
push edi
lea ecx, [esp + 0xa0]
push ecx
push eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x38]
mov ecx, dword [ebx + 8]
push eax
push str.INVALID_HANDLE_VALUE__s
push ecx
call fcn.00427200
push eax
call fcn.00426f60
add esi, 0xfffffff0
add esp, 0x10
mov dword [esp + 0x14], edi
mov byte [esp + 0xc8], 0
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x42d9bf
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x42d9bf
mov ecx, dword [0x55865c]
push edi
call fcn.0043f4a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x4c]
call eax
test eax, eax
je 0x42d75b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0041e080
mov ecx, eax
call fcn.00428e30
mov esi, eax
cmp dword [esp + 0x3c], esi
je 0x42d726
mov dword [esp + 0x14], edi
call fcn.0045f338
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
je 0x42d358
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x60]
push 0x6a
push ecx
mov byte [esp + 0xd0], 0xf
call fcn.00427880
mov ecx, eax
call fcn.004276a0
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [eax]
push esi
push ecx
push edx
lea eax, [esp + 0x28]
push str._s_s_Local___lu___Info____lu___r_n
push eax
mov byte [esp + 0xe0], 0x10
call fcn.00401990
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
add esp, 0x18
mov byte [esp + 0xc8], 0xf
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d6a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x18]
mov eax, dword [edi - 0xc]
mov edx, dword [esp + 0x34]
push 0
lea ecx, [esp + 0x9c]
push ecx
push eax
push edi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebx + 8]
push edi
push eax
call fcn.00427200
push eax
call fcn.00426f60
mov eax, dword [esp + 0x44]
add esp, 8
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.00402280
lea ecx, [esp + 0x7c]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.004051d0
mov esi, dword [eax]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x74]
jmp 0x42d939
cmp dword [esp + 0x20], edi
je 0x42d9bf
mov eax, dword [esp + 0x38]
push 1
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.00402280
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0xd0], 0x11
jmp 0x42d9a7
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0xb0]
push ecx
lea edx, [esp + 0xbc]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x94]
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea edx, [esp + 0x64]
push edx
lea eax, [esp + 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x48]
push edi
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x88], edx
push edi
lea edx, [esp + 0x88]
mov dword [esp + 0x90], eax
push edx
lea eax, [esp + 0x70]
mov dword [esp + 0x98], ecx
push eax
mov ecx, ebx
call fcn.004295c0
test eax, eax
je 0x42d80d
movzx ecx, word [esp + 0x8a]
movzx eax, word [esp + 0x6e]
sub eax, ecx
cdq
xor eax, edx
sub eax, edx
cmp eax, 1
jle 0x42d97b
mov dword [esp + 0x14], edi
call fcn.0045f338
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
je 0x42d358
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x7c]
push 0x6a
push ecx
mov byte [esp + 0xd0], 0x12
call fcn.00427880
mov ecx, eax
call fcn.004276a0
movzx edx, word [esp + 0x70]
movzx ecx, word [esp + 0x6e]
mov eax, dword [eax]
push edx
movzx edx, word [esp + 0x70]
push ecx
movzx ecx, word [esp + 0x6c]
push edx
movzx edx, word [esp + 0x72]
push ecx
movzx ecx, word [esp + 0x7a]
push edx
mov edx, dword [esp + 0x4c]
push ecx
push edx
push eax
lea ecx, [esp + 0x38]
push str._s_s_Local___02d__02d__d___02d:_02d:_02d___r_n
push ecx
mov byte [esp + 0xf0], 0x13
call fcn.00401990
mov eax, dword [esp + 0xa4]
add eax, 0xfffffff0
add esp, 0x28
mov byte [esp + 0xc8], 0x12
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d8c1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x18]
mov eax, dword [edi - 0xc]
mov edx, dword [esp + 0x34]
push 0
lea ecx, [esp + 0x58]
push ecx
push eax
push edi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebx + 8]
push edi
push eax
call fcn.00427200
push eax
call fcn.00426f60
mov eax, dword [esp + 0x44]
add esp, 8
add eax, 0xfffffff0
mov dword [esp + 0x30], esp
mov esi, esp
push eax
call fcn.00402280
lea ecx, [esp + 0x80]
add esp, 4
add eax, 0x10
push ecx
mov dword [esi], eax
call fcn.004051d0
mov esi, dword [eax]
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
or ecx, 0xffffffff
lea edx, [eax + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42d955
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add edi, 0xfffffff0
mov byte [esp + 0xc8], 0
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d9bf
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
jmp 0x42d9bf
cmp dword [esp + 0x20], edi
je 0x42d9bf
mov eax, dword [esp + 0x38]
push 1
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x34], esp
mov esi, esp
push eax
call fcn.00402280
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0xd0], 0x14
call fcn.00404580
mov ecx, eax
mov byte [esp + 0xd0], 0
call fcn.00403c50
mov dword [esp + 0x20], edi
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x28]
add eax, 1
cmp eax, dword [esp + 0x1c]
mov dword [esp + 0x28], eax
jb 0x42d380
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x14], 0
jne 0x42dad7
lea ecx, [esp + 0x5c]
push 0x46
push ecx
call fcn.00427880
mov ecx, eax
call fcn.004276a0
mov esi, dword [eax]
lea edx, [esp + 0x58]
push 0
push edx
mov byte [esp + 0xd0], 0x15
call fcn.00427880
mov ecx, eax
call fcn.004276a0
mov eax, dword [eax]
push 0
push eax
push esi
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [esp + 0x58]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42da53
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x5c]
add eax, 0xfffffff0
mov byte [esp + 0xc8], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42da7b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebx + 8]
push str.CheckDataIntegrity_Wrong_DownFile_Or_PatchInfo
push ecx
call fcn.00427200
push eax
call fcn.00426f60
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0xc8], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42dabd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx + 8]
push str.CheckDataIntegrity_Ok
push ecx
call fcn.00427200
push eax
call fcn.00426f60
mov eax, dword [esp + 0x44]
add eax, 0xfffffff0
add esp, 0xc
mov dword [esp + 0xc8], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42db19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0xc0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4