Function at 0x436ca0
Capabilities:
Check if file exists
Copy file
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4acf49
mov eax, dword fs:[0]
push eax
mov eax, 0x19d8
call fcn.0047af70
mov eax, dword [0x4d1644]
xor eax, esp
mov dword [esp + 0x19d4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d1644]
xor eax, esp
push eax
lea eax, [esp + 0x19ec]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1a00]
mov esi, dword [esp + 0x19fc]
mov ebp, dword [esp + 0x1a04]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov edi, 7
push eax
lea ecx, [esp + 0xd0]
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0xe8], edi
mov dword [esp + 0xe4], ebx
mov word [esp + 0xd4], bx
call fcn.00402186
lea eax, [esp + 0x38]
push ebx
push eax
mov dword [esp + 0x19fc], ebx
call fcn.00444030
add esp, 8
cmp dword [esp + 0x4c], ebx
mov byte [esp + 0x19f4], 1
jne 0x436d91
mov esi, 8
cmp dword [esp + 0x50], esi
jb 0x436d64
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00479e49
add esp, 4
cmp dword [esp + 0xdc], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jb 0x436d8a
mov edx, dword [esp + 0xc8]
push edx
call fcn.00479e49
add esp, 4
xor al, al
jmp 0x437303
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [esp + 0x7c]
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
call fcn.00402186
cmp dword [esp + 0x84], ebx
mov byte [esp + 0x19f4], 2
jne 0x436df8
mov esi, 8
cmp dword [esp + 0x88], esi
jb 0x436de0
mov eax, dword [esp + 0x74]
push eax
call fcn.00479e49
add esp, 4
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], bx
jmp 0x436d51
cmp dword [esp + 0x50], 8
mov eax, dword [esp + 0x3c]
jae 0x436e07
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x934]
call fcn.0043f730
xor eax, eax
mov dword [esp + 0x19e2], eax
mov word [esp + 0x19e6], ax
lea eax, [esp + 0x19e0]
push eax
lea ecx, [esp + 0x934]
mov byte [esp + 0x19f8], 3
mov word [esp + 0x19e4], bx
call fcn.0043f340
lea ecx, [esp + 0x70]
push ecx
call fcn.00443310
add esp, 4
test al, al
jne 0x436e67
lea edx, [esp + 0x70]
push edx
call fcn.00443470
add esp, 4
mov esi, dword [ebp + 4]
cmp esi, dword [ebp + 8]
jbe 0x436e74
call fcn.0047a2b7
mov edi, esi
mov esi, dword [ebp + 8]
cmp dword [ebp + 4], esi
jbe 0x436e83
call fcn.0047a2b7
cmp edi, esi
je 0x437281
mov eax, dword [esp + 0x14]
push 0x4b775c
push eax
lea ecx, [esp + 0xb0]
push ecx
call fcn.0040cbf0
add esp, 0xc
mov esi, eax
cmp edi, dword [ebp + 8]
mov byte [esp + 0x19f4], 4
jb 0x436eb9
call fcn.0047a2b7
push edi
lea edx, [esp + 0x90]
push esi
push edx
call fcn.004178b0
add esp, 0xc
cmp dword [esp + 0xc0], 8
mov byte [esp + 0x19f4], 6
jb 0x436eed
mov eax, dword [esp + 0xac]
push eax
call fcn.00479e49
add esp, 4
mov ecx, dword [esp + 0x18]
push 0x4b775c
push ecx
lea edx, [esp + 0x24]
push edx
mov dword [esp + 0xcc], 7
mov dword [esp + 0xc8], ebx
mov word [esp + 0xb8], bx
call fcn.0040cbf0
add esp, 0xc
mov esi, eax
cmp edi, dword [ebp + 8]
mov byte [esp + 0x19f4], 7
jb 0x436f32
call fcn.0047a2b7
push edi
lea eax, [esp + 0x58]
push esi
push eax
call fcn.004178b0
add esp, 0xc
cmp dword [esp + 0x34], 8
mov byte [esp + 0x19f4], 9
jb 0x436f5d
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00479e49
add esp, 4
cmp edi, dword [ebp + 8]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
jb 0x436f78
call fcn.0047a2b7
mov edx, dword [edi + 0x14]
push 0x10
push str.bugreport_xf.exe
push edx
push ebx
mov ecx, edi
call fcn.00416e30
test eax, eax
jne 0x437058
mov eax, dword [esp + 0x14]
push 0x4b8c88
push eax
lea ecx, [esp + 0xb0]
push ecx
call fcn.0040cbf0
add esp, 0xc
mov eax, dword [esp + 0x90]
mov esi, 8
cmp dword [esp + 0xa4], esi
mov byte [esp + 0x19f4], 0xa
jae 0x436fd3
lea eax, [esp + 0x90]
jmp 0x436fd7
cmp eax, ebx
je 0x436fec
cmp word [eax], bx
je 0x436fec
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x436fec
test al, 0x10
je 0x437035
cmp dword [esp + 0xc0], esi
mov eax, dword [esp + 0xac]
jae 0x437005
lea eax, [esp + 0xac]
jmp 0x437009
cmp eax, ebx
je 0x437035
cmp word [eax], bx
je 0x437035
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x437035
test al, 0x10
jne 0x437035
push 0xffffffffffffffff
push ebx
lea edx, [esp + 0xb0]
push edx
lea ecx, [esp + 0x98]
call fcn.00402186
cmp dword [esp + 0xc0], esi
mov byte [esp + 0x19f4], 9
jb 0x43705d
mov eax, dword [esp + 0xac]
push eax
call fcn.00479e49
add esp, 4
jmp 0x43705d
mov esi, 8
cmp edi, dword [ebp + 8]
jb 0x437067
call fcn.0047a2b7
cmp byte [edi + 0x1c], bl
je 0x4371dd
cmp dword [esp + 0x6c], esi
mov eax, dword [esp + 0x58]
jae 0x437080
lea eax, [esp + 0x58]
jmp 0x437088
cmp eax, ebx
je 0x4371dd
cmp word [eax], bx
je 0x4371dd
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4371dd
test al, 0x10
jne 0x4371dd
cmp dword [esp + 0xa4], esi
mov eax, dword [esp + 0x90]
jae 0x4370c0
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x1184]
call fcn.0043f730
lea ecx, [esp + 0x19d0]
xor eax, eax
push ecx
lea ecx, [esp + 0x1184]
mov byte [esp + 0x19f8], 0xb
mov word [esp + 0x19d4], bx
mov dword [esp + 0x19d6], eax
mov word [esp + 0x19da], ax
call fcn.0043f340
cmp dword [esp + 0x6c], 8
movzx esi, word [esp + 0x19d4]
mov eax, dword [esp + 0x58]
jae 0x437119
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0xe4]
call fcn.0043f730
xor eax, eax
lea edx, [esp + 0x19d8]
push edx
lea ecx, [esp + 0xe4]
mov byte [esp + 0x19f8], 0xc
mov word [esp + 0x19dc], bx
mov dword [esp + 0x19de], eax
mov word [esp + 0x19e2], ax
call fcn.0043f340
movzx eax, word [esp + 0x19dc]
cmp esi, eax
jb 0x4371b3
cmp edi, dword [ebp + 8]
jb 0x437171
call fcn.0047a2b7
cmp dword [esp + 0x6c], 8
mov esi, dword [esp + 0x58]
jae 0x437180
lea esi, [esp + 0x58]
cmp dword [esp + 0xa4], 8
mov eax, dword [esp + 0x90]
jae 0x437198
lea eax, [esp + 0x90]
cmp eax, ebx
mov cl, byte [edi + 0x1c]
je 0x4371b3
cmp esi, ebx
je 0x4371b3
xor edx, edx
cmp cl, bl
sete dl
push edx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
lea ecx, [esp + 0xe0]
mov byte [esp + 0x19f4], 0xb
call fcn.0043f3b0
lea ecx, [esp + 0x1180]
mov byte [esp + 0x19f4], 9
call fcn.0043f3b0
jmp 0x437228
cmp edi, dword [ebp + 8]
jb 0x4371e7
call fcn.0047a2b7
cmp dword [esp + 0x6c], esi
mov esi, dword [esp + 0x58]
jae 0x4371f5
lea esi, [esp + 0x58]
cmp dword [esp + 0xa4], 8
mov eax, dword [esp + 0x90]
jae 0x43720d
lea eax, [esp + 0x90]
cmp eax, ebx
mov cl, byte [edi + 0x1c]
je 0x437228
cmp esi, ebx
je 0x437228
xor edx, edx
cmp cl, bl
sete dl
push edx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [esp + 0x6c], 8
jb 0x43723c
mov eax, dword [esp + 0x58]
push eax
call fcn.00479e49
add esp, 4
cmp dword [esp + 0xa4], 8
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
mov byte [esp + 0x19f4], 3
jb 0x43726f
mov ecx, dword [esp + 0x90]
push ecx
call fcn.00479e49
add esp, 4
cmp edi, dword [ebp + 8]
jb 0x437279
call fcn.0047a2b7
add edi, 0x20
jmp 0x436e76
lea ecx, [esp + 0x930]
mov byte [esp + 0x19f4], 2
call fcn.0043f3b0
mov esi, 8
cmp dword [esp + 0x88], esi
jb 0x4372b0
mov edx, dword [esp + 0x74]
push edx
call fcn.00479e49
add esp, 4
cmp dword [esp + 0x50], esi
mov edi, 7
mov dword [esp + 0x88], edi
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], bx
jb 0x4372db
mov eax, dword [esp + 0x3c]
push eax
call fcn.00479e49
add esp, 4
cmp dword [esp + 0xdc], esi
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], ebx
mov word [esp + 0x3c], bx
jb 0x437301
mov ecx, dword [esp + 0xc8]
push ecx
call fcn.00479e49
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x19ec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x19d4]
xor ecx, esp
call fcn.00479e10
add esp, 0x19e4
ret