Function at 0x100a8ef0
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 [0x100ff008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
sub esp, 0x18
mov ecx, esp
call fcn.10084d90
lea ecx, [ebp - 0x450]
call fcn.100850c0
mov ecx, esp
push 0x10100ac8
call fcn.100b1340
lea ecx, [ebp - 0x4b4]
call fcn.10084ca0
add esp, 0x18
lea ecx, [ebp - 0x480]
mov esi, eax
call fcn.10086fb0
push esi
push eax
push dword [ebp - 0x484]
lea ecx, [ebp - 0x438]
call fcn.100b3f00
mov edx, dword [ebp - 0x46c]
cmp edx, 0x10
jb 0x100a8f8d
mov ecx, dword [ebp - 0x480]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a8f83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a95a5
push edx
push ecx
call fcn.100bd5f4
add esp, 8
mov edx, dword [ebp - 0x4a0]
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0xf
mov byte [ebp - 0x480], 0
cmp edx, 0x10
jb 0x100a8fe2
mov ecx, dword [ebp - 0x4b4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a8fd8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a95a5
push edx
push ecx
call fcn.100bd5f4
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x10101140
call fcn.100b1340
lea ecx, [ebp - 0x480]
call fcn.10084ca0
add esp, 0x18
lea ecx, [ebp - 0x450]
cmp dword [ebp - 0x43c], 0x10
cmovae ecx, dword [ebp - 0x450]
push dword [ebp - 0x440]
push ecx
push ecx
mov ecx, eax
call fcn.100b5c40
sub esp, 0x18
mov ecx, esp
movups xmm0, xmmword [eax]
push 0x10100f48
movups xmmword [ebp - 0x4b4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x4a4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.100b1340
lea ecx, [ebp - 0x49c]
call fcn.10084ca0
add esp, 0x18
lea ecx, [ebp - 0x468]
push eax
lea eax, [ebp - 0x4b4]
push eax
push dword [ebp - 0x484]
call fcn.100b3f00
mov edx, dword [ebp - 0x4a0]
cmp edx, 0x10
jb 0x100a90ba
mov ecx, dword [ebp - 0x4b4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a90b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a95aa
push edx
push ecx
call fcn.100bd5f4
add esp, 8
mov edx, dword [ebp - 0x46c]
cmp edx, 0x10
jb 0x100a90f4
mov ecx, dword [ebp - 0x480]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a90ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a95aa
push edx
push ecx
call fcn.100bd5f4
add esp, 8
mov edx, dword [ebp - 0x488]
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0xf
mov byte [ebp - 0x480], 0
cmp edx, 0x10
jb 0x100a9149
mov ecx, dword [ebp - 0x49c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a913f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a95aa
push edx
push ecx
call fcn.100bd5f4
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 - 0x480], 0
mov dword [ebp - 0x470], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x46c], 0xf
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a9182
sub ecx, edx
lea eax, [ebp - 0x408]
push ecx
push eax
lea ecx, [ebp - 0x480]
call fcn.100b1950
lea eax, [ebp - 0x468]
push eax
lea edx, [ebp - 0x480]
lea ecx, [ebp - 0x420]
call fcn.100b1da0
mov edx, dword [ebp - 0x46c]
add esp, 4
cmp edx, 0x10
jb 0x100a91f3
mov ecx, dword [ebp - 0x480]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a91e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a95af
push edx
push ecx
call fcn.100bd5f4
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 0x100a944c
test al, 0x10
je 0x100a944c
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x10100fd8
call fcn.100b1340
mov ecx, esi
call fcn.10084ca0
add esp, 0x18
lea ecx, [ebp - 0x49c]
call fcn.10086640
mov edx, dword [ebp - 0x488]
add esp, 0x18
cmp edx, 0x10
jb 0x100a9285
mov ecx, dword [ebp - 0x49c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a927b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a95b9
push edx
push ecx
call fcn.100bd5f4
add esp, 8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 0x18
lea eax, [ebp - 0x420]
mov ecx, esp
push eax
call fcn.100b1340
sub esp, 0x18
lea eax, [ebp - 0x438]
mov ecx, esp
push eax
call fcn.100b1340
call fcn.10086a50
cmp dword [ebp - 0x40c], 0x10
lea eax, [ebp - 0x420]
push 0x100f96cc
cmovae eax, dword [ebp - 0x420]
push eax
call fcn.100c64bd
add esp, 0x38
test eax, eax
je 0x100a944c
push eax
call fcn.100c654b
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 0x100a9339
cmp byte [eax], 0x30
jne 0x100a9339
sub esp, 0x18
lea eax, [ebp - 0x468]
mov ecx, esp
push eax
call fcn.100b1340
sub esp, 0x18
lea eax, [ebp - 0x420]
mov ecx, esp
push eax
call fcn.100b1340
call fcn.10086ca0
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 0x100a942f
cmp byte [eax], 0x31
jne 0x100a942f
lea eax, [ebp - 0x468]
push eax
push ecx
lea ecx, [ebp - 0x49c]
call fcn.10086540
add esp, 4
lea ecx, [ebp - 0x480]
mov edx, eax
call fcn.100b1da0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x100a9382
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 - 0x46c]
cmp edx, 0x10
jb 0x100a93da
mov ecx, dword [ebp - 0x480]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a93d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a95b4
push edx
push ecx
call fcn.100bd5f4
add esp, 8
mov edx, dword [ebp - 0x488]
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 0xf
mov byte [ebp - 0x480], 0
cmp edx, 0x10
jb 0x100a942f
mov ecx, dword [ebp - 0x49c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a9425
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a95b4
push edx
push ecx
call fcn.100bd5f4
add esp, 8
cmp dword [ebp - 0x40c], 0x10
lea eax, [ebp - 0x420]
cmovae eax, dword [ebp - 0x420]
push eax
call fcn.100c6755
add esp, 4
mov edx, dword [ebp - 0x40c]
cmp edx, 0x10
jb 0x100a9486
mov ecx, dword [ebp - 0x420]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a947c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a95b9
push edx
push ecx
call fcn.100bd5f4
add esp, 8
mov edx, dword [ebp - 0x454]
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x40c], 0xf
mov byte [ebp - 0x420], 0
cmp edx, 0x10
jb 0x100a94db
mov ecx, dword [ebp - 0x468]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a94d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a95b9
push edx
push ecx
call fcn.100bd5f4
add esp, 8
mov edx, dword [ebp - 0x424]
cmp edx, 0x10
jb 0x100a9515
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a950b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a95b9
push edx
push ecx
call fcn.100bd5f4
add esp, 8
mov edx, dword [ebp - 0x43c]
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 0xf
mov byte [ebp - 0x438], 0
cmp edx, 0x10
jb 0x100a9566
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a955c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a95b9
push edx
push ecx
call fcn.100bd5f4
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x100a9596
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a958c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a95b9
push edx
push ecx
call fcn.100bd5f4
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100bd09a
mov esp, ebp
pop ebp
ret
call fcn.100c93fd
call fcn.100c93fd
call fcn.100c93fd
call fcn.100c93fd
call fcn.100c93fd
int3