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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bec50
mov eax, dword fs:[0]
push eax
mov eax, 0x19dc
call fcn.0048cf10
mov eax, dword [0x4e880c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov dword [ebp - 0x19c4], ecx
mov edi, 7
push eax
lea ecx, [ebp - 0xd0]
mov dword [ebp - 0x19cc], esi
mov dword [ebp - 0x19c8], eax
mov dword [ebp - 0xb8], edi
mov dword [ebp - 0xbc], ebx
mov word [ebp - 0xcc], bx
call fcn.0040216a
lea edx, [ebp - 0x44]
push ebx
push edx
mov dword [ebp - 4], ebx
call fcn.00446310
add esp, 8
cmp dword [ebp - 0x30], ebx
mov byte [ebp - 4], 1
jne 0x43ba2d
mov esi, 8
cmp dword [ebp - 0x2c], esi
jb 0x43ba05
mov eax, dword [ebp - 0x40]
push eax
call fcn.0048c049
add esp, 4
cmp dword [ebp - 0xb8], esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], bx
jb 0x43ba26
mov ecx, dword [ebp - 0xcc]
push ecx
call fcn.0048c049
add esp, 4
xor al, al
jmp 0x43bee2
push 0xffffffffffffffff
push ebx
push esi
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x68], ebx
mov word [ebp - 0x78], bx
call fcn.0040216a
cmp dword [ebp - 0x68], ebx
mov byte [ebp - 4], 2
jne 0x43ba6e
mov esi, 8
cmp dword [ebp - 0x64], esi
jb 0x43ba62
mov edx, dword [ebp - 0x78]
push edx
call fcn.0048c049
add esp, 4
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x68], ebx
mov word [ebp - 0x78], bx
jmp 0x43b9f4
cmp dword [ebp - 0x2c], 8
mov eax, dword [ebp - 0x40]
jae 0x43ba7a
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x920]
call fcn.00441fd0
xor eax, eax
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp - 0x920]
mov byte [ebp - 4], 3
mov word [ebp - 0x28], bx
mov dword [ebp - 0x26], eax
mov word [ebp - 0x22], ax
call fcn.00441be0
lea eax, [ebp - 0x7c]
push eax
call fcn.004455f0
add esp, 4
test al, al
jne 0x43bac2
lea ecx, [ebp - 0x7c]
push ecx
call fcn.00445750
add esp, 4
mov eax, dword [ebp - 0x19c4]
mov esi, dword [eax + 4]
cmp esi, dword [eax + 8]
jbe 0x43bad5
call fcn.0048c687
mov edi, esi
jmp 0x43bae0
mov eax, dword [ebp - 0x19c4]
mov esi, dword [eax + 8]
cmp dword [eax + 4], esi
jbe 0x43baf3
call fcn.0048c687
cmp edi, esi
je 0x43be7a
mov edx, dword [ebp - 0x19c8]
push 0x4caa50
push edx
lea eax, [ebp - 0xb4]
push eax
call fcn.0040dae0
add esp, 0xc
mov esi, eax
mov ecx, dword [ebp - 0x19c4]
cmp edi, dword [ecx + 8]
mov byte [ebp - 4], 4
jb 0x43bb2c
call fcn.0048c687
push edi
lea edx, [ebp - 0x98]
push esi
push edx
call fcn.00419e20
add esp, 0xc
cmp dword [ebp - 0x9c], 8
mov byte [ebp - 4], 6
jb 0x43bb59
mov eax, dword [ebp - 0xb0]
push eax
call fcn.0048c049
add esp, 4
mov ecx, dword [ebp - 0x19cc]
push 0x4caa50
push ecx
lea edx, [ebp - 0x19e8]
push edx
mov dword [ebp - 0x9c], 7
mov dword [ebp - 0xa0], ebx
mov word [ebp - 0xb0], bx
call fcn.0040dae0
add esp, 0xc
mov esi, eax
mov eax, dword [ebp - 0x19c4]
cmp edi, dword [eax + 8]
mov byte [ebp - 4], 7
jb 0x43bba1
call fcn.0048c687
push edi
lea ecx, [ebp - 0x60]
push esi
push ecx
call fcn.00419e20
add esp, 0xc
cmp dword [ebp - 0x19d0], 8
mov byte [ebp - 4], 9
jb 0x43bbcb
mov edx, dword [ebp - 0x19e4]
push edx
call fcn.0048c049
add esp, 4
mov esi, dword [ebp - 0x19c4]
cmp edi, dword [esi + 8]
mov dword [ebp - 0x19d0], 7
mov dword [ebp - 0x19d4], ebx
mov word [ebp - 0x19e4], bx
jb 0x43bbf2
call fcn.0048c687
mov eax, dword [edi + 0x14]
push 0x10
push str.bugreport_xf.exe
push eax
push ebx
mov ecx, edi
call fcn.00424740
test eax, eax
jne 0x43bcba
mov ecx, dword [ebp - 0x19c8]
push 0x4cd314
push ecx
lea edx, [ebp - 0xb4]
push edx
call fcn.0040dae0
add esp, 0xc
cmp dword [ebp - 0x80], 8
mov eax, dword [ebp - 0x94]
mov byte [ebp - 4], 0xa
jae 0x43bc40
lea eax, [ebp - 0x94]
jmp 0x43bc44
cmp eax, ebx
je 0x43bc59
cmp word [eax], bx
je 0x43bc59
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43bc59
test al, 0x10
je 0x43bc9e
cmp dword [ebp - 0x9c], 8
mov eax, dword [ebp - 0xb0]
jae 0x43bc70
lea eax, [ebp - 0xb0]
jmp 0x43bc74
cmp eax, ebx
je 0x43bc9e
cmp word [eax], bx
je 0x43bc9e
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43bc9e
test al, 0x10
jne 0x43bc9e
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x98]
call fcn.0040216a
cmp dword [ebp - 0x9c], 8
mov byte [ebp - 4], 9
jb 0x43bcba
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.0048c049
add esp, 4
cmp edi, dword [esi + 8]
jb 0x43bcc4
call fcn.0048c687
cmp byte [edi + 0x1c], bl
je 0x43bde6
cmp dword [ebp - 0x48], 8
mov eax, dword [ebp - 0x5c]
jae 0x43bcdb
lea eax, [ebp - 0x5c]
jmp 0x43bce3
cmp eax, ebx
je 0x43bde6
cmp word [eax], bx
je 0x43bde6
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43bde6
test al, 0x10
jne 0x43bde6
cmp dword [ebp - 0x80], 8
mov eax, dword [ebp - 0x94]
jae 0x43bd16
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x1170]
call fcn.00441fd0
xor eax, eax
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x1170]
mov byte [ebp - 4], 0xb
mov word [ebp - 0x18], bx
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], ax
call fcn.00441be0
cmp dword [ebp - 0x48], 8
movzx esi, word [ebp - 0x14]
mov eax, dword [ebp - 0x5c]
jae 0x43bd52
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x19c0]
call fcn.00441fd0
xor eax, eax
mov dword [ebp - 0x1e], eax
mov word [ebp - 0x1a], ax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x19c0]
mov byte [ebp - 4], 0xc
mov word [ebp - 0x20], bx
call fcn.00441be0
movzx eax, word [ebp - 0x1c]
cmp esi, eax
jb 0x43bdc6
mov ecx, dword [ebp - 0x19c4]
cmp edi, dword [ecx + 8]
jb 0x43bd96
call fcn.0048c687
mov ecx, dword [ebp - 0x5c]
mov eax, 8
cmp dword [ebp - 0x48], eax
jae 0x43bda6
lea ecx, [ebp - 0x5c]
cmp dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x94]
jae 0x43bdb7
lea eax, [ebp - 0x94]
movzx edx, byte [edi + 0x1c]
push edx
push ecx
push eax
call fcn.00439400
add esp, 0xc
lea ecx, [ebp - 0x19c0]
mov byte [ebp - 4], 0xb
call fcn.00441c50
lea ecx, [ebp - 0x1170]
mov byte [ebp - 4], 9
call fcn.00441c50
jmp 0x43be29
cmp edi, dword [esi + 8]
jb 0x43bdf0
call fcn.0048c687
cmp dword [ebp - 0x48], 8
mov esi, dword [ebp - 0x5c]
jae 0x43bdfc
lea esi, [ebp - 0x5c]
cmp dword [ebp - 0x80], 8
mov eax, dword [ebp - 0x94]
jae 0x43be0e
lea eax, [ebp - 0x94]
cmp eax, ebx
mov cl, byte [edi + 0x1c]
je 0x43be29
cmp esi, ebx
je 0x43be29
xor edx, edx
cmp cl, bl
sete dl
push edx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
cmp dword [ebp - 0x48], 8
jb 0x43be3b
mov eax, dword [ebp - 0x5c]
push eax
call fcn.0048c049
add esp, 4
cmp dword [ebp - 0x80], 8
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x5c], bx
mov byte [ebp - 4], 3
jb 0x43be62
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.0048c049
add esp, 4
mov edx, dword [ebp - 0x19c4]
cmp edi, dword [edx + 8]
jb 0x43be72
call fcn.0048c687
add edi, 0x20
jmp 0x43bae0
lea ecx, [ebp - 0x920]
mov byte [ebp - 4], 2
call fcn.00441c50
mov esi, 8
cmp dword [ebp - 0x64], esi
jb 0x43be9f
mov eax, dword [ebp - 0x78]
push eax
call fcn.0048c049
add esp, 4
cmp dword [ebp - 0x2c], esi
mov edi, 7
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x68], ebx
mov word [ebp - 0x78], bx
jb 0x43bebf
mov ecx, dword [ebp - 0x40]
push ecx
call fcn.0048c049
add esp, 4
cmp dword [ebp - 0xb8], esi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], bx
jb 0x43bee0
mov edx, dword [ebp - 0xcc]
push edx
call fcn.0048c049
add esp, 4
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048c010
mov esp, ebp
pop ebp
ret