Function at 0x428d70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53cf66
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x58213c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], 0
mov eax, dword [edi]
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x20], eax
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
lea esi, [eax - 8]
cmp esi, section..data
je 0x428dbf
lock inc dword [esi]
cmp byte [eax], 0
mov dword [ebp - 4], 0
jne 0x428df0
mov ebx, dword [ebp + 8]
mov dword [ebx], 0x582008
cmp esi, section..data
je 0x4292f8
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
cmp eax, 0xffffffff
jmp 0x4292ed
mov ebx, dword [ebp + 0x10]
push ecx
mov ecx, esp
mov dword [ecx], eax
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.00419f70
push ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.0041e950
test al, al
jne 0x428e73
push str._is_outside_the_target_directory
push ecx
mov eax, esp
lea ecx, [ebp - 0x14]
push ecx
push str.Entry
push eax
call fcn.0040ef90
lea eax, [ebp + 0xc]
push eax
call fcn.0040f120
mov ebx, dword [ebp + 8]
push eax
push ebx
call fcn.004185e0
mov ecx, dword [ebp + 0xc]
add esp, 8
add ecx, 0xfffffff8
or edi, 0xffffffff
cmp ecx, section..data
je 0x4292ba
mov eax, edi
lock xadd dword [ecx], eax
dec eax
cmp eax, edi
jne 0x4292ba
push ecx
call fcn.00511f41
add esp, 4
jmp 0x4292ba
push 0x2f
lea ecx, [ebp - 0x14]
call fcn.00417260
test al, al
jne 0x4292ab
push 0x5c
lea ecx, [ebp - 0x14]
call fcn.00417260
test al, al
jne 0x4292ab
push dword [ebp + 0xc]
mov ecx, edi
call fcn.00415550
mov ebx, eax
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 2
test ebx, ebx
jne 0x428efa
lea eax, [ebp + 0xc]
push str.Failed_to_open_the_zip_file_for_reading
push eax
call fcn.00408a10
mov esi, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push esi
call fcn.004185e0
add esp, 0x10
lea ecx, [ebp + 0xc]
call fcn.0040d480
lea ecx, [ebp - 0x10]
call fcn.00405e80
lea ecx, [ebp - 0x14]
call fcn.0040d480
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
lea ecx, [ebp - 0x10]
call fcn.004177d0
test al, al
je 0x428f5f
cmp dword [ebp + 0x14], 0
jne 0x428f1f
mov esi, dword [ebp + 8]
mov ecx, ebx
push 1
mov dword [esi], 0x582008
mov edx, dword [ebx]
call dword [edx]
jmp 0x428ed4
lea ecx, [ebp - 0x10]
call fcn.00416060
test al, al
jne 0x428f5f
lea eax, [ebp - 0x10]
push eax
push str.Failed_to_write_to_target_file:
lea eax, [ebp + 0xc]
push eax
call fcn.0040ef90
mov esi, dword [ebp + 8]
push eax
push esi
call fcn.004185e0
add esp, 8
lea ecx, [ebp + 0xc]
call fcn.0040d480
mov edx, dword [ebx]
mov ecx, ebx
push 1
call dword [edx]
jmp 0x428ed4
cmp dword [ebp + 0x18], 0
jne 0x42906f
lea eax, [ebp + 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041bd90
mov dword [ebp - 0x1c], 2
mov esi, dword [eax]
mov dword [ebp + 0xc], esi
lea eax, [esi - 8]
cmp eax, section..data
je 0x428f8e
lock inc dword [eax]
mov dword [ebp - 4], 4
or edi, 0xffffffff
mov ebx, esi
nop word [eax + eax]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp ebx, eax
je 0x429051
push eax
push esi
call fcn.00408280
add esp, 8
test eax, eax
je 0x429051
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00413a00
add esp, 8
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov byte [ebp - 4], 4
cmp eax, 0xffffffff
je 0x428feb
test eax, 0x400
jne 0x42902d
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp + 0xc]
call fcn.0041bd90
mov ecx, eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ecx]
mov ebx, esi
mov dword [ecx], eax
mov ecx, dword [ebp + 0x14]
add ecx, 0xfffffff8
mov dword [ebp + 0xc], esi
cmp ecx, section..data
je 0x428fa0
mov eax, edi
lock xadd dword [ecx], eax
dec eax
cmp eax, 0xffffffff
jne 0x428fa0
push ecx
call fcn.00511f41
add esp, 4
jmp 0x428f98
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff8
cmp eax, section..data
je 0x42904d
lock xadd dword [eax], edi
dec edi
cmp edi, 0xffffffff
jne 0x42904d
push eax
call fcn.00511f41
add esp, 4
mov bl, 1
jmp 0x429071
add ebx, 0xfffffff8
cmp ebx, section..data
je 0x42906f
lock xadd dword [ebx], edi
dec edi
cmp edi, 0xffffffff
jne 0x42906f
push ebx
call fcn.00511f41
add esp, 4
xor bl, bl
test byte [ebp - 0x1c], 2
mov dword [ebp - 4], 2
je 0x429086
lea ecx, [ebp + 0x18]
call fcn.00405e80
test bl, bl
je 0x4290c1
lea eax, [ebp - 0x10]
push eax
push str.Parent_directory_leads_through_symlink_for_target_file:
lea eax, [ebp + 0xc]
push eax
call fcn.0040ef90
mov esi, dword [ebp + 8]
push eax
push esi
call fcn.004185e0
add esp, 8
lea ecx, [ebp + 0xc]
call fcn.0040d480
mov edi, dword [ebp - 0x18]
mov ecx, edi
push 1
mov edx, dword [edi]
call dword [edx]
jmp 0x428ed4
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041bd90
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 6
push ecx
mov ecx, eax
call fcn.004141e0
lea ecx, [ebp + 0xc]
mov eax, dword [eax]
mov bl, byte [eax]
call fcn.00405e80
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 2
call fcn.00405e80
test bl, bl
je 0x429144
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041bd90
push eax
push str.Failed_to_create_target_folder:
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 7
push eax
call fcn.0040ef90
mov esi, dword [ebp + 8]
push eax
push esi
call fcn.004185e0
add esp, 8
lea ecx, [ebp + 0xc]
call fcn.0040d480
lea ecx, [ebp + 0x10]
call fcn.00405e80
mov edi, dword [ebp - 0x18]
mov ecx, edi
push 1
mov edx, dword [edi]
call dword [edx]
jmp 0x428ed4
mov ebx, dword [ebp - 0x20]
cmp byte [ebx + 0x18], 0
je 0x4291de
mov edi, dword [ebp - 0x18]
lea ecx, [ebp + 0x10]
push ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x4c]
push 0x5c
push 0x2f
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 8
push ecx
mov ecx, eax
call fcn.004250a0
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0xa
call fcn.0040d480
push 1
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00415a30
add esp, 0xc
test al, al
jne 0x4291d0
lea eax, [ebp + 0xc]
push eax
push str.Failed_to_create_symbolic_link:
lea eax, [ebp + 0x14]
push eax
call fcn.0040ef90
mov esi, dword [ebp + 8]
push eax
push esi
call fcn.004185e0
add esp, 8
lea ecx, [ebp + 0x14]
call fcn.0040d480
lea ecx, [ebp + 0xc]
call fcn.0040d480
mov edx, dword [edi]
mov ecx, edi
push 1
call dword [edx]
jmp 0x428ed4
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
call fcn.0040d480
jmp 0x429253
push 0x4000
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x54]
call fcn.0040b1e0
mov eax, dword [ebp - 0x44]
mov byte [ebp - 4], 0xb
cmp byte [eax], 0
je 0x42923a
lea eax, [ebp - 0x10]
push eax
push str.Failed_to_write_to_target_file:
lea eax, [ebp + 0xc]
push eax
call fcn.0040ef90
mov esi, dword [ebp + 8]
push eax
push esi
call fcn.004185e0
add esp, 8
lea ecx, [ebp + 0xc]
call fcn.0040d480
lea ecx, [ebp - 0x54]
call fcn.0040dbb0
mov edi, dword [ebp - 0x18]
mov ecx, edi
push 1
mov edx, dword [edi]
call dword [edx]
jmp 0x428ed4
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x54]
push edi
push eax
call fcn.0040e9f0
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.0040dbb0
push dword [ebx + 0x14]
lea ecx, [ebp - 0x10]
push dword [ebx + 0x10]
push 0
push 0
push 0
push 0
call fcn.00426810
push 0
push 0
push 0
push 0
push dword [ebx + 0x14]
lea ecx, [ebp - 0x10]
push dword [ebx + 0x10]
call fcn.00426810
push 0
push 0
push dword [ebx + 0x14]
lea ecx, [ebp - 0x10]
push dword [ebx + 0x10]
push 0
push 0
call fcn.00426810
mov esi, dword [ebp + 8]
mov ecx, edi
push 1
mov dword [esi], 0x582008
mov edx, dword [edi]
call dword [edx]
jmp 0x428ed4
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push ebx
call fcn.004141e0
or edi, 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff8
cmp ecx, section..data
je 0x4292dd
mov eax, edi
lock xadd dword [ecx], eax
dec eax
cmp eax, 0xffffffff
jne 0x4292dd
push ecx
call fcn.00511f41
add esp, 4
cmp esi, section..data
je 0x4292f8
lock xadd dword [esi], edi
dec edi
cmp edi, 0xffffffff
jne 0x4292f8
push esi
call fcn.00511f41
add esp, 4
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14