Function at 0x4142b0
Capabilities:
Copy file
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x646a88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
mov dword [esp + 0x14], ecx
push edi
mov ecx, 0x1162
xor eax, eax
mov edi, 0x735340
rep stosd dword es:[edi], eax
mov eax, dword [0x8267e8]
xor esi, esi
cmp eax, esi
mov dword [0x82688c], esi
je 0x41458d
push 0x69afa0
lea eax, [esp + 0x14]
push 0x73aaac
push eax
call fcn.00643ea6
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov dword [esp + 0x34], esi
call fcn.00643edc
call fcn.00471840
add esp, 4
cmp eax, esi
jne 0x414354
push 0x69af90
lea eax, [esp + 0x24]
push 0x73aaac
push eax
call fcn.00643ea6
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
push esi
push ecx
push eax
call dword [fcn.0065e270]
lea ecx, [esp + 0x20]
call fcn.00643d26
mov edx, dword [esp + 0x10]
push 0x69a9d0
push edx
call dword [fcn.0065f1b8]
mov edi, eax
add esp, 8
cmp edi, esi
je 0x41457c
push edi
call fcn.00476080
mov ecx, eax
add esp, 4
cmp ecx, esi
jle 0x414572
xor edx, edx
mov ebx, 0x164
div ebx
test edx, edx
jne 0x414572
mov eax, 0xb81702e1
mul ecx
shr edx, 8
cmp edx, 0x32
mov dword [esp + 0x14], edx
jle 0x4143b0
mov dword [esp + 0x14], 0xc8
push esi
push esi
push edi
call dword [fcn.0065f1d4]
mov ebx, dword [esp + 0x20]
push edi
push 1
lea eax, [ebx + ebx*4]
lea eax, [eax + eax*8]
shl eax, 1
sub eax, ebx
shl eax, 2
push eax
push 0x735340
call dword [fcn.0065f1bc]
push edi
call dword [fcn.0065f1c0]
add esp, 0x20
cmp ebx, esi
mov dword [esp + 0x1c], esi
jle 0x414526
xor ebx, ebx
mov ecx, dword [esp + 0x18]
lea eax, [ebx + 0x735340]
push eax
mov byte [ebx + 0x73535f], 0
call fcn.00414220
test eax, eax
je 0x414507
xor edi, edi
test ebx, ebx
jle 0x414445
mov ebp, 0x735340
lea eax, [ebx + 0x735340]
push ebp
push eax
call dword [fcn.0065f1a4]
add esp, 8
test eax, eax
je 0x41443d
inc edi
add ebp, 0x164
cmp edi, esi
jl 0x41441b
jmp 0x414445
cmp edi, esi
jl 0x414507
mov ax, word [ebx + 0x735360]
test ax, ax
jl 0x414507
cmp ax, 0xa
jg 0x414507
xor ebp, ebp
test ax, ax
jle 0x4144ae
mov ecx, ebp
shl ecx, 5
lea eax, [ecx + ebx]
mov ecx, dword [esp + 0x18]
lea edi, [eax + 0x735364]
mov byte [eax + 0x735383], 0
push edi
call fcn.00414220
test eax, eax
jne 0x41448f
test ebp, ebp
jne 0x4144ae
jmp 0x4144a2
mov ecx, dword [0x8267e8]
push edi
push 0
call dword [sym.imp.TCalc.dll_public:_struct_tag_INDEXINFO____thiscall_CalcInterface::GetIndexInfo_unsigned_char__char__const]
test eax, eax
je 0x4144ae
movsx edx, word [ebx + 0x735360]
inc ebp
cmp ebp, edx
jl 0x414466
movsx eax, word [ebx + 0x735360]
cmp ebp, eax
jl 0x414507
mov edx, dword [0x82688c]
cmp edx, esi
jge 0x4144e5
lea eax, [edx + edx*4]
lea esi, [ebx + 0x735340]
lea ecx, [eax + eax*8]
shl ecx, 1
sub ecx, edx
lea edi, [ecx*4 + 0x735340]
mov ecx, 0x59
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x1c]
lea eax, [edx + edx*4]
lea eax, [eax + eax*8]
shl eax, 1
sub eax, edx
dec word [eax*4 + 0x735362]
inc edx
lea eax, [eax*4 + 0x735362]
mov dword [0x82688c], edx
jmp 0x41450d
mov edx, dword [0x82688c]
mov eax, dword [esp + 0x14]
inc esi
add ebx, 0x164
cmp esi, eax
mov dword [esp + 0x1c], esi
jl 0x4143f1
jmp 0x41452c
mov edx, dword [0x82688c]
cmp edx, 0x32
jge 0x414566
mov eax, 0x32
lea esi, [edx + edx*4]
sub eax, edx
lea esi, [esi + esi*8]
lea ecx, [eax + eax*4]
shl esi, 1
lea ecx, [ecx + ecx*8]
sub esi, edx
shl ecx, 1
sub ecx, eax
xor eax, eax
shl ecx, 2
mov edx, ecx
lea edi, [esi*4 + 0x735340]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, 0x7398c8
call fcn.004147e0
jmp 0x41457c
push edi
call dword [fcn.0065f1c0]
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00643d26
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x20
ret