Function at 0x44b4d2
Capabilities:
Check if file exists
Copy file
Get file attributes
Read file on windows
Set file attributes
Write file on windows

Disassembly:
mov eax, 0x60859d
call fcn.00465b38
sub esp, 0x77c
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
push edi
je 0x44bdad
cmp word [eax], bx
je 0x44bdad
mov edi, dword [ebp + 0xc]
cmp edi, ebx
je 0x44bdad
cmp word [edi], bx
je 0x44bdad
push ebx
push ebx
push ebx
push eax
call fcn.0043b540
add esp, 0x10
cmp eax, 4
je 0x44b52a
push 0x49b
jmp 0x44bdb2
cmp dword [ebp + 0x18], ebx
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
je 0x44b64b
push ebx
push ebx
push 3
push ebx
push 5
push 0xc0000000
push dword [ebp + 8]
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
jne 0x44b55c
push 0x4ad
jmp 0x44b6cb
mov ecx, 0xdb
xor eax, eax
lea edi, [ebp - 0x417]
mov byte [ebp - 0x418], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push ebx
lea eax, [ebp - 0x418]
push ebx
push eax
push dword [ebp - 0x18]
call fcn.0043c6ac
add esp, 0x10
test eax, eax
je 0x44b63f
lea eax, [ebp - 0x3e8]
push str._OEAX_
push eax
call fcn.0046638c
pop ecx
test eax, eax
pop ecx
jne 0x44b63f
push dword [ebp + 8]
call fcn.00452930
pop ecx
push eax
lea ecx, [ebp + 0x18]
call fcn.00480200
push 0x2e
lea ecx, [ebp + 0x18]
mov dword [ebp - 4], ebx
call fcn.00481c80
mov edi, eax
cmp edi, 0xffffffff
je 0x44b626
lea eax, [ebp - 0x24]
push edi
push eax
lea ecx, [ebp + 0x18]
call fcn.00482dd0
push str..oeax
mov byte [ebp - 4], 1
push dword [ebp - 0x24]
call fcn.00466804
pop ecx
cmp eax, ebx
pop ecx
jne 0x44b61b
lea eax, [ebp - 0x30]
push edi
push eax
lea ecx, [ebp + 0x18]
call fcn.00483240
push eax
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 2
call fcn.00480c20
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.00480a70
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], bl
call fcn.00480a70
push dword [ebp + 0x18]
push dword [ebp - 0x18]
call fcn.0043b40e
or dword [ebp - 4], 0xffffffff
pop ecx
pop ecx
lea ecx, [ebp + 0x18]
call fcn.00480a70
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp + 0xc]
push edi
call fcn.0044a4b6
pop ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
je 0x44b66f
test al, 0x10
je 0x44b692
push 0x4cb
jmp 0x44bdb2
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x44b68a
push 0x4d3
push 4
jmp 0x44bdb4
push 1
pop eax
jmp 0x44bdbd
push ebx
push ebx
push ebx
push edi
call fcn.0043b540
add esp, 0x10
cmp eax, 4
je 0x44b6ad
push 0x4dc
jmp 0x44bdb2
push ebx
push ebx
push 3
push ebx
push 5
push SysReAllocStringLen
push dword [ebp + 8]
call esi
cmp eax, 0xffffffff
mov dword [ebp + 0x18], eax
jne 0x44b6d2
push 0x4ee
push 3
jmp 0x44bdb4
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], ebx
test al, 1
je 0x44b6e6
and al, 0xfe
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
push 0x80
push 3
push ebx
push 1
push 0xc0000000
push edi
call esi
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x44bd4f
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
push ebx
push ebx
push dword [ebp + 0x18]
call esi
push ebx
push ebx
push ebx
push dword [ebp + 8]
call esi
cmp dword [ebp + 0x10], ebx
je 0x44b809
mov ecx, 0xdb
xor eax, eax
lea edi, [ebp - 0x417]
mov byte [ebp - 0x418], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp + 0xc]
stosb byte es:[edi], al
call fcn.004a8620
push 3
lea eax, [ebp + 0xc]
pop edi
push ebx
push eax
lea eax, [ebp - 0x418]
mov dword [ebp - 4], edi
push eax
push dword [ebp + 0x18]
call fcn.0043c6ac
add esp, 0x10
test eax, eax
je 0x44bd56
mov ecx, 0xdb
xor eax, eax
lea edi, [ebp - 0x787]
mov byte [ebp - 0x788], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp + 0x10]
stosb byte es:[edi], al
call fcn.004a8620
lea eax, [ebp + 0x10]
push ebx
push eax
lea eax, [ebp - 0x788]
push eax
mov byte [ebp - 4], 4
push dword [ebp + 8]
call fcn.0043c6ac
add esp, 0x10
test eax, eax
je 0x44bd65
lea ecx, [ebp + 0x10]
call fcn.004a87f0
lea ecx, [ebp + 0xc]
mov edi, eax
call fcn.004a87f0
cmp eax, edi
jne 0x44bd6e
lea ecx, [ebp + 0xc]
call fcn.004a87f0
push eax
lea ecx, [ebp + 0x10]
call fcn.004a8f10
push eax
lea ecx, [ebp + 0xc]
call fcn.004a8f10
push eax
call fcn.00466b30
add esp, 0xc
test eax, eax
jne 0x44bd75
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 3
call fcn.004a8750
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004a8750
push 0x10000
call fcn.005ed45a
cmp eax, ebx
pop ecx
mov dword [ebp + 0x10], eax
je 0x44bd9d
push ebx
push ebx
push ebx
push dword [ebp + 0x18]
call esi
push 2
push ebx
push ebx
push dword [ebp + 8]
call esi
mov dword [ebp - 0x54], 0x61f96c
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x4c], ebx
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 5
call fcn.00487780
mov edi, 0x69dc58
lea ecx, [ebp - 0x28]
push edi
mov byte [ebp - 4], 6
call fcn.00480200
push edi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
mov dword [ebp - 0x18], ebx
call fcn.00480200
push edi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
mov dword [ebp - 0x14], ebx
call fcn.00480200
cmp dword [ebp + 0x14], ebx
mov byte [ebp - 4], 9
je 0x44bbf0
push ebx
push ebx
push ebx
mov dword [ebp - 0x34], ebx
push dword [ebp + 0x18]
mov dword [ebp - 0x10], ebx
call esi
push ebx
push ebx
push ebx
push dword [ebp + 8]
call esi
mov dword [ebp - 0x80], 0x61f96c
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x78], ebx
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xa
call fcn.00487780
push edi
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
call fcn.00480200
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x6c], ebx
call fcn.00480200
push edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xd
call fcn.00480200
lea eax, [ebp - 0x40]
push ebx
push eax
push ebx
lea eax, [ebp - 0x14]
push ebx
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x6c]
push ebx
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xe
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0x18]
call fcn.004488fc
add esp, 0x30
cmp dword [ebp - 0x78], ebx
jne 0x44b960
lea eax, [ebp - 0x80]
push eax
push dword [ebp + 0x18]
call fcn.0044bdcc
cmp dword [ebp - 0x78], ebx
pop ecx
pop ecx
mov dword [ebp + 0xc], ebx
jle 0x44b960
push edi
lea ecx, [ebp - 0xa4]
push dword [ebp - 0xa0]
call fcn.00487df0
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x78]
jl 0x44b943
lea eax, [ebp - 0x1c]
push ebx
push eax
push ebx
lea eax, [ebp - 0x5c]
push ebx
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push ebx
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x5c], ebx
push eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 8]
call fcn.004488fc
add esp, 0x30
cmp dword [ebp - 0x4c], ebx
jne 0x44b9c9
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 8]
call fcn.0044bdcc
cmp dword [ebp - 0x4c], ebx
pop ecx
pop ecx
mov dword [ebp + 0xc], ebx
jle 0x44b9c9
push edi
lea ecx, [ebp - 0x94]
push dword [ebp - 0x90]
call fcn.00487df0
inc dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x4c]
jl 0x44b9ac
cmp dword [ebp - 0x14], ebx
je 0x44b9dc
cmp dword [ebp - 0x14], 0xffffffff
je 0x44b9dc
mov eax, dword [ebp - 0x4c]
add dword [ebp - 0x14], eax
jmp 0x44b9e2
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x80]
lea ecx, [ebp - 0x54]
push eax
call fcn.0044fefa
lea eax, [ebp - 0xa4]
lea ecx, [ebp - 0x94]
push eax
call fcn.00487aa0
mov eax, dword [ebp - 0x6c]
cmp eax, dword [ebp - 0x18]
jle 0x44ba0b
mov dword [ebp - 0x18], eax
push ecx
mov ecx, esp
mov dword [ebp - 0x3c], esp
push 0x66b548
call fcn.00480200
push ecx
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x64], esp
push eax
mov byte [ebp - 4], 0xf
call fcn.0047fff0
push ecx
lea eax, [ebp - 0x24]
mov ecx, esp
mov dword [ebp - 0x60], esp
push eax
mov byte [ebp - 4], 0x10
call fcn.0047fff0
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0xe
push eax
call fcn.0044bf19
add esp, 0x10
push dword [eax]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x11
call fcn.005ece05
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0x13
call fcn.00480a70
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
call fcn.00480d50
push ecx
mov ecx, esp
mov dword [ebp - 0x60], esp
push 0x66d6a8
call fcn.00480200
push ecx
lea eax, [ebp - 0x20]
mov ecx, esp
mov dword [ebp - 0x3c], esp
push eax
mov byte [ebp - 4], 0x14
call fcn.0047fff0
push ecx
lea eax, [ebp - 0x38]
mov ecx, esp
mov dword [ebp - 0x84], esp
push eax
mov byte [ebp - 4], 0x15
call fcn.0047fff0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0x13
push eax
call fcn.0044bf19
add esp, 0x10
push dword [eax]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x16
call fcn.005ece05
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0x18
call fcn.00480a70
push dword [ebp - 0x58]
lea ecx, [ebp - 0x20]
call fcn.00480d50
push ecx
mov ecx, esp
mov dword [ebp - 0x84], esp
push 0x671a6c
call fcn.00480200
push ecx
lea eax, [ebp - 0x1c]
mov ecx, esp
mov dword [ebp - 0x60], esp
push eax
mov byte [ebp - 4], 0x19
call fcn.0047fff0
push ecx
lea eax, [ebp - 0x40]
mov ecx, esp
mov dword [ebp - 0xa8], esp
push eax
mov byte [ebp - 4], 0x1a
call fcn.0047fff0
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0x18
push eax
call fcn.0044bf19
add esp, 0x10
push dword [eax]
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x1b
call fcn.005ece05
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x1d
call fcn.00480a70
push dword [ebp - 0x68]
lea ecx, [ebp - 0x1c]
call fcn.00480d50
push ebx
push ebx
push ebx
push dword [ebp + 0x18]
call esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call fcn.004495f7
add esp, 0xc
cmp dword [ebp - 0x34], ebx
jne 0x44bb80
cmp dword [ebp - 0x10], ebx
jne 0x44bb80
push 2
push ebx
push ebx
jmp 0x44bb88
lea eax, [ebp - 0x10]
push ebx
push eax
push dword [ebp - 0x34]
push dword [ebp + 8]
call esi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 0x18
call fcn.005ecd91
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x13
call fcn.005ecd91
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call fcn.005ecd91
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xd
call fcn.00480a70
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xc
call fcn.00480a70
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xb
call fcn.00480a70
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 0xa
call fcn.00487790
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 9
call fcn.00429120
xor edi, edi
mov dword [ebp + 0xc], ebx
mov esi, 0x10000
push esi
push ebx
push dword [ebp + 0x10]
call fcn.00466010
add esp, 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], ebx
push ebx
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44bc5b
cmp dword [ebp - 0x10], esi
push 1
pop esi
jae 0x44bc2f
cmp dword [ebp - 0x10], ebx
mov edi, esi
je 0x44bc8a
lea eax, [ebp - 0x2c]
push ebx
push eax
mov dword [ebp - 0x2c], ebx
push dword [ebp - 0x10]
push dword [ebp + 0x10]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x44bc72
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x10]
jb 0x44bc79
cmp edi, ebx
je 0x44bbf5
push 1
pop esi
jmp 0x44bc8a
push 0x58c
push 4
call fcn.00449cf8
pop ecx
mov dword [ebp + 0xc], 1
pop ecx
jmp 0x44bc56
push 0x59a
jmp 0x44bc7e
push 0x5a0
push 4
call fcn.00449cf8
pop ecx
mov dword [ebp + 0xc], esi
pop ecx
push dword [ebp + 0x10]
call fcn.005ed483
cmp dword [ebp + 0x14], ebx
pop ecx
je 0x44bced
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x44bca9
cmp dword [eax], ebx
je 0x44bca9
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push eax
lea eax, [ebp - 0x94]
push dword [ebp - 0x20]
push dword [ebp + 0x1c]
push dword [ebp - 0x18]
push dword [ebp - 0x28]
push eax
lea eax, [ebp - 0x54]
push eax
push dword [ebp + 8]
call fcn.00447de0
add esp, 0x2c
test eax, eax
jne 0x44bced
push 0x5b6
push 4
call fcn.00449cf8
pop ecx
mov dword [ebp + 0xc], esi
pop ecx
cmp dword [ebp + 0xc], ebx
jne 0x44bcf5
mov dword [ebp - 0x30], esi
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.00480a70
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 7
call fcn.00480a70
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00480a70
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 5
call fcn.00487790
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00429120
push dword [ebp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
cmp dword [ebp + 8], 0xffffffff
je 0x44bd4a
push dword [ebp + 8]
call esi
mov eax, dword [ebp - 0x30]
jmp 0x44bdbd
push 0x504
jmp 0x44bda2
push 0x511
push edi
call fcn.00449cf8
pop ecx
pop ecx
jmp 0x44bd8f
push 0x519
push 4
jmp 0x44bd7c
push 0x522
jmp 0x44bd7a
push 0x528
push 0x1c
call fcn.00449cf8
pop ecx
mov byte [ebp - 4], 3
pop ecx
lea ecx, [ebp + 0x10]
call fcn.004a8750
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004a8750
jmp 0x44bd34
push 0x531
push 4
call fcn.00449cf8
pop ecx
pop ecx
jmp 0x44bd34
push 0x495
push 1
call fcn.00449cf8
pop ecx
xor eax, eax
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret