Function at 0x100a77f0
Capabilities:
Check if file exists
Copy file
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b4
mov eax, dword [0x10100008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
sub esp, 0x18
mov ecx, esp
call fcn.10084710
lea ecx, [ebp - 0x468]
call fcn.10084a40
mov ecx, esp
push 0x10101b90
call fcn.100b2820
lea ecx, [ebp - 0x450]
call fcn.10084620
add esp, 0x18
push eax
push ecx
lea ecx, [ebp - 0x480]
call fcn.10086a50
add esp, 4
lea ecx, [ebp - 0x438]
mov edx, eax
call fcn.100b3450
mov edx, dword [ebp - 0x46c]
add esp, 4
cmp edx, 0x10
jb 0x100a788d
mov ecx, dword [ebp - 0x480]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7883
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7e45
push edx
push ecx
call fcn.100bede4
add esp, 8
mov edx, dword [ebp - 0x43c]
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0xf
mov byte [ebp - 0x480], 0
cmp edx, 0x10
jb 0x100a78e2
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a78d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7e45
push edx
push ecx
call fcn.100bede4
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x10101e00
call fcn.100b2820
lea ecx, [ebp - 0x498]
call fcn.10084620
add esp, 0x18
lea ecx, [ebp - 0x468]
cmp dword [ebp - 0x454], 0x10
cmovae ecx, dword [ebp - 0x468]
push dword [ebp - 0x458]
push ecx
push ecx
mov ecx, eax
call fcn.100b7670
sub esp, 0x18
mov ecx, esp
movups xmm0, xmmword [eax]
push 0x10101e18
movups xmmword [ebp - 0x480], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x470], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.100b2820
lea ecx, [ebp - 0x4b0]
call fcn.10084620
push eax
lea edx, [ebp - 0x480]
lea ecx, [ebp - 0x450]
call fcn.100b3450
mov edx, dword [ebp - 0x46c]
add esp, 0x1c
cmp edx, 0x10
jb 0x100a79b3
mov ecx, dword [ebp - 0x480]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a79a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7e4a
push edx
push ecx
call fcn.100bede4
add esp, 8
mov edx, dword [ebp - 0x484]
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0xf
mov byte [ebp - 0x480], 0
cmp edx, 0x10
jb 0x100a7a08
mov ecx, dword [ebp - 0x498]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a79fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7e4a
push edx
push ecx
call fcn.100bede4
add esp, 8
mov edx, dword [ebp - 0x49c]
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 0xf
mov byte [ebp - 0x498], 0
cmp edx, 0x10
jb 0x100a7a5d
mov ecx, dword [ebp - 0x4b0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7a53
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7e4a
push edx
push ecx
call fcn.100bede4
add esp, 8
lea eax, [ebp - 0x408]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x408]
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x480], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a7a93
sub ecx, edx
lea eax, [ebp - 0x408]
push ecx
push eax
lea ecx, [ebp - 0x480]
call fcn.100b2fb0
lea eax, [ebp - 0x450]
push eax
lea edx, [ebp - 0x480]
lea ecx, [ebp - 0x420]
call fcn.100b3550
mov edx, dword [ebp - 0x46c]
add esp, 4
cmp edx, 0x10
jb 0x100a7b04
mov ecx, dword [ebp - 0x480]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7afa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7e4f
push edx
push ecx
call fcn.100bede4
add esp, 8
cmp dword [ebp - 0x424], 0x10
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x100a7cec
test al, 0x10
je 0x100a7cec
sub esp, 0x18
lea eax, [ebp - 0x420]
mov ecx, esp
push eax
call fcn.100b2820
sub esp, 0x18
lea eax, [ebp - 0x438]
mov ecx, esp
push eax
call fcn.100b2820
call fcn.100864c0
cmp dword [ebp - 0x40c], 0x10
lea eax, [ebp - 0x420]
push 0x100fb364
cmovae eax, dword [ebp - 0x420]
push eax
call fcn.100c897d
add esp, 0x38
test eax, eax
je 0x100a7cec
push eax
call fcn.100c8a0b
mov ecx, dword [ebp + 0x1c]
lea eax, [ebp + 8]
mov edx, dword [ebp + 8]
add esp, 4
mov esi, dword [ebp + 0x18]
cmp ecx, 0x10
cmovae eax, edx
cmp esi, 1
jne 0x100a7bd9
cmp byte [eax], 0x30
jne 0x100a7bd9
sub esp, 0x18
lea eax, [ebp - 0x450]
mov ecx, esp
push eax
call fcn.100b2820
sub esp, 0x18
lea eax, [ebp - 0x420]
mov ecx, esp
push eax
call fcn.100b2820
call fcn.10086750
mov ecx, dword [ebp + 0x1c]
add esp, 0x30
mov esi, dword [ebp + 0x18]
mov edx, dword [ebp + 8]
cmp ecx, 0x10
lea eax, [ebp + 8]
cmovae eax, edx
cmp esi, 1
jne 0x100a7ccf
cmp byte [eax], 0x31
jne 0x100a7ccf
lea eax, [ebp - 0x450]
push eax
push ecx
lea ecx, [ebp - 0x4b0]
call fcn.10085f60
add esp, 4
lea ecx, [ebp - 0x498]
mov edx, eax
call fcn.100b3550
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x100a7c22
mov eax, dword [eax]
cmp dword [ebp - 0x40c], 0x10
lea ecx, [ebp - 0x420]
push 1
cmovae ecx, dword [ebp - 0x420]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edx, dword [ebp - 0x484]
cmp edx, 0x10
jb 0x100a7c7a
mov ecx, dword [ebp - 0x498]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7c70
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7e54
push edx
push ecx
call fcn.100bede4
add esp, 8
mov edx, dword [ebp - 0x49c]
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 0xf
mov byte [ebp - 0x498], 0
cmp edx, 0x10
jb 0x100a7ccf
mov ecx, dword [ebp - 0x4b0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7cc5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7e54
push edx
push ecx
call fcn.100bede4
add esp, 8
cmp dword [ebp - 0x40c], 0x10
lea eax, [ebp - 0x420]
cmovae eax, dword [ebp - 0x420]
push eax
call fcn.100c8c15
add esp, 4
mov edx, dword [ebp - 0x40c]
cmp edx, 0x10
jb 0x100a7d26
mov ecx, dword [ebp - 0x420]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7d1c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7e59
push edx
push ecx
call fcn.100bede4
add esp, 8
mov edx, dword [ebp - 0x43c]
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x40c], 0xf
mov byte [ebp - 0x420], 0
cmp edx, 0x10
jb 0x100a7d7b
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7d71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7e59
push edx
push ecx
call fcn.100bede4
add esp, 8
mov edx, dword [ebp - 0x424]
cmp edx, 0x10
jb 0x100a7db5
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7dab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7e59
push edx
push ecx
call fcn.100bede4
add esp, 8
mov edx, dword [ebp - 0x454]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
cmp edx, 0x10
jb 0x100a7e06
mov ecx, dword [ebp - 0x468]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7dfc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7e59
push edx
push ecx
call fcn.100bede4
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x100a7e36
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7e2c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7e59
push edx
push ecx
call fcn.100bede4
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100be889
mov esp, ebp
pop ebp
ret
call fcn.100cb7f0
call fcn.100cb7f0
call fcn.100cb7f0
call fcn.100cb7f0
call fcn.100cb7f0
int3