Function at 0x12fcc720
Capabilities:
Check if file exists
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x13071696
push eax
mov dword fs:[0], esp
sub esp, 0x508
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
mov dword [0x131c96c0], ebx
call edi
mov esi, dword [esp + 0x528]
mov dword [0x131c96c8], eax
cmp esi, ebx
je 0x12fcd0cd
cmp word [esi], bx
je 0x12fcd0cd
cmp dword [esp + 0x52c], ebx
je 0x12fcd0cd
mov eax, dword [esp + 0x530]
cmp eax, ebx
je 0x12fcd0cd
mov eax, dword [eax]
cmp eax, ebx
je 0x12fcd0cd
cmp dword [0x131c96cc], ebx
jne 0x12fcc7b3
mov dword [0x131c96c0], 2
mov dword [0x131c96c4], 0x1430
jmp 0x12fcd0e1
push ebx
push 0x60
push 1
push 7
push 0x80
push 0x120089
push esi
mov dword [esp + 0x60], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x84], eax
call fcn.12fed860
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
mov dword [esp + 0x24], ebp
jne 0x12fcc81a
call edi
cmp eax, 2
je 0x12fcced3
push ebx
push 0x60
push 1
push 7
push 0x80
push 0x120089
push esi
call fcn.12fed860
add esp, 0x1c
cmp eax, ebp
mov dword [esp + 0x24], eax
je 0x12fccedd
mov ebp, eax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0xc1]
mov byte [esp + 0xc0], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0xc0]
push eax
push ebp
call fcn.12fcd110
add esp, 8
test eax, eax
je 0x12fccf01
lea ecx, [esp + 0xc0]
test ecx, ecx
je 0x12fccf25
push 0x10
lea edx, [esp + 0xc4]
push 0x13182bc0
push edx
call fcn.12f5e5f0
add esp, 0xc
test eax, eax
jne 0x12fccf25
test byte [esp + 0xf2], 1
je 0x12fccf25
mov edx, dword [esp + 0xe0]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
push ebx
push ecx
push ebx
push edx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x4c], ebx
call fcn.12fc2de0
mov eax, dword [esp + 0x34]
add esp, 0x14
cmp eax, ebx
jne 0x12fccf49
mov ecx, 0x13
xor eax, eax
lea edi, [esp + 0x104]
mov dword [esp + 0x100], ebx
rep stosd dword es:[edi], eax
mov ecx, 0xd
lea edi, [esp + 0x84]
mov dword [esp + 0x80], ebx
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x10]
call fcn.12f923b0
lea eax, [esp + 0x100]
lea ecx, [esp + 0xc0]
push eax
push ecx
push ebp
mov dword [esp + 0x52c], ebx
call fcn.12fcd380
add esp, 0xc
test eax, eax
je 0x12fccf6d
mov ecx, 0xe1
xor eax, eax
lea edi, [esp + 0x191]
mov byte [esp + 0x190], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x190]
push edx
push ebp
stosb byte es:[edi], al
call fcn.12fc9710
add esp, 8
test eax, eax
je 0x12fccf91
lea eax, [esp + 0x80]
lea ecx, [esp + 0x100]
push eax
lea edx, [esp + 0xc4]
push ecx
push edx
push ebp
call fcn.12fcd600
add esp, 0x10
test eax, eax
je 0x12fccfb5
cmp word [esp + 0x8a], bx
jne 0x12fccfd9
lea ecx, [esp + 0x18]
call fcn.12f923b0
lea eax, [esp + 0x50]
lea ecx, [esp + 0x70]
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x108]
push edx
lea ecx, [esp + 0xcc]
push eax
push ecx
push ebp
mov byte [esp + 0x538], 1
mov dword [esp + 0x88], ebx
mov dword [esp + 0x68], ebx
call fcn.12fcd850
add esp, 0x18
test eax, eax
je 0x12fccffd
mov edx, dword [esp + 0x70]
xor ecx, ecx
mov si, word [edx + 0xc]
cmp si, bx
jbe 0x12fcca0f
mov edx, dword [esp + 0x50]
mov eax, ecx
and eax, 0xffff
lea eax, [eax + eax*4]
test byte [edx + eax*8 + 8], 1
lea eax, [edx + eax*8]
je 0x12fcca09
mov eax, dword [eax]
cmp eax, 1
jb 0x12fcd01e
cmp eax, 4
ja 0x12fcd01e
inc ecx
cmp cx, si
jb 0x12fcc9e1
mov ecx, dword [esp + 0x134]
push ecx
call fcn.12ff0660
mov esi, eax
add esp, 4
cmp esi, ebx
mov dword [esp + 0x7c], esi
je 0x12fcd03f
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x151]
mov byte [esp + 0x150], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x54]
lea ecx, [esp + 0x74]
stosb byte es:[edi], al
push edx
lea eax, [esp + 0x154]
push 0x40
push eax
lea edx, [esp + 0x10c]
push ecx
push edx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x88], ebx
call fcn.12fd8510
add esp, 0x14
test eax, eax
je 0x12fcd060
mov eax, dword [esp + 0xa8]
cmp eax, ebx
je 0x12fcd081
mov edi, dword [esp + 0xac]
cmp eax, 1
jne 0x12fccaa1
mov edi, dword [esp + 0xb0]
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0xc]
mov esi, dword [0x13182bbc]
mov ecx, eax
mov eax, esi
xor edx, edx
div edi
mov dword [esp + 0x58], ecx
mov dword [esp + 0x3c], esi
mov ebp, eax
mov eax, dword [esp + 0xa8]
imul ebp, ecx
cmp eax, 1
mov dword [esp + 0x20], ebp
je 0x12fccade
mov eax, esi
xor edx, edx
div edi
test edx, edx
je 0x12fccaea
mov dword [esp + 0x3c], edi
mov dword [esp + 0x20], ecx
mov esi, edi
mov ebp, ecx
push esi
call fcn.12f5bf8b
mov ebx, eax
push ebp
mov dword [esp + 0x30], ebx
call fcn.12f5bf8b
mov ecx, dword [esp + 0x12c]
mov edx, dword [esp + 0x2c]
add esp, 8
mov dword [esp + 0x34], eax
push 0
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
xor eax, eax
xor edx, edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], eax
mov eax, esi
div edi
mov dword [esp + 0x78], eax
mov ecx, esi
xor eax, eax
mov edx, ecx
mov edi, ebx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, ebp
mov ebp, dword [esp + 0x34]
mov edx, ecx
xor eax, eax
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, dword [esp + 0x78]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0xa8]
lea edx, [edi + ecx]
cmp edx, eax
jb 0x12fccb98
mov edi, eax
mov eax, dword [esp + 0xb0]
sub edi, ecx
mov dword [esp + 0x38], 1
lea esi, [edi - 1]
imul esi, dword [esp + 0xac]
add esi, eax
mov ecx, dword [esp + 0x124]
lea edx, [esp + 0xb8]
xor eax, eax
push edx
mov dword [esp + 0x68], eax
mov dword [esp + 0xc0], eax
push eax
lea eax, [esp + 0x6c]
mov dword [esp + 0xc0], ecx
mov ecx, dword [esp + 0x2c]
push eax
push esi
push ebx
push ecx
call fcn.12fecef0
add esp, 0x18
test eax, eax
je 0x12fcce18
cmp esi, dword [esp + 0x64]
jne 0x12fcce2e
mov dword [esp + 0x60], edi
mov dword [esp + 0x4c], 0
xor esi, esi
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
inc eax
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x48], edx
jne 0x12fccc1a
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0xa4]
xor eax, eax
cmp eax, ecx
mov dword [esp + 0x14], esi
ja 0x12fccca4
jb 0x12fccc3c
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0xa0]
cmp ecx, eax
jae 0x12fccca4
mov ecx, dword [esp + 0x48]
lea edx, [esp + 0x5c]
lea eax, [esp + 0x6c]
push edx
mov edx, dword [esp + 0x8c]
push eax
push ecx
push ebx
push edx
mov dword [esp + 0x80], esi
mov dword [esp + 0x70], esi
call fcn.12fdd2c0
add esp, 0x14
test eax, eax
je 0x12fccdd9
lea edx, [esp + 0x14]
mov ecx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x5c]
push edx
mov edx, dword [esp + 0x64]
push ebp
mov eax, dword [ecx]
push edx
mov edx, dword [esp + 0x7c]
push edx
mov edx, dword [esp + 0x68]
push edx
lea edx, [esp + 0x168]
push edx
call dword [eax + 0x14]
cmp eax, esi
je 0x12fcce02
jmp 0x12fcccfa
mov ecx, dword [esp + 0xb4]
mov eax, dword [esp + 0x58]
cmp ecx, eax
mov dword [esp + 0x14], ecx
jbe 0x12fcccbd
mov ecx, eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x88]
and eax, 0xffff
sub eax, esi
je 0x12fccce8
dec eax
je 0x12fcccd8
dec eax
jne 0x12fcccfe
lea esi, [ebx + 8]
jmp 0x12fcccea
mov edx, ecx
lea esi, [ebx + 4]
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x12fcccf5
mov esi, ebx
mov eax, ecx
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0x30]
cmp eax, edx
jne 0x12fccd48
mov eax, dword [esp + 0x94]
mov ecx, dword [esp + 0x90]
xor esi, esi
cmp eax, esi
ja 0x12fccd29
cmp ecx, 0x1000
jbe 0x12fccd37
and ecx, 0xfff
xor eax, eax
mov edx, ecx
or edx, eax
je 0x12fccd3d
mov dword [esp + 0x14], ecx
jmp 0x12fccd4a
mov ecx, 0x1000
mov dword [esp + 0x14], ecx
jmp 0x12fccd4a
xor esi, esi
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x60]
add edx, ecx
dec eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x60], eax
je 0x12fccd6c
mov edx, dword [esp + 0x48]
add ebx, edx
add ebp, ecx
jmp 0x12fccbf0
mov esi, dword [esp + 0x40]
mov eax, dword [esp + 0x68]
add esi, edx
cmp eax, edx
mov dword [esp + 0x40], esi
jbe 0x12fcce57
mov esi, dword [esp + 0x34]
mov ecx, edx
mov edx, dword [esp + 0x52c]
mov ebx, ecx
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [esp + 0x28]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x4c]
mov edi, dword [esp + 0x2c]
sub eax, ecx
add edi, ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x38]
add edx, ecx
mov dword [esp + 0x2c], edi
test eax, eax
mov dword [esp + 0x52c], edx
jne 0x12fcce82
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x20]
jmp 0x12fccb36
mov dword [0x131c96c0], 0x1c
mov dword [0x131c96c4], 0x150e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c96c8], eax
mov dword [esp + 0x1c], 1
jmp 0x12fcce7e
mov dword [0x131c96c0], 0x12
mov dword [0x131c96c4], 0x1517
jmp 0x12fccded
mov dword [0x131c96c0], 0xd
mov dword [0x131c96c4], 0x14eb
jmp 0x12fcce42
mov dword [0x131c96c0], 0xd
mov dword [0x131c96c4], 0x14f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c96c8], eax
mov dword [esp + 0x1c], 1
jmp 0x12fcce82
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x52c]
mov ecx, eax
mov dword [esp + 0x1c], 0
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add dword [esp + 0x2c], eax
mov ebx, dword [esp + 0x28]
push ebx
call fcn.12f5bf80
mov eax, dword [esp + 0x38]
push eax
call fcn.12f5bf80
mov eax, dword [esp + 0x24]
add esp, 8
test eax, eax
jne 0x12fccea5
mov dword [esp + 0x44], 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x520], 0
call fcn.12f92510
lea ecx, [esp + 0x10]
mov dword [esp + 0x520], 0xffffffff
call fcn.12f92510
mov ebp, dword [esp + 0x24]
jmp 0x12fcd0ae
mov eax, 1
jmp 0x12fcd0ea
mov dword [0x131c96c0], 3
mov dword [0x131c96c4], 0x1452
call edi
mov ebp, dword [esp + 0x24]
mov dword [0x131c96c8], eax
jmp 0x12fcd0ae
mov dword [0x131c96c0], 0xf
mov dword [0x131c96c4], 0x145b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c96c8], eax
jmp 0x12fcd0ae
mov dword [0x131c96c0], 0x22
mov dword [0x131c96c4], 0x1462
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c96c8], eax
jmp 0x12fcd0ae
mov dword [0x131c96c0], 0x31
mov dword [0x131c96c4], 0x1468
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c96c8], eax
jmp 0x12fcd0ae
mov dword [0x131c96c0], 0x14
mov dword [0x131c96c4], 0x1474
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c96c8], eax
jmp 0x12fcd09a
mov dword [0x131c96c0], 0x1f
mov dword [0x131c96c4], 0x147c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c96c8], eax
jmp 0x12fcd09a
mov dword [0x131c96c0], 0x14
mov dword [0x131c96c4], 0x1482
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c96c8], eax
jmp 0x12fcd09a
mov dword [0x131c96c0], 1
mov dword [0x131c96c4], 0x1489
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c96c8], eax
jmp 0x12fcd09a
mov dword [0x131c96c0], 0x14
mov dword [0x131c96c4], 0x1493
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c96c8], eax
jmp 0x12fcd089
mov dword [0x131c96c0], 0x32
mov dword [0x131c96c4], 0x1499
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c96c8], eax
jmp 0x12fcd089
mov dword [0x131c96c0], 0xc
mov dword [0x131c96c4], 0x14a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c96c8], eax
jmp 0x12fcd089
mov dword [0x131c96c0], 0xb
mov dword [0x131c96c4], 0x14b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x131c96c8], eax
jmp 0x12fcd089
mov dword [esp + 0x44], 1
lea ecx, [esp + 0x18]
mov byte [esp + 0x520], 0
call fcn.12f92510
lea ecx, [esp + 0x10]
mov dword [esp + 0x520], 0xffffffff
call fcn.12f92510
mov ecx, dword [esp + 0x530]
mov edx, dword [esp + 0x2c]
cmp ebp, 0xffffffff
mov dword [ecx], edx
je 0x12fcd0c7
push ebp
call dword [0x131ca5fc]
mov eax, dword [esp + 0x44]
jmp 0x12fcd0ea
mov dword [0x131c96c0], 1
mov dword [0x131c96c4], 0x142a
call edi
mov dword [0x131c96c8], eax
xor eax, eax
mov ecx, dword [esp + 0x518]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x514
ret