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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4522d2
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x468014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x88], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x208
mov edi, eax
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
call fcn.004295f9
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
add eax, 0x208
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x84]
mov dword [ebp - 0x74], eax
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x84]
push 0x208
push 0
push eax
lea esi, [eax + 0x208]
call fcn.0042aec0
add esp, 0x10
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x74], 0
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x80]
mov eax, dword [ebp - 0x84]
sub ecx, eax
sar ecx, 1
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x44c5af
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
je 0x44c5af
mov edi, dword [ebp - 0x78]
xor eax, eax
mov edx, dword [ebp - 0x84]
mov ecx, edx
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
lea esi, [ecx + 2]
mov word [edi], ax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44c350
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.00402680
cmp dword [edi + 0x14], 8
mov edx, edi
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x74], edi
jb 0x44c382
mov edx, dword [edi]
mov dword [ebp - 0x74], edx
mov eax, dword [edi + 0x10]
cmp eax, 1
jb 0x44c3de
dec eax
or ecx, 0xffffffff
cmp eax, ecx
cmovb ecx, eax
lea eax, [edx + ecx*2]
mov esi, eax
sub esi, 0x460864
cmp word [eax], 0x5c
mov dword [ebp - 0x78], eax
jne 0x44c3d2
mov edx, 1
mov eax, 0x460864
mov cx, word [esi + eax]
cmp cx, word [eax]
jne 0x44c3cc
add eax, 2
sub edx, 1
jne 0x44c3b1
mov ecx, dword [ebp - 0x78]
sub ecx, dword [ebp - 0x74]
sar ecx, 1
jmp 0x44c3e1
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 0x74]
cmp eax, edx
je 0x44c3de
sub eax, 2
sub esi, 2
jmp 0x44c39e
or ecx, 0xffffffff
mov byte [ebp - 4], 3
xor eax, eax
inc ecx
mov dword [ebp - 0x18], 0
cmp dword [edi + 0x10], ecx
mov dword [ebp - 0x14], 0
cmovb ecx, dword [edi + 0x10]
cmp dword [edi + 0x14], 8
mov word [ebp - 0x28], ax
mov eax, edi
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
jb 0x44c419
mov eax, dword [edi]
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.00402680
lea eax, [ebp - 0x28]
mov dword [ebp - 0x88], 3
cmp edi, eax
je 0x44c49f
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x44c46d
mov eax, dword [edi]
lea ecx, [ecx*2 + 2]
cmp ecx, 0x1000
jb 0x44c463
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44c62e
mov eax, edx
push ecx
push eax
call fcn.00429629
add esp, 8
movups xmm0, xmmword [ebp - 0x28]
mov dword [edi + 0x10], 0
xor eax, eax
mov dword [edi + 0x14], 7
mov ecx, 7
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
movq qword [edi + 0x10], xmm0
mov dword [ebp - 0x18], eax
mov word [ebp - 0x28], ax
jmp 0x44c4a2
mov ecx, dword [ebp - 0x14]
mov eax, 3
mov dword [ebp - 0x88], eax
and eax, 0xfffffffd
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 2
cmp ecx, 8
jb 0x44c4f1
lea edx, [ecx*2 + 2]
mov ecx, dword [ebp - 0x28]
mov eax, ecx
cmp edx, 0x1000
jb 0x44c4e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44c62e
push edx
push ecx
call fcn.00429629
add esp, 8
mov ecx, dword [ebp - 0x8c]
xor eax, eax
mov word [ebp - 0x28], ax
mov eax, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
cmp dword [ecx + 0x14], 8
jb 0x44c515
mov eax, dword [ecx]
push dword [ecx + 0x10]
mov ecx, edi
push eax
call fcn.00402790
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x44c52a
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44c5ca
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x84]
test edx, edx
je 0x44c590
mov ecx, dword [ebp - 0x7c]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffe
cmp ecx, 0x1000
jb 0x44c56e
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x44c62e
push ecx
push edx
call fcn.00429629
add esp, 8
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004295e8
mov esp, ebp
pop ebp
ret 8
push str.Could_not_get_path_to_loader.
lea ecx, [ebp - 0x1c]
call fcn.00401840
push 0x466af4
lea eax, [ebp - 0x1c]
push eax
call fcn.0042a8d4
lea eax, [ebp - 0x8c]
mov ecx, edi
push eax
call fcn.004023d0
mov esi, eax
mov ecx, edi
lea eax, [ebp - 0x74]
push eax
call fcn.004023f0
push ecx
push dword [esi]
lea ecx, [ebp - 0x40]
push dword [eax]
call fcn.00402be0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x58]
call fcn.00402cb0
mov byte [ebp - 4], 5
mov edx, eax
lea ecx, [ebp - 0x70]
call fcn.00402e20
add esp, 4
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
push eax
call fcn.004017b0
push 0x466af4
lea eax, [ebp - 0x1c]
push eax
call fcn.0042a8d4
call fcn.0042dfb5
int3