Function at 0x4280a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, ecx
mov eax, dword [0x511014]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ecx + 8], 0
mov eax, dword [ecx]
je 0x42846c
lea edi, [ebp - 0x14]
mov dword [edi], 0
lea ecx, [ebp - 0x18]
mov dword [ecx], 0xffffffff
push ecx
push 4
push edi
push str.DNASYXOB
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov ebx, 0x42
test eax, eax
je 0x428418
cmp dword [ebp - 0x18], 4
jne 0x428491
mov eax, dword [ebp - 0x14]
cmp eax, dword [str.DNASYXOB]
jne 0x428498
lea eax, [ebp - 0x18]
push eax
push 4
push edi
push 0x514c80
push dword [esi]
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
je 0x428418
cmp dword [ebp - 0x18], 4
mov ebx, 0x43
jne 0x428418
mov eax, dword [ebp - 0x14]
mov ebx, 0x44
cmp eax, dword [0x514c80]
jne 0x428418
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
add eax, ecx
sub esp, 0x18
mov dword [esp + 0x10], eax
movdqa xmm0, xmmword [0x5061d0]
movdqu xmmword [esp], xmm0
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
cmp dword [esi + 0x18], eax
je 0x4281a8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi + 0x18]
inc eax
cmp eax, 2
jae 0x428450
mov eax, edi
inc eax
cmp eax, 2
jb 0x42819e
mov dword [esi + 0x18], edi
call fcn.00459380
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esi + 0x18]
mov ebx, dword [ebp + 0x18]
lea eax, [edi + 1]
cmp eax, 1
jbe 0x4284ac
sub esp, 0x14
movdqa xmm0, xmmword [0x5061e0]
movdqu xmmword [esp + 4], xmm0
mov dword [esp], edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x4284be
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x428289
cmp dword [ebp + 0x14], 0
je 0x428289
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x1c]
lea ebx, [ecx + eax]
push dword [ebp + 0x14]
push edi
push ebx
call fcn.00498400
add esp, 0xc
xor eax, eax
pxor xmm0, xmm0
pcmpeqd xmm1, xmm1
movdqu xmm2, xmmword [ebx + eax*4]
movdqa xmm3, xmm2
pcmpeqd xmm3, xmm0
movd ecx, xmm3
not ecx
test cl, 1
je 0x428232
movd ecx, xmm2
sub ecx, edi
mov dword [ebx + eax*4], ecx
pxor xmm3, xmm1
pextrw ecx, xmm3, 2
test cl, 1
je 0x42824f
pshufd xmm4, xmm2, 0x55
movd ecx, xmm4
sub ecx, edi
mov dword [ebx + eax*4 + 4], ecx
pextrw ecx, xmm3, 4
test cl, 1
je 0x428268
pshufd xmm4, xmm2, 0xee
movd ecx, xmm4
sub ecx, edi
mov dword [ebx + eax*4 + 8], ecx
pextrw ecx, xmm3, 6
test cl, 1
je 0x428281
pshufd xmm2, xmm2, 0xff
movd ecx, xmm2
sub ecx, edi
mov dword [ebx + eax*4 + 0xc], ecx
add eax, 4
cmp eax, 0x40
jne 0x428211
mov eax, dword [ebp + 0x10]
mov dword [0x524b94], eax
cmp dword [esi + 8], 0
mov eax, dword [esi]
je 0x4284d3
lea edi, [ebp - 0x14]
mov dword [ebp - 0x14], 0xffffffff
mov ecx, 0x524b94
push edi
push 4
push ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x4283fe
cmp dword [ebp - 0x14], 4
mov dword [0x524b94], 0
jne 0x4284a2
mov eax, dword [ebp + 0x14]
mov dword [0x524b98], eax
cmp dword [esi + 8], 0
mov eax, dword [esi]
je 0x428501
mov dword [ebp - 0x14], 0xffffffff
mov ecx, 0x524b98
push edi
push 4
push ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x42842e
cmp dword [ebp - 0x14], 4
mov dword [0x524b98], 0
jne 0x4284a2
mov eax, dword [esi]
mov dword [ebp - 0x20], eax
mov edi, dword [esi + 8]
push 0x20
call fcn.00494aa6
add esp, 4
mov ebx, eax
mov ecx, eax
push dword [ebp + 8]
push dword [esi + 0x24]
push edi
push dword [ebp - 0x20]
call fcn.004285a0
mov edi, dword [esi + 0x20]
mov dword [esi + 0x20], ebx
test edi, edi
jne 0x428519
mov ecx, ebx
push 0x400
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
call fcn.0042a340
test al, al
je 0x428531
mov dword [ebp - 0x18], 0xffffffff
mov edi, dword [esi]
mov ebx, dword [esi + 0x18]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ecx, ecx
push ecx
push ecx
push 7
lea ecx, [ebp - 0x18]
push ecx
push edi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x42853b
mov eax, dword [ebp - 0x18]
mov dword [0x523d58], eax
cmp dword [esi + 8], 0
mov eax, dword [esi]
lea edx, [ebp - 0x14]
je 0x428550
mov dword [ebp - 0x14], 0xffffffff
mov ecx, 0x523d58
push edx
push 4
push ecx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
je 0x42843f
cmp dword [ebp - 0x14], 4
mov dword [0x523d58], 0
jne 0x4284a2
xor ebx, ebx
mov dword [esi + 0xc], ebx
mov edi, dword [esi + 4]
mov dword [esi + 4], ebx
lea eax, [edi + 1]
cmp eax, 2
jb 0x4283f5
call fcn.00459380
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x428418
mov ebx, 0x39
mov dword [0x524b94], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00496ce3
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 0x14
mov ebx, 0x39
mov dword [0x524b98], 0
jmp 0x42840d
mov ebx, 0x39
mov dword [0x523d58], 0
jmp 0x42840d
call fcn.00459380
push dword [esi + 0x18]
call fcn.0048c780
add esp, 4
mov dword [esi + 0x18], 0
jmp 0x42818e
test eax, eax
jne 0x4280c1
xor eax, eax
cmp dword [esi + 0xc], 0
jne 0x4280c1
mov ebx, 8
cmp dword [esi + 4], 0
jne 0x4280c1
jmp 0x428418
mov ebx, 0x43
jmp 0x428418
mov ebx, 0x44
jmp 0x428418
mov ebx, 0x3a
jmp 0x42840d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebx], eax
mov ebx, 0x19
jmp 0x428418
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov ebx, 0x1b
jmp 0x428418
test eax, eax
lea edi, [ebp - 0x14]
jne 0x4282a0
xor eax, eax
cmp dword [esi + 0xc], 0
jne 0x42829d
mov ebx, 8
cmp dword [esi + 4], 0
lea edi, [ebp - 0x14]
jne 0x4282a0
jmp 0x428403
test eax, eax
jne 0x4282e8
xor eax, eax
cmp dword [esi + 0xc], 0
je 0x428568
lea edi, [ebp - 0x14]
jmp 0x4282e8
mov ecx, edi
call fcn.0042e560
push edi
call fcn.00494aa1
add esp, 4
mov ebx, dword [esi + 0x20]
jmp 0x42834f
mov ebx, 4
jmp 0x428418
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov ebx, 0x1a
jmp 0x428418
test eax, eax
jne 0x4283ad
xor eax, eax
cmp dword [esi + 0xc], 0
je 0x42857f
lea edx, [ebp - 0x14]
jmp 0x4283ad
mov ebx, 8
cmp dword [esi + 4], 0
lea edi, [ebp - 0x14]
jne 0x4282e8
jmp 0x428433
mov ebx, 8
cmp dword [esi + 4], 0
lea edx, [ebp - 0x14]
jne 0x4283ad
jmp 0x428444