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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x512125
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
push esi
push edi
mov eax, dword [0x55f2b4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x6c]
mov edi, dword [esi + 0x68]
mov dword [ebp - 0x18], eax
cmp edi, eax
je 0x43642c
add esi, 0xc8
mov eax, ecx
xor edx, edx
mov ecx, 0x200
cmp byte [eax + 0x1a4], dl
cmovne ecx, edx
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x4363c3
mov edx, dword [edi]
push 1
push ecx
push esi
push str.ProgramFolder
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
call fcn.00465610
mov eax, dword [ebp - 0x14]
add esp, 0x10
cmp dword [eax + 0xd8], 0
je 0x436421
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4363ef
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4363ff
test al, 0x10
jne 0x436415
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x436409
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov word [eax], cx
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0xd8], 0
jne 0x43645c
add edi, 0x18
cmp edi, dword [ebp - 0x18]
jne 0x4363a9
mov esi, dword [ebp - 0x14]
cmp dword [esi + 0xf0], 0
mov edi, SysReAllocString
je 0x43677a
mov edx, dword [esi + 0xf0]
lea ecx, [esi + 0xe0]
mov eax, edi
sub eax, edx
cmp eax, 1
jb 0x43688d
jmp 0x436690
mov esi, dword [ebp - 0x14]
xor eax, eax
mov ecx, 0x200
mov edx, edi
cmp byte [esi + 0x1a4], al
cmovne ecx, eax
cmp dword [edi + 0x14], 8
jb 0x436479
mov edx, dword [edi]
push 1
push ecx
lea eax, [esi + 0xe0]
mov ecx, reloc.OLEAUT32.dll_SysReAllocString
push eax
push str.DataFolder
call fcn.00465610
add esp, 0x10
cmp dword [esi + 0xf0], 0
je 0x4364f4
cmp dword [esi + 0xf4], 8
lea ecx, [esi + 0xe0]
jb 0x4364b3
mov ecx, dword [esi + 0xe0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4364c3
test al, 0x10
jne 0x4364e7
cmp dword [esi + 0xf4], 8
lea ecx, [esi + 0xe0]
jb 0x4364d8
mov ecx, dword [esi + 0xe0]
xor eax, eax
mov dword [esi + 0xf0], 0
mov word [ecx], ax
cmp dword [esi + 0xf0], 0
jne 0x43666b
push ecx
mov edx, 0x23
lea ecx, [ebp - 0x78]
call fcn.00463a20
add esp, 4
mov esi, eax
push 0x5c
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00418e00
mov dword [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x34], 0
movups xmm0, xmmword [esi]
movups xmmword [ebp - 0x48], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x38], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov esi, dword [ebp - 0x14]
lea eax, [esi + 0x8c]
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x436561
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.0041b860
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [esi + 0xe0]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x30]
push eax
movq qword [ebp - 0x20], xmm0
call fcn.00419190
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x4365d8
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4365ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436892
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x436616
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43660c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436892
push edx
push ecx
call fcn.004d06e3
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
cmp edx, 8
jb 0x43666b
mov ecx, dword [ebp - 0x78]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436661
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436892
push edx
push ecx
call fcn.004d06e3
add esp, 8
lea ecx, [esi + 0xb0]
cmp ecx, edi
je 0x43642c
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x436684
mov edi, dword [edi]
push eax
push edi
call fcn.00414320
jmp 0x43642c
cmp dword [ecx + 0x14], 8
jb 0x436698
mov ecx, dword [ecx]
push 1
push 0x53fc98
push edx
push ecx
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x48]
call fcn.0041ba50
lea eax, [esi + 0x50]
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4366c2
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x48]
call fcn.0041b860
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [esi + 0xf8]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x30]
push eax
movq qword [ebp - 0x20], xmm0
call fcn.00419190
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x436739
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43672f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436897
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x34]
cmp edx, 8
jb 0x43677a
mov ecx, dword [ebp - 0x48]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436770
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x436897
push edx
push ecx
call fcn.004d06e3
add esp, 8
cmp dword [esi + 0xd8], 0
je 0x436879
mov ecx, dword [esi + 0xd8]
lea eax, [esi + 0xc8]
sub edi, ecx
cmp edi, 1
jb 0x43689c
cmp dword [eax + 0x14], 8
jb 0x4367a6
mov eax, dword [eax]
push 1
push 0x53fc98
push ecx
push eax
push ecx
push dword [ebp - 0x18]
lea ecx, [ebp - 0x60]
call fcn.0041ba50
lea eax, [esi + 0x38]
mov dword [ebp - 4], 3
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4367d0
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x60]
call fcn.0041b860
xor ecx, ecx
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x30], xmm0
movq xmm0, qword [eax + 0x10]
mov word [eax], cx
lea ecx, [esi + 0x110]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
lea eax, [ebp - 0x30]
push eax
movq qword [ebp - 0x20], xmm0
call fcn.00419190
mov edx, dword [ebp - 0x1c]
cmp edx, 8
jb 0x436843
mov ecx, dword [ebp - 0x30]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x436839
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4368a1
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov edx, dword [ebp - 0x4c]
cmp edx, 8
jb 0x436879
mov ecx, dword [ebp - 0x60]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43686f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4368a1
push edx
push ecx
call fcn.004d06e3
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00414310
call fcn.004ebf29
call fcn.004ebf29
call fcn.00414310
call fcn.004ebf29
int3