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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4e4
mov eax, dword [0x10100008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.100b24b0
lea ecx, [ebp - 0x49c]
call fcn.100a7500
mov edx, dword [ebp - 0x488]
add esp, 0x18
cmp edx, 0x10
jb 0x100a764a
mov ecx, dword [ebp - 0x49c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7640
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7d99
push edx
push ecx
call fcn.100be753
add esp, 8
sub esp, 0x18
mov ecx, esp
call fcn.10084d90
lea ecx, [ebp - 0x438]
call fcn.100850c0
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.100b24b0
lea ecx, [ebp - 0x4cc]
call fcn.100a7500
add esp, 0x18
lea ecx, [ebp - 0x438]
cmp dword [ebp - 0x424], 0x10
cmovae ecx, dword [ebp - 0x438]
push dword [ebp - 0x428]
push ecx
push ecx
mov ecx, eax
call fcn.100b6da0
sub esp, 0x18
mov ecx, esp
movups xmm0, xmmword [eax]
push 0x10101ed0
movups xmmword [ebp - 0x49c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48c], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.100b24b0
lea ecx, [ebp - 0x468]
call fcn.10084ca0
add esp, 0x18
lea ecx, [ebp - 0x480]
push eax
lea eax, [ebp - 0x49c]
push eax
push dword [ebp - 0x484]
call fcn.100b5060
sub esp, 0x18
mov ecx, esp
push 0x101020e0
call fcn.100b24b0
lea ecx, [ebp - 0x4e4]
call fcn.10084ca0
mov esi, eax
lea edx, [ebp - 0x480]
lea eax, [ebp + 0x20]
push eax
lea ecx, [ebp - 0x4b4]
call fcn.100b2f10
add esp, 0x1c
lea ecx, [ebp - 0x450]
push esi
push eax
push dword [ebp - 0x484]
call fcn.100b5060
mov edx, dword [ebp - 0x4a0]
cmp edx, 0x10
jb 0x100a777a
mov ecx, dword [ebp - 0x4b4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7770
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7d8a
push edx
push ecx
call fcn.100be753
add esp, 8
mov edx, dword [ebp - 0x46c]
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x4a0], 0xf
mov byte [ebp - 0x4b4], 0
cmp edx, 0x10
jb 0x100a77cf
mov ecx, dword [ebp - 0x480]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a77c5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7d8a
push edx
push ecx
call fcn.100be753
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 0x100a7824
mov ecx, dword [ebp - 0x49c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a781a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7d8a
push edx
push ecx
call fcn.100be753
add esp, 8
mov edx, dword [ebp - 0x4b8]
cmp edx, 0x10
jb 0x100a785e
mov ecx, dword [ebp - 0x4cc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7854
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7d8a
push edx
push ecx
call fcn.100be753
add esp, 8
mov edx, dword [ebp - 0x454]
mov dword [ebp - 0x4bc], 0
mov dword [ebp - 0x4b8], 0xf
mov byte [ebp - 0x4cc], 0
cmp edx, 0x10
jb 0x100a78b3
mov ecx, dword [ebp - 0x468]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a78a9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7d8a
push edx
push ecx
call fcn.100be753
add esp, 8
mov edx, dword [ebp - 0x4d0]
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0xf
mov byte [ebp - 0x468], 0
cmp edx, 0x10
jb 0x100a7908
mov ecx, dword [ebp - 0x4e4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a78fe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7d8a
push edx
push ecx
call fcn.100be753
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 0x100a7941
sub ecx, edx
lea eax, [ebp - 0x408]
push ecx
push eax
lea ecx, [ebp - 0x480]
call fcn.100b2ac0
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x438]
push eax
lea edx, [ebp - 0x480]
lea ecx, [ebp - 0x468]
call fcn.100b2f10
add esp, 4
lea ecx, [ebp - 0x420]
mov edx, eax
call fcn.100b2f10
mov edx, dword [ebp - 0x454]
add esp, 4
cmp edx, 0x10
jb 0x100a79c9
mov ecx, dword [ebp - 0x468]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a79bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7d8f
push edx
push ecx
call fcn.100be753
add esp, 8
mov edx, dword [ebp - 0x46c]
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0xf
mov byte [ebp - 0x468], 0
cmp edx, 0x10
jb 0x100a7a1e
mov ecx, dword [ebp - 0x480]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7a14
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7d8f
push edx
push ecx
call fcn.100be753
add esp, 8
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x100a7bfa
test al, 0x10
je 0x100a7bfa
sub esp, 0x18
lea eax, [ebp - 0x420]
mov ecx, esp
push eax
call fcn.100b24b0
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.100b24b0
call fcn.10086a50
cmp dword [ebp - 0x40c], 0x10
lea eax, [ebp - 0x420]
push 0x100fa6cc
cmovae eax, dword [ebp - 0x420]
push eax
call fcn.100c761d
add esp, 0x38
test eax, eax
je 0x100a7bfa
push eax
call fcn.100c76ab
mov ecx, dword [ebp + 0x4c]
lea eax, [ebp + 0x38]
mov edx, dword [ebp + 0x38]
add esp, 4
mov esi, dword [ebp + 0x48]
cmp ecx, 0x10
cmovae eax, edx
cmp esi, 1
jne 0x100a7ae7
cmp byte [eax], 0x30
jne 0x100a7ae7
sub esp, 0x18
lea eax, [ebp - 0x450]
mov ecx, esp
push eax
call fcn.100b24b0
sub esp, 0x18
lea eax, [ebp - 0x420]
mov ecx, esp
push eax
call fcn.100b24b0
call fcn.10086ca0
mov ecx, dword [ebp + 0x4c]
add esp, 0x30
mov esi, dword [ebp + 0x48]
mov edx, dword [ebp + 0x38]
cmp ecx, 0x10
lea eax, [ebp + 0x38]
cmovae eax, edx
cmp esi, 1
jne 0x100a7bdd
cmp byte [eax], 0x31
jne 0x100a7bdd
lea eax, [ebp - 0x450]
push eax
push ecx
lea ecx, [ebp - 0x4e4]
call fcn.10086540
add esp, 4
lea ecx, [ebp - 0x468]
mov edx, eax
call fcn.100b2f10
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x100a7b30
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 - 0x454]
cmp edx, 0x10
jb 0x100a7b88
mov ecx, dword [ebp - 0x468]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7b7e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7d94
push edx
push ecx
call fcn.100be753
add esp, 8
mov edx, dword [ebp - 0x4d0]
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 0xf
mov byte [ebp - 0x468], 0
cmp edx, 0x10
jb 0x100a7bdd
mov ecx, dword [ebp - 0x4e4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7bd3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7d94
push edx
push ecx
call fcn.100be753
add esp, 8
cmp dword [ebp - 0x40c], 0x10
lea eax, [ebp - 0x420]
cmovae eax, dword [ebp - 0x420]
push eax
call fcn.100c78b5
add esp, 4
mov edx, dword [ebp - 0x40c]
cmp edx, 0x10
jb 0x100a7c34
mov ecx, dword [ebp - 0x420]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7c2a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7d99
push edx
push ecx
call fcn.100be753
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 0x100a7c89
mov ecx, dword [ebp - 0x450]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7c7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7d99
push edx
push ecx
call fcn.100be753
add esp, 8
mov edx, dword [ebp - 0x424]
cmp edx, 0x10
jb 0x100a7cc3
mov ecx, dword [ebp - 0x438]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7cb9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7d99
push edx
push ecx
call fcn.100be753
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x100a7cf7
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7ced
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7d99
push edx
push ecx
call fcn.100be753
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x100a7d39
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100a7d2f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100a7d99
push edx
push ecx
call fcn.100be753
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x100a7d7b
mov ecx, dword [ebp + 0x38]
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 0x100a7d99
push edx
push ecx
call fcn.100be753
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100be1f9
mov esp, ebp
pop ebp
ret
call fcn.100ca55d
call fcn.100ca55d
call fcn.100ca55d
call fcn.100ca55d
int3